From 2c62b12634a37586391f2465c99b0db5a66bc0ec Mon Sep 17 00:00:00 2001 From: licp <lichunping@guanfang.com.cn> Date: 星期一, 06 五月 2024 16:15:31 +0800 Subject: [PATCH] Merge branch 'master' of http://114.132.189.42:9002/r/mes-ocea-before into master --- src/views/quality/teststandard/index.vue | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/views/quality/teststandard/index.vue b/src/views/quality/teststandard/index.vue index 72deceb..7b8f74a 100644 --- a/src/views/quality/teststandard/index.vue +++ b/src/views/quality/teststandard/index.vue @@ -497,10 +497,11 @@ }, computed: { ...mapGetters(['permissions']), - editable: function() { + editable : function() { if (!this.currentTestStandard) { return true } + console.log('99999999999', this.currentTestStandard) if ( this.currentTestStandard.id && this.currentTestStandard.state === '01draft' @@ -867,8 +868,10 @@ this.isSubmit = true if (this.testStandardParams.length > 0) { this.testStandardParams.map(m=>{ - m.referenceValue = m.referenceValue.replace(',','锛�').replace('(','锛�').replace(')','锛�') + if(m.referenceValue != undefined) { + m.referenceValue = m.referenceValue.replace(',','锛�').replace('(','锛�').replace(')','锛�') return m + } }) addTestStandardParam(this.testStandardParams) .then((response) => { -- Gitblit v1.9.3