Sfoglia il codice sorgente

bug修复 入库审核 时间

chenrui 4 anni fa
parent
commit
66222ad295
1 ha cambiato i file con 6 aggiunte e 3 eliminazioni
  1. 6 3
      src/views/financialManagement/warehousingAudit/list.vue

+ 6 - 3
src/views/financialManagement/warehousingAudit/list.vue

@@ -104,8 +104,8 @@ export default {
       advanced: false, //  高级搜索 展开/关闭
       disabled: false, //  查询、重置按钮是否可操作
       auditTime: [
-        moment(getDate.getLastThreeMonthDays().starttime, this.dateFormat),
-        moment(getDate.getLastThreeMonthDays().endtime, this.dateFormat)
+        moment(getDate.getThreeMonthDays().starttime, 'YYYY-MM-DD'),
+        moment(getDate.getCurrMonthDays().endtime, 'YYYY-MM-DD')
       ], //  入库时间
       dateFormat: 'YYYY-MM-DD',
       tableHeight: 0,
@@ -198,7 +198,10 @@ export default {
       this.queryParam.purchaseBillNo = ''
       this.queryParam.receivingBillNo = ''
       this.queryParam.auditState = undefined
-      this.auditTime = []
+      this.auditTime = [
+        moment(getDate.getThreeMonthDays().starttime, 'YYYY-MM-DD'),
+        moment(getDate.getCurrMonthDays().endtime, 'YYYY-MM-DD')
+      ]
       this.$refs.table.refresh(true)
     }
   }