From a13a56a0ddb0da74aabf2922e3740ff7502342cf Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期五, 05 三月 2021 15:09:49 +0800
Subject: [PATCH] #

---
 src/main/webapp/static/js/custOrder/custOrder.js |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/webapp/static/js/custOrder/custOrder.js b/src/main/webapp/static/js/custOrder/custOrder.js
index 9f7cf5d..f2ea49f 100644
--- a/src/main/webapp/static/js/custOrder/custOrder.js
+++ b/src/main/webapp/static/js/custOrder/custOrder.js
@@ -265,14 +265,14 @@
             contentType:'application/json;charset=UTF-8',
             method: 'POST',
             success: function (res) {
-                console.log(res)
                 if (res.code === 200){
-                    res.data["barcodeUrl"]=baseUrl+"/custOrder/code/auth?type=1&param="+res.data.docNum;
+                    res.data["barcodeUrl"]=baseUrl+"/custOrder/code/auth?type=2&param="+res.data.docNum;
                     var tpl = $('#pakoutPrintTpl').html();
                     var template = Handlebars.compile(tpl);
                     var html = template(res);
                     console.log(html)
-                    var box = $("#box");
+                    console.log(res)
+                    var box = $("#pakoutPrintBox");
                     box.html(html);box.show();
                     box.print({
                         mediaPrint:true,

--
Gitblit v1.9.1