|
|
|
@ -350,7 +350,8 @@
|
|
|
|
|
<el-descriptions title="">
|
|
|
|
|
<el-descriptions-item label="计划编码">{{ this.form.planCode }}</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="计划名称">{{ this.form.planName }}</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="循环周期">{{this.form.planLoop}}{{this.form.planLoopType}}</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="循环周期">{{ this.form.planLoop }}{{ this.form.planLoopType }}
|
|
|
|
|
</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="工单编码">{{ this.form.orderCode }}</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="车间编码">{{ this.form.planWorkshop }}</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="工作中心">{{ this.form.workCenterName }}</el-descriptions-item>
|
|
|
|
@ -358,16 +359,15 @@
|
|
|
|
|
</el-tab-pane>
|
|
|
|
|
<el-tab-pane label="记录">
|
|
|
|
|
<!-- 设备 -->
|
|
|
|
|
<div v-for="(equ , equIndex) in this.form.equList" :key="equIndex">
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :offset="9" :span="6">
|
|
|
|
|
<el-form-item label="设备名称">
|
|
|
|
|
{{equ.equipmentName}}
|
|
|
|
|
<el-form-item label="设备名称:">
|
|
|
|
|
{{ this.form.equ.equipmentName }}
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<div v-for="(detail,detailIndex) in form.equ.detailList" :key="detailIndex">
|
|
|
|
|
<!-- 检查项 -->
|
|
|
|
|
<div v-for="(detail,detailIndex) in equ.detailList" :key="detailIndex">
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="6">
|
|
|
|
|
<el-form-item label="检查项:">
|
|
|
|
@ -375,45 +375,49 @@
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<!-- 标准 -->
|
|
|
|
|
<div v-for="(standard,standardIndex) in detail.standardList" :key="standardIndex">
|
|
|
|
|
<el-row v-if="standard.standardType == 'qualitative' ">
|
|
|
|
|
<div v-if="standard.standardType == 'qualitative' ">
|
|
|
|
|
<!-- 标准 -->
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="6">
|
|
|
|
|
<el-form-item label="标准:">
|
|
|
|
|
{{ standard.standardName }}
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-form-item label="是否达标">
|
|
|
|
|
<el-col :span="9">
|
|
|
|
|
<el-form-item label="是否达标:">
|
|
|
|
|
<el-radio v-model="standard.detailReach" label="0">达标</el-radio>
|
|
|
|
|
<el-radio v-model="standard.detailReach" label="1">未达标</el-radio>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row v-else>
|
|
|
|
|
<el-col :span="6">
|
|
|
|
|
</div>
|
|
|
|
|
<div v-else>
|
|
|
|
|
<!-- 标准 -->
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="5">
|
|
|
|
|
<el-form-item label="标准:">
|
|
|
|
|
{{ standard.standardName }}
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="4">
|
|
|
|
|
<el-form-item label-width="50px" label="上限:">
|
|
|
|
|
<el-form-item label="上限:">
|
|
|
|
|
{{ standard.detailUpLimit }}
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="4">
|
|
|
|
|
<el-form-item label-width="50px" label="下限:">
|
|
|
|
|
<el-form-item label="下限:">
|
|
|
|
|
{{ standard.detailDownLimit }}
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="4">
|
|
|
|
|
<el-form-item label-width="50px" label="单位:">
|
|
|
|
|
<el-form-item label="单位:">
|
|
|
|
|
{{ standard.detailUnit }}
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="4">
|
|
|
|
|
<el-form-item label-width="50px" label="实际值:">
|
|
|
|
|
<el-input v-model="standard.actualValue" placeholder="请输入值"></el-input>
|
|
|
|
|
<el-col :span="6">
|
|
|
|
|
<el-form-item label="实际值:">
|
|
|
|
|
<el-input v-model="standard.actualValue" placeholder="请输入实际值"></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
@ -524,7 +528,9 @@ export default {
|
|
|
|
|
updateTime: null
|
|
|
|
|
},
|
|
|
|
|
// 表单参数
|
|
|
|
|
form: {},
|
|
|
|
|
form: {
|
|
|
|
|
equ: {equipmentName: null},
|
|
|
|
|
},
|
|
|
|
|
// 表单校验
|
|
|
|
|
rules: {}
|
|
|
|
|
};
|
|
|
|
@ -577,7 +583,8 @@ export default {
|
|
|
|
|
createBy: null,
|
|
|
|
|
createTime: null,
|
|
|
|
|
updateBy: null,
|
|
|
|
|
updateTime: null
|
|
|
|
|
updateTime: null,
|
|
|
|
|
equ: {equipmentName: null},
|
|
|
|
|
};
|
|
|
|
|
this.resetForm("form");
|
|
|
|
|
},
|
|
|
|
|