|
|
|
@ -68,7 +68,11 @@
|
|
|
|
|
<el-table-column label="返修措施编码" align="center" prop="repairCode" v-if="columns[1].visible"/>
|
|
|
|
|
<el-table-column label="返修措施名称" align="center" prop="repairName" v-if="columns[2].visible"/>
|
|
|
|
|
<el-table-column label="工序编号" align="center" prop="processCode" v-if="columns[3].visible"/>
|
|
|
|
|
<el-table-column label="启用标识" align="center" prop="isFlag" v-if="columns[4].visible"/>
|
|
|
|
|
<el-table-column label="返修结果" align="center" prop="isFlag" v-if="columns[4].visible">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<dict-tag :options="dict.type.rework_result" :value="scope.row.isFlag"/>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="创建人" align="center" prop="createdBy" v-if="columns[5].visible"/>
|
|
|
|
|
<el-table-column label="创建时间" align="center" prop="createdTime" width="180" v-if="columns[6].visible">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
@ -121,10 +125,15 @@
|
|
|
|
|
<!-- <el-form-item label="工序编号" prop="processCode">-->
|
|
|
|
|
<!-- <el-input v-model="form.processCode" placeholder="请输入工序编号" />-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<!-- <el-form-item label="启用标识" prop="isFlag">-->
|
|
|
|
|
<!-- <el-input v-model="form.isFlag" placeholder="请输入启用标识" />-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<!-- -->
|
|
|
|
|
<el-form-item label="返修结果" prop="isFlag">
|
|
|
|
|
<el-radio-group v-model="form.isFlag">
|
|
|
|
|
<el-radio
|
|
|
|
|
v-for="dict in dict.type.rework_result"
|
|
|
|
|
:key="dict.value"
|
|
|
|
|
:label="parseInt(dict.value)"
|
|
|
|
|
>{{dict.label}}</el-radio>
|
|
|
|
|
</el-radio-group>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-form>
|
|
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
|
|
<el-button type="primary" @click="submitForm">确 定</el-button>
|
|
|
|
@ -139,6 +148,7 @@ import { listRepairMeasures, getRepairMeasures, delRepairMeasures, addRepairMeas
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
name: "RepairMeasures",
|
|
|
|
|
dicts: ['rework_result'],
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
// 遮罩层
|
|
|
|
@ -182,7 +192,7 @@ export default {
|
|
|
|
|
{ key: 1, label: `返修措施编码`, visible: true },
|
|
|
|
|
{ key: 2, label: `返修措施名称`, visible: true },
|
|
|
|
|
{ key: 3, label: `工序编号`, visible: false },
|
|
|
|
|
{ key: 4, label: `启用标识`, visible: false },
|
|
|
|
|
{ key: 4, label: `返修结果`, visible: true },
|
|
|
|
|
{ key: 5, label: `创建人`, visible: false },
|
|
|
|
|
{ key: 6, label: `创建时间`, visible: false },
|
|
|
|
|
{ key: 7, label: `更新人`, visible: false },
|
|
|
|
@ -215,7 +225,7 @@ export default {
|
|
|
|
|
repairCode: null,
|
|
|
|
|
repairName: null,
|
|
|
|
|
processCode: null,
|
|
|
|
|
isFlag: null,
|
|
|
|
|
isFlag: 1,
|
|
|
|
|
createdBy: null,
|
|
|
|
|
createdTime: null,
|
|
|
|
|
updatedBy: null,
|
|
|
|
|