소스 검색

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

gjy 3 년 전
부모
커밋
aad402af87
2개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 0
      src/views/houseSelfCollect/inspectionManagementNew.vue
  2. 1 1
      src/views/outboundManagement/weighingManagementNew.vue

+ 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) => {