fix:批次打印增加数量
This commit is contained in:
parent
76e143450e
commit
8312a79685
|
@ -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 = {};
|
||||
|
|
|
@ -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 = {};
|
||||
|
|
|
@ -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",
|
||||
];
|
||||
|
|
|
@ -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 = {};
|
||||
|
|
|
@ -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 = {};
|
||||
|
|
Loading…
Reference in New Issue