部门与仓库联动问题

prod
wj 2 years ago
parent a3533b0729
commit 61fdc85212

@ -174,6 +174,7 @@ export default {
editStatus: 1,
emergency:'',
targetDeptCode:'',
targetInvCode:null
},
isChang:false,
formName: null,
@ -247,6 +248,7 @@ export default {
this.$router.push({
path: "",
});
let deptCode = this.filterQuery.targetDeptCode
this.filterQuery = {
billNo: "",
thirdSysFk: "",
@ -260,7 +262,11 @@ export default {
type: 1,
editStatus: 1,
targetDeptCode: this.invCodebe,
targetInvCode:null
};
if(deptCode!=this.invCodebe){
this.getInvList()
}
this.actDateRange = [];
this.getList();
},
@ -405,6 +411,8 @@ export default {
var query={
parentId:this.filterQuery.targetDeptCode
}
this.filterQuery.targetInvCode = null
this.$forceUpdate()
filterSubAll(query).then((res) => {
this.invList = res.data || [];
})

Loading…
Cancel
Save