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) } ) })