From a9b02f6862522b54d0824152017bf2acfec2af7b Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 21 三月 2024 10:29:50 +0800 Subject: [PATCH] 2024-03-21 --- src/views/billprint/index.jsx | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/src/views/billprint/index.jsx b/src/views/billprint/index.jsx index 85f4b7e..58d9659 100644 --- a/src/views/billprint/index.jsx +++ b/src/views/billprint/index.jsx @@ -367,7 +367,9 @@ let getColumns = (cols) => { 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' -- Gitblit v1.8.0