委托验收补单问题,单独分库默认第一个

fengcang
anthonyywj2 3 years ago
parent 677fba049a
commit 235cca9dea

@ -270,7 +270,8 @@ export default {
findEntrustSubInvByInv() {
this.entrustSubInvList = [];
let query = {
pcode: this.inputQuery.entrustInv
pcode: this.inputQuery.entrustInv,
filter: 2,
};
filterSubByInv(query)
.then((response) => {

@ -1189,6 +1189,9 @@ export default {
filterSubByInv(query)
.then((response) => {
this.subInvList = response.data || [];
if (this.subInvList != null && this.subInvList.length == 1) {
this.formData.invWarehouseCode = this.subInvList[0];
}
})
.catch(() => {
});

@ -427,6 +427,9 @@ export default {
filterSubByInv(query)
.then((response) => {
this.subInvList = response.data || [];
if (this.subInvList != null && this.subInvList.length == 1) {
this.userInfo.locSubInvCode = this.subInvList[0];
}
})
.catch(() => {

@ -966,6 +966,9 @@ export default {
filterSubByInv(query)
.then((response) => {
this.subInvList = response.data || [];
if (this.subInvList != null && this.subInvList.length == 1) {
this.formData.invWarehouseCode = this.subInvList[0];
}
})
.catch(() => {
});

Loading…
Cancel
Save