Commit c89941d4 by YunaiV

CRM:code review 客户总量统计

parent 55856be1
......@@ -297,7 +297,7 @@ const doSocialLogin = async (type: number) => {
const res = await LoginApi.getTenantIdByName(data.value)
authUtil.setTenantId(res)
} catch (error) {
if(error === 'cancel') return
if (error === 'cancel') return
} finally {
loginLoading.value = false
}
......
<!-- 客户统计 -->
<!-- 客户总量统计 -->
<template>
<!-- Echarts图 -->
<el-card shadow="never">
......@@ -31,6 +31,7 @@
<el-table-column label="合同总金额" align="right" prop="contractPrice" min-width="200" />
<el-table-column label="回款金额" align="right" prop="receivablePrice" min-width="200" />
<el-table-column label="未回款金额" align="right" min-width="200">
<!-- TODO @dhb52:参考 util/index.ts 的 // ========== ERP 专属方法 ========== 部分,搞个两个方法,一个格式化百分比,一个计算百分比 -->
<template #default="scope">
{{ round(scope.row.contractPrice - scope.row.receivablePrice, 2) }}
</template>
......
......@@ -24,6 +24,7 @@
<el-form-item label="归属部门" prop="deptId">
<el-tree-select
v-model="queryParams.deptId"
class="!w-240px"
:data="deptList"
:props="defaultProps"
check-strictly
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment