mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 16:13:26 +08:00
【修复】增加Lodop打印初始化语句,防止高低版本不兼容的问题。
This commit is contained in:
@@ -892,6 +892,7 @@
|
||||
view(this.id).render('order/orders/shopping', { data: e.data }).done(function () {
|
||||
form.on('submit(LAY-app-order-shoppingPrint-submit)', function (data) {
|
||||
LODOP = getLodop();
|
||||
LODOP.PRINT_INIT("打印购物订单");
|
||||
LODOP.ADD_PRINT_HTM(20, "5%", "90%", "100%", document.getElementById("printDiv").innerHTML);
|
||||
LODOP.PREVIEW();
|
||||
form.render();
|
||||
@@ -925,6 +926,7 @@
|
||||
view(this.id).render('order/orders/distribution', { data: e.data }).done(function () {
|
||||
form.on('submit(LAY-app-order-distributionPrint-submit)', function (data) {
|
||||
LODOP = getLodop();
|
||||
LODOP.PRINT_INIT("打印配货清单");
|
||||
LODOP.ADD_PRINT_HTM(20, "5%", "90%", "100%", document.getElementById("printDiv").innerHTML);
|
||||
LODOP.PREVIEW();
|
||||
});
|
||||
@@ -957,6 +959,7 @@
|
||||
view(this.id).render('order/orders/union', { data: e.data }).done(function () {
|
||||
form.on('submit(LAY-app-order-unionPrint-submit)', function (data) {
|
||||
LODOP = getLodop();
|
||||
LODOP.PRINT_INIT("打印联合购物清单");
|
||||
LODOP.ADD_PRINT_HTM(20, "5%", "90%", "100%", document.getElementById("printDiv").innerHTML);
|
||||
LODOP.PREVIEW();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user