627ddae4 by lxs

数据定价模型配置更新

1 parent 32c74f33
...@@ -600,8 +600,10 @@ const setTableRowData = (dGuid, rIndex) => { ...@@ -600,8 +600,10 @@ const setTableRowData = (dGuid, rIndex) => {
600 rowData.dataFields.map(t => { 600 rowData.dataFields.map(t => {
601 t.damFieldTable = JSON.parse(JSON.stringify(damFieldOptions)); 601 t.damFieldTable = JSON.parse(JSON.stringify(damFieldOptions));
602 const match = damFieldOptions.find(d => d.chName == t.fieldName); 602 const match = damFieldOptions.find(d => d.chName == t.fieldName);
603 t.chName = match?.chName || ''; 603 if(match) {
604 t.enName = match?.enName || ''; 604 t.chName = match.chName;
605 t.enName = match.enName;
606 }
605 }) 607 })
606 rowData.dataFieldsNum = rowData.dataFields.filter(item => item.chName != '' && item.chName != null).length; 608 rowData.dataFieldsNum = rowData.dataFields.filter(item => item.chName != '' && item.chName != null).length;
607 resourceTableFieldAllNum.value = tableData.value.reduce((accumulator, currentValue) => { 609 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!