优化订单界面的小票打印
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "vite-electron",
|
"name": "vite-electron",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "2.0.26",
|
"version": "2.0.25",
|
||||||
"main": "dist-electron/main.js",
|
"main": "dist-electron/main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "chcp 65001 && vite",
|
"dev": "chcp 65001 && vite",
|
||||||
|
|||||||
@@ -118,7 +118,7 @@ async function printHandle(type) {
|
|||||||
case "normal":
|
case "normal":
|
||||||
// 打印订单小票
|
// 打印订单小票
|
||||||
if (printStore.deviceNoteList.length) {
|
if (printStore.deviceNoteList.length) {
|
||||||
printStore.pushReceiptData(commOrderPrintData(originOrderInfo.value));
|
printStore.ORDER(commOrderPrintData(originOrderInfo.value));
|
||||||
} else {
|
} else {
|
||||||
await orderPrint({
|
await orderPrint({
|
||||||
id: orderInfo.value.id,
|
id: orderInfo.value.id,
|
||||||
|
|||||||
Reference in New Issue
Block a user