From 693096204b79c7728748be8389e2730982b9b3b6 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期四, 21 十二月 2023 14:17:07 +0800
Subject: [PATCH] modified: src/views/technology/document/document-form.vue modified: src/views/technology/document/teststandard.vue
---
src/views/technology/document/document-form.vue | 3 ++-
src/views/technology/document/teststandard.vue | 10 +++++++---
2 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/src/views/technology/document/document-form.vue b/src/views/technology/document/document-form.vue
index 5c2eaaf..906bb1f 100644
--- a/src/views/technology/document/document-form.vue
+++ b/src/views/technology/document/document-form.vue
@@ -102,7 +102,7 @@
</el-col> -->
<el-col :span="6">
<el-form-item label="浜у搧闆朵欢鍙�" prop="partNo">
- <el-input v-model="dataForm.partNo" placeholder="璇烽�夋嫨闆朵欢">
+ <el-input disabled v-model="dataForm.partNo" placeholder="璇烽�夋嫨闆朵欢">
<el-button
slot="append"
icon="el-icon-search"
@@ -261,6 +261,7 @@
>
<TeststandardDialog
:editable="editable"
+ :key="dataForm.id"
:documentId="dataForm.id"
>
</TeststandardDialog>
diff --git a/src/views/technology/document/teststandard.vue b/src/views/technology/document/teststandard.vue
index 8a21d7e..4607896 100644
--- a/src/views/technology/document/teststandard.vue
+++ b/src/views/technology/document/teststandard.vue
@@ -75,7 +75,7 @@
},
data() {
return {
- paramObj: { documentId: this.documentId },
+ paramObj: {documentId : this.documentId},
showQualityStandard: false,
testStandardParams: [],
ajaxFun: getTestStand,
@@ -185,10 +185,14 @@
...mapGetters(['permissions'])
},
created() {
- getTestStand(this.paramObj)
+ this.$nextTick(()=>{
+ getTestStand(this.paramObj)
+ })
},
mounted(){
- getTestStand(this.paramObj)
+ this.$nextTick(()=>{
+ getTestStand(this.paramObj)
+ })
},
methods: {
// 鑾峰彇鏁版嵁鍒楄〃
--
Gitblit v1.9.3