Commit 7531aca4 by huyue

Merge branch 'SAAS+V4.49.0-0121' of http://192.168.3.233:8090/saas_plus/dj-car-l…

…ife-system into SAAS+V4.49.0-0121
2 parents a3bae0cd 712da60e
......@@ -646,7 +646,7 @@ export default {
}
// 第4列(员工姓名列)根据 staffUuid 进行合并
if (columnIndex === 3) {
if (columnIndex === 3 || columnIndex > 7) {
console.log(rowIndex, row.staffUuid)
console.log(row, column, rowIndex, columnIndex)
......
......@@ -7,7 +7,7 @@
:tableData="salaryList"
:table-params="salaryTableParams">
<template slot="deferredIncluded" slot-scope="scope">
<span v-if="!isEmpty(scope.scope.deferIncome)">-</span>
<span v-if="isEmpty(scope.scope.deferIncome)">-</span>
<el-tooltip class="item" effect="dark" v-else placement="top">
<template slot="content">
<p>{{ getMonthSixMonthsBack }}月递延金</p>
......@@ -33,11 +33,12 @@
<div>
<span>{{ subItem.merchantName }}</span>
<span>{{ subItem.merchantId }}</span>
<span class="car-text" v-if="subItem.configCarType">{{ subItem.configCarType ==1 ? '单问界' : '其他车系' }}</span>
</div>
<div>门店总提成金额<span class="price-text">{{ subItem.goodsCommissionPrice || '-' }}元</span></div>
</div>
<div class="content-item-body">
<div class="left-line">
<div class="left-line" :style="{ 'height': subItem.dailyReportDeductDateList && subItem.dailyReportDeductDateList.length ? 'calc(100% - 55px)' : 'calc(100% - 24px)'}">
<div class="line" :style="{'top': (48 * (idx + 1) + 63) + 'px'}" v-for="(v, idx) in subItem.allocationDetailList" :key="idx"></div>
</div>
<div class="content-item-body-title">
......@@ -116,28 +117,28 @@ export default {
label: '平板扣款',
prop: 'padDeductMoney',
formatter: (row) => {
return !isEmpty(row.padDeductMoney) ? `-¥${Math.abs(row.padDeductMoney)}` : '-'
return !isEmpty(row.padDeductMoney) ? `- ¥${Math.abs(row.padDeductMoney)}` : '-'
}
},
{
label: '日报扣款',
prop: 'dailyDeductMoney',
formatter: (row) => {
return !isEmpty(row.dailyDeductMoney) ? `-¥${Math.abs(row.dailyDeductMoney)}` : '-'
return !isEmpty(row.dailyDeductMoney) ? `- ¥${Math.abs(row.dailyDeductMoney)}` : '-'
}
},
{
label: '退单冲减',
prop: 'refundOffset',
formatter: (row) => {
return !isEmpty(row.refundOffset) ? `-¥${Math.abs(row.refundOffset)}` : '-'
return !isEmpty(row.refundOffset) ? `- ¥${Math.abs(row.refundOffset)}` : '-'
}
},
{
label: '递延金扣款',
prop: 'deferExpenses',
formatter: (row) => {
return !isEmpty(row.deferExpenses) ? `-¥${Math.abs(row.deferExpenses)}` : '-'
return !isEmpty(row.deferExpenses) ? `- ¥${Math.abs(row.deferExpenses)}` : '-'
}
},
{
......@@ -150,7 +151,7 @@ export default {
prop: 'correctSalary',
width: '120px',
formatter: (row) => {
return !isEmpty(row.correctSalary) ? (row.correctSalary >= 0 ? `¥${row.correctSalary}` : `-¥${Math.abs(row.correctSalary)}`) : '-'
return !isEmpty(row.correctSalary) ? `¥${row.correctSalary}` : '-'
}
},
]
......@@ -193,7 +194,7 @@ export default {
prop: '',
width: 100,
formatter: (row) => {
return row.allocationType == 5 ? `${row.outputCommissionRatio}%×${row.calculateValue}` : row.allocationType == 6 ? `${row.outputCommissionRatio}%` : '-'
return row.allocationType == 5 ? `${!isEmpty(row.outputCommissionRatio) ? row.outputCommissionRatio : '-'}%×${row.calculateValue}` : row.allocationType == 6 ? `${row.outputCommissionRatio}%×1` : '-'
}
},
{
......@@ -335,7 +336,19 @@ export default {
margin-top: 20px;
font-weight: bold;
border-bottom: 1px solid #E7E7E7;
.car-text {
margin-left: 16px;
font-weight: normal;
padding: 4px 8px;
height: 12px;
font-size: 12px;
color: #666666;
background: #FFFFFF;
border: 1px solid #E8E8E8;
border-radius: 2px;
}
.price-text{
margin-left: 2px;
color: #2A58AD;
}
}
......@@ -346,7 +359,6 @@ export default {
position: absolute;
left: 15px;
width: 1px;
height: calc(100% - 24px);
background: #E7E7E7;
.line{
width: 21px;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!