Przeglądaj źródła

调整货转页面问题

阿伏兔 4 lat temu
rodzic
commit
862689c956

+ 6 - 7
src/views/warehouseBusiness/stockTransfer/index.vue

@@ -562,7 +562,6 @@
               />
             </el-form-item>
           </el-col>
-          
         </el-row>
         <el-row>
           <el-col :span="8">
@@ -2757,10 +2756,10 @@ export default {
         if (!this.form.fMblno || this.form.fMblno === "") {
           this.$set(this.form, "fMblno", this.dialogWhgenlegList[whgen].fMblno);
         }
-        let haveGoods = false
+        /*let haveGoods = false
         if (this.kqhouseOptions.length !== 0) {
-          for (let house in this.kqhouseOptions) {
-            if (this.kqhouseOptions[house].fId === this.dialogWhgenlegList[whgen].fWarehouseLocationid) {
+          for (let house in this.kqhouseOptions) {ku库区
+          if (this.kqhouseOptions[house].fId === this.dialogWhgenlegList[whgen].fWarehouseLocationid) {
               haveGoods = true
               break;
             }
@@ -2777,7 +2776,7 @@ export default {
               this.kqhouseOptions.push(response.rows[row])
             }
           });
-        }
+        }*/
         let fTruckno = null
         let fDriverTel = null
         let fDriverName = null
@@ -2827,7 +2826,7 @@ export default {
           fWarehouselocid: this.dialogWhgenlegList[whgen].fWarehouseLocationid,
           fWarehouselocids: this.dialogWhgenlegList[whgen].fWarehouseLocationids,
           fWarehouseLocationids: this.dialogWhgenlegList[whgen].fWarehouseLocationids,
-          fTransferWarehouselocid: this.dialogWhgenlegList[whgen].fWarehouseLocationid,
+          fTransferWarehouselocid: null,
           remark: null,
         });
       }
@@ -4004,7 +4003,7 @@ export default {
         pageNum: 1,
         pageSize: 10,
         fWarehouseid: this.form.fWarehouseid,
-        // fName: name
+        fName: name
       };
       console.log(this.kqhouseOptions)
       listArea(queryParams).then((response) => {