diff --git a/src/views/modules/eam/com_project_proof_record.vue b/src/views/modules/eam/com_project_proof_record.vue index f924495..b257209 100644 --- a/src/views/modules/eam/com_project_proof_record.vue +++ b/src/views/modules/eam/com_project_proof_record.vue @@ -158,10 +158,10 @@ - + - - + + @@ -208,7 +208,7 @@ :min-width="item.columnWidth" :label="item.columnLabel"> @@ -903,6 +903,18 @@ } }) }, + getColumnValue(row, column) { + // 根据列的配置信息决定显示的值 + if (column.columnProp === 'documentType') { + return this.getCombinedDocumentType(row); + } + else if (column.columnProp === 'documentDesc') { + return row.documentDesc; // 或者根据实际需求处理其他字段的显示 + } + else { + return row[column.columnProp]; // 默认返回对应列的值 + } + }, getCombinedDocumentType(row) { // 根据您的需求,组合或拼接需要显示的字段 if (row.documentType === null || row.documentType === undefined) { @@ -913,6 +925,10 @@ } return `${row.documentType}${row.documentDesc}`; }, + documentListVisibleFalse() { + this.documentListVisible = false + this.documentManifestDefinitionList = [] + }, addDocumentList(row) { this.documentListVisible = true row.bu = row.site + "-" + row.buNo