瀏覽代碼

切换仓库车牌号没有选择任务编号时清空

gjy 3 年之前
父節點
當前提交
aad402af87

+ 4 - 0
src/views/houseSelfCollect/inspectionManagementNew.vue

@@ -948,6 +948,8 @@
                   this.options2 = this.outContractNo[i].tranCarInfoList
                   this.tranCarInfoList = this.outContractNo[i].tranCarInfoList
                   // this.carstatus = true
+                }else{
+                   this.options2 =[]
                 }
                 this.fleetNameList=this.outContractNo[i].tranCarInfoList1
               }
@@ -2113,6 +2115,8 @@
               this.options2 = this.outContractNo[i].tranCarInfoList
               this.tranCarInfoList = this.outContractNo[i].tranCarInfoList
               // this.carstatus = true
+            }else{
+              this.options2 =[]
             }
             this.fleetNameList=this.outContractNo[i].tranCarInfoList1
           }

+ 1 - 1
src/views/outboundManagement/weighingManagementNew.vue

@@ -818,7 +818,7 @@
 						this.weighingList.relationId = this.relationId
 						this.weighingList.warehouseId = this.warehouseId
 						this.weighingList.baseId=this.warehouseId
-						// console.log(this.weighingList)
+						console.log(this.weighingList)
 						addstorageputList(this.weighingList)
 						.toPromise()
 						.then((response) => {