Commit 515e1a02 authored by youjie's avatar youjie

no message

parent 32ec0a3e
...@@ -214,72 +214,41 @@ ...@@ -214,72 +214,41 @@
</ul> </ul>
</div> </div>
<!-- 统计版块 --> <!-- 统计版块 -->
<div class="groupTourOrder_count" v-if="TotalMsg"> <div class="groupTourOrder_count">
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="5" class="groupTourOrder_count_col"> <template v-for="(item,index) in SummaryList">
<!-- groupTourOrder_count_col -->
<el-col :span="6" class="">
<div class="groupTourOrder_count_item HT_total"> <div class="groupTourOrder_count_item HT_total">
<div> <div>
<i class="iconfont icon-qian groupTourOrder_count_green"></i> <span>{{item.CurrencyName}}</span>
<span>{{$t('op.TotalMoney')}}</span>
</div> </div>
<p> <p>
<span class="groupTourOrder_count_green">{{$t('op.TotalMoney')}} <span class="groupTourOrder_count_green">应收
{{TotalMsg.Money.toFixed(2)}} {{item.Money.toFixed(2)}}
</span> </span>
<span class="groupTourOrder_count_green">{{$t('salesModule.TotalIncome')}} <span class="groupTourOrder_count_green">实收
{{(TotalMsg.Money-TotalMsg.PayMoney).toFixed(2)}} {{item.Income.toFixed(2)}}
</span> </span>
<span class="color_red_order">{{$t('op.Tocollected')}} <span class="color_red_order">退款
{{TotalMsg.DueinMoney.toFixed(2)}} {{item.Refund.toFixed(2)}}
</span> </span>
</p> <span class="color_red_order">手续费:
</div> {{item.PlatformTax.toFixed(2)}}
</el-col>
<el-col :span="5" class="groupTourOrder_count_col">
<div class="groupTourOrder_count_item HT_total">
<div>
<i class="iconfont icon-tongji1 groupTourOrder_count_blue"></i>
<span>{{$t('restaurant.res_Number')}}</span>
</div>
<p>
<span class="groupTourOrder_count_green">报名数:
{{TotalMsg.NorNumber}}
</span> </span>
<span class="color_red_order">取消数 <span class="color_red_order">成本
{{TotalMsg.CancelNum}} {{item.CostMoney.toFixed(2)}}
</span> </span>
</p> <span class="color_red_order">待收:
</div> {{item.DueInMoney.toFixed(2)}}
</el-col>
<!-- <el-col :span="5" class="groupTourOrder_count_col">
<div class="groupTourOrder_count_item HT_total">
<div>
<i class="iconfont icon-tongji1 groupTourOrder_count_gray"></i>
<span>{{$t('fnc.qtxtongji')}}</span>
</div>
<p>
<span class="groupTourOrder_count_green">{{$t('fnc.nbbaoming')}}
{{TotalMsg.totalERP}}
</span> </span>
<span class="color_red_order">{{$t('fnc.B2BWAP')}} <span class="color_red_order">报名数
{{TotalMsg.totalB2B}} {{item.GuestNum}}
</span> </span>
</p> </p>
</div> </div>
</el-col> -->
<el-col :span="5" class="groupTourOrder_count_col">
<div class="groupTourOrder_count_item HT_totalFinacel">
<div>
<i class="iconfont icon-tongji1 groupTourOrder_count_gray"></i>
<span>{{$t('fnc.cwdjshuoming')}}</span>
</div>
<p>
<p><span class="groupTourOrderByTuan_ico"><i style="background-color:#3FC4FF"></i><span>{{$t('fnc.yidadan')}}</span></span>
<span class="groupTourOrderByTuan_ico"><i style="background-color:#F1416C"></i><span>{{$t('fnc.yhcnyshenhe')}}</span></span>
<span class="groupTourOrderByTuan_ico"><i style="background-color:#ff9800"></i><span>{{$t('fnc.ytongguo')}}</span></span></p>
</p>
</div>
</el-col> </el-col>
</template>
</el-row> </el-row>
</div> </div>
...@@ -387,7 +356,8 @@ ...@@ -387,7 +356,8 @@
{ Name: "未出签", Id: "1" }, { Name: "未出签", Id: "1" },
{ Name: "已出签", Id: "2" }, { Name: "已出签", Id: "2" },
], ],
LineList: [] LineList: [],
SummaryList: [],
}; };
}, },
watch: { watch: {
...@@ -530,6 +500,7 @@ ...@@ -530,6 +500,7 @@
this.apipost(url, this.msg, this.apipost(url, this.msg,
res => { res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.getSummaryData()
let data = res.data.data.pageData let data = res.data.data.pageData
this.OrderList = data; this.OrderList = data;
this.total = res.data.data.count; this.total = res.data.data.count;
...@@ -542,6 +513,20 @@ ...@@ -542,6 +513,20 @@
err => {this.loading = false} err => {this.loading = false}
); );
}, },
getSummaryData(){
this.apipost(
"CarSingle_post_GetGuestOrderStatistics",
this.msg,
(res) => {
if (res.data.resultCode == 1) {
let data = res.data.data;
this.SummaryList = data
} else {
this.$message.error(res.data.message);
}
}
);
},
handleCurrentChange(val) { handleCurrentChange(val) {
this.msg.pageIndex = val; this.msg.pageIndex = val;
this.GetList(); this.GetList();
......
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