Commit 42abe1de by 李伟康

修复支付金额显示异常

1 parent ab9d69e6
...@@ -88,7 +88,8 @@ export default { ...@@ -88,7 +88,8 @@ export default {
immediate: true, immediate: true,
handler (n) { handler (n) {
if (n.id) { if (n.id) {
let [price, decimal] = this.centsToyuan(n.retailPrice).toString().split('.') let expressFee = n.expressFee || 0
let [price, decimal] = this.centsToyuan(n.retailPrice + expressFee).toString().split('.')
if (!decimal) decimal = '00' if (!decimal) decimal = '00'
n.price = price n.price = price
n.decimal = decimal n.decimal = decimal
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!