过程质检的缺陷记录

This commit is contained in:
JinLu.Yin 2022-08-30 22:03:28 +08:00
parent bf62aabbb6
commit 21a7f51c08
2 changed files with 4 additions and 1 deletions

View File

@ -88,6 +88,7 @@ import { listDefectrecord, getDefectrecord, delDefectrecord, addDefectrecord, up
export default { export default {
name: "Defectrecord", name: "Defectrecord",
dicts: ['mes_defect_level'],
props: { props: {
qcId: null, qcId: null,
qcType: null, qcType: null,
@ -155,6 +156,7 @@ export default {
/** 新增按钮操作 */ /** 新增按钮操作 */
handleAdd() { handleAdd() {
debugger;
var row = { var row = {
recordId: null, recordId: null,
qcId: this.qcId, qcId: this.qcId,

View File

@ -173,7 +173,8 @@ export default {
}, },
// //
handleDefect(row){ handleDefect(row){
this.defect_qcid = row.ipqcId; debugger;
this.defect_qcid = row.ipqcId;
this.defect_lineid = row.lineId; this.defect_lineid = row.lineId;
this.$nextTick(() => { this.$nextTick(() => {
this.$refs.defectDialog.showFlag = true; this.$refs.defectDialog.showFlag = true;