优化小票优惠信息显示

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", "name": "vite-electron",
"private": true, "private": true,
"version": "2.0.10", "version": "2.0.11",
"main": "dist-electron/main.js", "main": "dist-electron/main.js",
"scripts": { "scripts": {
"dev": "chcp 65001 && vite", "dev": "chcp 65001 && vite",

View File

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

View File

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