627ddae4 by lxs

数据定价模型配置更新

1 parent 32c74f33
......@@ -600,8 +600,10 @@ const setTableRowData = (dGuid, rIndex) => {
rowData.dataFields.map(t => {
t.damFieldTable = JSON.parse(JSON.stringify(damFieldOptions));
const match = damFieldOptions.find(d => d.chName == t.fieldName);
t.chName = match?.chName || '';
t.enName = match?.enName || '';
if(match) {
t.chName = match.chName;
t.enName = match.enName;
}
})
rowData.dataFieldsNum = rowData.dataFields.filter(item => item.chName != '' && item.chName != null).length;
resourceTableFieldAllNum.value = tableData.value.reduce((accumulator, currentValue) => {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!