|
|
@ -75,7 +75,7 @@
|
|
|
|
@pagination="getList"
|
|
|
|
@pagination="getList"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 添加或修改人员物料绑定对话框 -->
|
|
|
|
<!-- 添加或修改人员线体绑定对话框 -->
|
|
|
|
<el-dialog :title="title" :visible.sync="open" width="960px" append-to-body>
|
|
|
|
<el-dialog :title="title" :visible.sync="open" width="960px" append-to-body>
|
|
|
|
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
|
|
|
|
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
|
|
|
|
<el-form-item label="用户编码" prop="handleCode">
|
|
|
|
<el-form-item label="用户编码" prop="handleCode">
|
|
|
@ -83,7 +83,7 @@
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form>
|
|
|
|
</el-form>
|
|
|
|
<el-tabs type="border-card" v-if="form.userCodes != null">
|
|
|
|
<el-tabs type="border-card" v-if="form.userCodes != null">
|
|
|
|
<el-tab-pane label="关联物料">
|
|
|
|
<el-tab-pane label="关联线体">
|
|
|
|
<UserBind ref="userBind"
|
|
|
|
<UserBind ref="userBind"
|
|
|
|
v-if="form.userCodes != null"
|
|
|
|
v-if="form.userCodes != null"
|
|
|
|
:userCodes="form.userCodes"
|
|
|
|
:userCodes="form.userCodes"
|
|
|
@ -124,7 +124,7 @@ export default {
|
|
|
|
handleCode: '',
|
|
|
|
handleCode: '',
|
|
|
|
// 总条数
|
|
|
|
// 总条数
|
|
|
|
total: 0,
|
|
|
|
total: 0,
|
|
|
|
// 人员物料绑定表格数据
|
|
|
|
// 人员线体绑定表格数据
|
|
|
|
materialList: [],
|
|
|
|
materialList: [],
|
|
|
|
// 弹出层标题
|
|
|
|
// 弹出层标题
|
|
|
|
title: "",
|
|
|
|
title: "",
|
|
|
@ -161,7 +161,7 @@ export default {
|
|
|
|
this.getList();
|
|
|
|
this.getList();
|
|
|
|
},
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
|
/** 查询人员物料绑定列表 */
|
|
|
|
/** 查询人员线体绑定列表 */
|
|
|
|
getList() {
|
|
|
|
getList() {
|
|
|
|
this.loading = true;
|
|
|
|
this.loading = true;
|
|
|
|
listMaterial(this.queryParams).then(response => {
|
|
|
|
listMaterial(this.queryParams).then(response => {
|
|
|
|