|
|
@ -193,7 +193,7 @@ import RuoYiDoc from '@/components/RuoYi/Doc'
|
|
|
|
import store from "@/store";
|
|
|
|
import store from "@/store";
|
|
|
|
import {filterAllByUser} from "@/api/system/invWarehouse";
|
|
|
|
import {filterAllByUser} from "@/api/system/invWarehouse";
|
|
|
|
import {filterSubByInv, findByDeptUser} from "@/api/system/invSubWarehouse";
|
|
|
|
import {filterSubByInv, findByDeptUser} from "@/api/system/invSubWarehouse";
|
|
|
|
import {updateInv,modifyPasswd} from "@/api/auth/authAdmin";
|
|
|
|
import {updateInv, modifyPasswd,filterByUser} from "@/api/auth/authAdmin";
|
|
|
|
import {isRelogin} from "@/utils/request";
|
|
|
|
import {isRelogin} from "@/utils/request";
|
|
|
|
import router from "@/router";
|
|
|
|
import router from "@/router";
|
|
|
|
|
|
|
|
|
|
|
@ -218,7 +218,7 @@ export default {
|
|
|
|
password: "",
|
|
|
|
password: "",
|
|
|
|
confirmPassword: "",
|
|
|
|
confirmPassword: "",
|
|
|
|
userName: "",
|
|
|
|
userName: "",
|
|
|
|
locInvCode:"",
|
|
|
|
locInvCode: "",
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
deptList: [],
|
|
|
|
deptList: [],
|
|
|
@ -336,6 +336,16 @@ export default {
|
|
|
|
.catch(() => {
|
|
|
|
.catch(() => {
|
|
|
|
});
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
getInputQuery() {
|
|
|
|
|
|
|
|
this.inputQuery = [];
|
|
|
|
|
|
|
|
filterByUser()
|
|
|
|
|
|
|
|
.then((response) => {
|
|
|
|
|
|
|
|
this.inputQuery = response.data || [];
|
|
|
|
|
|
|
|
// this.getInvList();
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
.catch(() => {
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
deptChange() {
|
|
|
|
deptChange() {
|
|
|
|
this.getInvList();
|
|
|
|
this.getInvList();
|
|
|
@ -415,12 +425,12 @@ export default {
|
|
|
|
locInvCode: store.getters.locInvCode,
|
|
|
|
locInvCode: store.getters.locInvCode,
|
|
|
|
locDeptCode: store.getters.locDeptCode,
|
|
|
|
locDeptCode: store.getters.locDeptCode,
|
|
|
|
};
|
|
|
|
};
|
|
|
|
this.inputQuery={
|
|
|
|
this.inputQuery = {
|
|
|
|
userName:this.$store.getters.name,
|
|
|
|
userName: this.$store.getters.name,
|
|
|
|
|
|
|
|
|
|
|
|
locInvCode: store.getters.locInvCode,
|
|
|
|
// locInvCode: store.getters.locInvCode,
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
this.getInputQuery();
|
|
|
|
this.getDeptList();
|
|
|
|
this.getDeptList();
|
|
|
|
//this.getInvList()
|
|
|
|
//this.getInvList()
|
|
|
|
|
|
|
|
|
|
|
|