From 847696329faa795077d966845f37b88fbd3a2cdc Mon Sep 17 00:00:00 2001 From: Crunchy <3114200645@qq.com> Date: 星期二, 21 五月 2024 16:33:28 +0800 Subject: [PATCH] 2023-5-21 selOutBatchNo接口 质量的过程检验,新增不触发接口,编辑或者查看才触发 与 追溯select切换只显示第一条数据问题 --- 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