This commit is contained in:
parent
e73bdac567
commit
3c2fe7c2a0
|
@ -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
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue