Преглед изворни кода

fix: 修复日期格式配置和入库单查询条件报错

liujt пре 6 месеци
родитељ
комит
d35292b140

+ 1 - 1
src/components/common/seekPage.vue

@@ -175,7 +175,7 @@
             return {
               ...base,
               type: item.dateType || 'daterange',
-              'value-format': 'yyyy-MM-dd HH:mm:ss',
+              'value-format': item.valueFormat || 'yyyy-MM-dd HH:mm:ss',
               'range-separator': '至',
               'start-placeholder': '开始日期',
               'end-placeholder': '结束日期'

+ 2 - 1
src/views/batchRecord/components/tables/wmsOutInt.vue

@@ -151,11 +151,12 @@
             value: 'time',
             type: 'date',
             dateType: 'daterange',
+            valueFormat: 'yyyy-MM-dd',
             placeholder: '请输入'
           },
           {
             label: '入库单号',
-            value: 'sourceBizNo',
+            value: 'bizNo',
             type: 'input',
             placeholder: '请输入'
           }