yusheng 10 mesi fa
parent
commit
337c6fbe50

+ 6 - 1
src/views/warehouseManagement/inventoryAllocation/add.vue

@@ -187,7 +187,7 @@
                     slot="append"
                     icon="el-icon-search"
                     type="primary"
-                    @click="getProductList"
+                    @click="querySearch"
                     >搜索</el-button
                   >
                 </el-input>
@@ -872,6 +872,11 @@
       },
       queryReset() {
         this.query = {};
+        this.page = 1;
+        this.getProductList();
+      },
+      querySearch() {
+        this.page = 1;
         this.getProductList();
       },
       //获取工厂列表