From cae008d8286b7ee846eb91e79350a9c57166882d Mon Sep 17 00:00:00 2001
From: hwh <332078369@qq.com>
Date: 星期三, 12 六月 2024 15:41:28 +0800
Subject: [PATCH] 打印
---
HTML_09/js/public.js | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/HTML_09/js/public.js b/HTML_09/js/public.js
index 65df63c..f3aef70 100644
--- a/HTML_09/js/public.js
+++ b/HTML_09/js/public.js
@@ -284,10 +284,11 @@
}
//璋冪敤鎵撳嵃
-function openPrintDialog(printData){
+function openPrintDialog(printData, printType){
layer.open({
type: 2,
title: '鎵撳嵃',
+ // content: '../../js/hiprint/custom.html',
content: '/views/SystemSettings/PrintModule.html',
maxmin: true,
area: ['100%', '100%'],
@@ -295,6 +296,7 @@
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