diff --git a/src/pages/processCenter/pages/creatProcess/qbrk-product/common/formEditList.vue b/src/pages/processCenter/pages/creatProcess/qbrk-product/common/formEditList.vue
index 3c841ec77..506336eaf 100644
--- a/src/pages/processCenter/pages/creatProcess/qbrk-product/common/formEditList.vue
+++ b/src/pages/processCenter/pages/creatProcess/qbrk-product/common/formEditList.vue
@@ -974,6 +974,11 @@
},
deep: true //对象的深度验证
},
+ 'form.standNum': {
+ handler: function(val){
+ this.$emit('standNumChange',val)
+ }
+ }
}
}
diff --git a/src/pages/processCenter/pages/creatProcess/qbrk-product/step13.vue b/src/pages/processCenter/pages/creatProcess/qbrk-product/step13.vue
index 2594dc8dc..39d32fd03 100644
--- a/src/pages/processCenter/pages/creatProcess/qbrk-product/step13.vue
+++ b/src/pages/processCenter/pages/creatProcess/qbrk-product/step13.vue
@@ -42,6 +42,7 @@
@formChoiceZRR2 = "formChoiceZRR2"
@formChoiceZRR3 = "formChoiceZRR3"
@formChoiceZRR4 = "formChoiceZRR4"
+ @standNumChange = "standNumChange"
/>
@@ -2820,8 +2821,7 @@
this.$http.get('lawss/sarBussionessStand/getStandInfoByReviseStatus',{reviseStatus:'buss2_1',standSort:this.form.standSort,taskId: this.taskIds}, {
_this: this
}, res => {
- const obj = res.data
- let standSn = obj.newStandSn
+ const standSn = res.data
this.form.standSn = standSn
this.form.standNum = standSn
this.form.standNumber = standSn
@@ -2845,6 +2845,17 @@
}
},
+ standNumChange(val){
+ //此处因企标编号中带有空格所以此处不再补充添加空格,如果企标编码中没有空格则补充空格 但是产品标准除外
+ let judgeFn = new RegExp(/\s+/g);
+ if(judgeFn.test(this.form.standSort)){
+ this.form.standCode = this.form.standSort + '' + val + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
+ }else if(this.form.standSort === 'Q/QCBFC'){
+ this.form.standCode = this.form.standSort + '' + val + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
+ }else {
+ this.form.standCode = this.form.standSort + ' ' + val + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
+ }
+ },
processTable () {
this.$http.get("lawss/activiti/get_list_by_instance", {
prcNum: this.$route.query.prcNum,