Commit 842c108c authored by 李智书's avatar 李智书

1.修改进度条;

parent 2aba1a63
......@@ -98,10 +98,10 @@ export default {
if (v['mealType'] == "夜夜宵") {
v['mealTypePng'] = "xzf/h5/yeye.png"
}
if (parseInt(jsonData['totalAmount']) === 0) {
if (parseInt(jsonData['totalAmount'] * 100) === 0) {
v['perc'] = 0
} else {
v['perc'] = parseFloat(v.dealAmount / jsonData['totalAmount'])
v['perc'] = parseFloat(v.dealAmount / parseInt(jsonData['totalAmount'] * 100)) * 100
}
v['dealAmount'] = (v['dealAmount'] / 100).toFixed(2)
return v
......
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