From 8081c53a3b38336863efea7d2511e956ccf0dacf Mon Sep 17 00:00:00 2001 From: zyn Date: Tue, 22 Aug 2023 14:44:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E8=AE=A2=E6=97=B6-=E5=A4=9A=E4=B8=AA?= =?UTF-8?q?=E4=BB=A3=E6=9B=BF=E4=BC=81=E6=A0=87=E7=BC=96=E5=8F=B7=20?= =?UTF-8?q?=E8=B0=83=E6=8E=A5=E5=8F=A3=E8=8E=B7=E5=8F=96=E4=BC=81=E6=A0=87?= =?UTF-8?q?=E9=A1=BA=E5=BA=8F=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/creatProcess/qbrk/step13.vue | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/src/pages/processCenter/pages/creatProcess/qbrk/step13.vue b/src/pages/processCenter/pages/creatProcess/qbrk/step13.vue index 5803687d5..c6e855065 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk/step13.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk/step13.vue @@ -3010,6 +3010,23 @@ // }else { // this.form.standCode = this.form.standSort + ' ' + this.form.standNum + ( this.form.standYear === '' ? '' : '-' + this.form.standYear ) // } + + if (this.form.standNum.includes(',')) { + // 多个代替企标编号 调接口获取企标顺序号 + this.$http.get('lawss/sarBussionessStand/getStandInfoByReviseStatus',{reviseStatus:'buss1_'+this.form.reviseStatus,standSort:this.form.standSort,taskId: this.taskIds}, { + _this: this + }, res => { + this.form.standNum = res.data + '' + this.form.standNum = this.form.standNum.replace(/^0+/,"") + this.form.standNum = this.form.standNum.padStart(3,'0') + this.standNum = this.form.standNum // 保存初始顺序号 + this.form.standCode = this.form.standSort + this.form.standNum + ( this.form.standYear === '' ? '' : '-' + this.form.standYear ) + this.standCode = this.form.standCode + this.formKey++ + }, e => { + }) + } else { + this.form.standNum = this.form.standNum.replace(/^0+/,"") this.form.standNum = this.form.standNum.padStart(3,'0') @@ -3019,7 +3036,7 @@ this.standCode = this.form.standCode // this.standSort = this.form.standSort this.formKey++ - + } } else if (this.form.reviseStatus === '3'){ this.form.standCode = this.form.standCode