戴艳蓉 3 years ago
parent
commit
6c090c2e21
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/components/search-stock-good-modal/index.vue

+ 3 - 0
src/components/search-stock-good-modal/index.vue

@@ -98,6 +98,7 @@ export default {
       showModelThis: false,
       parmValue: {
         wsm_code: "", //仓库code
+        cat_id,
         page: 1, // 页码
         size: 10, // 每页显示条数
       },
@@ -145,6 +146,7 @@ export default {
     restSearch() {
       this.parmValue = {
         wsm_code: "", //仓库code
+        cat_id:"",
         page: 1, // 页码
         size: 10, // 每页显示条数
       };
@@ -161,6 +163,7 @@ export default {
       this.parmValue.wsm_code = this.code || "";
       this.parmValue.type_code = this.good_code || "";
       this.parmValue.stock_max="1"
+      this.parmValue.cat_id=cat_id
 
       const res = await asyncRequest.list(this.parmValue);
       if (res && res.code === 0 && res.data) {