产品标准流程-企业标准号显示问题
This commit is contained in:
@@ -2720,17 +2720,17 @@
|
||||
if(this.form.standStatus === '2'){
|
||||
this.form.id = ""
|
||||
this.formKey++
|
||||
this.form.standSn = this.form.standNum
|
||||
this.form.standNumber = this.form.standNum
|
||||
this.form.standSn = this.form.standNum? this.form.standNum : this.form.standNumber
|
||||
this.form.standNumber = this.form.standNum? this.form.standNum : this.form.standNumber
|
||||
this.form.standYear = year
|
||||
//此处因企标编号中带有空格所以此处不再补充添加空格,如果企标编码中没有空格则补充空格 但是产品标准除外
|
||||
let judgeFn = new RegExp(/\s+/g);
|
||||
if(judgeFn.test(this.form.standSort)){
|
||||
this.form.standCode = this.form.standSort + '' + this.form.standNum + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||
this.form.standCode = this.form.standSort + '' + (this.form.standNum ? this.form.standNum : this.form.standNumber) + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||
}else if(this.form.standSort === 'Q/QCBFC'){
|
||||
this.form.standCode = this.form.standSort + '' + this.form.standNum + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||
this.form.standCode = this.form.standSort + '' + (this.form.standNum ? this.form.standNum : this.form.standNumber) + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||
}else {
|
||||
this.form.standCode = this.form.standSort + ' ' + this.form.standNum + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||
this.form.standCode = this.form.standSort + ' ' + (this.form.standNum ? this.form.standNum : this.form.standNumber) + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||
}
|
||||
this.formKey++
|
||||
}else if(this.form.standStatus === '1' ){
|
||||
|
||||
@@ -1138,17 +1138,17 @@
|
||||
if(this.form.standStatus === '2'){
|
||||
this.form.id = ""
|
||||
this.formKey++
|
||||
this.form.standSn = this.form.standNum
|
||||
this.form.standNumber = this.form.standNum
|
||||
this.form.standSn = this.form.standNum ? this.form.standNum : this.form.standNumber
|
||||
this.form.standNumber = this.form.standNum ? this.form.standNum : this.form.standNumber
|
||||
this.form.standYear = year
|
||||
//此处因企标编号中带有空格所以此处不再补充添加空格,如果企标编码中没有空格则补充空格 但是产品标准除外
|
||||
var judgeFn = new RegExp(/\s+/g);
|
||||
if(judgeFn.test(this.form.standSort)){
|
||||
this.form.standCode = this.form.standSort + '' + this.form.standNum + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||
this.form.standCode = this.form.standSort + '' + (this.form.standNum ? this.form.standNum : this.form.standNumber) + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||
}else if(this.form.standSort === 'Q/QCBFC'){
|
||||
this.form.standCode = this.form.standSort + '' + this.form.standNum + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||
this.form.standCode = this.form.standSort + '' + (this.form.standNum ? this.form.standNum : this.form.standNumber) + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||
}else {
|
||||
this.form.standCode = this.form.standSort + ' ' + this.form.standNum + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||
this.form.standCode = this.form.standSort + ' ' + (this.form.standNum ? this.form.standNum : this.form.standNumber) + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||
}
|
||||
this.formKey++
|
||||
}else if(this.form.standStatus === '1' ){
|
||||
|
||||
@@ -1216,17 +1216,17 @@
|
||||
if(this.form.standStatus === '2'){
|
||||
this.form.id = ""
|
||||
this.formKey++
|
||||
this.form.standSn = this.form.standNum
|
||||
this.form.standNumber = this.form.standNum
|
||||
this.form.standSn = this.form.standNum ? this.form.standNum : this.form.standNumber
|
||||
this.form.standNumber = this.form.standNum ? this.form.standNum : this.form.standNumber
|
||||
this.form.standYear = year
|
||||
//此处因企标编号中带有空格所以此处不再补充添加空格,如果企标编码中没有空格则补充空格 但是产品标准除外
|
||||
var judgeFn = new RegExp(/\s+/g);
|
||||
if(judgeFn.test(this.form.standSort)){
|
||||
this.form.standCode = this.form.standSort + '' + this.form.standNum + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||
this.form.standCode = this.form.standSort + '' + (this.form.standNum ? this.form.standNum : this.form.standNumber) + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||
}else if(this.form.standSort === 'Q/QCBFC'){
|
||||
this.form.standCode = this.form.standSort + '' + this.form.standNum + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||
this.form.standCode = this.form.standSort + '' + (this.form.standNum ? this.form.standNum : this.form.standNumber) + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||
}else {
|
||||
this.form.standCode = this.form.standSort + ' ' + this.form.standNum + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||
this.form.standCode = this.form.standSort + ' ' + (this.form.standNum ? this.form.standNum : this.form.standNumber) + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||
}
|
||||
this.formKey++
|
||||
}else if(this.form.standStatus === '1' ){
|
||||
|
||||
@@ -1138,17 +1138,17 @@
|
||||
if(this.form.standStatus === '2'){
|
||||
this.form.id = ""
|
||||
this.formKey++
|
||||
this.form.standSn = this.form.standNum
|
||||
this.form.standNumber = this.form.standNum
|
||||
this.form.standSn = this.form.standNum? this.form.standNum : this.form.standNumber
|
||||
this.form.standNumber = this.form.standNum? this.form.standNum : this.form.standNumber
|
||||
this.form.standYear = year
|
||||
//此处因企标编号中带有空格所以此处不再补充添加空格,如果企标编码中没有空格则补充空格 但是产品标准除外
|
||||
var judgeFn = new RegExp(/\s+/g);
|
||||
if(judgeFn.test(this.form.standSort)){
|
||||
this.form.standCode = this.form.standSort + '' + this.form.standNum + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||
this.form.standCode = this.form.standSort + '' + (this.form.standNum ? this.form.standNum : this.form.standNumber) + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||
}else if(this.form.standSort === 'Q/QCBFC'){
|
||||
this.form.standCode = this.form.standSort + '' + this.form.standNum + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||
this.form.standCode = this.form.standSort + '' + (this.form.standNum ? this.form.standNum : this.form.standNumber) + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||
}else {
|
||||
this.form.standCode = this.form.standSort + ' ' + this.form.standNum + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||
this.form.standCode = this.form.standSort + ' ' + (this.form.standNum ? this.form.standNum : this.form.standNumber) + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||
}
|
||||
this.formKey++
|
||||
}else if(this.form.standStatus === '1' ){
|
||||
|
||||
@@ -1226,17 +1226,17 @@
|
||||
if(this.form.standStatus === '2'){
|
||||
this.form.id = ""
|
||||
this.formKey++
|
||||
this.form.standSn = this.form.standNum
|
||||
this.form.standNumber = this.form.standNum
|
||||
this.form.standSn = this.form.standNum ? this.form.standNum : this.form.standNumber
|
||||
this.form.standNumber = this.form.standNum ? this.form.standNum : this.form.standNumber
|
||||
this.form.standYear = year
|
||||
//此处因企标编号中带有空格所以此处不再补充添加空格,如果企标编码中没有空格则补充空格 但是产品标准除外
|
||||
var judgeFn = new RegExp(/\s+/g);
|
||||
if(judgeFn.test(this.form.standSort)){
|
||||
this.form.standCode = this.form.standSort + '' + this.form.standNum + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||
this.form.standCode = this.form.standSort + '' + (this.form.standNum ? this.form.standNum : this.form.standNumber) + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||
}else if(this.form.standSort === 'Q/QCBFC'){
|
||||
this.form.standCode = this.form.standSort + '' + this.form.standNum + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||
this.form.standCode = this.form.standSort + '' + (this.form.standNum ? this.form.standNum : this.form.standNumber) + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||
}else {
|
||||
this.form.standCode = this.form.standSort + ' ' + this.form.standNum + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||
this.form.standCode = this.form.standSort + ' ' + (this.form.standNum ? this.form.standNum : this.form.standNumber) + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||
}
|
||||
this.formKey++
|
||||
}else if(this.form.standStatus === '1' ){
|
||||
|
||||
Reference in New Issue
Block a user