diff --git a/src/pages/processCenter/pages/creatProcess/qbrk/step13.vue b/src/pages/processCenter/pages/creatProcess/qbrk/step13.vue index c6e855065..53e0fb4de 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk/step13.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk/step13.vue @@ -3010,7 +3010,7 @@ // }else { // this.form.standCode = this.form.standSort + ' ' + this.form.standNum + ( this.form.standYear === '' ? '' : '-' + this.form.standYear ) // } - + console.log(this.form.standNum) if (this.form.standNum.includes(',')) { // 多个代替企标编号 调接口获取企标顺序号 this.$http.get('lawss/sarBussionessStand/getStandInfoByReviseStatus',{reviseStatus:'buss1_'+this.form.reviseStatus,standSort:this.form.standSort,taskId: this.taskIds}, { @@ -3026,16 +3026,15 @@ }, e => { }) } else { + this.form.standNum = this.form.standNum.replace(/^0+/,"") + this.form.standNum = this.form.standNum.padStart(3,'0') - 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.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.standSort = this.form.standSort - this.formKey++ + this.standCode = this.form.standCode + // this.standSort = this.form.standSort + this.formKey++ } } else if (this.form.reviseStatus === '3'){