|
|
|
@ -30,7 +30,8 @@
|
|
|
|
|
<el-form-item>
|
|
|
|
|
<el-button-group>
|
|
|
|
|
<el-button type="primary" icon="el-icon-refresh" @click="onReset"
|
|
|
|
|
>重置</el-button
|
|
|
|
|
>重置
|
|
|
|
|
</el-button
|
|
|
|
|
>
|
|
|
|
|
<el-button type="primary" @click="onSubmit" icon="el-icon-search"
|
|
|
|
|
>查询
|
|
|
|
@ -75,7 +76,7 @@
|
|
|
|
|
</el-tag>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="备注" prop="remark"> </el-table-column>
|
|
|
|
|
<el-table-column label="备注" prop="remark"></el-table-column>
|
|
|
|
|
<el-table-column label="操作">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-button
|
|
|
|
@ -124,7 +125,7 @@
|
|
|
|
|
<el-form-item label="部门名称:" prop="name">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="formData.name"
|
|
|
|
|
style="width: 90%"
|
|
|
|
|
style="width: 80%"
|
|
|
|
|
clearable
|
|
|
|
|
size="small"
|
|
|
|
|
></el-input>
|
|
|
|
@ -244,7 +245,7 @@
|
|
|
|
|
prop="employeeName"
|
|
|
|
|
></el-table-column>
|
|
|
|
|
<el-table-column label="用户账号" prop="userName"></el-table-column>
|
|
|
|
|
<el-table-column label="备注" prop="comments"> </el-table-column>
|
|
|
|
|
<el-table-column label="备注" prop="comments"></el-table-column>
|
|
|
|
|
<el-table-column label="操作">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-button
|
|
|
|
@ -315,7 +316,7 @@
|
|
|
|
|
<el-table-column label="序号" type="index"></el-table-column>
|
|
|
|
|
<el-table-column label="仓库名称" prop="name"></el-table-column>
|
|
|
|
|
<el-table-column label="仓库编码" prop="code"></el-table-column>
|
|
|
|
|
<el-table-column label="备注" prop="remark"> </el-table-column>
|
|
|
|
|
<el-table-column label="备注" prop="remark"></el-table-column>
|
|
|
|
|
<!-- <el-table-column label="操作">-->
|
|
|
|
|
<!-- <template slot-scope="scope">-->
|
|
|
|
|
<!-- <el-button-->
|
|
|
|
@ -347,11 +348,11 @@ import {
|
|
|
|
|
saveWarehouse,
|
|
|
|
|
} from "@/api/system/invWarehouse";
|
|
|
|
|
|
|
|
|
|
import { treeList, treeSelectedList } from "@/api/system/dataStatus";
|
|
|
|
|
import {treeList, treeSelectedList} from "@/api/system/dataStatus";
|
|
|
|
|
import Treeselect from "@riophae/vue-treeselect";
|
|
|
|
|
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
|
|
|
|
|
import { listDeptUser, removeUser } from "@/api/system/deptUser";
|
|
|
|
|
import { filterSubAll } from "@/api/system/invSubWarehouse";
|
|
|
|
|
import {listDeptUser, removeUser} from "@/api/system/deptUser";
|
|
|
|
|
import {filterSubAll} from "@/api/system/invSubWarehouse";
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
data() {
|
|
|
|
@ -382,9 +383,9 @@ export default {
|
|
|
|
|
deptOptions: [],
|
|
|
|
|
rules: {
|
|
|
|
|
name: [
|
|
|
|
|
{ required: true, message: "部门名称不能为空", trigger: "blur" },
|
|
|
|
|
{required: true, message: "部门名称不能为空", trigger: "blur"},
|
|
|
|
|
],
|
|
|
|
|
status: [{ required: true, message: "状态不能为空", trigger: "blur" }],
|
|
|
|
|
status: [{required: true, message: "状态不能为空", trigger: "blur"}],
|
|
|
|
|
},
|
|
|
|
|
menuExpand: false,
|
|
|
|
|
menuNodeAll: false,
|
|
|
|
@ -628,7 +629,8 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {});
|
|
|
|
|
.catch(() => {
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
toggleExpandAll() {
|
|
|
|
|
this.refreshTable = false;
|
|
|
|
@ -666,7 +668,7 @@ export default {
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
getDeptStatusMenuTreeselect(deptId) {
|
|
|
|
|
let query = { deptId: deptId };
|
|
|
|
|
let query = {deptId: deptId};
|
|
|
|
|
return treeSelectedList(query).then((response) => {
|
|
|
|
|
this.menuOptions = response.data.menus;
|
|
|
|
|
return response;
|
|
|
|
@ -749,7 +751,8 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {});
|
|
|
|
|
.catch(() => {
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
//仓库相关
|
|
|
|
@ -770,8 +773,9 @@ export default {
|
|
|
|
|
this.getInvList();
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
components: { Treeselect },
|
|
|
|
|
mounted() {},
|
|
|
|
|
components: {Treeselect},
|
|
|
|
|
mounted() {
|
|
|
|
|
},
|
|
|
|
|
created() {
|
|
|
|
|
this.getList();
|
|
|
|
|
},
|
|
|
|
|