liujie
8 天以前 8672ae043d0c655fdfa86aff218b47d0ea52ac3d
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
@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal" id="openCityForm">
            <div class="row">
                <input type="hidden" id="id" name="id" value="${item.id}">
                <div class="col-sm-10">
                    <#select id="areaCode" name="省:" onchange="TOpenCityInfoDlg.provinceChange()">
                        <option value="">选择省</option>
                        @if(null != provinceList){
                            @for(province in provinceList){
                            <option value="${province.id}" ${province.code == item.areaCode ? 'selected' : ''}>${province.name}</option>
                            @}
                        @}
                    </#select>
                    <#select id="cityCode" name="市:" onchange="TOpenCityInfoDlg.cityChange()">
                        <option value="">选择市</option>
                        @if(null != cityList){
                            @for(city in cityList){
                            <option value="${city.id}" ${city.code == item.cityCode ? 'selected' : ''}>${city.name}</option>
                            @}
                        @}
                    </#select>
                    <#select id="provinceCode" name="区:">
                        <option value="">选择区</option>
                        @if(null != areaList){
                            @for(area in areaList){
                            <option value="${area.id}" ${area.code == item.provinceCode ? 'selected' : ''}>${area.name}</option>
                            @}
                        @}
                    </#select>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">专车计价规则设置</label>
                        <div class="col-sm-9">
                            <div style="height: 200px; border: 1px solid #e5e6e7;overflow-y: auto;">
                                <table class="table table-striped table-bordered table-hover table-condensed">
                                    <thead>
                                    <tr>
                                        <th style="width: 300px;">车型名称</th>
                                        <th style="width: 300px;">价格设置</th>
                                        <th style="width: 100px;">操作</th>
                                    </tr>
                                    </thead>
                                    <tbody id="coun">
                                    @for(obj in serverCarModelList){
                                    <tr class="timeClass">
                                        <td><input type="hidden" name="id" value='${obj.id}' /><input type="hidden" id="${obj.id}" name="price" value='${obj.object}' />${obj.name}</td>
                                        <td><span id="zc_status_${obj.id}">${null == obj.object ? '未设置' : '已设置'}</span></td>
                                        <td><a onclick="TOpenCityInfoDlg.openAddTZCPrice(${obj.id})" id="zc_set_${obj.id}" style="color:blue;">${null == obj.object ? '设置价格' : '修改'}</a></td></td>
                                    </tr>
                                    @}
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">出租车价格设置</label>
                        <div class="col-sm-9" style="padding-top: 7px;">
                            <input type="hidden" id="zc_price" value='${zcPrice}'>
                            <span id="czc_status">${null == zcPrice ? '未设置价格' : '已设置'}</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            <a href="#" id="czc_set" onclick="TOpenCityInfoDlg.openAddTextPrice()" style="color: blue;">${null == zcPrice ? '价格设置' : '修改'}</a>
                        </div>
                    </div>
                </div>
            </div>
            
            <div class="row btn-group-m-t">
                <div class="col-sm-10 col-sm-offset-5">
                    <#button btnCss="info" name="保存" id="ensure" icon="fa-check" clickFun="TOpenCityInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="TOpenCityInfoDlg.close()"/>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/system/tSystemPrice/systemPriceCity_info.js"></script>
@}