yangwl
zhaoxiaolin 11 months ago
parent 9bb461cd0f
commit 9ca802bd4c

@ -1,13 +1,15 @@
<template> <template>
<div class="app-container"> <div class="app-container">
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="80px"> <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="80px">
<el-form-item label="订单编码" prop="orderNo"> <el-form-item label="检验节点" prop="checkType">
<el-input <el-select v-model="queryParams.checkType" clearable placeholder="请选择检验节点">
v-model="queryParams.orderNo" <el-option
placeholder="请输入物料编码" v-for="dict in checkTypes"
clearable :key="dict.id"
@keyup.enter.native="handleQuery" :label="dict.checkName"
/> :value="dict.id"
></el-option>
</el-select>
</el-form-item> </el-form-item>
<el-form-item label="物料编码" prop="materialCode"> <el-form-item label="物料编码" prop="materialCode">
<el-input <el-input
@ -427,8 +429,9 @@ export default {
return index + 1; return index + 1;
}, },
/****/ /****/
//
getCheckTypes() { getCheckTypes() {
getCheckTypes('material').then(response => { getCheckTypes('produce').then(response => {
this.checkTypes = response; this.checkTypes = response;
}); });
}, },

@ -632,6 +632,10 @@ export default {
this.form = response.data; this.form = response.data;
this.open = true; this.open = true;
this.title = "修改生产过程检验任务"; this.title = "修改生产过程检验任务";
getBatchList(response.data.orderNo).then(response => {
this.batchList = response;
});
}); });
}, },
/** 提交按钮 */ /** 提交按钮 */

@ -128,8 +128,8 @@
/> />
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="下一节点编码" align="center" prop="nextNodeCode" width="120"/> <el-table-column label="抽样数量" align="center" prop="sampleQuality" width="100"/>
<el-table-column label="下一节点名称" align="center" prop="nextNodeName" width="120"/> <el-table-column label="不合格数量" align="center" prop="noOkQuality" width="100"/>
<el-table-column label="流程发起时间" align="center" prop="createTime" width="150"> <el-table-column label="流程发起时间" align="center" prop="createTime" width="150">
<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>

Loading…
Cancel
Save