From 92b2fcc61bba133ae0d898d94ca41dbafb080b98 Mon Sep 17 00:00:00 2001
From: fengyuan_yang <1976974459@qq.com>
Date: Fri, 14 Nov 2025 18:30:02 +0800
Subject: [PATCH] =?UTF-8?q?2025-11-14=20=E5=B7=A5=E7=A8=8B=E5=8F=98?=
=?UTF-8?q?=E6=9B=B4=E7=94=B3=E8=AF=B7=E5=A2=9E=E5=8A=A0=E5=88=A0=E9=99=A4?=
=?UTF-8?q?=E6=8C=89=E9=92=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/modules/changeManagement/changeRecord.vue | 12 ++++++++++--
src/views/modules/changeManagement/changeRequest.vue | 2 +-
.../com_tsd_basicInformation.vue | 8 +++++---
3 files changed, 16 insertions(+), 6 deletions(-)
diff --git a/src/views/modules/changeManagement/changeRecord.vue b/src/views/modules/changeManagement/changeRecord.vue
index ee86139..67ff0dd 100644
--- a/src/views/modules/changeManagement/changeRecord.vue
+++ b/src/views/modules/changeManagement/changeRecord.vue
@@ -244,7 +244,7 @@
@@ -351,7 +351,7 @@
width="60"
label="操作">
- 删除
+ 删除
@@ -4132,6 +4132,10 @@
// 删除所选技术参数卡
deleteChooseDataModal (row) {
+ if (!(this.currentRow.stepId === 10 || this.currentRow.stepId == null || this.currentRow.stepId === '')) {
+ this.$message.warning('变更单已提交,不能删除!')
+ return;
+ }
this.$confirm(`是否删除该技术参数卡的变更?`, '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
@@ -4713,6 +4717,10 @@
// 新增技术参数卡
addChangeDetail () {
+ if (!(this.currentRow.stepId === 10 || this.currentRow.stepId == null || this.currentRow.stepId === '')) {
+ this.$message.warning('变更单已提交,不能新增!')
+ return;
+ }
this.searchData2.buNo = this.modalData.buNo
technicalSpecificationSearch2(this.searchData2).then(({data}) => {
if (data.code === 0) {
diff --git a/src/views/modules/changeManagement/changeRequest.vue b/src/views/modules/changeManagement/changeRequest.vue
index f6403ce..539993f 100644
--- a/src/views/modules/changeManagement/changeRequest.vue
+++ b/src/views/modules/changeManagement/changeRequest.vue
@@ -241,7 +241,7 @@
diff --git a/src/views/modules/sampleManagement/technicalSpecificationDetail/com_tsd_basicInformation.vue b/src/views/modules/sampleManagement/technicalSpecificationDetail/com_tsd_basicInformation.vue
index 8032618..0f03802 100644
--- a/src/views/modules/sampleManagement/technicalSpecificationDetail/com_tsd_basicInformation.vue
+++ b/src/views/modules/sampleManagement/technicalSpecificationDetail/com_tsd_basicInformation.vue
@@ -1326,9 +1326,10 @@
if (this.tagNo1 === 9) {
this.dataForm.planOperator = val.username
this.dataForm.planOperatorName = val.userDisplay
- this.$nextTick(() => {
- this.$triggerInputEvent(this.$refs.planOperatorName);
- })
+ this.$forceUpdate(); // 强制组件重新渲染
+ // this.$nextTick(() => {
+ // this.$triggerInputEvent(this.$refs.planOperatorName);
+ // })
}
if (this.tagNo1 === 10) {
this.dataForm.qualityEngineerNo = val.username
@@ -2082,6 +2083,7 @@
}
this.dataForm.dcc = dccName
this.dataForm.dccList = JSON.parse(JSON.stringify(this.dccList))
+ this.$forceUpdate(); // 强制组件重新渲染
this.dccVisible = false
},