From 4453a9e63e8e176c70c432b03fd4ba3ebf00a04c Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 09 二月 2023 14:55:20 +0800 Subject: [PATCH] 2023-02-09 --- src/tabviews/zshare/actionList/printbutton/index.jsx | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/src/tabviews/zshare/actionList/printbutton/index.jsx b/src/tabviews/zshare/actionList/printbutton/index.jsx index dff3102..9fa8f51 100644 --- a/src/tabviews/zshare/actionList/printbutton/index.jsx +++ b/src/tabviews/zshare/actionList/printbutton/index.jsx @@ -321,6 +321,16 @@ // 鑷畾涔夋墦鍗� if (btn.verify.printMode === 'custom') { + result.list.forEach(cell => { + Object.keys(cell).forEach(key => { + let _key = key.toLowerCase() + if (['printtype', 'printcount'].includes(_key)) { + cell[_key] = cell[key] + } + }) + cell.printType = cell.printtype || '' + cell.printCount = +(cell.printcount || 1) + }) this.execCustomPrint(result.list, formdata) resolve(false) return -- Gitblit v1.8.0