From f07ab6f57d1fce7fdb4caf349546ce31d2e373ec Mon Sep 17 00:00:00 2001 From: shenzhouyu Date: Thu, 26 Nov 2026 23:39:26 -0800 Subject: [PATCH] =?UTF-8?q?=E8=B5=AB=E8=89=BE=E4=B8=8D=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/qc/FAIResultEntry.vue | 4 ++-- src/views/modules/qc/FQCResultEntry.vue | 4 ++-- src/views/modules/qc/IPQCResultEntry.vue | 4 ++-- src/views/modules/qc/qcPartAttribute.vue | 2 ++ 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/views/modules/qc/FAIResultEntry.vue b/src/views/modules/qc/FAIResultEntry.vue index 329f891..47ac3ac 100644 --- a/src/views/modules/qc/FAIResultEntry.vue +++ b/src/views/modules/qc/FAIResultEntry.vue @@ -2297,8 +2297,8 @@ export default { bu: '', templateId: '', templateName: '', - inspectionTypeNo: '', - inspectionTypeName: '' + inspectionTypeNo: '106', + inspectionTypeName: 'FAI' }, templateList: [], templateModelFlag: false, diff --git a/src/views/modules/qc/FQCResultEntry.vue b/src/views/modules/qc/FQCResultEntry.vue index eccd275..a915908 100644 --- a/src/views/modules/qc/FQCResultEntry.vue +++ b/src/views/modules/qc/FQCResultEntry.vue @@ -2334,8 +2334,8 @@ bu: '', templateId: '', templateName: '', - inspectionTypeNo: '', - inspectionTypeName: '' + inspectionTypeNo: '107', + inspectionTypeName: 'FQC' }, templateList: [], templateModelFlag: false, diff --git a/src/views/modules/qc/IPQCResultEntry.vue b/src/views/modules/qc/IPQCResultEntry.vue index 1395510..e05f697 100644 --- a/src/views/modules/qc/IPQCResultEntry.vue +++ b/src/views/modules/qc/IPQCResultEntry.vue @@ -2470,8 +2470,8 @@ bu: '', templateId: '', templateName: '', - inspectionTypeNo: '', - inspectionTypeName: '' + inspectionTypeNo: '101', + inspectionTypeName: 'IPQC' }, partData: { site: '', diff --git a/src/views/modules/qc/qcPartAttribute.vue b/src/views/modules/qc/qcPartAttribute.vue index ac416ac..d26ccac 100644 --- a/src/views/modules/qc/qcPartAttribute.vue +++ b/src/views/modules/qc/qcPartAttribute.vue @@ -2265,11 +2265,13 @@ }, onDetailSamplingPlanOrLevelChange (row) { if (this.hasSamplingValue(row.samplingProgrammeNo) || this.hasSamplingValue(row.samplingLevelNo)) { + this.$set(row, 'samplingDefaultsEdited', true) this.$set(row, 'defaultSamplingQuantity', '') this.$set(row, 'defaultSamplingProportion', '') } }, onDetailSamplingFieldInput (row, field) { + this.$set(row, 'samplingDefaultsEdited', true) if (field === 'defaultSamplingQuantity' && this.hasSamplingValue(row.defaultSamplingQuantity)) { this.$set(row, 'samplingProgrammeNo', '') this.$set(row, 'samplingProgrammeDesc', '')