src/tabviews/custom/components/card/cardcellList/index.jsx | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/tabviews/custom/components/share/normalTable/index.jsx | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/tabviews/custom/components/table/edit-table/normalTable/index.jsx | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/utils/utils-custom.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/tabviews/custom/components/card/cardcellList/index.jsx
@@ -554,6 +554,9 @@ } if (card.format === 'percent') { val = val * 100 if (!card.round) { val = +val.toFixed(2) } } else if (card.format === 'abs') { val = Math.abs(val) } src/tabviews/custom/components/share/normalTable/index.jsx
@@ -236,6 +236,9 @@ } if (col.format === 'percent') { content = content * 100 if (!col.round) { content = +content.toFixed(2) } } else if (col.format === 'abs') { content = Math.abs(content) } src/tabviews/custom/components/table/edit-table/normalTable/index.jsx
@@ -877,6 +877,9 @@ } if (col.format === 'percent') { content = content * 100 if (!col.round) { content = +content.toFixed(2) } } else if (col.format === 'abs') { content = Math.abs(content) } src/utils/utils-custom.js
@@ -3455,7 +3455,7 @@ type: item.type, isconst: item.constant === 'true' } if (_item.type === 'datemonth') { _item.type = 'text' } else if (_item.type === 'number' || _item.type === 'rate') { @@ -3832,11 +3832,7 @@ let _key = item.key.toLowerCase() keys.push(_key) if (item.type === 'number' || item.type === 'rate') { values.push('@mk_' + _key + '_mk@') } else { values.push(`'@mk_${_key}_mk@'`) } values.push('@' + _key) }) if (!keys.includes(primaryKey.toLowerCase())) { @@ -3880,11 +3876,7 @@ let _key = item.key.toLowerCase() _arr.push(_key) if (item.type === 'number' || item.type === 'rate') { _form.push(`${_key}=@mk_${_key}_mk@`) } else { _form.push(`${_key}='@mk_${_key}_mk@'`) } _form.push(_key + '=@' + _key) }) if (_actionType === 'audit') {