|
|
@ -8,8 +8,8 @@
|
|
|
|
<el-row :gutter="20">
|
|
|
|
<el-row :gutter="20">
|
|
|
|
|
|
|
|
|
|
|
|
<el-col :span="24" :xs="24">
|
|
|
|
<el-col :span="24" :xs="24">
|
|
|
|
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="105px" align="left">
|
|
|
|
<el-form :model="queryParams" ref="queryProjectForm" size="small" :inline="true" v-show="showSearch" label-width="105px" align="left">
|
|
|
|
<el-form-item label="检测项目名称">
|
|
|
|
<el-form-item label="检测项目名称" prop="ruleName">
|
|
|
|
<el-input
|
|
|
|
<el-input
|
|
|
|
v-model="queryParams.ruleName"
|
|
|
|
v-model="queryParams.ruleName"
|
|
|
|
placeholder="检测项目名称"
|
|
|
|
placeholder="检测项目名称"
|
|
|
@ -19,11 +19,11 @@
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
|
|
|
|
<el-form-item label="检测方案名称">
|
|
|
|
<el-form-item label="检测方案名称" prop="projectType">
|
|
|
|
<el-select v-model="queryParams.projectType" filterable clearable placeholder="请选择检测方案">
|
|
|
|
<el-select v-model="queryParams.projectType" filterable clearable placeholder="请选择检测方案">
|
|
|
|
<el-option
|
|
|
|
<el-option
|
|
|
|
v-for="item in projectTypeOptions"
|
|
|
|
v-for="(item,index) in projectTypeOptions"
|
|
|
|
:key="item.projectTypeCode"
|
|
|
|
:key="index"
|
|
|
|
:label="item.projectTypeName"
|
|
|
|
:label="item.projectTypeName"
|
|
|
|
:value="item.projectTypeCode">
|
|
|
|
:value="item.projectTypeCode">
|
|
|
|
</el-option>
|
|
|
|
</el-option>
|
|
|
@ -66,7 +66,7 @@
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column label="测量单位" align="left" prop="unitCode" width="90"/>
|
|
|
|
<el-table-column label="测量单位" align="left" prop="unitCode" width="90"/>
|
|
|
|
<el-table-column label="抽样方案" align="left" prop="samplePlan" width="100" :show-overflow-tooltip="true"/>
|
|
|
|
<el-table-column label="抽样方案" align="left" prop="samplePlan" width="100" :show-overflow-tooltip="true"/>
|
|
|
|
<el-table-column label="合格判定" align="left" prop="judge"/ width="100">
|
|
|
|
<el-table-column label="合格判定" align="left" prop="judge" width="100" />
|
|
|
|
<el-table-column label="缺陷等级" align="left" prop="defectLevel" width="90"/>
|
|
|
|
<el-table-column label="缺陷等级" align="left" prop="defectLevel" width="90"/>
|
|
|
|
<el-table-column label="检验方式" align="left" prop="checkMode" width="90" :show-overflow-tooltip="true"/>
|
|
|
|
<el-table-column label="检验方式" align="left" prop="checkMode" width="90" :show-overflow-tooltip="true"/>
|
|
|
|
<el-table-column label="检验工具" align="left" prop="checkTool" width="90"/>
|
|
|
|
<el-table-column label="检验工具" align="left" prop="checkTool" width="90"/>
|
|
|
@ -107,7 +107,8 @@ export default {
|
|
|
|
total: 0,
|
|
|
|
total: 0,
|
|
|
|
// BOM产品表格数据
|
|
|
|
// BOM产品表格数据
|
|
|
|
itemList: null,
|
|
|
|
itemList: null,
|
|
|
|
|
|
|
|
ruleName: null,
|
|
|
|
|
|
|
|
projectType:null,
|
|
|
|
//树名称
|
|
|
|
//树名称
|
|
|
|
bomCode: undefined,
|
|
|
|
bomCode: undefined,
|
|
|
|
defaultProps: {
|
|
|
|
defaultProps: {
|
|
|
@ -164,7 +165,7 @@ export default {
|
|
|
|
|
|
|
|
|
|
|
|
/** 重置按钮操作 */
|
|
|
|
/** 重置按钮操作 */
|
|
|
|
resetQuery() {
|
|
|
|
resetQuery() {
|
|
|
|
this.resetForm("queryForm");
|
|
|
|
this.resetForm("queryProjectForm");
|
|
|
|
this.handleQuery();
|
|
|
|
this.handleQuery();
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
@ -183,6 +184,8 @@ export default {
|
|
|
|
|
|
|
|
|
|
|
|
this.$emit('onSelected', this.$refs.myTable.selection);
|
|
|
|
this.$emit('onSelected', this.$refs.myTable.selection);
|
|
|
|
this.showFlag = false;
|
|
|
|
this.showFlag = false;
|
|
|
|
|
|
|
|
this.ruleName = '';
|
|
|
|
|
|
|
|
this.projectType = '';
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
|