Commit b71a4e22 authored by huhaiqing's avatar huhaiqing

修改重货比计算

parent c746fb65
...@@ -718,7 +718,7 @@ export default { ...@@ -718,7 +718,7 @@ export default {
getRatioMax(row) { getRatioMax(row) {
let volume = row.volume ?? 0; let volume = row.volume ?? 0;
let weight = row.weight ?? 0; let weight = row.weight ?? 0;
return Decimal.div(volume, weight).toFixed(2); return Decimal.div(weight, volume).toFixed(2);
}, },
}, },
}; };
......
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