update - 测温报表加列、产线、工位联动

master
yinq 4 months ago
parent 42a3c18397
commit 4530ac113e

@ -208,6 +208,12 @@ export default {
this.yearShowFlag = true; this.yearShowFlag = true;
} }
}, },
'queryParams.PRODUCT_LINE_CODE': function(newVal, oldVal) {
//
findProductLineList({parentId: this.queryParams.PRODUCT_LINE_CODE, stationType: 2}).then(response => {
this.findStationList = response.data
})
},
}, },
created() { created() {
findProductLineList({productLineType: 1}).then(response => { findProductLineList({productLineType: 1}).then(response => {

@ -25,6 +25,24 @@
@keyup.enter.native="handleQuery" @keyup.enter.native="handleQuery"
/> />
</el-form-item> </el-form-item>
<el-form-item label="产品型号" prop="cpmodel">
<el-input
v-model="queryParams.cpmodel"
placeholder="请输入产品型号"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="测试结果" prop="cpresult">
<el-select v-model="queryParams.cpresult" placeholder="请选择测试结果" clearable>
<el-option
v-for="dict in dict.type.cp_result"
:key="dict.value"
:label="dict.label"
:value="dict.value"
/>
</el-select>
</el-form-item>
<!-- <el-form-item label="实际测试时间" prop="testedtime">--> <!-- <el-form-item label="实际测试时间" prop="testedtime">-->
<!-- <el-input--> <!-- <el-input-->
<!-- v-model="queryParams.testedtime"--> <!-- v-model="queryParams.testedtime"-->
@ -43,16 +61,6 @@
start-placeholder="开始时间" start-placeholder="开始时间"
end-placeholder="结束时间" end-placeholder="结束时间"
></el-date-picker> ></el-date-picker>
<el-form-item label="测试结果" prop="cpresult">
<el-select v-model="queryParams.cpresult" placeholder="请选择测试结果" clearable>
<el-option
v-for="dict in dict.type.cp_result"
:key="dict.value"
:label="dict.label"
:value="dict.value"
/>
</el-select>
</el-form-item>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery"></el-button> <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery"></el-button>

Loading…
Cancel
Save