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'){ //如果是刚新增的则直接删除