生产过程优化

yangwl
shaoyong 11 months ago
parent 33dd3782b0
commit 42dcc5ee70

@ -196,7 +196,7 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="检验节点" align="center" prop="checkName" /> <el-table-column label="检验节点" align="center" prop="checkName" />
<el-table-column label="创建时间" align="center" prop="createTime" width="180"> <el-table-column label="创建时间" align="center" prop="createTime" width="180">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ parseTime(scope.row.createTime, '{y}-{m}-{d} {h}:{i}:{s}') }}</span> <span>{{ parseTime(scope.row.createTime, '{y}-{m}-{d} {h}:{i}:{s}') }}</span>
</template> </template>
@ -332,9 +332,19 @@
<el-input type="number" v-model="form.sampleQuality" placeholder="请输入抽样数量" /> <el-input type="number" v-model="form.sampleQuality" placeholder="请输入抽样数量" />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6" v-for="(item,index) in form.defects" :key="index"> <el-col :span="6">
<el-form-item :label="item.defectSubclass" prop=""> <el-form-item label="A类不良数量" prop="aNoOkquality">
<el-input type="number" v-model="item.noOkQuality" placeholder="请输入不合格数量" /> <el-input type="number" v-model="form.aNoOkquality" placeholder="请输入不良数量" />
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="B类不良数量" prop="bNoOkquality">
<el-input type="number" v-model="form.bNoOkquality" placeholder="请输入不良数量" />
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="C类不良数量" prop="cNoOkquality">
<el-input type="number" v-model="form.cNoOkquality" placeholder="请输入不良数量" />
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
@ -435,8 +445,6 @@ export default {
total: 0, total: 0,
// //
qcProduceList: [], qcProduceList: [],
checkTypeList:[],
defectTypeList: [],
// //
title: "", title: "",
// //
@ -630,6 +638,9 @@ export default {
const recordId = row.recordId || this.ids const recordId = row.recordId || this.ids
getQcProduce(recordId).then(response => { getQcProduce(recordId).then(response => {
this.form = response.data; this.form = response.data;
if (this.form.defects == null) {
this.form.defects = this.defectTypeList;
}
this.open = true; this.open = true;
this.title = "修改生产过程检验任务"; this.title = "修改生产过程检验任务";

Loading…
Cancel
Save