Commit 48b78011 authored by Mac's avatar Mac

损益

parent 0ca23fe8
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
<div class="ProfitLoss_xbox" style="margin-left:60px"> <div class="ProfitLoss_xbox" style="margin-left:60px">
<div><span class='Subtotal_t'>已返佣金额:</span>{{OrderProfitLoss.TotalRemitFXCommission }}</div> <div><span class='Subtotal_t'>已返佣金额:</span>{{OrderProfitLoss.TotalRemitFXCommission }}</div>
<div><span class='Subtotal_t'>已付成本:</span>{{OrderProfitLoss.TotalPaidCostMoney }}</div> <div><span class='Subtotal_t'>已付成本:</span>{{OrderProfitLoss.TotalPaidCostMoney }}</div>
</div> </div>
</div> </div>
</div> </div>
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
</el-table-column> </el-table-column>
<el-table-column label="营业成本" align="center"> <el-table-column label="营业成本" align="center">
<el-table-column label="采购成本" prop="CostMoney"></el-table-column> <el-table-column label="采购成本" prop="CostMoney"></el-table-column>
<el-table-column label="快递费" prop="CostFreight" ></el-table-column> <el-table-column label="快递费" prop="CostFreight" ></el-table-column>
<el-table-column label="已付成本" prop="PaidCostMoney" ></el-table-column> <el-table-column label="已付成本" prop="PaidCostMoney" ></el-table-column>
<el-table-column label="总返佣" prop="FXCommission" > <el-table-column label="总返佣" prop="FXCommission" >
...@@ -133,12 +133,35 @@ ...@@ -133,12 +133,35 @@
<el-pagination style="text-align:right" background @current-change="handleCurrentChange" :page-size="msg.pageSize" <el-pagination style="text-align:right" background @current-change="handleCurrentChange" :page-size="msg.pageSize"
layout="prev, pager, next" :total="count"> layout="prev, pager, next" :total="count">
</el-pagination> </el-pagination>
<el-dialog title="查看返佣" :visible.sync="czjfDig" width="500px"> <el-dialog title="查看返佣" :visible.sync="czjfDig" width="800px">
<div class="diaBox" style=""> <div class="diaBox" style="">
<div class="diaBox" style='margin-top:15px' v-for="(item,index) in CommissionList" :key="index"> <div>
<div>{{item.GradeDescription}}{{' '}}¥{{item.Commission}}</div> <span>直播总人数:{{itemData.LivePeopleNum}}人</span>
<div>昵称:{{item.UserName}}</div> <span style="margin-left: 30px" v-if="itemData.LiveCommission>0">直播总佣金:{{itemData.LiveCommission}}元</span>
<div>姓名:{{item.Name}}</div> </div>
<div class="diaBox" style='margin-top:15px' >
<el-table
border
:data="CommissionList"
style="width: 700px">
<el-table-column prop="Commission" label="返佣类型" >
<template slot-scope="scope">
<span v-if="scope.row.CommissionType==1">订单返佣:{{scope.row.Commission}}</span>
<span v-if="scope.row.CommissionType==2">供应商返佣:{{scope.row.Commission}}</span>
<span v-if="scope.row.CommissionType==3">微店返佣:{{scope.row.Commission}}</span>
<span v-if="scope.row.CommissionType==4">vip购买返佣:{{scope.row.Commission}}</span>
</template>
</el-table-column>
<el-table-column
prop="UserName"
label="昵称"
width="180">
</el-table-column>
<el-table-column
prop="Name"
label="名称">
</el-table-column>
</el-table>
</div> </div>
</div> </div>
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
...@@ -176,6 +199,7 @@ ...@@ -176,6 +199,7 @@
GoodsIDs: '', //商品id GoodsIDs: '', //商品id
OneUserId: '', //代理 OneUserId: '', //代理
OrderProfitLoss: {}, //小计 OrderProfitLoss: {}, //小计
itemData:{},
} }
}, },
created() { created() {
...@@ -210,7 +234,7 @@ ...@@ -210,7 +234,7 @@
}); });
}, },
showFXCommission(row){ showFXCommission(row){
this.itemData = row
this.mallapipost("/api/LiveHouse/GetOrderCommissionList", { TenantId :1,MallBaseId:1,OrderDetailId:row.Id}, res => { this.mallapipost("/api/LiveHouse/GetOrderCommissionList", { TenantId :1,MallBaseId:1,OrderDetailId:row.Id}, res => {
this.loading = false; this.loading = false;
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
...@@ -373,7 +397,7 @@ ...@@ -373,7 +397,7 @@
border-spacing: 0; border-spacing: 0;
width: 250px; width: 250px;
margin-right: 20px; margin-right: 20px;
} }
.fxOrderProfitLossList .content { .fxOrderProfitLossList .content {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment