|
@@ -238,6 +238,15 @@ import businessTripComponent from '@/BIZComponents/processSubmitDialog/component
|
|
|
methods: {
|
|
methods: {
|
|
|
async open(row) {
|
|
async open(row) {
|
|
|
this.form = _.cloneDeep(row);
|
|
this.form = _.cloneDeep(row);
|
|
|
|
|
+ // 兼容后端附件字段名为 file 或 files(详情只读,统一到 file 字段)
|
|
|
|
|
+ const adoptList = this.form?.valueJson?.blank_adopzrdd;
|
|
|
|
|
+ if (Array.isArray(adoptList)) {
|
|
|
|
|
+ adoptList.forEach((item) => {
|
|
|
|
|
+ if (item && item.file == null && item.files != null) {
|
|
|
|
|
+ item.file = item.files;
|
|
|
|
|
+ }
|
|
|
|
|
+ });
|
|
|
|
|
+ }
|
|
|
if (this.form?.formJson?.makingJson) {
|
|
if (this.form?.formJson?.makingJson) {
|
|
|
this.jsonData = JSON.parse(this.form.formJson.makingJson);
|
|
this.jsonData = JSON.parse(this.form.formJson.makingJson);
|
|
|
this.jsonData.config.dataSource &&
|
|
this.jsonData.config.dataSource &&
|