Pu Zhibing
2025-06-09 bfa0b11dfbfe5b71e11f4544e688e4d9f325d1b5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal">
            <div class="row" style="margin-top: 30px;">
                <div class="col-sm-4">
                    <h2 class="h3Class" style="font-weight: 700;">订单详情</h2>
                </div>
            </div>
            <div class="row">
                <div class="col-sm-6 b-r">
                    <#label id="insertTimeStr" name="下单时间" value="${item.insertTimeStr}"/>
                    <#label id="orderSourceStr" name="订单来源" value="${item.orderSourceStr}"/>
                    <#label id="userName" name="下单用户姓名" value="${item.userName}"/>
                    <#label id="recipient" name="收货人姓名" value="${item.recipient}"/>
                    <#label id="startAddress" name="起点" value="${item.startAddress}"/>
                    <#label id="driver" name="接单司机" value="${item.driver}"/>
                    <#label id="companyName" name="订单所属机构" value="${item.companyName}"/>
                </div>
 
                <div class="col-sm-6">
                    <#label id="typeStr" name="订单类型" value="${item.typeStr}"/>
                    <#label id="orderNum" name="订单编号" value="${item.orderNum}"/>
                    <#label id="travelTimeStr" name="乘车时间" value="${item.travelTimeStr}"/>
                    <#label id="userPhone" name="下单用户手机号" value="${item.userPhone}"/>
                    <#label id="passengersPhone" name="收货人手机号" value="${item.recipientPhone}"/>
                    <#label id="endAddress" name="终点" value="${item.endAddress}"/>
                    <#label id="car" name="接单车辆" value="${item.car}"/>
                </div>
            </div>
            <div class="row" style="margin-top: 30px;">
                <div class="col-sm-4">
                    <h2 class="h3Class" style="font-weight: 700;">费用明细</h2>
                </div>
            </div>
            <div class="row">
                @if(isNotEmpty(item.orderMoney) && item.orderMoney > 0){
                <div class="col-sm-6 b-r">
                    <#label id="orderMoney" name="订单总价" value="${item.orderMoney}GHS"/>
                    <#label id="abnormalMoney" name="异常金额" value="${item.abnormalMoney}GHS"/>
                    <#label id="travelMoney" name="起步价" value="${item.startMoney}GHS------起步里程(${item.startMileage})公里"/>
                    <#label id="travelMoney" name="里程费" value="${item.mileageMoney}GHS------里程公里(${item.mileageKilometers})公里"/>
                    <#label id="durationMoney" name="时长费" value="${item.durationMoney}GHS------时长分钟(${item.duration})分钟"/>
                    <#label id="waitMoney" name="等待费" value="${item.waitMoney}GHS------等待分钟(${item.wait})分钟"/>
                    <#label id="parkMoney" name="停车费" value="${item.parkMoney}GHS"/>
                    <#label id="roadTollMoney" name="过路费" value="${item.roadTollMoney}GHS"/>
                    <#label id="longDistanceMoney" name="远途费" value="${item.longDistanceMoney}GHS------远途(${item.longDistance})公里"/>
                    <#label id="tipMoney" name="首单免费" value="${item.freeMoney1}GHS"/>
                    @if(isNotEmpty(item.payMoney)){
                    <#label id="payMoney" name="实际支付费用" value="${item.payMoney}GHS"/>
                    @}else{
                    <#label id="payMoney" name="实际支付费用" value="0.00GHS"/>
                    @}
    
                    <#label id="payTypeStr" name="支付方式" value="${item.payTypeStr}"/>
                    <#label id="couponMoney" name="优惠券抵扣费用" value="${item.couponMoney}GHS"/>
                    <#label id="redPacketMoney" name="红包抵扣金额" value="${item.redPacketMoney}GHS"/>
                    <#label id="discountMoney" name="折扣优惠金额" value="${item.discountMoney}GHS------折扣(${item.discount}折)"/>
                </div>
                <div class="col-sm-6">
                    @if(item.payType != 4){
                    <#label id="platIncome" name="平台收益" value="${item.platIncome}GHS"/>
                    <#label id="companyIncome" name="分公司收益" value="${item.companyIncome}GHS"/>
                    <#label id="franchiseeIncome" name="加盟商收益" value="${item.franchiseeIncome}GHS"/>
                    <#label id="driverIncome" name="司机收益" value="${item.driverIncome}GHS"/>
                    @}else{
                    <#label id="platIncome" name="平台收益" value="${item.companyType == 1 ? item.settlementPrice : 0}GHS"/>
                    <#label id="companyIncome" name="分公司收益" value="${item.companyType == 2 ? item.settlementPrice : 0}GHS"/>
                    <#label id="franchiseeIncome" name="加盟商收益" value="${item.companyType == 3 ? item.settlementPrice : 0}GHS"/>
                    <#label id="driverIncome" name="司机收益" value="${item.driverIncome + (item.payMoney - item.settlementPrice)}GHS"/>
                    @}
                </div>
                @}else if(isNotEmpty(item.cancelMoney) && item.cancelMoney > 0){
                <div class="col-sm-6">
                    <#label id="cancelPayTypeStr" name="支付方式" value="${item.cancelPayTypeStr}"/>
                    <#label id="cancelMoney" name="取消金额" value="${item.cancelMoney}GHS"/>
                </div>
                <div class="col-sm-6">
                    <#label id="platIncome" name="平台收益" value="${item.platIncome}GHS"/>
                    <#label id="companyIncome" name="分公司收益" value="${item.companyIncome}GHS"/>
                    <#label id="franchiseeIncome" name="加盟商收益" value="${item.franchiseeIncome}GHS"/>
                    <#label id="driverIncome" name="司机收益" value="${item.driverIncome}GHS"/>
                </div>
                @}else{
                <h4 style="margin-left: 10%">暂无费用明细</h4>
                @}
            </div>
 
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/system/tOrderLogistics/tOrderLogistics_info.js"></script>
@}