修改折扣小计计算方式

This commit is contained in:
gyq 2024-10-26 11:09:27 +08:00
parent 06a0d1d0fc
commit 773a2cf2c9
3 changed files with 4 additions and 4 deletions

View File

@ -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'

View File

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

View File

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