|
|
|
@ -149,7 +149,7 @@
|
|
|
|
|
<script>
|
|
|
|
|
import pureApplyDetail from "./pureApplyDetailDialog";
|
|
|
|
|
import {delApply, auditOrder, listApplyDetail, auditListApply} from "@/api/purchase/purApply";
|
|
|
|
|
import {getInvListByUser} from "@/api/system/invWarehouse";
|
|
|
|
|
import {filterAll, getInvListByUser} from "@/api/system/invWarehouse";
|
|
|
|
|
import {getDeptListByUser} from "@/api/auth/authDept";
|
|
|
|
|
import {filterSubAll} from "@/api/system/invSubWarehouse";
|
|
|
|
|
|
|
|
|
@ -393,12 +393,8 @@ export default {
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
getDeptList() {
|
|
|
|
|
getDeptListByUser().then((res) => {
|
|
|
|
|
filterAll().then((res) => {
|
|
|
|
|
this.deptList = res.data || [];
|
|
|
|
|
if(this.deptList.length>0){
|
|
|
|
|
this.filterQuery.targetDeptCode=this.deptList[0].code
|
|
|
|
|
this.invCodebe=this.filterQuery.targetDeptCode
|
|
|
|
|
}
|
|
|
|
|
this. getInvList();
|
|
|
|
|
this.getList();
|
|
|
|
|
});
|
|
|
|
|