diff --git a/src/views/home/components/settleAccount.vue b/src/views/home/components/settleAccount.vue index 0b4d38c..b26da66 100644 --- a/src/views/home/components/settleAccount.vue +++ b/src/views/home/components/settleAccount.vue @@ -227,11 +227,11 @@ async function printOrderLable(isBefore = false) { printStore.pushReceiptData(commOrderPrintData({ ...data, isBefore: isBefore })); } else { // 本地没有可用打印机使用云打印机 - await orderPrint({ - type: isBefore ? 1 : 0, - id: orderId, - }); - ElMessage.success(`云打印${isBefore ? '预' : ''}结算单成功`); + // await orderPrint({ + // type: isBefore ? 1 : 0, + // id: orderId, + // }); + // ElMessage.success(`云打印${isBefore ? '预' : ''}结算单成功`); } } } catch (error) { diff --git a/src/views/work/index.vue b/src/views/work/index.vue index a7d47dc..f240476 100644 --- a/src/views/work/index.vue +++ b/src/views/work/index.vue @@ -86,7 +86,7 @@ 上岗时间:
- {{ dayjs(infoData.loginTime).format("YYYY-MM-DD HH:mm:ss") }} + {{ dayjs(infoData.loginTime || new Date()).format("YYYY-MM-DD HH:mm:ss") }}
@@ -94,7 +94,7 @@ 交班时间:
- {{ dayjs(infoData.handoverTime).format("YYYY-MM-DD HH:mm:ss") }} + {{ dayjs(infoData.handoverTime || new Date()).format("YYYY-MM-DD HH:mm:ss") }}
- 收营员: + 收银员:
{{ infoData.staffName || '无' }}