From a1d526f1de490246a7b58460f5ca4f1fefbde45a Mon Sep 17 00:00:00 2001 From: hwh <332078369@qq.com> Date: 星期四, 13 六月 2024 08:33:00 +0800 Subject: [PATCH] 出库标签打印 --- HTML_09/js/public.js | 20 +++++++++++++++++++- 1 files changed, 19 insertions(+), 1 deletions(-) diff --git a/HTML_09/js/public.js b/HTML_09/js/public.js index baf1024..f3aef70 100644 --- a/HTML_09/js/public.js +++ b/HTML_09/js/public.js @@ -281,4 +281,22 @@ } } return target; -} \ No newline at end of file +} + +//璋冪敤鎵撳嵃 +function openPrintDialog(printData, printType){ + layer.open({ + type: 2, + title: '鎵撳嵃', + // content: '../../js/hiprint/custom.html', + content: '/views/SystemSettings/PrintModule.html', + maxmin: true, + area: ['100%', '100%'], + data: printData, + success: function (layero, index) { + var body = layer.getChildFrame('body',index); + body.find('#printData').val(JSON.stringify(printData)); + body.find('#printType').val(printType); + } + }); +} \ No newline at end of file -- Gitblit v1.8.0