Commit 7ef44e87 by zhangquan

紧急版本开发

1 parent 2021f7f2
<template> <template>
<div class="open-container"> <div class="open-container">
<div class="box_bg_wrap"> <!-- <div class="box_bg_wrap">
<div class="top_widget"> <div class="top_widget">
<div class="wrap"> <div class="wrap">
<div class="title_wrap"> <div class="title_wrap">
...@@ -12,8 +12,6 @@ ...@@ -12,8 +12,6 @@
<p class="h20_title">累计产值:总产值为门店的精品升级业务该获得的 分账金额总和,包括线上分账和线下对 账,但分账金额不明确订单不算入统计。</p> <p class="h20_title">累计产值:总产值为门店的精品升级业务该获得的 分账金额总和,包括线上分账和线下对 账,但分账金额不明确订单不算入统计。</p>
<p class="h20_title">昨日产值:当前时间前一天的产值</p> <p class="h20_title">昨日产值:当前时间前一天的产值</p>
<p class="h20_title">今日产值:当前时间的实时产值</p> <p class="h20_title">今日产值:当前时间的实时产值</p>
<!-- <p v-if="accountLevel != 4" class="h20_title">平均单店产值:一个门店的平均产值=累计产值/开通精品升级的门店数</p>
<p v-if="accountLevel == 4" class="h20_title">行业均值(单店):一个门店的平均产值=所有门店的累计产值/开通精品升级的门店数。</p> -->
<p class="h20_title">冠军店:显示统计时间范围内产值最高的店及占比,占比=冠军店产值/总产值</p> <p class="h20_title">冠军店:显示统计时间范围内产值最高的店及占比,占比=冠军店产值/总产值</p>
<p class="h20_title">累计利润:统计时间范围内该店的导流方分润金额的总和</p> <p class="h20_title">累计利润:统计时间范围内该店的导流方分润金额的总和</p>
<p class="h20_title">昨日利润:当前时间前一天的导流方分润金额</p> <p class="h20_title">昨日利润:当前时间前一天的导流方分润金额</p>
...@@ -34,7 +32,6 @@ ...@@ -34,7 +32,6 @@
<p style="height: 15px"></p> <p style="height: 15px"></p>
<p class="h13_title">今日产值:{{ productValueInfo.todayDivisionMoney ? '¥' : '' }}{{ productValueInfo.todayDivisionMoney || '---' }}</p> <p class="h13_title">今日产值:{{ productValueInfo.todayDivisionMoney ? '¥' : '' }}{{ productValueInfo.todayDivisionMoney || '---' }}</p>
</div> </div>
<!-- <span class="text_tip_price2 h13_title">行业均值(单店):{{ productValueInfo.totalDivisionMoney ? '¥' : '' }}{{ productValueInfo.totalDivisionMoney || '---' }}</span> -->
<span class="text_tip_price2 h13_title">累计利润:{{ productValueInfo.profitMoney ? '¥' : '' }}{{ productValueInfo.profitMoney || '---' }}</span> <span class="text_tip_price2 h13_title">累计利润:{{ productValueInfo.profitMoney ? '¥' : '' }}{{ productValueInfo.profitMoney || '---' }}</span>
<span class="text_tip_price4 h13_title">今日利润:{{ productValueInfo.todayProfitMoney ? '¥' : '' }}{{ productValueInfo.todayProfitMoney || '---' }}</span> <span class="text_tip_price4 h13_title">今日利润:{{ productValueInfo.todayProfitMoney ? '¥' : '' }}{{ productValueInfo.todayProfitMoney || '---' }}</span>
<span class="text_tip_price11 h13_title">昨日利润:{{ productValueInfo.yesterdayProfitMoney ? '¥' : '' }}{{ productValueInfo.yesterdayProfitMoney || '---' }}</span> <span class="text_tip_price11 h13_title">昨日利润:{{ productValueInfo.yesterdayProfitMoney ? '¥' : '' }}{{ productValueInfo.yesterdayProfitMoney || '---' }}</span>
...@@ -48,7 +45,6 @@ ...@@ -48,7 +45,6 @@
<span class="h13_title">昨日利润:{{ productValueInfo.yesterdayProfitMoney ? '¥' : '' }}{{ productValueInfo.yesterdayProfitMoney || '---' }}</span> <span class="h13_title">昨日利润:{{ productValueInfo.yesterdayProfitMoney ? '¥' : '' }}{{ productValueInfo.yesterdayProfitMoney || '---' }}</span>
</div> </div>
<span class="text_tip_price7 h13_title">累计利润:{{ productValueInfo.profitMoney ? '¥' : '' }}{{ productValueInfo.profitMoney || '---' }}</span> <span class="text_tip_price7 h13_title">累计利润:{{ productValueInfo.profitMoney ? '¥' : '' }}{{ productValueInfo.profitMoney || '---' }}</span>
<!-- <span class="text_tip_price6 h13_title">平均单店产值:{{ productValueInfo.totalDivisionMoney ? '¥' : '' }}{{ productValueInfo.totalDivisionMoney || '---' }}</span> -->
<span v-if="firsStore" class="text_tip_price5 h13_title">冠军店:{{ firsStore.merchantName }}(占{{ persent }}%)</span> <span v-if="firsStore" class="text_tip_price5 h13_title">冠军店:{{ firsStore.merchantName }}(占{{ persent }}%)</span>
</template> </template>
</div> </div>
...@@ -98,30 +94,30 @@ ...@@ -98,30 +94,30 @@
<div v-show="accountLevel != 4"> <div v-show="accountLevel != 4">
<bloc-con ref="mybloc" :width="chartWidth" :show="openRankFlag" @showRanking="toOpenRanking"></bloc-con> <bloc-con ref="mybloc" :width="chartWidth" :show="openRankFlag" @showRanking="toOpenRanking"></bloc-con>
</div> </div>
</div> </div> -->
<div v-show="accountLevel != 4"> <div v-show="accountLevel != 4">
<ranking ref="myRanking" :product="productValueInfo.divisionMoney" :show="openRankFlag" @closeRank="toCloseRanking"></ranking> <ranking ref="myRanking" :product="productValueInfo.divisionMoney" :show="openRankFlag" @closeRank="toCloseRanking"></ranking>
</div> </div>
<div class="box_bg_wrap mini_margin"> <div class="box_bg_wrap mini_margin">
<div class="tab_wrap"> <div class="tab_wrap">
<div class="tab_line flex_sc" :style="accountLevel == 4 ? 'width:48%' : 'width:32%'"> <div class="tab_line flex_sc" :style="accountLevel == 4 ? 'width:48%' : 'width:32%'">
<!-- <div class="tab_line flex_sc" :style="accountLevel == 4 ? 'width:32%' : 'width:16%'"> --> <!-- <div class="tab_line flex_sc" :style="accountLevel == 4 ? 'width:32%' : 'width:16%'"> -->
<template v-for="(item, index) in tabList"> <template v-for="(item, index) in tabList">
<div :key="index" class="tab_element_wrap" :style="accountLevel == 4 ? 'width:33.33%' : 'width:50%'" @click="changeTab(index)"> <div :key="index" class="tab_element_wrap" :style="accountLevel == 4 ? 'width:33.33%' : 'width:50%'" @click="changeTab(index)">
<!-- <div :key="index" class="tab_element_wrap" :style="accountLevel == 4 ? 'width:50%' : 'width:100%'" @click="changeTab(index)"> --> <!-- <div :key="index" class="tab_element_wrap" :style="accountLevel == 4 ? 'width:50%' : 'width:100%'" @click="changeTab(index)"> -->
<div class="tab_item h13_title flex_cc" :class="curTabIndex == index ? 'tab_item_active' : ''">{{ item }}</div> <div class="tab_item h13_title flex_cc" :class="curTabIndex == index ? 'tab_item_active' : ''">{{ item }}</div>
</div> </div>
</template> </template>
</div> </div>
</div> </div>
<template v-if="accountLevel == 4"> <template v-if="accountLevel == 4">
<template v-if="curTabIndex == 0"> <!-- <template v-if="curTabIndex == 0">
<coupons-order></coupons-order> <coupons-order></coupons-order>
</template> </template> -->
<template v-if="curTabIndex == 1"> <template v-if="curTabIndex == 0">
<upgrade-order></upgrade-order> <upgrade-order></upgrade-order>
</template> </template>
<template v-if="curTabIndex == 2"> <template v-if="curTabIndex == 1">
<my-fashionable-order></my-fashionable-order> <my-fashionable-order></my-fashionable-order>
</template> </template>
</template> </template>
...@@ -172,7 +168,7 @@ export default { ...@@ -172,7 +168,7 @@ export default {
dateType: 'date', dateType: 'date',
dateplaceholder: '选择日期', dateplaceholder: '选择日期',
showMore: true, showMore: true,
tabList: ['精品礼券领取订单', '精品升级订单', '我的分账'], tabList: ['精品升级订单', '我的分账'],
// tabList: ['精品礼券领取订单', '精品升级订单'], // tabList: ['精品礼券领取订单', '精品升级订单'],
curTabIndex: 0, curTabIndex: 0,
customName: '', customName: '',
...@@ -365,7 +361,7 @@ export default { ...@@ -365,7 +361,7 @@ export default {
this.persent = utils.decimal(temp * 100, 2) this.persent = utils.decimal(temp * 100, 2)
} }
}) })
}, }
// toGet4SStore() { // toGet4SStore() {
// const { session } = this.$globalState // const { session } = this.$globalState
// let level = this.accountLevel // let level = this.accountLevel
......
...@@ -576,11 +576,6 @@ export default { ...@@ -576,11 +576,6 @@ export default {
align: 'center', align: 'center',
children: [ children: [
{ {
label: '客户手机号',
prop: 'customerPhone',
width: '200'
},
{
label: '转化员姓名', label: '转化员姓名',
prop: 'sellerName', prop: 'sellerName',
width: '200' width: '200'
...@@ -919,11 +914,11 @@ export default { ...@@ -919,11 +914,11 @@ export default {
} }
converterApi(para).then(res => { converterApi(para).then(res => {
this.tableData = res.list.map((item, index) => { this.tableData = res.list.map((item, index) => {
const TYPELIST = ['--','毛利','收入','固定'] const TYPELIST = ['--', '毛利', '收入', '固定']
// let ruleType = item.shopProfitType == 1 ? '毛利' : '收入' // let ruleType = item.shopProfitType == 1 ? '毛利' : '收入'
// let ruleType = item.shopTrafficMoneyCalculateType == 1 ? '毛利' : '收入' // let ruleType = item.shopTrafficMoneyCalculateType == 1 ? '毛利' : '收入'
let ruleType = TYPELIST[item.shopTrafficMoneyCalculateType] let ruleType = TYPELIST[item.shopTrafficMoneyCalculateType]
item.rule = `${ruleType}${item.shopTrafficMoneyCalculateType==0?'':(item.shopTrafficMoneyCalculateValue)}${item.shopTrafficMoneyCalculateType==0?'':'%'}` item.rule = `${ruleType}${item.shopTrafficMoneyCalculateType == 0 ? '' : item.shopTrafficMoneyCalculateValue}${item.shopTrafficMoneyCalculateType == 0 ? '' : '%'}`
item.divisionTypeName = item.divisionType == 1 ? '线下对账' : '线上分账' item.divisionTypeName = item.divisionType == 1 ? '线下对账' : '线上分账'
item.paySuccessDate = utils.dateFormat(item.paySuccessDate, 'YYYY-MM-DD HH:mm:ss') item.paySuccessDate = utils.dateFormat(item.paySuccessDate, 'YYYY-MM-DD HH:mm:ss')
item.payTypeName = item.payType == 1 ? '微信支付' : item.payType == 2 ? '线下收款' : 'POS机' item.payTypeName = item.payType == 1 ? '微信支付' : item.payType == 2 ? '线下收款' : 'POS机'
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!