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