仓库切换问题

ywj_dev
wj 2 years ago
parent e6f66cafa0
commit 133c471532

@ -705,6 +705,7 @@ export default {
this.$router.push({ this.$router.push({
path: "", path: "",
}); });
let invCode = this.filterQuery.invCode
this.filterQuery = { this.filterQuery = {
id: "", id: "",
billNo: null, billNo: null,
@ -715,8 +716,11 @@ export default {
limit: 10, limit: 10,
startTime: null, startTime: null,
endTime: null, endTime: null,
invCode: this.$store.getters.locInvCode, invCode : this.$store.getters.locInvCode
}; };
if(invCode!=this.$store.getters.locInvCode){
this.getBusType();
}
this.actDateRange = []; this.actDateRange = [];
this.getList(); this.getList();
}, },

@ -570,6 +570,7 @@ export default {
this.$router.push({ this.$router.push({
path: "", path: "",
}); });
let invCode = this.filterQuery.invCode
this.filterQuery = { this.filterQuery = {
id: "", id: "",
billNo: null, billNo: null,
@ -582,6 +583,9 @@ export default {
endTime: null, endTime: null,
invCode: this.$store.getters.locInvCode, invCode: this.$store.getters.locInvCode,
}; };
if(invCode!=this.$store.getters.locInvCode){
this.getBusType();
}
this.actDateRange = []; this.actDateRange = [];
this.getList(); this.getList();
}, },

Loading…
Cancel
Save