From 19bde08261ce9c862d0c9e33517f689521de77d6 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 04 八月 2020 09:29:10 +0800
Subject: [PATCH] 2020-08-04

---
 src/tabviews/zshare/actionList/printbutton/index.jsx |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/tabviews/zshare/actionList/printbutton/index.jsx b/src/tabviews/zshare/actionList/printbutton/index.jsx
index 2cf6082..42b1325 100644
--- a/src/tabviews/zshare/actionList/printbutton/index.jsx
+++ b/src/tabviews/zshare/actionList/printbutton/index.jsx
@@ -204,7 +204,8 @@
         this.getprintdata(btn, data, formdata, formlist).then(result => {
           if (result.next) {
             result.list.forEach(cell => {
-              if (!cell.data || cell.data.length === 0) return
+              // 绯荤粺鎵撳嵃鏁版嵁锛屾牎楠宒ata瀛楁
+              if (btn.verify.printMode !== 'custom' && (!cell.data || cell.data.length === 0)) return
 
               cell.templateID = cell.templateID || btn.verify.Template
               cell.printType = cell.printType || formdata.printType || ''

--
Gitblit v1.8.0