Commit 8b5a7087 authored by 华国豪's avatar 华国豪 🙄
parents a2e00d80 04133e04
...@@ -122,7 +122,7 @@ export default { ...@@ -122,7 +122,7 @@ export default {
diningTotalPrice2(sObj, obj) { diningTotalPrice2(sObj, obj) {
let totalPrice = 0 let totalPrice = 0
obj.forEach(x => { obj.forEach(x => {
totalPrice += x.UnitPrice totalPrice += x.UnitPrice * x.UserNum
}) })
return this.moneyFormat(totalPrice) return this.moneyFormat(totalPrice)
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment