feat: There is no way the, bug #52872 起草节点 保存后 文件回显问题
This commit is contained in:
@@ -2119,6 +2119,17 @@ export default {
|
|||||||
this.getFormFieldList(mes.form)
|
this.getFormFieldList(mes.form)
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
assemble(ids,names){
|
||||||
|
let list= new Array();
|
||||||
|
if(ids && ids !== '' && names && names !== ''){
|
||||||
|
let idArray=ids.split(',');
|
||||||
|
let nameArray=names.split(',');
|
||||||
|
for(let i=0; i<idArray.length; i++){
|
||||||
|
list.push({id:idArray[i],name:nameArray[i]});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return list;
|
||||||
|
},
|
||||||
/**
|
/**
|
||||||
* @description: 动态表单读取
|
* @description: 动态表单读取
|
||||||
*/
|
*/
|
||||||
@@ -2135,12 +2146,15 @@ export default {
|
|||||||
}
|
}
|
||||||
this.form.standType = this.form.standInData === "0" ? 'INLAND' : 'FOREIGN'
|
this.form.standType = this.form.standInData === "0" ? 'INLAND' : 'FOREIGN'
|
||||||
this.form.standYear = this.form.standYear ? this.form.standYear : ''
|
this.form.standYear = this.form.standYear ? this.form.standYear : ''
|
||||||
if (this.form.country) {
|
if (this.form.country && this.form.country.indexOf(",") !== -1) {
|
||||||
this.form.country = this.form.country.split(",");
|
this.form.country = this.form.country.split(",");
|
||||||
}
|
}
|
||||||
this.form.prcNum = this.prcNum
|
this.form.prcNum = this.prcNum
|
||||||
this.form.prcName = this.prcName
|
this.form.prcName = this.prcName
|
||||||
this.form['id'] = item.id
|
this.form['id'] = item.id
|
||||||
|
|
||||||
|
|
||||||
|
// zbjbdFileList: {},
|
||||||
console.log(this.form);
|
console.log(this.form);
|
||||||
|
|
||||||
// 遍历对象初始化文件信息
|
// 遍历对象初始化文件信息
|
||||||
|
|||||||
Reference in New Issue
Block a user