From 796a4e93022f3274ea453f178e632f8dc41c252e Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 03 七月 2023 17:37:30 +0800 Subject: [PATCH] Merge branch 'develop' --- src/tabviews/zshare/actionList/newpagebutton/index.jsx | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/tabviews/zshare/actionList/newpagebutton/index.jsx b/src/tabviews/zshare/actionList/newpagebutton/index.jsx index c8f8539..93c97c4 100644 --- a/src/tabviews/zshare/actionList/newpagebutton/index.jsx +++ b/src/tabviews/zshare/actionList/newpagebutton/index.jsx @@ -161,6 +161,10 @@ let url = '#/billprint/' + window.btoa(window.encodeURIComponent(JSON.stringify({ id: _id, tempId: btn.printTemp, dataM: sessionStorage.getItem('dataM') }))) window.open(url) }) + } else if (btn.Ot === 'requiredOnce' && data && data.length > 0) { + Id = data.map(item => item.$$uuid).filter(Boolean).join(',') + + window.open('#/billprint/' + window.btoa(window.encodeURIComponent(JSON.stringify({ id: Id, tempId: btn.printTemp, dataM: sessionStorage.getItem('dataM') })))) } else { window.open('#/billprint/' + window.btoa(window.encodeURIComponent(JSON.stringify({ id: Id, tempId: btn.printTemp, dataM: sessionStorage.getItem('dataM') })))) } -- Gitblit v1.8.0