update - 质量问题前80报表加工位查询

master
yinq 5 months ago
parent f9efe05d64
commit bd0c052590

@ -19,6 +19,16 @@
<!-- @keyup.enter.native="handleQuery"-->
<!-- />-->
<!-- </el-form-item>-->
<el-form-item label="质检工位">
<el-select v-model="queryParams.STATION_CODE" placeholder="请选择质检工位" clearable>
<el-option
v-for="item in findStationList"
:key="item.productLineCode"
:label="item.productLineName"
:value="item.productLineCode"
></el-option>
</el-select>
</el-form-item>
<el-form-item label="型号" prop="MATERIAL_MODEL">
<el-input
v-model="queryParams.MATERIAL_MODEL"
@ -35,16 +45,7 @@
<!-- @keyup.enter.native="handleQuery"-->
<!-- />-->
<!-- </el-form-item>-->
<!-- <el-form-item label="工位">-->
<!-- <el-select v-model="queryParams.stationCode" placeholder="请选择工位">-->
<!-- <el-option-->
<!-- v-for="item in findStationList"-->
<!-- :key="item.productLineCode"-->
<!-- :label="item.productLineName"-->
<!-- :value="item.productLineCode"-->
<!-- ></el-option>-->
<!-- </el-select>-->
<!-- </el-form-item>-->
<el-form-item label="起止时间">
<el-date-picker
v-model="daterangeBeginTime"
@ -189,11 +190,11 @@ export default {
}
},
created() {
findProductLineList({ productLineType: 1 }).then(response => {
findProductLineList({productLineType: 1}).then(response => {
this.productLineList = response.data
})
findProductLineList({ productLineType: 2 }).then(response => {
this.findStationList = response.data
findProductLineList({parentId: this.queryParams.PRODUCT_LINE_CODE, stationType: 2}).then(response => {
this.findStationList = response.data
})
})
//
getCustomData(386).then(response => {
@ -204,6 +205,14 @@ export default {
this.daterangeBeginTime[1] = nowDate + ' 23:59:59'
this.getList()
},
watch: {
'queryParams.PRODUCT_LINE_CODE': function(newVal, oldVal) {
//
findProductLineList({parentId: this.queryParams.PRODUCT_LINE_CODE, stationType: 2}).then(response => {
this.findStationList = response.data
})
},
},
methods: {
/** 查询工单信息列表 */
getList() {
@ -217,7 +226,7 @@ export default {
}
qualityIssuesReportList(this.queryParams).then(response => {
this.reportList = response.data
this.totalSum = 0;
this.totalSum = 0
this.reportList.forEach(e => {
this.totalSum += e.Q_SUM
})

Loading…
Cancel
Save