|
|
@ -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;
|
|
|
|
});
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
|