fix:批次打印增加数量
This commit is contained in:
parent
76e143450e
commit
8312a79685
|
@ -192,6 +192,7 @@ export default {
|
||||||
'QRCODE 30,400,H,5,A,0,"' +code +'"',
|
'QRCODE 30,400,H,5,A,0,"' +code +'"',
|
||||||
"WINTEXT 200,550,28,90,0,0,Simhei," + res.material_name,
|
"WINTEXT 200,550,28,90,0,0,Simhei," + res.material_name,
|
||||||
"WINTEXT 240,550,28,90,0,0,Simhei," + res.batch,
|
"WINTEXT 240,550,28,90,0,0,Simhei," + res.batch,
|
||||||
|
"WINTEXT 280,550,28,90,0,0,Simhei," + row.count,
|
||||||
"PRINT 1",
|
"PRINT 1",
|
||||||
];
|
];
|
||||||
let obj = {};
|
let obj = {};
|
||||||
|
|
|
@ -490,6 +490,7 @@ export default {
|
||||||
'QRCODE 30,400,H,5,A,0,"' +code +'"',
|
'QRCODE 30,400,H,5,A,0,"' +code +'"',
|
||||||
"WINTEXT 200,550,28,90,0,0,Simhei," + res.material_name,
|
"WINTEXT 200,550,28,90,0,0,Simhei," + res.material_name,
|
||||||
"WINTEXT 240,550,28,90,0,0,Simhei," + res.batch,
|
"WINTEXT 240,550,28,90,0,0,Simhei," + res.batch,
|
||||||
|
"WINTEXT 280,550,28,90,0,0,Simhei," + row.count,
|
||||||
"PRINT 1",
|
"PRINT 1",
|
||||||
];
|
];
|
||||||
let obj = {};
|
let obj = {};
|
||||||
|
|
|
@ -492,6 +492,7 @@ export default {
|
||||||
'QRCODE 30,400,H,5,A,0,"' +code +'"',
|
'QRCODE 30,400,H,5,A,0,"' +code +'"',
|
||||||
"WINTEXT 200,550,28,90,0,0,Simhei," + res.material_name,
|
"WINTEXT 200,550,28,90,0,0,Simhei," + res.material_name,
|
||||||
"WINTEXT 240,550,28,90,0,0,Simhei," + res.batch,
|
"WINTEXT 240,550,28,90,0,0,Simhei," + res.batch,
|
||||||
|
"WINTEXT 280,550,28,90,0,0,Simhei," + row.count,
|
||||||
"PRINT 1",
|
"PRINT 1",
|
||||||
];
|
];
|
||||||
let obj = {};
|
let obj = {};
|
||||||
|
@ -510,7 +511,6 @@ export default {
|
||||||
"CLS",
|
"CLS",
|
||||||
"REFERENCE 0,0",
|
"REFERENCE 0,0",
|
||||||
'QRCODE 30,400,H,5,A,0,"' +code +'"',
|
'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,
|
"WINTEXT 240,550,28,90,0,0,Simhei," + row.number,
|
||||||
"PRINT 1",
|
"PRINT 1",
|
||||||
];
|
];
|
||||||
|
|
|
@ -813,7 +813,7 @@ export default {
|
||||||
//打印物料标签
|
//打印物料标签
|
||||||
printMaterial(row){
|
printMaterial(row){
|
||||||
let that = this;
|
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 code = res.code_label;
|
||||||
let str = [
|
let str = [
|
||||||
"SIZE 40 mm,70 mm",
|
"SIZE 40 mm,70 mm",
|
||||||
|
@ -823,6 +823,7 @@ export default {
|
||||||
'QRCODE 30,400,H,5,A,0,"' +code +'"',
|
'QRCODE 30,400,H,5,A,0,"' +code +'"',
|
||||||
"WINTEXT 200,550,28,90,0,0,Simhei," + res.material_name,
|
"WINTEXT 200,550,28,90,0,0,Simhei," + res.material_name,
|
||||||
"WINTEXT 240,550,28,90,0,0,Simhei," + res.batch,
|
"WINTEXT 240,550,28,90,0,0,Simhei," + res.batch,
|
||||||
|
"WINTEXT 280,550,28,90,0,0,Simhei," + row.count,
|
||||||
"PRINT 1",
|
"PRINT 1",
|
||||||
];
|
];
|
||||||
let obj = {};
|
let obj = {};
|
||||||
|
|
|
@ -776,7 +776,7 @@ export default {
|
||||||
//打印物料标签
|
//打印物料标签
|
||||||
printMaterial(row){
|
printMaterial(row){
|
||||||
let that = this;
|
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 code = res.code_label;
|
||||||
let str = [
|
let str = [
|
||||||
"SIZE 40 mm,70 mm",
|
"SIZE 40 mm,70 mm",
|
||||||
|
@ -786,6 +786,7 @@ export default {
|
||||||
'QRCODE 30,400,H,5,A,0,"' +code +'"',
|
'QRCODE 30,400,H,5,A,0,"' +code +'"',
|
||||||
"WINTEXT 200,550,28,90,0,0,Simhei," + res.material_name,
|
"WINTEXT 200,550,28,90,0,0,Simhei," + res.material_name,
|
||||||
"WINTEXT 240,550,28,90,0,0,Simhei," + res.batch,
|
"WINTEXT 240,550,28,90,0,0,Simhei," + res.batch,
|
||||||
|
"WINTEXT 280,550,28,90,0,0,Simhei," + row.count,
|
||||||
"PRINT 1",
|
"PRINT 1",
|
||||||
];
|
];
|
||||||
let obj = {};
|
let obj = {};
|
||||||
|
|
Loading…
Reference in New Issue