记得上下班打卡 | git大法好,push需谨慎

Commit 8d563ad4 authored by jiangxiulong's avatar jiangxiulong

演出批量打印增加确认和提示

parent 1da9aaf0
......@@ -100,6 +100,7 @@
}
return str
}
function printExpressData(dataInfo, jContact, jAddress, jTel, index, listLen) {
var LODOP = getLodop();
LODOP.PRINT_INIT("运单打印");
......@@ -241,7 +242,9 @@
}
function printExpress(performanceId) {
try{
var message = "确定打印吗?";
$.modal.confirm(message, function () {
try {
var LODOP = getLodop();
if (LODOP == undefined) {
return false;
......@@ -270,13 +273,16 @@
var jTel = result.data.jtel;
if (listLen > 0) {
$.each(expressList, function (index, value) {
printExpressData(value, jContact, jAddress, jTel, index+1, listLen);
printExpressData(value, jContact, jAddress, jTel, index + 1, listLen);
});
} else {
$.modal.msg("暂无需要打印的订单");
}
$.modal.closeLoading();
}
};
$.ajax(configPrint)
});
}
$(function () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment