|
|
|
@ -618,7 +618,7 @@ export default {
|
|
|
|
|
this.storageList = response.data || [];
|
|
|
|
|
if (this.storageList.length > 0) {
|
|
|
|
|
this.filterQuery.locStorageCode = this.storageList[0].code;
|
|
|
|
|
this.invChange();
|
|
|
|
|
this.getSubInvList();
|
|
|
|
|
this.getList();
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
@ -961,6 +961,20 @@ export default {
|
|
|
|
|
.catch(() => {
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
getSubInvList() {
|
|
|
|
|
let query = {
|
|
|
|
|
pcode: this.filterQuery.locStorageCode
|
|
|
|
|
};
|
|
|
|
|
filterSubByInv(query)
|
|
|
|
|
.then((response) => {
|
|
|
|
|
this.subInvList = response.data || [];
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
subInvChange() {
|
|
|
|
|
this.getBusType();
|
|
|
|
|
}
|
|
|
|
|