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

点击重置按钮某些查询条件未清空错误

Guos пре 2 недеља
родитељ
комит
17b1ca6f05

+ 1 - 1
src/views/company/companyRecharge/index.vue

@@ -246,8 +246,8 @@ export default {
     },
     /** 重置按钮操作 */
     resetQuery() {
-      this.resetForm("queryForm");
       this.dateRange=[];
+      this.resetForm("queryForm");
       this.handleQuery();
     },
     // 多选框选中数据

+ 1 - 0
src/views/hisStore/storeAfterSales/index.vue

@@ -371,6 +371,7 @@ export default {
     },
     /** 重置按钮操作 */
     resetQuery() {
+      this.dateRange = [];
       this.resetForm("queryForm");
       this.handleQuery();
     },

+ 5 - 1
src/views/hisStore/storePayment/index.vue

@@ -1,7 +1,7 @@
 <template>
   <div class="app-container">
     <el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="68px">
-     <el-form-item label="公司名" prop="companyId">
+     <el-form-item label="公司名2222" prop="companyId">
           <el-select filterable v-model="queryParams.companyId" placeholder="请选择公司名" clearable size="small">
               <el-option
                 v-for="item in companys"
@@ -473,8 +473,12 @@ export default {
     },
     /** 重置按钮操作 */
     resetQuery() {
+      this.dateRange=[];
+      this.refundDateRange=[];
+      this.createTimeRange=[];
       this.resetForm("queryForm");
       this.handleQuery();
+
     },
     // 多选框选中数据
     handleSelectionChange(selection) {