Commit 5fd50fc4 authored by 沈良进's avatar 沈良进
parents f87b995a 55d441fe
...@@ -2327,8 +2327,8 @@ ...@@ -2327,8 +2327,8 @@
= <font>{{CtObj.C_TotalPrice}}</font> = <font>{{CtObj.C_TotalPrice}}</font>
</p> </p>
<p> <p>
含:景点第一道门票、<font>{{CtObj.C_IncludeRemark}}</font>午(晚)餐费、往返车费、 含:<font>{{CtObj.C_IncludeRemark}}</font>
导游服务费:<font>{{CtObj.C_IncludeFee}}</font> 费用:<font>{{CtObj.C_IncludeFee}}</font>
不含:<font>{{CtObj.C_NonIncludeRemark}}</font> 不含:<font>{{CtObj.C_NonIncludeRemark}}</font>
</p> </p>
<p>支付时间:<font>{{getDate(CtObj.C_PayDate)}}</font> <p>支付时间:<font>{{getDate(CtObj.C_PayDate)}}</font>
......
...@@ -1648,8 +1648,8 @@ ...@@ -1648,8 +1648,8 @@
= <font>{{CtObj.C_TotalPrice}}</font>元。 = <font>{{CtObj.C_TotalPrice}}</font>元。
</p> </p>
<p> <p>
含:景点第一道门票、<font>{{CtObj.C_IncludeRemark}}</font>午(晚)餐费、往返车费、 含:<font>{{CtObj.C_IncludeRemark}}</font>
导游服务费:<font>{{CtObj.C_IncludeFee}}</font> 费用:<font>{{CtObj.C_IncludeFee}}</font>
不含:<font>{{CtObj.C_NonIncludeRemark}}</font> 不含:<font>{{CtObj.C_NonIncludeRemark}}</font>
</p> </p>
<p>支付时间:<font>{{getDate(CtObj.C_PayDate)}}</font></p> <p>支付时间:<font>{{getDate(CtObj.C_PayDate)}}</font></p>
......
...@@ -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();
......
...@@ -726,10 +726,10 @@ ...@@ -726,10 +726,10 @@
</tr> </tr>
<tr> <tr>
<td> <td>
<el-form-item label="含:景点第一道门票、" style="display:inline-block;"> <el-form-item label="含:" style="display:inline-block;">
<el-input type="text" class="w150" v-model="CtObj.C_IncludeRemark"></el-input> <el-input type="text" class="w150" v-model="CtObj.C_IncludeRemark"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="午(晚)餐费、往返车费、导游服务费" label-width="250px" style="display:inline-block;"> <el-form-item label="费用" label-width="250px" style="display:inline-block;">
<el-input type="text" class="w150" @keyup.native="checkPrice(CtObj,'C_IncludeFee')" <el-input type="text" class="w150" @keyup.native="checkPrice(CtObj,'C_IncludeFee')"
v-model="CtObj.C_IncludeFee"></el-input> v-model="CtObj.C_IncludeFee"></el-input>
</el-form-item> </el-form-item>
......
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
addMsg.CustomerType == 2 || addMsg.CustomerType == 2 ||
addMsg.CustomerType == '' addMsg.CustomerType == ''
"> ">
<el-select v-model="addMsg.CustomerId" filterable :placeholder="$t('pub.pleaseSel')" @change="getSspt"> <el-select v-model="addMsg.CustomerId" filterable :placeholder="$t('pub.pleaseSel')" @change="changeCustomer">
<el-option v-for="item in customerList" :label="item.customerName + '-' + item.contact" <el-option v-for="item in customerList" :label="item.customerName + '-' + item.contact"
:value="item.customerId" :key="item.customerId"> :value="item.customerId" :key="item.customerId">
</el-option> </el-option>
...@@ -1573,8 +1573,7 @@ ...@@ -1573,8 +1573,7 @@
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.ScenicRefundList = res.data.data; this.ScenicRefundList = res.data.data;
this.ScenicRefundList.forEach((item) => { this.ScenicRefundList.forEach((item) => {
item["ScenicName"] = item["ScenicName"] = item.CouponsName + " -¥" + this.moneyFormat(item.RefundMoney);
item.CouponsName + " -¥" + this.moneyFormat(item.RefundMoney);
}); });
} }
}, },
...@@ -1592,7 +1591,7 @@ ...@@ -1592,7 +1591,7 @@
); );
}, },
//客户品牌 //客户品牌
getSspt() { changeCustomer() {
//给非直客 隐藏电话姓名赋值 //给非直客 隐藏电话姓名赋值
let obj = this.customerList.find( let obj = this.customerList.find(
(item) => item.customerId == this.addMsg.CustomerId (item) => item.customerId == this.addMsg.CustomerId
......
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