Commit c5c11880 by wangzhihui

Merge branch 'SAAS+V5.6.4' of http://192.168.3.233:8090/saas_plus/dj-car-life-sy…

…stem into SAAS+V5.6.4
2 parents b4e002be 3df233ff
......@@ -899,7 +899,7 @@ export const downloadReportManage_reportType = [
{ confId: "yqMerchantGrossProfitReport", confValue: "园区店毛利报表" },
{ confId: "learningCourseReviewReport", confValue: "课程学习复盘报表" },
{ confId: "salesDailyMonthlySummaryTable", confValue: "销售日报月汇总表" },
{ confId: "yanbaoResidentPersonnelEvaluation", confValue: "驻店能力定级测评表" },
{ confId: "yanbaoResidentPersonnelEvaluation", confValue: "驻店人员能力定级" },
];
// 下载报表 业务类型
......@@ -1873,7 +1873,7 @@ export const auditStatusMap = {
};
export const discountTypeMap = {
1: "比例折扣",
1: "折扣比例",
2: "折扣金额",
3: "无折扣",
4: "赠品",
......
......@@ -80,13 +80,13 @@
@refreshTable="getList">
<template #deliveryCount="scope">
<div>
<el-button v-if="scope.scope.deliveryCount && searchForm.sceneType === '0' && scope.scope.staffName === '汇总'"
<el-button v-if="(scope.scope.deliveryCount === 0 || scope.scope.deliveryCount) && searchForm.sceneType === '0' && scope.scope.staffName === '汇总'"
class="delivery-count-btn"
type="text"
@click="goToDeliveryCount(scope.scope)">
{{ scope.scope.deliveryCount }}
</el-button>
<span v-else-if="scope.scope.deliveryCount">{{ scope.scope.deliveryCount }}</span>
<span v-else-if="scope.scope.deliveryCount === 0 || scope.scope.deliveryCount">{{ scope.scope.deliveryCount }}</span>
<span v-else>--</span>
</div>
</template>
......@@ -982,13 +982,13 @@ export default {
return { rowspan, colspan: 1 };
}
// 员工列按 staffUuid 合并;权益场景最后5列按 staffUuid 纵向合并
// 员工列按 staffUuid 合并;权益场景最后6列(含权益成交量、今日驻店人数等)按 staffUuid 纵向合并
const isEquity = this.searchForm.sceneType !== "1";
const lastFiveStart = isEquity && Array.isArray(this.tableParams?.tableColumns)
? this.tableParams.tableColumns.length - 5
const lastSixStart = isEquity && Array.isArray(this.tableParams?.tableColumns)
? this.tableParams.tableColumns.length - 6
: -1;
if (isEquity && columnIndex >= lastFiveStart) {
if (isEquity && columnIndex >= lastSixStart) {
let rowspan = 1;
for (let i = rowIndex + 1; i < this.tableData.length; i++) {
const nextRow = this.tableData[i];
......
......@@ -181,12 +181,12 @@
<span>{{ item.operatorName }}</span>
</el-tooltip>
</div>
<div class="span-txt-two">审核时间:{{ item.createdDateStr }}</div>
<div v-if="item.remark" class="span-txt-two">{{[4].includes(item.afterStatus) ? '驳回原因:' : '备注:'}}
<el-tooltip class="item" popper-class="remark-popper-class" effect="dark" :content="item.remark" placement="bottom">
<span>{{ item.remark ? (item.remark.length > 8 ? (item.remark.slice(0, 8) + '...') : item.remark) : '' }}</span>
<span>{{ item.remark ? (item.remark.length > 15 ? (item.remark.slice(0, 15) + '...') : item.remark) : '' }}</span>
</el-tooltip>
</div>
<div class="span-txt-two">审核时间:{{ item.createdDateStr }}</div>
</div>
</div>
<div class="emptyCom" v-else>
......
......@@ -363,12 +363,12 @@
<span>{{ item.operatorName }}</span>
</el-tooltip>
</div>
<div class="span-txt-two">审核时间:{{ item.createdDateStr }}</div>
<div v-if="item.remark" class="span-txt-two">{{[4].includes(item.afterStatus) ? '驳回原因:' : '备注:'}}
<el-tooltip class="item" popper-class="remark-popper-class" effect="dark" :content="item.remark" placement="bottom">
<span>{{ item.remark ? (item.remark.length > 8 ? (item.remark.slice(0, 8) + '...') : item.remark) : '' }}</span>
<span>{{ item.remark ? (item.remark.length > 20 ? (item.remark.slice(0, 20) + '...') : item.remark) : '' }}</span>
</el-tooltip>
</div>
<div class="span-txt-two">审核时间:{{ item.createdDateStr }}</div>
</div>
</div>
<div class="emptyCom" v-else>
......
......@@ -58,7 +58,7 @@
:show-btn-ids="['9063001']" />
</span>
<!-- 重新生成 -->
<span v-if="scope.scope.report_type !== '驻店能力定级测评表'" style="margin-right: 10px;">
<span v-if="scope.scope.report_type !== '驻店人员能力定级'" style="margin-right: 10px;">
<auth-button :data="scope.scope"
:show-btn-ids="['9063002']" />
</span>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!