chenrui  2 年之前
父節點
當前提交
9684eeb495

+ 7 - 0
src/components/minheader/index.vue

@@ -6,6 +6,7 @@
     <div v-if="isStatus || isStatuser" class="vStatus flex-act">
       <slot name="header" />
       <el-date-picker
+        v-if="isTime"
         v-model="startTime"
         type="date"
         placeholder="开始日期"
@@ -13,6 +14,7 @@
       >
       </el-date-picker>
       <el-date-picker
+        v-if="isTime"
         class="L12"
         size="default"
         v-model="endTime"
@@ -143,6 +145,11 @@ const props = defineProps({
     type: Boolean,
     default: false,
   },
+  //是否显示时间
+  isTime: {
+    type: Boolean,
+    default: false,
+  },
 });
 //搜索内容
 const input = ref("");

+ 1 - 0
src/views/dataQuery/flightQuery/index.vue

@@ -5,6 +5,7 @@
         :is-Search="true"
         :is-statuser="true"
         :is-Show="true"
+        :is-Time="true"
         @showForm="showForm"
       >
         <template #header>

+ 1 - 0
src/views/dataQuery/freightInquiry/index.vue

@@ -5,6 +5,7 @@
         :is-Search="true"
         :is-statuser="true"
         :is-Show="true"
+        :is-Time="true"
         @showForm="showForm"
       >
         <template #header>

+ 1 - 0
src/views/dataQuery/waybillQuery/index.vue

@@ -5,6 +5,7 @@
         :is-Search="true"
         :is-statuser="true"
         :is-Show="true"
+        :is-Time="true"
         @showForm="showForm"
       >
         <template #header>