src/views/billprint/index.jsx
@@ -368,6 +368,8 @@ return cols.filter(item => { if (item.Hide === 'true') return false item.IsSort = 'false' if (item.type === 'number') { if (typeof(item.decimal) === 'number') { item.round = Math.pow(10, item.decimal) @@ -630,6 +632,9 @@ if (cell.marks && cell.marks.length === 0) { cell.marks = null } if (cell.anchors && cell.anchors.length === 0) { cell.anchors = null } if (['text', 'number', 'formula'].includes(cell.eleType)) { cell.innerHeight = cell.innerHeight || 'auto'