Commit c366d76b authored by 李智书's avatar 李智书

Merge branch 'v_c_application_feature_1031' into 'master'

1.修改进度条;

See merge request !34
parents 91f35859 842c108c
......@@ -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