Browse Source

调拨 11.21

caojunjie 1 year ago
parent
commit
fd4649adae

+ 4 - 1
src/views/tirePartsMall/salesManagement/outboundWorkOrderL/detailsPage.vue

@@ -601,7 +601,10 @@ export default {
     },
       // 新增出库明细
       adddiailsfun(){
-          console.log(this.$refs.dialogAssemblyRef,635)
+        if (!this.form.storageId) {
+            this.$message.warning("请先选择调出仓库!");
+            return
+        }
         this.$refs.dialogAssemblyRef.dialogVisible = true
         // this.dialogVisible = true
       },

+ 1 - 0
src/views/tirePartsMall/salesManagement/outboundWorkOrderL/dialogAssembly.vue

@@ -179,6 +179,7 @@ import {getCorpTypes} from "@/api/tirePartsMall/basicData/commodityInformation";
                     ...params,
                     current: page.currentPage,
                     size: page.pageSize,
+                    stock:this.form.storageId,
                     enableOrNot:1,
                 }).then(res=>{
                     const data = res.data.data;

+ 0 - 3
src/views/tirePartsMall/salesManagement/outboundWorkOrderL/index.vue

@@ -406,9 +406,6 @@ export default {
     },
     searchChange(params, done) {
         this.page.currentPage = 1
-        if (params.storageId) {
-            params.stock = params.storageId
-        }
       done();
       this.onLoad(this.page, params)
     },