@@ -423,6 +458,7 @@ import {filterAll, filterAllByLoc, filterAllByUser} from "@/api/basic/invWarehou
import dialogInvProduct from "../inventory/DialogInvProduct"
import {filterSubByInv} from "@/api/basic/invSubWarehouse";
import {isBlank} from "@/utils/strUtil";
+import {filterDepts} from "@/api/auth/authDept";
export default {
name: "idQuery",
@@ -460,6 +496,7 @@ export default {
type: null,
corpName: "",
corpId: "",
+ deptCode: null,
},
formRules: {
corpName: [
@@ -1273,7 +1310,26 @@ export default {
})
.catch(() => {
});
- }
+ },
+ findDeptMethod() {
+ let query = {
+ flag: 1
+ };
+ filterDepts(query)
+ .then((response) => {
+ this.loading = false;
+ this.fromDeptOptions = response.data.list || [];
+ })
+ .catch(() => {
+ this.loading = false;
+ this.fromDeptOptions = [];
+ });
+ },
+
+ deptChange(row) {
+ this.formData.corpId = row.code;
+ this.formData.corpName = row.name;
+ },
},
@@ -1305,6 +1361,7 @@ export default {
noInvOut: "",
locStorageCode: store.getters.locInvCode,
invWarehouseCode: store.getters.locSubInvCode,
+ deptCode: null,
};
this.iCount = 0;
this.orderEditor = false;
diff --git a/src/views/inout/IOAddOrder.vue b/src/views/inout/IOAddOrder.vue
index 02c4c2a..bcb0ec7 100644
--- a/src/views/inout/IOAddOrder.vue
+++ b/src/views/inout/IOAddOrder.vue
@@ -200,6 +200,39 @@
+
+
+
+ 所属部门:
+
+
+
+
+
+
+ {{ item.name }}
+
+
+
+
+
+
@@ -431,7 +464,7 @@ import selectRlDialog from "./DialogSelectRl";
import editCodeDialog from "./editCode";
import A from "../../plugin/KeyScaner"
import {deleteLog} from "@/api/basic/udiinfolog";
-
+import {filterDepts} from "@/api/auth/authDept";
export default {
name: "idQuery",
@@ -481,7 +514,7 @@ export default {
fromSubInvCode: null,
codeFillCheck: null,
vailInv: null,
-
+ deptCode: null,
},
editOriginCodeVisible: false,
curId: null,
@@ -521,6 +554,7 @@ export default {
checkSuccess: false,
codeDetail: null,
editTitle: "编辑条码",
+ fromDeptOptions: [],
};
},
components: {
@@ -544,6 +578,7 @@ export default {
fromCorpId: this.formData.fromCorpId,
outChangeEnable: this.formData.outChangeEnable,
preCheck: this.formData.preCheck,
+ deptCode: this.formData.deptCode,
}
submitOrderWeb(tQuery)
.then((response) => {
@@ -999,6 +1034,26 @@ export default {
}
,
+ findDeptMethod() {
+ let query = {
+ flag: 1
+ };
+ filterDepts(query)
+ .then((response) => {
+ this.loading = false;
+ this.fromDeptOptions = response.data.list || [];
+ })
+ .catch(() => {
+ this.loading = false;
+ this.fromDeptOptions = [];
+ });
+ },
+
+ deptChange(row) {
+ this.formData.corpId = row.code;
+ this.formData.corpName = row.name;
+ },
+
getStorage(event) {
this.storageList = [];
diff --git a/src/views/userManage/admin/authAdmin.vue b/src/views/userManage/admin/authAdmin.vue
index 0351e13..e1fc25f 100644
--- a/src/views/userManage/admin/authAdmin.vue
+++ b/src/views/userManage/admin/authAdmin.vue
@@ -99,7 +99,7 @@
-
+
@@ -107,7 +107,8 @@
@@ -120,7 +121,7 @@
@@ -132,7 +133,7 @@
@@ -144,8 +145,8 @@
-
-
+
+
diff --git a/src/views/userManage/authDept.vue b/src/views/userManage/authDept.vue
new file mode 100644
index 0000000..4e8b358
--- /dev/null
+++ b/src/views/userManage/authDept.vue
@@ -0,0 +1,326 @@
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+
+
+ 添加
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{
+ scope.row.flag | statusFilterName
+ }}
+
+
+
+
+
+
+
+
+ 编辑
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 禁用
+ 正常
+
+
+
+
+
+
+
+
+
+
+
+
+
+