#
Junjie
2024-01-04 b5b1d778db29d703a99531acfd8fa1f53c7d7e30
#
1个文件已修改
4 ■■■■ 已修改文件
zy-asrs-wms/src/main/webapp/static/js/basBarcode/basBarcode.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-asrs-wms/src/main/webapp/static/js/basBarcode/basBarcode.js
@@ -184,13 +184,9 @@
                printBarcodes[i]["barcodeUrl"] = baseUrl + "/mac/code/auth?type=2&param=" + printBarcodes[i].barcode;
            }
        }
        console.log(printBarcodes)
        var tpl = templateDom.html();
        console.log(tpl)
        var template = Handlebars.compile(tpl);
        console.log(template)
        var html = template({code:200, data: printBarcodes});
        console.log(html)
        var box = $("#box");
        box.html(html);box.show();
        box.print({mediaPrint:true});