销售计提占比为空不显示百分号

This commit is contained in:
wuteng 2025-12-04 09:51:09 +08:00
parent 5901d11d8c
commit f70152f8e2

View File

@ -53,7 +53,7 @@
<el-table-column label="销售主管占比" align="left" prop="salesExecutiveRatio" :show-overflow-tooltip="true"
min-width="80">
<template slot-scope="scope">
{{scope.row.salesExecutiveRatio}}%
{{scope.row.salesExecutiveRatio?scope.row.salesExecutiveRatio+ '%':''}}
</template>
</el-table-column>
<el-table-column label="销售联系人" align="left" prop="salesmen" :show-overflow-tooltip="true" min-width="80">
@ -61,14 +61,14 @@
<el-table-column label="销售联系人占比" align="center" key="deptName" prop="salesmenRatio" :show-overflow-tooltip="true"
min-width="100" >
<template slot-scope="scope">
{{scope.row.salesmenRatio}}%
{{scope.row.salesmenRatio?scope.row.salesmenRatio+ '%':''}}
</template>
</el-table-column>
<el-table-column label="销售支持" align="center" prop="salesSupport" min-width="100">
</el-table-column>
<el-table-column label="销售支持占比" align="center" prop="salesSupportRatio" min-width="100">
<template slot-scope="scope">
{{scope.row.salesSupportRatio}}%
{{scope.row.salesSupportRatio?scope.row.salesSupportRatio+ '%':''}}
</template>
</el-table-column>
<el-table-column label="启用状态" align="center" prop="status" min-width="100">
@ -134,6 +134,8 @@ export default {
selectionList: null,
// 查询参数
queryParams: {
pageNum: 1,
pageSize: 20,
salesExecutive: null,
salesSupport: null,
salesmen: null,