From 034dbe8fad4c809d8ae6f934fdf176a25464e290 Mon Sep 17 00:00:00 2001 From: zyn Date: Thu, 4 May 2023 16:32:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=9D=E5=AD=98standCode?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/processCenter/pages/creatProcess/qbrk/step1.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/pages/processCenter/pages/creatProcess/qbrk/step1.vue b/src/pages/processCenter/pages/creatProcess/qbrk/step1.vue index 540c8b20c..219c26865 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk/step1.vue @@ -3236,6 +3236,10 @@ // } this.saveLoading = true + if (this.form.reviseStatus == '3' && this.standardCheckedList.length > 0) { + this.form.standCode = this.standardCheckedList[0].standCode + this.form.id = this.standardCheckedList[0].id + } let _formData = new FormData() this.fileInfoHandle() _formData.append('id', this.bpnId || '') @@ -3392,7 +3396,7 @@ json.applyUpdUserId = this.form.applyUpdUserId json.prcCreateUser = this.form.prcCreateUser json.prcCreateUserName = this.form.prcCreateUserName - if (this.form.reviseStatus == '3') { + if (this.form.reviseStatus == '3' && this.standardCheckedList.length > 0) { json.standCode = this.standardCheckedList[0].standCode json.id = this.standardCheckedList[0].id }