From ff735489d5dd579cbcffc0eb599638bd97f7063e Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期三, 01 七月 2020 12:42:54 +0800 Subject: [PATCH] # --- src/main/webapp/static/js/matCode/matCode.js | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/webapp/static/js/matCode/matCode.js b/src/main/webapp/static/js/matCode/matCode.js index afa6628..09a58d7 100644 --- a/src/main/webapp/static/js/matCode/matCode.js +++ b/src/main/webapp/static/js/matCode/matCode.js @@ -338,7 +338,7 @@ form.on('submit(doPrint)', function (data) { var templateNo = data.field.selectTemplate; $.ajax({ - url: baseUrl+"/macCode/print/auth", + url: baseUrl+"/matCode/print/auth", headers: {'token': localStorage.getItem('token')}, data: {param: printMatCodeNos}, method: 'POST', @@ -350,9 +350,9 @@ var templateDom = $("#templatePreview"+templateNo); var className = templateDom.attr("class"); if (className === 'template-barcode') { - res.data[i]["barcodeUrl"]=baseUrl+"/macCode/code/auth?type=1¶m="+res.data[i].barcode; + res.data[i]["barcodeUrl"]=baseUrl+"/macCode/code/auth?type=1¶m="+res.data[i].matNo; } else { - res.data[i]["barcodeUrl"]=baseUrl+"/macCode/code/auth?type=2¶m="+res.data[i].barcode; + res.data[i]["barcodeUrl"]=baseUrl+"/macCode/code/auth?type=2¶m="+res.data[i].matNo; } } var tpl = templateDom.html(); -- Gitblit v1.9.1