发布稿放到历史版本
This commit is contained in:
@@ -2725,8 +2725,9 @@
|
|||||||
// this.SarLawsInfoEO.replaceLawsNum = textArr.join(',')
|
// this.SarLawsInfoEO.replaceLawsNum = textArr.join(',')
|
||||||
// 解决 标准入库流程--圈住的字段,先手动输入,然后再手动查找,点提交就会把手动输入的标准号覆盖
|
// 解决 标准入库流程--圈住的字段,先手动输入,然后再手动查找,点提交就会把手动输入的标准号覆盖
|
||||||
if (this.replaceLawType === 'DTQBBHBUSS') {
|
if (this.replaceLawType === 'DTQBBHBUSS') {
|
||||||
let arr1 = this.form.DTQBBHBUSS ? this.form.DTQBBHBUSS + ',' + textArr.join(',') : textArr.join(',')
|
// let arr1 = this.form.DTQBBHBUSS ? this.form.DTQBBHBUSS + ',' + textArr.join(',') : textArr.join(',')
|
||||||
this.form.DTQBBHBUSS = this.filterSetData(arr1)
|
// this.form.DTQBBHBUSS = this.filterSetData(arr1)
|
||||||
|
this.form.DTQBBHBUSS = textArr.join(',')
|
||||||
this.form.standNum = this.filterSetData(textArr2.join(','))
|
this.form.standNum = this.filterSetData(textArr2.join(','))
|
||||||
} else if (this.replaceLawType === 'CYBZ') {
|
} else if (this.replaceLawType === 'CYBZ') {
|
||||||
let arr1 = this.form.CYBZ ? this.form.CYBZ + ',' + textArr.join(',') : textArr.join(',')
|
let arr1 = this.form.CYBZ ? this.form.CYBZ + ',' + textArr.join(',') : textArr.join(',')
|
||||||
@@ -2740,6 +2741,19 @@
|
|||||||
this.form.byybj = this.form.byybj ? this.form.byybj + ',' + textArr.join(',') : textArr.join(',')
|
this.form.byybj = this.form.byybj ? this.form.byybj + ',' + textArr.join(',') : textArr.join(',')
|
||||||
}
|
}
|
||||||
// this.$emit('input', textArr.join(','))
|
// this.$emit('input', textArr.join(','))
|
||||||
|
|
||||||
|
// 修订 时 手动查找代替企标编号 发布稿放到历史版本
|
||||||
|
if(this.replaceLawType === 'DTQBBHBUSS' && this.form.reviseStatus === '2' && this.selectedListRep.length){
|
||||||
|
const id = this.selectedListRep[0].id
|
||||||
|
this.selectByIdAtt(id).then(res =>{
|
||||||
|
if (res && res.data && res.data.fbgbuss !== '') {
|
||||||
|
this.form.LSBBBUSSName = res.data.fbgbussNmae
|
||||||
|
this.form.LSBBBUSS = res.data.fbgbuss
|
||||||
|
this.LSBBBUSSFileList = this.assemble(this.form.LSBBBUSS, this.form.LSBBBUSSName);
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
this.$refs.selections.clearSelection()
|
this.$refs.selections.clearSelection()
|
||||||
},
|
},
|
||||||
filterSetData(data) {
|
filterSetData(data) {
|
||||||
@@ -3405,6 +3419,17 @@
|
|||||||
this.modelOptions = res.data
|
this.modelOptions = res.data
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
selectByIdAtt(id){
|
||||||
|
return new Promise((resolve,reject)=>{
|
||||||
|
this.$http.get('/lawss/sarBussionessStand/selectByIdAtt', {
|
||||||
|
id
|
||||||
|
}, {
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
resolve(res)
|
||||||
|
})
|
||||||
|
})
|
||||||
|
},
|
||||||
getData() {
|
getData() {
|
||||||
if (this.$route.query.taskIds && this.$route.query.prcId) {
|
if (this.$route.query.taskIds && this.$route.query.prcId) {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
@@ -3438,6 +3463,19 @@
|
|||||||
this.FBGBUSSFileList = this.assemble(res.id, this.form.FBGBUSSName);
|
this.FBGBUSSFileList = this.assemble(res.id, this.form.FBGBUSSName);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
// 企标制修订计划管控 进入 技术标准起草 修订类型: 发布稿放到历史版本
|
||||||
|
if(processForm.reviseStatus === '2'){
|
||||||
|
this.selectByIdAtt(processForm.rqbJson).then(res =>{
|
||||||
|
if (res && res.data && res.data.fbgbuss !== '') {
|
||||||
|
this.form.LSBBBUSSName = res.data.fbgbussNmae
|
||||||
|
this.form.LSBBBUSS = res.data.fbgbuss
|
||||||
|
this.LSBBBUSSFileList = this.assemble(this.form.LSBBBUSS, this.form.LSBBBUSSName);
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
this.form.QCDW = processForm.unitName
|
this.form.QCDW = processForm.unitName
|
||||||
this.form.QCDWID = processForm.unit
|
this.form.QCDWID = processForm.unit
|
||||||
this.form.QCRBUSSID = processForm.drafter
|
this.form.QCRBUSSID = processForm.drafter
|
||||||
|
|||||||
Reference in New Issue
Block a user