修改bug 55690 【线上】标准入库流程,带入的数据,批准节点,点击驳回按钮的瞬间 起草单位消失

This commit is contained in:
hanshaozhuang
2022-06-24 16:46:17 +08:00
parent 894d891b46
commit 93fb5c9659
@@ -1288,21 +1288,21 @@ export default {
if (this.form.zrgcs.length === 0) {
this.form.zrgcs = "";
}
let qcdwName = []
if(this.form.qcdw && this.form.qcdw.length > 0){
this.form.qcdw.map(item => {
this.qcdwOptions.forEach(items => {
if(item === items.value){
qcdwName.push(items.label)
}
})
})
}
// let qcdwName = []
// if(this.form.qcdw && this.form.qcdw.length > 0){
// this.form.qcdw.map(item => {
// this.qcdwOptions.forEach(items => {
// if(item === items.value){
// qcdwName.push(items.label)
// }
// })
// })
// }
this.form.standType = this.form.standInData === '0' ? 'INLAND' : 'FOREIGN'
this.form.menuIds = this.form.treeListId;
this.form.BBFDTBZ = this.form.bfbdtbzh
this.form.qcdw = qcdwName
this.form.qcdw = qcdwName.splice(',')
// this.form.qcdw = qcdwName
// this.form.qcdw = qcdwName.splice(',')
const json = JSON.stringify(this.form);
this.$http.post("lawss/activiti/completeTask", {
taskIds: this.taskIds,