From f53ee15ba718711fb05cf48736b7f2ffe1535161 Mon Sep 17 00:00:00 2001 From: "JinLu.Yin" <411641505@qq.com> Date: Tue, 30 Aug 2022 23:18:31 +0800 Subject: [PATCH] =?UTF-8?q?IPQC=E8=BF=87=E7=A8=8B=E6=A3=80=E9=AA=8C?= =?UTF-8?q?=E7=BC=BA=E9=99=B7=E8=AE=B0=E5=BD=95=E6=9B=B4=E6=94=B9=E4=BF=9D?= =?UTF-8?q?=E5=AD=98=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/mes/qc/ipqc/line.vue | 11 +++++------ src/views/mes/qc/iqc/iqcdefect.vue | 3 --- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/src/views/mes/qc/ipqc/line.vue b/src/views/mes/qc/ipqc/line.vue index 8ec9f3b..e8af368 100644 --- a/src/views/mes/qc/ipqc/line.vue +++ b/src/views/mes/qc/ipqc/line.vue @@ -37,7 +37,7 @@ :limit.sync="queryParams.pageSize" @pagination="getList" /> - + @@ -54,9 +54,9 @@ export default { components: {Defectrecord}, data() { return { - defect_qcId: null, - defect_qcLineId: null, - defect_qcType: 'IPQC', + defect_qcid: null, + defect_qclineid: null, + defect_qctype: 'IPQC', // 遮罩层 loading: true, // 选中数组 @@ -173,9 +173,8 @@ export default { }, //缺陷记录 handleDefect(row){ - debugger; this.defect_qcid = row.ipqcId; - this.defect_lineid = row.lineId; + this.defect_qclineid = row.lineId; this.$nextTick(() => { this.$refs.defectDialog.showFlag = true; this.$refs.defectDialog.getList(); diff --git a/src/views/mes/qc/iqc/iqcdefect.vue b/src/views/mes/qc/iqc/iqcdefect.vue index e016c52..3c50db0 100644 --- a/src/views/mes/qc/iqc/iqcdefect.vue +++ b/src/views/mes/qc/iqc/iqcdefect.vue @@ -230,7 +230,6 @@ export default { confirm() { if(this.iqcdefectList.length !=0){ updateIqcdefect(this.iqcdefectList).then(res => { - debugger; this.$modal.msgSuccess(res.msg); if (res.code === 200) { this.open = false; @@ -242,12 +241,10 @@ export default { }, /** 删除按钮操作 */ handleDelete(index,row) { - debugger; const recordIds = row.recordId || this.ids; let that = this; this.$modal.confirm('是否确认删除缺陷记录?').then(function() { that.iqcdefectList.forEach(function(item,i,arr){ - debugger; if(i == index){ if(that.iqcdefectList[index].flag=='add'){ //如果是刚新增的则直接删除