24282 hai 2 meses
pai
achega
5b3bfa63e3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      jy-ui/src/views/business/contract/info/index.vue

+ 1 - 1
jy-ui/src/views/business/contract/info/index.vue

@@ -144,7 +144,7 @@ const columnConfig: ColumnConfigType[] = [
   {
     label: '预期收益',
     formatter: (row) => {
-      return row.amount - row.costPrice
+      return Math.round((row.amount - row.costPrice) * 100) / 100
     }
   },
   {