From fc8f6fada78598ff9e4149f2b30355a0b25eb2f5 Mon Sep 17 00:00:00 2001 From: licp <lichunping@guanfang.com.cn> Date: 星期四, 23 五月 2024 13:37:35 +0800 Subject: [PATCH] 修改检测值输入bug --- src/views/quality/teststandard/index.vue | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/views/quality/teststandard/index.vue b/src/views/quality/teststandard/index.vue index 392c8ed..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,10 +868,10 @@ this.isSubmit = true if (this.testStandardParams.length > 0) { this.testStandardParams.map(m=>{ - if(m.referenceValue !== undefined) { + if(m.referenceValue != undefined) { m.referenceValue = m.referenceValue.replace(',','锛�').replace('(','锛�').replace(')','锛�') return m - } + } }) addTestStandardParam(this.testStandardParams) .then((response) => { -- Gitblit v1.9.3