From 3989f167b217f60e6c52722a2726450e029c7800 Mon Sep 17 00:00:00 2001
From: hwh <332078369@qq.com>
Date: 星期二, 04 六月 2024 15:01:16 +0800
Subject: [PATCH] 调整打印

---
 HTML_09/js/public.js |   18 +++++++++++++++++-
 1 files changed, 17 insertions(+), 1 deletions(-)

diff --git a/HTML_09/js/public.js b/HTML_09/js/public.js
index baf1024..65df63c 100644
--- a/HTML_09/js/public.js
+++ b/HTML_09/js/public.js
@@ -281,4 +281,20 @@
     }
   }
   return target;
-} 
\ No newline at end of file
+} 
+
+//璋冪敤鎵撳嵃
+function openPrintDialog(printData){
+  layer.open({
+    type: 2,
+    title: '鎵撳嵃',
+    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));
+    }
+  });
+}
\ No newline at end of file

--
Gitblit v1.8.0