手持接口-巡检工单

yangwl
wws 11 months ago
parent 3f7054cd78
commit 377ce2bdb2

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

Loading…
Cancel
Save