From 773a2cf2c92b1a45c0fa8a1feeaaef4873e47fd8 Mon Sep 17 00:00:00 2001 From: gyq <875626088@qq.com> Date: Sat, 26 Oct 2024 11:09:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8A=98=E6=89=A3=E5=B0=8F?= =?UTF-8?q?=E8=AE=A1=E8=AE=A1=E7=AE=97=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 4 ++-- src/views/home/components/settleAccount.vue | 2 +- src/views/order/index.vue | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.env.development b/.env.development index 76bf726..a2e6900 100644 --- a/.env.development +++ b/.env.development @@ -29,10 +29,10 @@ VITE_API_KP_URL = 'https://invoice.sxczgkj.cn/api' # VITE_API_URL = 'http://192.168.1.34:10589/cashier-client' # 测试 -# VITE_API_URL = 'https://cashier-client.sxczgkj.cn/cashier-client' +VITE_API_URL = 'https://cashier-client.sxczgkj.cn/cashier-client' # 预发布 -VITE_API_URL = 'https://pre-cashierclient.sxczgkj.cn/cashier-client' +# VITE_API_URL = 'https://pre-cashierclient.sxczgkj.cn/cashier-client' # VITE_API_URL = 'https://36z1017t45.goho.co/cashier-client' diff --git a/src/views/home/components/settleAccount.vue b/src/views/home/components/settleAccount.vue index 6e36300..d5a8c30 100644 --- a/src/views/home/components/settleAccount.vue +++ b/src/views/home/components/settleAccount.vue @@ -278,7 +278,7 @@ async function printOrderLable() { number: item.num, skuName: item.productSkuName, salePrice: formatDecimal(item.price), - totalAmount: formatDecimal(item.priceAmount) + totalAmount: formatDecimal(item.num * item.price) } ) }) diff --git a/src/views/order/index.vue b/src/views/order/index.vue index 4587ac3..496c47d 100644 --- a/src/views/order/index.vue +++ b/src/views/order/index.vue @@ -513,7 +513,7 @@ const print = lodash.throttle( number: item.num, skuName: item.productSkuName, salePrice: formatDecimal(item.price), - totalAmount: formatDecimal(item.priceAmount) + totalAmount: formatDecimal(item.num * item.price) } ) })