浏览代码

场地直装提单号选择带出仓库问题修改

lichao 3 年之前
父节点
当前提交
e368af692c
共有 1 个文件被更改,包括 9 次插入3 次删除
  1. 9 3
      src/views/Warehousing/inAndOutStock/AddOrUpdate.vue

+ 9 - 3
src/views/Warehousing/inAndOutStock/AddOrUpdate.vue

@@ -1671,6 +1671,7 @@
                        remote
                        @change="changeGoods"
                        placeholder="请选择状态"
+                       disabled
                      >
                       <el-option
                         label="已装箱"
@@ -1701,6 +1702,7 @@
                       remote
                       @change="changeGoods"
                       placeholder="请选择状态"
+                      disabled
                     >
                       <el-option
                         label="已出库"
@@ -5505,7 +5507,11 @@ export default {
     judgmentWarehouse() {
       if (this.form.fMblno && this.form.fCorpid) {
         matchWarehouse({fMblno: this.form.fMblno, fCorpid: this.form.fCorpid}).then(res => {
-          this.warehouseSwitching = res.data
+          if (res.data.length > 0) {
+            this.warehouseSwitching = res.data
+          } else {
+            this.warehouseSwitching = this.warehouseOptions
+          }
         })
       }
     },
@@ -6510,7 +6516,7 @@ export default {
                     this.form.fStltypeid = (this.form.fStltypeid).toString()
                     // this.detailList = response.data.warehousebillsitems;
                     this.msgSuccess("保存成功");
-                    getWarehousebills(this.chiId).then((response) => {
+                    getWarehousebills(this.form.fId).then((response) => {
                       this.form = response.data.warehousebills;
                       if (this.form.fBillstatus > 3) {
                         this.approvalStatus = false;
@@ -7281,7 +7287,7 @@ export default {
         fNetweight: null,
         fQty: null,
         fCntqty: 1,
-        fBillstatus: 10,
+        fBillstatus: 40,
         fWarehouselocid: null,
         fWarehouselocids: null,
         fCntrno: null,