heyang 11 maanden geleden
bovenliggende
commit
8830d40dff

+ 1 - 0
src/views/chemicalManage/basicManagement/chemicalInfo/index.vue

@@ -179,6 +179,7 @@
       //查询按钮
       handleQuery(){
         this.$set(this.queryParams,'page',1);
+        this.$refs['table-box'].clearSelection();
         this.$set(this.exportConfig,'ids','');
         this.getList();
       },

+ 5 - 1
src/views/chemicalManage/inventoryManagement/inventoryStatistics/collectList.vue

@@ -74,7 +74,7 @@
         </el-form>
       </div>
       <div class="page-content-box">
-        <el-table class="table-box" v-loading="loading" border :data="dataList"
+        <el-table class="table-box" v-loading="loading" border :data="dataList" ref="table-box"
                   @selection-change="handleSelectionChange" :row-key="getRowKeys">
           <el-table-column type="selection" width="50" align="center" fixed :reserve-selection="true"/>
           <el-table-column label="名称" prop="chemicalName" width="200" fixed="" show-overflow-tooltip/>
@@ -224,6 +224,8 @@
           }
         }
         this.$set(this.queryParams,'page',1);
+        this.$refs['table-box'].clearSelection();
+        this.$set(this.exportConfig,'ids','');
         this.getList();
       },
       //重置按钮
@@ -241,6 +243,8 @@
           searchValue :null,
           buildIdAndfloorId :[],
         });
+        this.$refs['table-box'].clearSelection();
+        this.$set(this.exportConfig,'ids','');
         this.getList();
       },
       //获取数据列表

+ 5 - 1
src/views/chemicalManage/inventoryManagement/inventoryStatistics/inventoryList.vue

@@ -85,7 +85,7 @@
         </el-form>
       </div>
       <div class="page-content-box">
-        <el-table class="table-box" v-loading="loading" border :data="dataList"
+        <el-table class="table-box" v-loading="loading" border :data="dataList" ref="table-box"
                   @selection-change="handleSelectionChange" :row-key="getRowKeys">
           <el-table-column type="selection" width="50" align="center" fixed="" :reserve-selection="true"/>
           <el-table-column label="名称" prop="chemicalName" width="200" fixed="" show-overflow-tooltip/>
@@ -261,6 +261,8 @@
           }
         }
         this.$set(this.queryParams,'page',1);
+        this.$refs['table-box'].clearSelection();
+        this.$set(this.exportConfig,'ids','');
         this.getList();
       },
       //重置按钮
@@ -278,6 +280,8 @@
           searchValue :null,
           buildIdAndfloorId :[],
         });
+        this.$refs['table-box'].clearSelection();
+        this.$set(this.exportConfig,'ids','');
         this.getList();
       },
       //获取数据列表

+ 5 - 1
src/views/chemicalManage/inventoryManagement/savePending/index.vue

@@ -85,7 +85,7 @@
         </el-form>
       </div>
       <div class="page-content-box">
-        <el-table class="table-box" v-loading="loading" border :data="dataList"
+        <el-table class="table-box" v-loading="loading" border :data="dataList" ref="table-box"
                   @selection-change="handleSelectionChange" :row-key="getRowKeys">
           <el-table-column type="selection" width="50" align="center" fixed :reserve-selection="true"/>
           <el-table-column label="名称" prop="chemicalName" width="150" fixed show-overflow-tooltip/>
@@ -281,6 +281,8 @@
           }
         }
         this.$set(this.queryParams,'page',1);
+        this.$refs['table-box'].clearSelection();
+        this.$set(this.exportConfig,'ids','');
         this.getList();
       },
       //重置按钮
@@ -296,6 +298,8 @@
           searchValue:"",
           buildIdAndfloorId :[],
         });
+        this.$refs['table-box'].clearSelection();
+        this.$set(this.exportConfig,'ids','');
         this.getList();
       },
       //获取数据列表

+ 5 - 1
src/views/chemicalManage/inventoryManagement/saveRecord/index.vue

@@ -82,7 +82,7 @@
         </el-form>
       </div>
       <div class="page-content-box">
-        <el-table class="table-box" v-loading="loading" border :data="dataList"
+        <el-table class="table-box" v-loading="loading" border :data="dataList" ref="table-box"
                   @selection-change="handleSelectionChange" :row-key="getRowKeys">
           <el-table-column type="selection" width="50" align="center" fixed :reserve-selection="true"/>
           <el-table-column label="名称" prop="chemicalName" width="150" fixed show-overflow-tooltip/>
@@ -214,6 +214,8 @@
           }
         }
         this.$set(this.queryParams,'page',1);
+        this.$refs['table-box'].clearSelection();
+        this.$set(this.exportConfig,'ids','');
         this.getList();
       },
       //重置按钮
@@ -230,6 +232,8 @@
           searchValue:'',
           cabinetId:'',
         });
+        this.$refs['table-box'].clearSelection();
+        this.$set(this.exportConfig,'ids','');
         this.getList();
       },
       //获取化学品类别

+ 5 - 1
src/views/chemicalManage/inventoryManagement/takeRecord/index.vue

@@ -94,7 +94,7 @@
         </el-form>
       </div>
       <div class="page-content-box">
-        <el-table class="table-box" v-loading="loading" border :data="dataList"
+        <el-table class="table-box" v-loading="loading" border :data="dataList" ref="table-box"
                   @selection-change="handleSelectionChange" :row-key="getRowKeys">
           <el-table-column type="selection" width="50" align="center" fixed :reserve-selection="true"/>
           <el-table-column label="名称" prop="chemicalName" width="150" fixed show-overflow-tooltip/>
@@ -227,6 +227,8 @@
           }
         }
         this.$set(this.queryParams,'page',1);
+        this.$refs['table-box'].clearSelection();
+        this.$set(this.exportConfig,'ids','');
         this.getList();
       },
       //重置按钮
@@ -244,6 +246,8 @@
           cabinetId:'',
           status:'',
         });
+        this.$refs['table-box'].clearSelection();
+        this.$set(this.exportConfig,'ids','');
         this.getList();
       },
       //获取化学品类别

+ 5 - 1
src/views/chemicalManage/purchaseManage/purchaseRegister/index.vue

@@ -79,7 +79,7 @@
         </el-form>
       </div>
       <div class="page-content-box">
-        <el-table class="table-box" v-loading="loading" border :data="dataList" @selection-change="handleSelectionChange" ref="multipleTable">
+        <el-table class="table-box" v-loading="loading" border :data="dataList" @selection-change="handleSelectionChange" ref="table-box">
           <el-table-column type="selection" width="50" align="center"/>
           <el-table-column label="申请时间" align="left" prop="applyTime" show-overflow-tooltip>
             <template slot-scope="scope">
@@ -214,6 +214,8 @@
       //查询按钮
       handleQuery(){
         this.$set(this.queryParams,'page',1);
+        this.$refs['table-box'].clearSelection();
+        this.$set(this.exportConfig,'ids','');
         this.getList();
       },
       //重置按钮
@@ -231,6 +233,8 @@
           endOverTime :"",
           searchValue :"",
         });
+        this.$refs['table-box'].clearSelection();
+        this.$set(this.exportConfig,'ids','');
         this.getList();
       },
       //查询学院列表

+ 6 - 2
src/views/chemicalManage/useLedger/index.vue

@@ -103,8 +103,8 @@
         </el-form>
       </div>
       <div class="page-content-box">
-        <el-table class="table-box" v-loading="loading" border :data="dataList"
-                  @selection-change="handleSelectionChange" ref="multipleTable" :row-key="getRowKeys">
+        <el-table class="table-box" v-loading="loading" border :data="dataList" ref="table-box"
+                  @selection-change="handleSelectionChange"  :row-key="getRowKeys">
           <el-table-column type="selection" width="50" fixed :reserve-selection="true" align="center"/>
           <el-table-column label="化学品名称" align="left" fixed width="250" prop="chemicalName" />
           <el-table-column label="编码" align="left" width="150" prop="tagCode" />
@@ -252,6 +252,8 @@
           }
         }
         this.queryParams.page = 1;
+        this.$refs['table-box'].clearSelection();
+        this.$set(this.exportConfig,'ids','');
         this.getList();
       },
       /** 重置按钮操作 */
@@ -269,6 +271,8 @@
           chemicalLevel:'',
           cabinetId:'',
         });
+        this.$refs['table-box'].clearSelection();
+        this.$set(this.exportConfig,'ids','');
         this.handleQuery();
       },
       //获取化学品类别