xinyan 5 kuukautta sitten
vanhempi
commit
b420bdcf99
1 muutettua tiedostoa jossa 1 lisäystä ja 2 poistoa
  1. 1 2
      src/views/customers-voice/components/DataTableSlot.vue

+ 1 - 2
src/views/customers-voice/components/DataTableSlot.vue

@@ -36,8 +36,7 @@ const ncx_rate = computed(() => {
 	if (row.ncx_count != null &&
 		row.order_count != null &&
 		row.order_count > 0) {
-		return (row.ncx_count / row.order_count) * 100;
-
+		return ((row.ncx_count / row.order_count) * 100).toFixed(2);
 	}
 	return null; // 或者返回其他占位符
 });