IQC来料检验
This commit is contained in:
@@ -91,9 +91,17 @@ export default {
|
||||
name: "Iqcdefect",
|
||||
dicts: ['mes_defect_level'],
|
||||
props:{
|
||||
iqcId: null,
|
||||
lineId: null,
|
||||
optType: null
|
||||
iqcId:null,
|
||||
lineId:null,
|
||||
optType:null
|
||||
},
|
||||
watch :{
|
||||
iqcId(){
|
||||
this.queryParams.iqcId = this.iqcId;
|
||||
},
|
||||
lineId(){
|
||||
this.queryParams.lineId = this.lineId;
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
@@ -151,6 +159,7 @@ export default {
|
||||
methods: {
|
||||
/** 查询来料检验单缺陷记录列表 */
|
||||
getList() {
|
||||
debugger;
|
||||
this.loading = true;
|
||||
listIqcdefect(this.queryParams).then(response => {
|
||||
this.iqcdefectList = response.rows;
|
||||
@@ -232,6 +241,7 @@ export default {
|
||||
if (res.code === 200) {
|
||||
this.open = false;
|
||||
this.getList();
|
||||
this.$parent.getList();
|
||||
}
|
||||
});
|
||||
}
|
||||
@@ -257,6 +267,7 @@ export default {
|
||||
}
|
||||
})
|
||||
});
|
||||
this.$parent.getList();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
@@ -103,6 +103,7 @@ export default {
|
||||
methods: {
|
||||
/** 查询来料检验单行列表 */
|
||||
getList() {
|
||||
debugger;
|
||||
this.loading = true;
|
||||
listIqcline(this.queryParams).then(response => {
|
||||
this.iqclineList = response.rows;
|
||||
@@ -162,10 +163,14 @@ export default {
|
||||
this.multiple = !selection.length
|
||||
},
|
||||
handleDefect(row){
|
||||
debugger;
|
||||
this.defect_iqcid = row.iqcId;
|
||||
this.defect_lineid = row.lineId;
|
||||
this.$refs.defectDialog.showFlag = true;
|
||||
this.$refs.defectDialog.getList();
|
||||
this.$nextTick(() => {
|
||||
this.$refs.defectDialog.showFlag = true;
|
||||
this.$refs.defectDialog.getList();
|
||||
})
|
||||
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user