diff --git a/src/views/basic/product/product.vue b/src/views/basic/product/product.vue index 7b464b90..be11ebf4 100644 --- a/src/views/basic/product/product.vue +++ b/src/views/basic/product/product.vue @@ -177,6 +177,19 @@ > + + + + + + + +
@@ -263,6 +276,18 @@ width="180" show-overflow-tooltip > + + + 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(); });