From 5f2329f39905f99364f6c524965c6af9b0f264f0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=B5=B5=E5=AE=8F=E6=96=8C?= <2164406372@qq.com>
Date: Fri, 16 Jan 2026 13:31:40 +0800
Subject: [PATCH] =?UTF-8?q?=E5=8F=96=E6=B6=88=E6=8C=89=E9=92=AE=E5=BC=B9?=
=?UTF-8?q?=E7=AA=97=EF=BC=8C=E7=9B=B4=E6=8E=A5=E6=98=BE=E7=A4=BA=E5=9C=A8?=
=?UTF-8?q?=E5=BA=93=E5=AD=98=E6=88=90=E6=9C=AC=E5=BD=B1=E5=93=8D=E4=B8=8B?=
=?UTF-8?q?=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../modules/changeManagement/changeRecord.vue | 54 ++++++++++++++--
.../changeManagement/changeRequest.vue | 62 +++++++++++++++++--
2 files changed, 105 insertions(+), 11 deletions(-)
diff --git a/src/views/modules/changeManagement/changeRecord.vue b/src/views/modules/changeManagement/changeRecord.vue
index 7a606f0..5fd8dad 100644
--- a/src/views/modules/changeManagement/changeRecord.vue
+++ b/src/views/modules/changeManagement/changeRecord.vue
@@ -469,11 +469,50 @@
-
-
- 制造成本变更
-
+
+
+
制造成本变更
+
+
+
+
+
+
+
+
+
+
+
+ 工艺变更费用
+ 材料变更费用
+ 模具变更费用
+ 其他
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -4184,9 +4223,12 @@
requestDetailSearch(this.modalData).then(({data}) => {
if (data && data.code === 0) {
this.chooseDataList = data.rows
-
this.$set(this.modalData,'manuFacturingFlag',data.rows[0].manuFacturingFlag)
- this.selectedOptions1 = data.rows[0].manuFacturingType.split(';')
+ this.$set(this.modalData,'manuFacturingType',data.rows[0].manuFacturingType)
+ // 回显多选框
+ if (data.rows[0].manuFacturingType != null) {
+ this.selectedOptions1 = data.rows[0].manuFacturingType.split(';')
+ }
this.$set(this.modalData,'manuFacturingCostRemark1',data.rows[0].manuFacturingCostRemark1)
this.$set(this.modalData,'quotationFlag',data.rows[0].quotationFlag)
this.$set(this.modalData,'manuFacturingCostRemark2',data.rows[0].manuFacturingCostRemark2)
diff --git a/src/views/modules/changeManagement/changeRequest.vue b/src/views/modules/changeManagement/changeRequest.vue
index 701abfb..c9a9770 100644
--- a/src/views/modules/changeManagement/changeRequest.vue
+++ b/src/views/modules/changeManagement/changeRequest.vue
@@ -460,11 +460,49 @@
-
-
- 制造成本变更
-
+
+
制造成本变更
+
+
+
+
+
+
+
+
+
+
+
+ 工艺变更费用
+ 材料变更费用
+ 模具变更费用
+ 其他
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -2572,8 +2610,14 @@
cqcOperatorId: '',
cqcOperatorName: '',
faiOperatorId: '',
- faiOperatorName: ''
+ faiOperatorName: '',
+ manuFacturingFlag: 'N',
+ manuFacturingType: '',
+ manuFacturingCostRemark1: '',
+ quotationFlag: 'N',
+ manuFacturingCostRemark2: ''
}
+ this.selectedOptions1 = []
this.changeTitle = '变更申请-' + this.modalData.changeNo
this.costImpactData = {
site: this.$store.state.user.site,
@@ -2805,6 +2849,14 @@
return
}
}
+ if (this.modalData.manuFacturingFlag === 'Y' && !this.selectedOptions1.length > 0){
+ this.$message.warning('请选择制造费用变更项!')
+ return
+ }
+ if (this.modalData.quotationFlag === 'Y' && (this.modalData.manuFacturingCostRemark2 == '' ||this.modalData.manuFacturingCostRemark2 == null)) {
+ this.$message.warning('请填写重新报价说明!')
+ return
+ }
this.saveDataLoading = true
this.costImpactData.changeTotalCost = this.totalCost