develop
xiaozhiyong 10 months ago
parent 5b95703f51
commit 6be758eba0
  1. 5
      src/subPackages/order/details/index.vue

@ -114,7 +114,10 @@ export default {
filters: {
preferential(discountAmount, platformCommission) {
if (!discountAmount || !platformCommission) return "0.00";
return (discountAmount * 10000 + platformCommission * 10000) / 10000;
return (
(discountAmount * 10000 + platformCommission * 10000) /
10000
).toFixed(2);
},
},
methods: {},

Loading…
Cancel
Save