diff --git a/src/views/purchase/purApply/pureApplyAudit.vue b/src/views/purchase/purApply/pureApplyAudit.vue
index 570c187c..8211b466 100644
--- a/src/views/purchase/purApply/pureApplyAudit.vue
+++ b/src/views/purchase/purApply/pureApplyAudit.vue
@@ -9,37 +9,40 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+ {{ item.name }}
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+ {{ item.name }}
+
+
+
+
+
+
+
@@ -52,48 +55,20 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -111,8 +86,8 @@
:default-sort="defaultSort" @sort-change="handleSortChange">
-
-
+
+
{{ emergencyMap[scope.row.emergency] }}
diff --git a/src/views/purchase/purApply/pureApplySearch.vue b/src/views/purchase/purApply/pureApplySearch.vue
index 29477eda..414b7cb1 100644
--- a/src/views/purchase/purApply/pureApplySearch.vue
+++ b/src/views/purchase/purApply/pureApplySearch.vue
@@ -9,33 +9,36 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+ {{ item.name }}
+
+
+
+
+
+
+
+
+ {{ item.name }}
+
+
+
+
+
+
+
@@ -61,9 +64,6 @@
-
-
-
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";
@@ -463,11 +463,11 @@ 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.filterQuery.deptCode = this.deptList[0].code
+ this.invCodebe = this.filterQuery.deptCode
}
this.getList();
this.getInvList();
@@ -495,7 +495,7 @@ export default {
}
,
created() {
- this.getList();
+ this.getDeptList();
}
,
}