fix:批次打印增加数量

This commit is contained in:
shijing 2025-04-28 09:27:36 +08:00
parent 76e143450e
commit 8312a79685
5 changed files with 7 additions and 3 deletions

View File

@ -192,6 +192,7 @@ export default {
'QRCODE 30,400,H,5,A,0,"' +code +'"',
"WINTEXT 200,550,28,90,0,0,Simhei," + res.material_name,
"WINTEXT 240,550,28,90,0,0,Simhei," + res.batch,
"WINTEXT 280,550,28,90,0,0,Simhei," + row.count,
"PRINT 1",
];
let obj = {};

View File

@ -490,6 +490,7 @@ export default {
'QRCODE 30,400,H,5,A,0,"' +code +'"',
"WINTEXT 200,550,28,90,0,0,Simhei," + res.material_name,
"WINTEXT 240,550,28,90,0,0,Simhei," + res.batch,
"WINTEXT 280,550,28,90,0,0,Simhei," + row.count,
"PRINT 1",
];
let obj = {};

View File

@ -492,6 +492,7 @@ export default {
'QRCODE 30,400,H,5,A,0,"' +code +'"',
"WINTEXT 200,550,28,90,0,0,Simhei," + res.material_name,
"WINTEXT 240,550,28,90,0,0,Simhei," + res.batch,
"WINTEXT 280,550,28,90,0,0,Simhei," + row.count,
"PRINT 1",
];
let obj = {};
@ -510,7 +511,6 @@ export default {
"CLS",
"REFERENCE 0,0",
'QRCODE 30,400,H,5,A,0,"' +code +'"',
"WINTEXT 200,550,28,90,0,0,Simhei," + row.material_name,
"WINTEXT 240,550,28,90,0,0,Simhei," + row.number,
"PRINT 1",
];

View File

@ -813,7 +813,7 @@ export default {
//
printMaterial(row){
let that = this;
that.apiObj.req({tid:row.id}).then((res) => {
that.apiObjPrint.req({tid:row.id}).then((res) => {
let code = res.code_label;
let str = [
"SIZE 40 mm,70 mm",
@ -823,6 +823,7 @@ export default {
'QRCODE 30,400,H,5,A,0,"' +code +'"',
"WINTEXT 200,550,28,90,0,0,Simhei," + res.material_name,
"WINTEXT 240,550,28,90,0,0,Simhei," + res.batch,
"WINTEXT 280,550,28,90,0,0,Simhei," + row.count,
"PRINT 1",
];
let obj = {};

View File

@ -776,7 +776,7 @@ export default {
//
printMaterial(row){
let that = this;
that.apiObj.req({tid:row.id}).then((res) => {
that.apiObjPrint.req({tid:row.id}).then((res) => {
let code = res.code_label;
let str = [
"SIZE 40 mm,70 mm",
@ -786,6 +786,7 @@ export default {
'QRCODE 30,400,H,5,A,0,"' +code +'"',
"WINTEXT 200,550,28,90,0,0,Simhei," + res.material_name,
"WINTEXT 240,550,28,90,0,0,Simhei," + res.batch,
"WINTEXT 280,550,28,90,0,0,Simhei," + row.count,
"PRINT 1",
];
let obj = {};