增加安徽配送数据展示
This commit is contained in:
parent
5128d1ad58
commit
36e3c5455e
@ -481,6 +481,7 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
this.headMsg = totalData
|
this.headMsg = totalData
|
||||||
|
console.log(this.headMsg)
|
||||||
// 饼图分析及数据条形分析
|
// 饼图分析及数据条形分析
|
||||||
const [progressList, pieList] = this.getProgressData(busniessTypePie, totalData.cashPay)
|
const [progressList, pieList] = this.getProgressData(busniessTypePie, totalData.cashPay)
|
||||||
this.modelProgress = progressList
|
this.modelProgress = progressList
|
||||||
@ -1073,17 +1074,22 @@
|
|||||||
.bayonet-cell-area li{
|
.bayonet-cell-area li{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
.bayonet-cell-area li .server,.bayonet-cell-area li .carType{
|
.bayonet-cell-area li .server{
|
||||||
width: 30%;
|
width: 30%;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
text-align: center;
|
text-align: left;
|
||||||
|
padding-left: 15rpx;
|
||||||
}
|
}
|
||||||
.bayonet-cell-area li .type{
|
.bayonet-cell-area li .type{
|
||||||
width: 40%;
|
width: 35%;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
.bayonet-cell-area li .carType{
|
||||||
|
width: 30%;
|
||||||
|
display: inline-block;
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
.bayonet-cell-area li:nth-child(2n+1):before {
|
.bayonet-cell-area li:nth-child(2n+1):before {
|
||||||
content: '';
|
content: '';
|
||||||
@ -1349,13 +1355,19 @@
|
|||||||
font-size: 26rpx;
|
font-size: 26rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
.operation-cl-unit1 .server{
|
||||||
|
width: 30%;
|
||||||
|
display: inline-block;
|
||||||
|
text-align: left;
|
||||||
|
padding-left: 30rpx;
|
||||||
}
|
}
|
||||||
.operation-cl-unit1 .type{
|
.operation-cl-unit1 .type{
|
||||||
width: 40%;
|
width: 40%;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
text-align: center;
|
text-align: left;
|
||||||
}
|
}
|
||||||
.operation-cl-unit1 .server,.operation-cl-unit1 .carType{
|
.operation-cl-unit1 .carType{
|
||||||
width: 30%;
|
width: 30%;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|||||||
@ -52,7 +52,7 @@
|
|||||||
<div class="uni-flex jc-between" v-if="provinceCode == 340000 && groupType == 1000 && headMsg.shareShopCount > 0">
|
<div class="uni-flex jc-between" v-if="provinceCode == 340000 && groupType == 1000 && headMsg.shareShopCount > 0">
|
||||||
<div class="revenue-tag">
|
<div class="revenue-tag">
|
||||||
<div style="font-size: 24rpx; margin-top: 15rpx;">
|
<div style="font-size: 24rpx; margin-top: 15rpx;">
|
||||||
分润门店
|
分润门店:
|
||||||
<span class="amount" style="font-size: 28rpx;padding-left: 0.5em;">
|
<span class="amount" style="font-size: 28rpx;padding-left: 0.5em;">
|
||||||
{{headMsg.shareShopCount}}个
|
{{headMsg.shareShopCount}}个
|
||||||
</span>
|
</span>
|
||||||
@ -60,7 +60,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="revenue-tag">
|
<div class="revenue-tag">
|
||||||
<div style="font-size: 24rpx; margin-top: 15rpx;">
|
<div style="font-size: 24rpx; margin-top: 15rpx;">
|
||||||
驿达分润
|
驿达分润:
|
||||||
<span class="amount" style="font-size: 28rpx;padding-left: 0.5em;">
|
<span class="amount" style="font-size: 28rpx;padding-left: 0.5em;">
|
||||||
{{ $util.fmoney(headMsg.royaltyPrice) }}元
|
{{ $util.fmoney(headMsg.royaltyPrice) }}元
|
||||||
</span>
|
</span>
|
||||||
@ -71,6 +71,28 @@
|
|||||||
</div> -->
|
</div> -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="uni-flex jc-between" v-if="provinceCode == 340000 && groupType == 1000 && headMsg.deliverBillCount > 0">
|
||||||
|
<div class="revenue-tag">
|
||||||
|
<div style="font-size: 24rpx; margin-top: 15rpx;">
|
||||||
|
万佳配送订单:
|
||||||
|
<span class="amount" style="font-size: 28rpx;padding-left: 0.5em;">
|
||||||
|
{{headMsg.deliverBillCount}}单
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="revenue-tag">
|
||||||
|
<div style="font-size: 24rpx; margin-top: 15rpx;">
|
||||||
|
采购金额:
|
||||||
|
<span class="amount" style="font-size: 28rpx;padding-left: 0.5em;">
|
||||||
|
{{ $util.fmoney(headMsg.deliverPrice) }}元
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
<!-- <div style="font-size: 24rpx;">
|
||||||
|
累计分润
|
||||||
|
<span class="amount" style="font-size: 28rpx;padding-left: 0.5em;">272,109.93元</span>
|
||||||
|
</div> -->
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<div class="view-bottom" @click="toggleCard">
|
<div class="view-bottom" @click="toggleCard">
|
||||||
<text class="uni-icon uni-icon-arrowup" :class="{'up':isup}"></text>
|
<text class="uni-icon uni-icon-arrowup" :class="{'up':isup}"></text>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -20,10 +20,17 @@ const methods = {
|
|||||||
Statistics_Month: obj.month ,
|
Statistics_Month: obj.month ,
|
||||||
Province_Code: obj.ProvinceCode ,
|
Province_Code: obj.ProvinceCode ,
|
||||||
pushProvinceCode: obj.ProvinceCode ,
|
pushProvinceCode: obj.ProvinceCode ,
|
||||||
Serverpart_ID: obj.ServerpartIds ? obj.ServerpartIds : '',
|
Serverpart_ID: obj.GroupType != 1020 ? obj.ServerpartIds : '',
|
||||||
SPRegionType_ID: obj.GroupType == 1020 ? obj.ServerpartIds : '',
|
SPRegionType_ID: obj.GroupType == 1020 ? obj.ServerpartIds : '',
|
||||||
// Revenue_Include: 1
|
// Revenue_Include: 1
|
||||||
}
|
}
|
||||||
|
const requestParamasBudget = {
|
||||||
|
Statistics_Date: obj.time ,
|
||||||
|
Statistics_Month: obj.month ,
|
||||||
|
Province_Code: obj.ProvinceCode ,
|
||||||
|
pushProvinceCode: obj.ProvinceCode ,
|
||||||
|
Serverpart_ID: obj.ServerpartIds ? obj.ServerpartIds : ''
|
||||||
|
}
|
||||||
this.provinceCode = obj.ProvinceCode
|
this.provinceCode = obj.ProvinceCode
|
||||||
// 营收数据
|
// 营收数据
|
||||||
const data = await request.$webGet('CommercialApi/Revenue/GetRevenuePushList', requestParamas)
|
const data = await request.$webGet('CommercialApi/Revenue/GetRevenuePushList', requestParamas)
|
||||||
@ -38,13 +45,17 @@ const methods = {
|
|||||||
if (tradeData.Result_Code != 100) return
|
if (tradeData.Result_Code != 100) return
|
||||||
|
|
||||||
// 计划营收金额
|
// 计划营收金额
|
||||||
const budgetAmount = await request.$webGet('CommercialApi/Revenue/GetBudgetExpenseList', requestParamas)
|
const budgetAmount = await request.$webGet('CommercialApi/Revenue/GetBudgetExpenseList', requestParamasBudget)
|
||||||
if (budgetAmount.Result_Code != 100) return
|
if (budgetAmount.Result_Code != 100) return
|
||||||
|
|
||||||
// 移动支付分账数据
|
// 移动支付分账数据
|
||||||
const mobileShare = await request.$webGet('CommercialApi/Revenue/GetMobileShare', requestParamas)
|
const mobileShare = await request.$webGet('CommercialApi/Revenue/GetMobileShare', requestParamas)
|
||||||
if (mobileShare.Result_Code != 100) return
|
if (mobileShare.Result_Code != 100) return
|
||||||
|
|
||||||
|
// 万佳商城配送数据
|
||||||
|
const mallDeliver = await request.$webGet('CommercialApi/Revenue/GetMallDeliver', requestParamas)
|
||||||
|
if (mallDeliver.Result_Code != 100) return
|
||||||
|
|
||||||
// 片区车流量
|
// 片区车流量
|
||||||
const bayonetCount = await request.$webGet('CommercialApi/Revenue/GetSPBayonetList', requestParamas)
|
const bayonetCount = await request.$webGet('CommercialApi/Revenue/GetSPBayonetList', requestParamas)
|
||||||
if (bayonetCount.Result_Code != 100) return
|
if (bayonetCount.Result_Code != 100) return
|
||||||
@ -55,7 +66,7 @@ const methods = {
|
|||||||
}
|
}
|
||||||
return _this.getReginList(data.Result_Data.List, busniessCounts.Result_Data.List,
|
return _this.getReginList(data.Result_Data.List, busniessCounts.Result_Data.List,
|
||||||
tradeData.Result_Data.List, budgetAmount.Result_Data.List,
|
tradeData.Result_Data.List, budgetAmount.Result_Data.List,
|
||||||
bayonetCount.Result_Data.List, mobileShare.Result_Data)
|
bayonetCount.Result_Data.List, mobileShare.Result_Data, mallDeliver.Result_Data)
|
||||||
// [reginList, totalData, busniessTypePie, busniessTradePie]
|
// [reginList, totalData, busniessTypePie, busniessTradePie]
|
||||||
|
|
||||||
},
|
},
|
||||||
@ -235,7 +246,7 @@ const methods = {
|
|||||||
}
|
}
|
||||||
return [ totalShow, busniessTypePie, busniessTradePie,busniessTradeFathPie ]
|
return [ totalShow, busniessTypePie, busniessTradePie,busniessTradeFathPie ]
|
||||||
},
|
},
|
||||||
getReginList(data, shopCountList,tradeList,budgetAmount,bayonetCount, mobileShare) {
|
getReginList(data, shopCountList,tradeList,budgetAmount,bayonetCount, mobileShare, mallDeliver) {
|
||||||
|
|
||||||
let _this = this
|
let _this = this
|
||||||
let totalShow = {} // 总营收数据统计
|
let totalShow = {} // 总营收数据统计
|
||||||
@ -320,6 +331,12 @@ const methods = {
|
|||||||
totalShow.subRoyaltyPrice = mobileShare.SubRoyalty_Price
|
totalShow.subRoyaltyPrice = mobileShare.SubRoyalty_Price
|
||||||
totalShow.ticketFee = mobileShare.Ticket_Fee
|
totalShow.ticketFee = mobileShare.Ticket_Fee
|
||||||
}
|
}
|
||||||
|
// 获取移动支付分账数据
|
||||||
|
if (mallDeliver) {
|
||||||
|
totalShow.deliverBillCount = mallDeliver.DeliverBill_Count
|
||||||
|
totalShow.deliverPrice = mallDeliver.Deliver_Price
|
||||||
|
totalShow.deliverRate = mallDeliver.Deliver_Rate
|
||||||
|
}
|
||||||
// 片区车流量数据
|
// 片区车流量数据
|
||||||
bayonetCount.map(async (n, index) => {
|
bayonetCount.map(async (n, index) => {
|
||||||
bayonetPie = _this.getBayonetPie('Serverpart_Name', n, bayonetPie)
|
bayonetPie = _this.getBayonetPie('Serverpart_Name', n, bayonetPie)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user