liujie
2 天以前 1d8d66a173926bf2e1df3d6a4ad882c198c23a05
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
94
95
96
97
98
@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <!-- 已选订单信息 -->
        <div class="panel panel-primary">
            <div class="panel-heading">
                <h4 class="panel-title">批量派单 - 已选订单信息</h4>
            </div>
            <div class="panel-body">
                <!-- 订单信息表格 -->
                <div class="table-responsive">
                    <table class="table table-striped table-bordered table-hover">
                        <thead>
                            <tr>
                                <th class="text-center">订单编号</th>
                                <th class="text-center">下单时间</th>
                                <th class="text-center">订单来源</th>
                                <th class="text-center">预约时间</th>
                                <th class="text-center">客户姓名</th>
                                <th class="text-center">客户手机</th>
                                <th class="text-center">取车地</th>
                                <th class="text-center">还车地</th>
                            </tr>
                        </thead>
                        <tbody>
                            @for(order in orderList){
                            <tr>
                                <td class="text-center">${order.code!}</td>
                                <td class="text-center">${order.createTimeFormat!}</td>
                                <td class="text-center">
                                    @if(order.source == 1){
                                        小程序
                                    @}else if(order.source == 2){
                                        管理后台
                                    @}else{
                                        未知
                                    @}
                                </td>
                                <td class="text-center">${order.reservationTimeFormat!}</td>
                                <td class="text-center">${order.userName!}</td>
                                <td class="text-center">${order.userPhone!}</td>
                                <td class="text-center">${order.startAddress!}</td>
                                <td class="text-center">${order.endAddress!}</td>
                            </tr>
                            @}
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
 
        <!-- 司机搜索条件 -->
        <div class="panel panel-info">
            <div class="panel-heading">
                <h4 class="panel-title">司机搜索</h4>
            </div>
            <div class="panel-body">
                <div class="row">
                    <div class="col-sm-3">
                        <#NameCon id="keyword" name="请输入司机姓名/手机号" />
                    </div>
                    <div class="col-sm-3">
                        <#button name="搜索" icon="fa-search" clickFun="TOrderCheckDispatchBatch.searchDriver()"/>
                        <#button name="重置" icon="fa-trash" clickFun="TOrderCheckDispatchBatch.resetDriverSearch()" space="true"/>
                    </div>
                </div>
            </div>
        </div>
 
        <!-- 司机列表 -->
        <div class="panel panel-default">
            <div class="panel-heading">
                <h4 class="panel-title">司机列表</h4>
            </div>
            <div class="panel-body">
                <!-- 司机列表表格 -->
                <#table id="DriverTable"/>
            </div>
        </div>
 
        <!-- 操作按钮 -->
        <div class="row">
            <div class="col-sm-12 text-center">
                <#button btnCss="primary" name="确认批量派单" id="confirmBatchDispatch" icon="fa-check" clickFun="TOrderCheckDispatchBatch.confirmBatchDispatch()"/>
                <#button btnCss="default" name="取消" id="cancel" icon="fa-times" clickFun="TOrderCheckDispatchBatch.close()"/>
            </div>
        </div>
    </div>
</div>
 
<script src="${ctxPath}/static/modular/system/tOrderCheck/tOrderCheck_dispatchBatch.js"></script>
<script type="text/javascript">
    // 页面加载完成后初始化
    $(function() {
        TOrderCheckDispatchBatch.init();
    });
</script>
@}