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
},