|
|
|
|
@ -88,7 +88,7 @@
|
|
|
|
|
ctx.fillText("物资编码:" + decodeURI(decodeURI(printObji['wuzibianma'])), qrcodeleft + 140, 65);
|
|
|
|
|
ctx.fillText("资产名称:" + decodeURI(decodeURI(printObji['zichanmingcheng'])), qrcodeleft + 140, 95);
|
|
|
|
|
ctx.fillText("物资类型:" + decodeURI(decodeURI(printObji['wuzileixing'])), qrcodeleft + 140, 125);
|
|
|
|
|
ctx.fillText("入库数量:" + printObji['rukushuliang'], qrcodeleft + 140, 155);
|
|
|
|
|
// ctx.fillText("入库数量:" + printObji['rukushuliang'], qrcodeleft + 140, 155);
|
|
|
|
|
ctx.drawImage(img, qrcodeleft, qrcodetop);
|
|
|
|
|
var data = canvas.toDataURL('image/png', 1);
|
|
|
|
|
var imgOk = new Image();
|
|
|
|
|
@ -117,7 +117,8 @@
|
|
|
|
|
marginIgnored: true,
|
|
|
|
|
copyrights: '杰创软件拥有版权 www.jatools.com'
|
|
|
|
|
};
|
|
|
|
|
document.getElementById("jatoolsPrinter").print(myDoc, false); // 直接打印,不弹出打印机设置对话框
|
|
|
|
|
document.getElementById("jatoolsPrinter").print(myDoc, false); // 直接打印,不弹出打印机设置对话框
|
|
|
|
|
// delCookie('objs')
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function delCookie(name)
|
|
|
|
|
|