Commit 4fa75ef3 authored by youjie's avatar youjie
parents 0947029e 6e2cec3a
......@@ -1080,11 +1080,12 @@
}
}
// 将金额总计的值赋值给金额小计
obj.OrderDetailsList[0].TotalPrice = totalPrice.toFixed(2);
obj.OrderDetailsList[0].TotalPrice = Number(totalPrice).toFixed(2);
this.$forceUpdate();
},
changeTotalPrice(obj) {
obj.TotalPrice = obj.OrderDetailsList[0].TotalPrice.toFixed(2);
console.log('changeTotalPrice', obj, obj.TotalPrice)
obj.TotalPrice = Number(obj.OrderDetailsList[0].TotalPrice).toFixed(2);
},
saveList(type) {
if (type == 0) {
......
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