Browse Source

bug修复

chenrui 4 năm trước cách đây
mục cha
commit
a04ad3d901

+ 3 - 1
src/views/financialManagement/companyCollectionPayment/list.vue

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

+ 3 - 1
src/views/financialManagement/financialCollection/list.vue

@@ -328,7 +328,9 @@ export default {
     },
     // 重置
     resetSearchForm () {
-      this.$refs.rangeDate.resetDate()
+      if (this.advanced) {
+        this.$refs.rangeDate.resetDate()
+      }
       this.queryParam = {
         bizType: this.curBizType,
         settleNo: '',

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

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