|
|
@ -73,6 +73,14 @@
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</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">
|
|
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<el-button
|
|
|
|
<el-button
|
|
|
@ -138,6 +146,20 @@
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
</el-row>
|
|
|
|
</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>
|
|
|
|
</el-form>
|
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
|
<el-button type="primary" @click="submitForm">确 定</el-button>
|
|
|
|
<el-button type="primary" @click="submitForm">确 定</el-button>
|
|
|
@ -184,7 +206,7 @@ import{ getSelectedUsers, addUserBind,deleteByMaterialCode} from "@/api/quality/
|
|
|
|
import ItemSelectUser from "./selectUser.vue";
|
|
|
|
import ItemSelectUser from "./selectUser.vue";
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
name: "CheckType",
|
|
|
|
name: "CheckType",
|
|
|
|
dicts: ["check_type"],
|
|
|
|
dicts: ["check_type","order_type_ll"],
|
|
|
|
components: {
|
|
|
|
components: {
|
|
|
|
ItemSelectUser
|
|
|
|
ItemSelectUser
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -202,6 +224,9 @@ export default {
|
|
|
|
// 显示搜索条件
|
|
|
|
// 显示搜索条件
|
|
|
|
showSearch: true,
|
|
|
|
showSearch: true,
|
|
|
|
openUserBind: false,
|
|
|
|
openUserBind: false,
|
|
|
|
|
|
|
|
materialCode: "",
|
|
|
|
|
|
|
|
materialName: "",
|
|
|
|
|
|
|
|
attr1: "",
|
|
|
|
// 总条数
|
|
|
|
// 总条数
|
|
|
|
total: 0,
|
|
|
|
total: 0,
|
|
|
|
// 检验节点维护表格数据
|
|
|
|
// 检验节点维护表格数据
|
|
|
@ -352,12 +377,13 @@ export default {
|
|
|
|
//this.reset();
|
|
|
|
//this.reset();
|
|
|
|
this.userloading = true;
|
|
|
|
this.userloading = true;
|
|
|
|
let sr = row;
|
|
|
|
let sr = row;
|
|
|
|
//赋值备用
|
|
|
|
//赋值人员选择提交时使用
|
|
|
|
this.materialCode = sr.orderCode;
|
|
|
|
this.materialCode = sr.orderCode;
|
|
|
|
this.materialName = sr.checkName;
|
|
|
|
this.materialName = sr.checkName;
|
|
|
|
|
|
|
|
this.attr1 = sr.attr1;
|
|
|
|
|
|
|
|
|
|
|
|
this.getUserParams.materialCode = sr.orderCode;
|
|
|
|
this.getUserParams.materialCode = sr.orderCode;
|
|
|
|
//查询母工单报工记录列表
|
|
|
|
//查询绑定记录表
|
|
|
|
getSelectedUsers(this.getUserParams).then(response => {
|
|
|
|
getSelectedUsers(this.getUserParams).then(response => {
|
|
|
|
this.userList = response.rows;
|
|
|
|
this.userList = response.rows;
|
|
|
|
this.openUserBind = true;
|
|
|
|
this.openUserBind = true;
|
|
|
@ -398,6 +424,7 @@ export default {
|
|
|
|
let data = {
|
|
|
|
let data = {
|
|
|
|
materialCode: this.materialCode,
|
|
|
|
materialCode: this.materialCode,
|
|
|
|
materialName: this.materialName,
|
|
|
|
materialName: this.materialName,
|
|
|
|
|
|
|
|
attr1: this.attr1,
|
|
|
|
userCodes: [],
|
|
|
|
userCodes: [],
|
|
|
|
userNames: [],
|
|
|
|
userNames: [],
|
|
|
|
}
|
|
|
|
}
|
|
|
|