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

fengcang
anthonyywj2 3 years ago
parent 677fba049a
commit 235cca9dea

@ -194,7 +194,7 @@ export default {
},
storageList: [],
subInvList: [],
entrustSubInvList:[],
entrustSubInvList: [],
entrustStorageList: [],
orderTypeList: [],
fromSpecialOptions: [],
@ -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) => {
@ -312,7 +313,7 @@ export default {
this.getEntrustStorage();
},
subInvChange(){
subInvChange() {
this.getOrderType();
},
@ -323,7 +324,7 @@ export default {
},
entrustSubInvChange(){
entrustSubInvChange() {
let query = {
code: this.inputQuery.entrustSubInv,

File diff suppressed because it is too large Load Diff

@ -373,7 +373,7 @@ export default {
},
getCompanyData() {
this.employName = this.$store.state.admin.employeeName;
console.log( this.employName +"--------------");
console.log(this.employName + "--------------");
this.loading = true;
let tquery = {
customerId: store.getters.customerId,
@ -413,7 +413,7 @@ export default {
},
locCHange() {
if(this.$isNotBlank(this.userInfo.locSubInvCode)){
if (this.$isNotBlank(this.userInfo.locSubInvCode)) {
this.userInfo.locSubInvCode = "";
}
this.findSubInvByInv();
@ -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(() => {
@ -548,7 +551,7 @@ export default {
}
});
},
changeInv(){
changeInv() {
this.selInvVisible = true;
},
},

@ -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