show manual salary role breakdown
This commit is contained in:
parent
710fe5406d
commit
74e1d20aa1
@ -74,9 +74,15 @@ const columns = [
|
|||||||
{ dataIndex: 'lastSettlementTarget', key: 'lastSettlementTarget', title: '上次结算的积分', width: 150 },
|
{ dataIndex: 'lastSettlementTarget', key: 'lastSettlementTarget', title: '上次结算的积分', width: 150 },
|
||||||
{ dataIndex: 'currentTarget', key: 'currentTarget', title: '本次积分', width: 130 },
|
{ dataIndex: 'currentTarget', key: 'currentTarget', title: '本次积分', width: 130 },
|
||||||
{ dataIndex: 'policyLevel', key: 'policyLevel', title: '本次积分档位', width: 130 },
|
{ dataIndex: 'policyLevel', key: 'policyLevel', title: '本次积分档位', width: 130 },
|
||||||
{ dataIndex: 'expectedSalary', key: 'expectedSalary', title: '本月应发', width: 120 },
|
{ dataIndex: 'expectedMemberSalary', key: 'expectedMemberSalary', title: '主播应发', width: 120 },
|
||||||
{ dataIndex: 'payableSalary', key: 'payableSalary', title: '应发(应发-实收)', width: 160 },
|
{ dataIndex: 'expectedAgentSalary', key: 'expectedAgentSalary', title: '代理应发', width: 120 },
|
||||||
{ dataIndex: 'totalIssuedSalary', key: 'totalIssuedSalary', title: '总发工资', width: 130 },
|
{ dataIndex: 'expectedSalary', key: 'expectedSalary', title: '应发合计', width: 120 },
|
||||||
|
{ dataIndex: 'payableMemberSalary', key: 'payableMemberSalary', title: '主播差额', width: 120 },
|
||||||
|
{ dataIndex: 'payableAgentSalary', key: 'payableAgentSalary', title: '代理差额', width: 120 },
|
||||||
|
{ dataIndex: 'payableSalary', key: 'payableSalary', title: '合计差额', width: 140 },
|
||||||
|
{ dataIndex: 'memberIssuedSalary', key: 'memberIssuedSalary', title: '主播实收', width: 140 },
|
||||||
|
{ dataIndex: 'agentIssuedSalary', key: 'agentIssuedSalary', title: '代理实收', width: 140 },
|
||||||
|
{ dataIndex: 'totalIssuedSalary', key: 'totalIssuedSalary', title: '总发工资', width: 140 },
|
||||||
{ dataIndex: 'currentSalaryBalance', key: 'currentSalaryBalance', title: '当前工资', width: 140 },
|
{ dataIndex: 'currentSalaryBalance', key: 'currentSalaryBalance', title: '当前工资', width: 140 },
|
||||||
{ dataIndex: 'action', fixed: 'right', key: 'action', title: '操作', width: 110 },
|
{ dataIndex: 'action', fixed: 'right', key: 'action', title: '操作', width: 110 },
|
||||||
];
|
];
|
||||||
@ -426,7 +432,7 @@ void loadCountries();
|
|||||||
:page-size="query.limit"
|
:page-size="query.limit"
|
||||||
row-key="rowKey"
|
row-key="rowKey"
|
||||||
:row-selection="rowSelection"
|
:row-selection="rowSelection"
|
||||||
:scroll-x="1620"
|
:scroll-x="2340"
|
||||||
:show-pager="false"
|
:show-pager="false"
|
||||||
:summary-text="summaryText"
|
:summary-text="summaryText"
|
||||||
:total="total"
|
:total="total"
|
||||||
@ -471,6 +477,26 @@ void loadCountries();
|
|||||||
<template v-else-if="column.key === 'expectedSalary'">
|
<template v-else-if="column.key === 'expectedSalary'">
|
||||||
{{ formatMoney(record.expectedSalary) }}
|
{{ formatMoney(record.expectedSalary) }}
|
||||||
</template>
|
</template>
|
||||||
|
<template v-else-if="column.key === 'expectedMemberSalary'">
|
||||||
|
{{ formatMoney(record.expectedMemberSalary) }}
|
||||||
|
</template>
|
||||||
|
<template v-else-if="column.key === 'expectedAgentSalary'">
|
||||||
|
{{ formatMoney(record.expectedAgentSalary) }}
|
||||||
|
</template>
|
||||||
|
<template v-else-if="column.key === 'payableMemberSalary'">
|
||||||
|
<span
|
||||||
|
:class="{ 'payable-salary-negative': Number(record.payableMemberSalary || 0) < 0 }"
|
||||||
|
>
|
||||||
|
{{ formatMoney(record.payableMemberSalary) }}
|
||||||
|
</span>
|
||||||
|
</template>
|
||||||
|
<template v-else-if="column.key === 'payableAgentSalary'">
|
||||||
|
<span
|
||||||
|
:class="{ 'payable-salary-negative': Number(record.payableAgentSalary || 0) < 0 }"
|
||||||
|
>
|
||||||
|
{{ formatMoney(record.payableAgentSalary) }}
|
||||||
|
</span>
|
||||||
|
</template>
|
||||||
<template v-else-if="column.key === 'payableSalary'">
|
<template v-else-if="column.key === 'payableSalary'">
|
||||||
<Space size="small">
|
<Space size="small">
|
||||||
<span
|
<span
|
||||||
@ -481,6 +507,24 @@ void loadCountries();
|
|||||||
<Tag v-if="record.paid" color="green">已结算</Tag>
|
<Tag v-if="record.paid" color="green">已结算</Tag>
|
||||||
</Space>
|
</Space>
|
||||||
</template>
|
</template>
|
||||||
|
<template v-else-if="column.key === 'memberIssuedSalary'">
|
||||||
|
<span>{{ formatMoney(record.memberIssuedSalary) }}</span>
|
||||||
|
<span
|
||||||
|
v-if="Number(record.memberOverIssuedSalary || 0) > 0"
|
||||||
|
class="over-issued-salary"
|
||||||
|
>
|
||||||
|
({{ formatMoney(record.memberOverIssuedSalary) }})
|
||||||
|
</span>
|
||||||
|
</template>
|
||||||
|
<template v-else-if="column.key === 'agentIssuedSalary'">
|
||||||
|
<span>{{ formatMoney(record.agentIssuedSalary) }}</span>
|
||||||
|
<span
|
||||||
|
v-if="Number(record.agentOverIssuedSalary || 0) > 0"
|
||||||
|
class="over-issued-salary"
|
||||||
|
>
|
||||||
|
({{ formatMoney(record.agentOverIssuedSalary) }})
|
||||||
|
</span>
|
||||||
|
</template>
|
||||||
<template v-else-if="column.key === 'totalIssuedSalary'">
|
<template v-else-if="column.key === 'totalIssuedSalary'">
|
||||||
<span>{{ formatMoney(record.totalIssuedSalary) }}</span>
|
<span>{{ formatMoney(record.totalIssuedSalary) }}</span>
|
||||||
<span
|
<span
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user