Browse Source

no message

linwenxin 10 tháng trước cách đây
mục cha
commit
c13f117653
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      src/views/mallManagement/order/order_detail/index.vue

+ 3 - 1
src/views/mallManagement/order/order_detail/index.vue

@@ -413,7 +413,9 @@
         <div>
           <span style="margin-right: 30px; font-size: 18px">订单总金额:{{ orderDetail.payAmount }}</span>
           <span style="margin-right: 30px; font-size: 18px"
-            >待收款金额:{{ orderDetail.payAmount - orderDetail.paidAmount }}</span
+            >待收款金额:{{
+              (Math.ceil(((orderDetail.payAmount || 0) - (orderDetail.paidAmount || 0)) * 100) / 100).toFixed(2)
+            }}</span
           >
           <span style="margin-right: 30px; font-size: 18px">已收款金额:{{ orderDetail.paidAmount }}</span>
         </div>