产品标准-发布-顺序号
This commit is contained in:
@@ -974,6 +974,11 @@
|
||||
},
|
||||
deep: true //对象的深度验证
|
||||
},
|
||||
'form.standNum': {
|
||||
handler: function(val){
|
||||
this.$emit('standNumChange',val)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -42,6 +42,7 @@
|
||||
@formChoiceZRR2 = "formChoiceZRR2"
|
||||
@formChoiceZRR3 = "formChoiceZRR3"
|
||||
@formChoiceZRR4 = "formChoiceZRR4"
|
||||
@standNumChange = "standNumChange"
|
||||
/>
|
||||
<div>
|
||||
<el-collapse accordion v-model="activeName">
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user