From 9260629872ffdf5db5ec2342ee6cee61e0d03cb5 Mon Sep 17 00:00:00 2001 From: zyn Date: Fri, 3 Nov 2023 17:33:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=80=E6=9C=AF=E6=A0=87=E5=87=86-=E9=A1=BA?= =?UTF-8?q?=E5=BA=8F=E5=8F=B7=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/creatProcess/qbrk/step13.vue | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/src/pages/processCenter/pages/creatProcess/qbrk/step13.vue b/src/pages/processCenter/pages/creatProcess/qbrk/step13.vue index 10e8e9782..11994bf66 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk/step13.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk/step13.vue @@ -665,20 +665,20 @@ let res = await this.verifySnExists() if(res.data){ callback() - let date = new Date(); - let year = date.getFullYear(); - this.form.standSn = this.form.standNum - this.form.standNumber = this.form.standNum - this.form.standYear = this.regDate(year) // 待带入立项标准 - //此处因企标编号中带有空格所以此处不再补充添加空格,如果企标编码中没有空格则补充空格 但是产品标准除外 - let judgeFn = new RegExp(/\s+/g); - if(judgeFn.test(this.form.standSort)){ - this.form.standCode = this.form.standSort + "" + this.form.standNumber + (this.form.standYear === '' ? '' : '-' + this.form.standYear) - }else if(this.form.standSort === 'Q/QCBFC'){ - this.form.standCode = this.form.standSort + "" + this.form.standNumber + (this.form.standYear === '' ? '' : '-' + this.form.standYear) - }else { - this.form.standCode = this.form.standSort + " " + this.form.standNumber + (this.form.standYear === '' ? '' : '-' + this.form.standYear) - } + // let date = new Date(); + // let year = date.getFullYear(); + // this.form.standSn = this.form.standNum + // this.form.standNumber = this.form.standNum + // this.form.standYear = this.regDate(year) // 待带入立项标准 + // //此处因企标编号中带有空格所以此处不再补充添加空格,如果企标编码中没有空格则补充空格 但是产品标准除外 + // let judgeFn = new RegExp(/\s+/g); + // if(judgeFn.test(this.form.standSort)){ + // this.form.standCode = this.form.standSort + "" + this.form.standNumber + (this.form.standYear === '' ? '' : '-' + this.form.standYear) + // }else if(this.form.standSort === 'Q/QCBFC'){ + // this.form.standCode = this.form.standSort + "" + this.form.standNumber + (this.form.standYear === '' ? '' : '-' + this.form.standYear) + // }else { + // this.form.standCode = this.form.standSort + " " + this.form.standNumber + (this.form.standYear === '' ? '' : '-' + this.form.standYear) + // } }else { callback(new Error('企标顺序号已存在或已锁定')) }