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('企标顺序号已存在或已锁定')) }