Ver Fonte

bug修复

chenrui há 4 anos atrás
pai
commit
1e6c3c14ad

+ 3 - 1
src/views/inventoryManagement/inventoryQuery/warehouseDetail.vue

@@ -165,7 +165,9 @@ export default {
     },
     },
     //  重置
     //  重置
     resetSearchForm () {
     resetSearchForm () {
-      this.$refs.rangeDate.resetDate()
+      if (this.advanced) {
+        this.$refs.rangeDate.resetDate()
+      }
       this.queryParam.beginDate = ''
       this.queryParam.beginDate = ''
       this.queryParam.endDate = ''
       this.queryParam.endDate = ''
       this.queryParam.bizType = undefined
       this.queryParam.bizType = undefined