|
|
|
@ -479,13 +479,12 @@ export default {
|
|
|
|
|
this.findSubStorageMethod();
|
|
|
|
|
},
|
|
|
|
|
subStorageChange(item) {
|
|
|
|
|
// this.formData.fromSubInvCode = null;
|
|
|
|
|
this.formData.fromSubInvCode=item;
|
|
|
|
|
this.formData.locStorageCode= this.subInvList.find(item => item.code == this.formData.invWarehouseCode).parentId
|
|
|
|
|
this.formData.corpId=this.subInvList.find(item => item.code == this.formData.invWarehouseCode).code
|
|
|
|
|
this.formData.corpName=this.subInvList.find(item => item.code == this.formData.invWarehouseCode).warehouseName
|
|
|
|
|
this.findSubStorageMethod();
|
|
|
|
|
this.getBusType();
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -500,6 +499,8 @@ export default {
|
|
|
|
|
this.subInvList = response.data || [];
|
|
|
|
|
if (this.subInvList != null && this.subInvList.length == 1) {
|
|
|
|
|
this.formData.invWarehouseCode = this.subInvList[0].code;
|
|
|
|
|
this.formData.locStorageCode = this.subInvList[0].parentId;
|
|
|
|
|
this.getBusType();
|
|
|
|
|
this.findSubStorageMethod();
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|