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({