From d1cd5af5adb53e91efdd278328e1b6f8ad834fb5 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 06 二月 2025 21:11:56 +0800 Subject: [PATCH] Merge branch 'positec' into dms --- src/tabviews/custom/components/table/edit-table/normalTable/index.jsx | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/tabviews/custom/components/table/edit-table/normalTable/index.jsx b/src/tabviews/custom/components/table/edit-table/normalTable/index.jsx index 28d8931..9f8e3df 100644 --- a/src/tabviews/custom/components/table/edit-table/normalTable/index.jsx +++ b/src/tabviews/custom/components/table/edit-table/normalTable/index.jsx @@ -759,7 +759,7 @@ content = `${record[col.field]}` } - if (col.editType === 'select' && col.options.length > 0) { + if (col.editType === 'select' && col.showValue !== 'value' && col.options.length > 0) { content = col.map.get(content) || content } else if (col.editType === 'switch') { if (content === col.openVal) { @@ -1122,7 +1122,7 @@ content = `${record[col.field]}` } - if (col.editType === 'select' && col.options.length > 0) { + if (col.editType === 'select' && col.showValue !== 'value' && col.options.length > 0) { content = col.map.get(content) || content } else if (col.editType === 'switch') { if (content === col.openVal) { @@ -2138,8 +2138,8 @@ delete result.status this.props.columns.forEach(item => { - if (item.arr_field && result[item.arr_field]) { - result[item.uuid] = result[item.arr_field] + if (item.arr_field && result[item.field]) { + result[item.uuid] = result[item.field] } }) @@ -2544,7 +2544,7 @@ this.execError({}) }) } else if (submit.intertype === 'system') { // 绯荤粺瀛樺偍杩囩▼ - let result = getEditTableSql(submit, data, forms) + let result = getEditTableSql(submit, data, forms, setting) let param = {} param.func = 'sPC_TableData_InUpDe' @@ -2573,7 +2573,7 @@ this.execError({}) }) } else if (submit.intertype === 'inner' && submit.innerFunc) { // 鑷畾涔夊瓨鍌ㄨ繃绋� - let result = getEditTableSql(submit, data, forms) + let result = getEditTableSql(submit, data, forms, setting) let param = {} param.func = submit.innerFunc -- Gitblit v1.8.0