Browse Source

货物直通

qukaidi 4 năm trước cách đây
mục cha
commit
56334a3ed2
1 tập tin đã thay đổi với 5 bổ sung1 xóa
  1. 5 1
      src/views/warehouseBusiness/cargoClearance/index.vue

+ 5 - 1
src/views/warehouseBusiness/cargoClearance/index.vue

@@ -3405,6 +3405,7 @@ export default {
       },
       uploadImgUrl: process.env.VUE_APP_BASE_API + "/common/upload", // 上传的图片服务器地址
       company: "",
+      mblnoStatus: "",
       fSerialNumber: "",
       fCNameOptions: [],
       fDNameOptions: [],
@@ -5352,7 +5353,9 @@ export default {
             this.KHblnoOptions = response.data.corps;
             this.fCompanyOptIons = response.data.corps;
             this.fleetOptions = response.data.corps;
-            this.Operator = response.data.corps[0].createBy;
+            if(response.data.corps.length>0){
+              this.Operator = response.data.corps[0].createBy;
+            }
           }
           if (response.data.feesList) {
             this.fWbuOptions = response.data.feesList;
@@ -6220,6 +6223,7 @@ export default {
               "warehousebillsfeesDr",
               JSON.stringify(this.warehouseDrList)
             );
+            formData.append("mblnoStatus", this.mblnoStatus);
             formData.append("tCntr", JSON.stringify([]));
             addStockTransfer(formData).then((response) => {
               this.msgSuccess("保存成功");