This commit is contained in:
weipengfei 2024-05-30 18:06:19 +08:00
parent e73bdac567
commit 3c2fe7c2a0
2 changed files with 3 additions and 3 deletions

View File

@ -202,7 +202,7 @@ export const print = (data: any) => {
panel.addPrintText(options(""));
// 文本 *4
panel.addPrintText({ options: { width: T_WIDTH, height: 35, top: nowHeight, left: T_LEFT, title: data.number, textType: 'barcode',textAlign: "center" } });
panel.addPrintText({ options: { width: T_WIDTH-10, height: 35, top: nowHeight, left: T_LEFT+5, title: data.number, textType: 'barcode',textAlign: "center" } });
nowHeight += 40
// 文本 *4
@ -430,7 +430,7 @@ export const testPrint = () => {
panel.addPrintText(options("出库码: "));
// 文本 *4
panel.addPrintText({ options: { width: T_WIDTH, height: 35, top: nowHeight, left: T_LEFT, title: '65155', textType: 'barcode',textAlign: "center" } });
panel.addPrintText({ options: { width: T_WIDTH-10, height: 35, top: nowHeight, left: T_LEFT+5, title: '65155', textType: 'barcode',textAlign: "center" } });
nowHeight += 40
// 文本 *1

View File

@ -190,7 +190,7 @@ const onPrintOrder = (row: any) => {
user_phone: "19330904744",
user_address: "里海三楼",
uid: "9",
number: "PF171617436315965155",
number: "sd1717057745438221",
total: "0.02",
actual: "0.02",
create_time: "2024-05-20 11:06:03",