From 57efb3187bc7eb07393b9d94b1d308773b24312f Mon Sep 17 00:00:00 2001 From: "han\\hanst" Date: Wed, 7 Jan 2026 16:02:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/qc/qcPartAttribute.vue | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/views/modules/qc/qcPartAttribute.vue b/src/views/modules/qc/qcPartAttribute.vue index a932927..94bc8a5 100644 --- a/src/views/modules/qc/qcPartAttribute.vue +++ b/src/views/modules/qc/qcPartAttribute.vue @@ -1650,7 +1650,9 @@ this.detailData.partNo = row.partNo this.detailData.attributeNo = row.partNo this.detailData.partDesc = row.partDesc - searchPartAttributeDetails(this.detailData).then(({data}) => { + let detailDataTemp = JSON.parse(JSON.stringify(this.detailData)); + detailDataTemp.inspectionTypeNo=''; + searchPartAttributeDetails(detailDataTemp).then(({data}) => { this.detailList = data.rows }) this.detailModelFlag = true @@ -1788,7 +1790,9 @@ // 关闭后刷新列表 refreshDetailList () { - searchPartAttributeDetails(this.detailData).then(({data}) => { + let detailDataTemp = JSON.parse(JSON.stringify(this.detailData)); + detailDataTemp.inspectionTypeNo=''; + searchPartAttributeDetails(detailDataTemp).then(({data}) => { this.detailList = data.rows }) }, @@ -1802,7 +1806,9 @@ }).then(() => { deletePartAttributeDetails(row).then(({data}) => { if (data && data.code === 0) { - searchPartAttributeDetails(this.detailData).then(({data}) => { + let detailDataTemp = JSON.parse(JSON.stringify(this.detailData)); + detailDataTemp.inspectionTypeNo=''; + searchPartAttributeDetails(detailDataTemp).then(({data}) => { this.detailList = data.rows }) this.$message({