申购仓库下拉框显示错误(显示的是之前选择的申购部门的仓库) 230522

prod
schry 2 years ago
parent b65353d272
commit 9daa6fb777

@ -186,8 +186,6 @@ export default {
thirdSysFk: "", thirdSysFk: "",
page: 1, page: 1,
limit: 10, limit: 10,
invList:{},
deptList:{},
corpName: null, corpName: null,
type: 1, type: 1,
editStatus: 1, editStatus: 1,
@ -218,6 +216,8 @@ export default {
thirdSysDetail: null, thirdSysDetail: null,
busTypes: [], busTypes: [],
originTypes: [], originTypes: [],
invList:{},
deptList:{},
list: [], list: [],
detailList: [], detailList: [],
loading: false, loading: false,
@ -296,6 +296,7 @@ export default {
this.$router.push({ this.$router.push({
path: "", path: "",
}); });
let deptCode = this.filterQuery.targetDeptCode
this.filterQuery = { this.filterQuery = {
billNo: "", billNo: "",
thirdSysFk: "", thirdSysFk: "",
@ -310,6 +311,9 @@ export default {
editStatus: 1, editStatus: 1,
targetDeptCode: this.invCodebe, targetDeptCode: this.invCodebe,
}; };
if(deptCode!=this.invCodebe){
this.getInvList()
}
this.actDateRange = []; this.actDateRange = [];
this.actAuditDateRange = []; this.actAuditDateRange = [];
this.getList(); this.getList();

Loading…
Cancel
Save