CRM:code review 客户总量统计

This commit is contained in:
YunaiV 2024-03-09 16:51:42 +08:00
parent 55856be1de
commit c89941d435
3 changed files with 5 additions and 3 deletions

View File

@ -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
}

View File

@ -1,4 +1,4 @@
<!-- 客户统计 -->
<!-- 客户总量统计 -->
<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>

View File

@ -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