检验节点人员绑定

master
shaoyong 5 months ago
parent c7996bd83f
commit c01ce52351

@ -73,6 +73,14 @@
/>
</template>
</el-table-column>
<el-table-column label="二级类型" align="center" prop="attr1" width="150">
<template slot-scope="scope">
<dict-tag
:options="dict.type.order_type_ll"
:value="scope.row.attr1"
/>
</template>
</el-table-column>
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope">
<el-button
@ -138,6 +146,20 @@
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="15">
<el-form-item v-if="form.typeCode=='material'" label="来料类别" prop="attr1">
<el-select v-model="form.attr1" placeholder="请输入来料类别" >
<el-option
v-for="dict in dict.type.order_type_ll"
:key="dict.value"
:label="dict.label"
:value="dict.value"
></el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button type="primary" @click="submitForm"> </el-button>
@ -184,7 +206,7 @@ import{ getSelectedUsers, addUserBind,deleteByMaterialCode} from "@/api/quality/
import ItemSelectUser from "./selectUser.vue";
export default {
name: "CheckType",
dicts: ["check_type"],
dicts: ["check_type","order_type_ll"],
components: {
ItemSelectUser
},
@ -202,6 +224,9 @@ export default {
//
showSearch: true,
openUserBind: false,
materialCode: "",
materialName: "",
attr1: "",
//
total: 0,
//
@ -352,12 +377,13 @@ export default {
//this.reset();
this.userloading = true;
let sr = row;
//
//使
this.materialCode = sr.orderCode;
this.materialName = sr.checkName;
this.attr1 = sr.attr1;
this.getUserParams.materialCode = sr.orderCode;
//
//
getSelectedUsers(this.getUserParams).then(response => {
this.userList = response.rows;
this.openUserBind = true;
@ -398,6 +424,7 @@ export default {
let data = {
materialCode: this.materialCode,
materialName: this.materialName,
attr1: this.attr1,
userCodes: [],
userNames: [],
}

Loading…
Cancel
Save