优化小票优惠信息显示

This commit is contained in:
gyq
2026-01-14 09:47:50 +08:00
parent 217cabcb96
commit b1e8550cbe
3 changed files with 4 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
{
"name": "vite-electron",
"private": true,
"version": "2.0.10",
"version": "2.0.11",
"main": "dist-electron/main.js",
"scripts": {
"dev": "chcp 65001 && vite",

View File

@@ -214,7 +214,7 @@ export function commOrderPrintData(orderInfo) {
number: '',
skuName: '',
salePrice: '',
totalAmount: orderInfo.packFee,
totalAmount: formatDecimal(orderInfo.packFee),
proGroupInfo: "",
})
}

View File

@@ -60,7 +60,7 @@
</div>
<div class="row between">
<span>折扣</span>
<span>-{{ formatDecimal(+orderInfo.discountAmount) }}
<span>-{{ formatDecimal(+orderInfo.discountAllAmount) }}
</span>
</div>
<div class="line"></div>
@@ -170,7 +170,7 @@ async function show(row) {
num: '',
skuName: '',
price: '',
payAmount: orderInfo.value.packFee,
payAmount: formatDecimal(+orderInfo.value.packFee),
proGroupInfo: "",
})
}