|
|
@ -373,7 +373,7 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
getCompanyData() {
|
|
|
|
getCompanyData() {
|
|
|
|
this.employName = this.$store.state.admin.employeeName;
|
|
|
|
this.employName = this.$store.state.admin.employeeName;
|
|
|
|
console.log( this.employName +"--------------");
|
|
|
|
console.log(this.employName + "--------------");
|
|
|
|
this.loading = true;
|
|
|
|
this.loading = true;
|
|
|
|
let tquery = {
|
|
|
|
let tquery = {
|
|
|
|
customerId: store.getters.customerId,
|
|
|
|
customerId: store.getters.customerId,
|
|
|
@ -413,7 +413,7 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
locCHange() {
|
|
|
|
locCHange() {
|
|
|
|
if(this.$isNotBlank(this.userInfo.locSubInvCode)){
|
|
|
|
if (this.$isNotBlank(this.userInfo.locSubInvCode)) {
|
|
|
|
this.userInfo.locSubInvCode = "";
|
|
|
|
this.userInfo.locSubInvCode = "";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
this.findSubInvByInv();
|
|
|
|
this.findSubInvByInv();
|
|
|
@ -427,6 +427,9 @@ export default {
|
|
|
|
filterSubByInv(query)
|
|
|
|
filterSubByInv(query)
|
|
|
|
.then((response) => {
|
|
|
|
.then((response) => {
|
|
|
|
this.subInvList = response.data || [];
|
|
|
|
this.subInvList = response.data || [];
|
|
|
|
|
|
|
|
if (this.subInvList != null && this.subInvList.length == 1) {
|
|
|
|
|
|
|
|
this.userInfo.locSubInvCode = this.subInvList[0];
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
})
|
|
|
|
})
|
|
|
|
.catch(() => {
|
|
|
|
.catch(() => {
|
|
|
@ -548,7 +551,7 @@ export default {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
|
changeInv(){
|
|
|
|
changeInv() {
|
|
|
|
this.selInvVisible = true;
|
|
|
|
this.selInvVisible = true;
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|