浏览代码

展示修改

xinyan 5 月之前
父节点
当前提交
b420bdcf99
共有 1 个文件被更改,包括 1 次插入2 次删除
  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 &&
 	if (row.ncx_count != null &&
 		row.order_count != null &&
 		row.order_count != null &&
 		row.order_count > 0) {
 		row.order_count > 0) {
-		return (row.ncx_count / row.order_count) * 100;
-
+		return ((row.ncx_count / row.order_count) * 100).toFixed(2);
 	}
 	}
 	return null; // 或者返回其他占位符
 	return null; // 或者返回其他占位符
 });
 });