Commit 4542873f authored by chenzj's avatar chenzj

优化工作台账的打印二维码

parent 3dd5e355
...@@ -586,15 +586,20 @@ export default { ...@@ -586,15 +586,20 @@ export default {
}, },
printQrCode() { printQrCode() {
const qrArr = []; const qrArr = [];
const qrGp = [];
this.selectRow.forEach(s=>{ this.selectRow.forEach(s=>{
qrArr.push({"qrcode": s.itemCode +'-'+ s.toolCode}); postPrintPdf({
}); "reportName":"mysql:qrcode-50*50-2",
postPrintPdf({
"reportName":"mysql:qrcode-100*100",
"values":{ "values":{
"detail": qrArr "detail": [{
"barcode": s.itemCode +'-'+ s.toolCode,
"gp" : s.itemName+'-'+s.toolCode
}
]
} }
}); });
});
}, },
// //自动生成编码 // //自动生成编码
// handleAutoGenChange(autoGenFlag){ // handleAutoGenChange(autoGenFlag){
......
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