username@email.com
2025-05-12 ae6e40362a745caef9ead36f81f38313fb8c2c66
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CarTransferPrint.aspx.cs" Inherits="CY.WebForm.Pages.workcar.CarTransferPrint" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>车辆交接记录</title>
    <uc:CMSHead ID="CMSHead1" runat="server" />
    <script type="text/javascript">
        //批量打印
        function printTable() {
            var deleteKeyIds = "";
            $(":checkbox").each(
                function () {
                    if ($(this).is(":checked")) {
                        deleteKeyIds += $(this).val() + ",";
                    }
                }
            )
            if (deleteKeyIds == "") {
                top.Dialog.alert("请选择要打印的记录", function () {
                });
                return;
            }
            else {
                deleteKeyIds = deleteKeyIds.substring(0, deleteKeyIds.length - 1);
                OpenSmallWindowByUrlUseSize("/Pages/workcar/CarTransferPrintTable.aspx?keyids=" + deleteKeyIds, 1120, 600);
            }
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div id="scrollContent">
        <div class="box1" paneltitle="功能面板" roller="false">
            <table class="TableNewStyle" width="100%">
                <tr>
                    <td class="ali03">
                        用车时间:
                    </td>
                    <td style="width: 215px">
                        <input id="txtBeginViolationTime" type="text" class="date w90px" datefmt="yyyy-MM-dd" runat="server" />-<input id="txtEndViolationTime" type="text" class="date w90px" datefmt="yyyy-MM-dd" runat="server" />
                    </td>
                    <td class="ali03">
                        车辆牌照:
                    </td>
                    <td>
                        <select keepdefaultstyle="true" runat="server" id="selCarId">
                        </select>
                    </td>
                    <td class="ali03">
                        车辆用途:
                    </td>
                    <td>
                        <select keepdefaultstyle="true" runat="server" id="selTransferUseCarReconed">
                        </select>
                    </td>
                    <td class="ali03">
                        驾驶员:
                    </td>
                    <td>
                        <input id="txtTransferPilot" type="text" class="w90px" runat="server" />
                    </td>
                </tr>
                <tr>
                    <td class="ali03">
                        部门:
                    </td>
                    <td>
                        <asp:DropDownList runat="server" ID="selTransferDepart" AutoPostBack="true" keepDefaultStyle="true" OnSelectedIndexChanged="selDepartmentId_SelectedIndexChanged" Style="width: 100px;">
                        </asp:DropDownList>
                    </td>
                    <td class="ali03">
                        用车人:
                    </td>
                    <td>
                        <select keepdefaultstyle="true" runat="server" id="selTransferUserCarPeople">
                            <option value="">全部</option>
                        </select>
                    </td>
                    <td class="ali03">
                        是否还车:
                    </td>
                    <td>
                        <select keepdefaultstyle="true" runat="server" id="selTransferIsBack">
                            <option value="">全部</option>
                            <option value="1">未归还</option>
                            <option value="2">已归还</option>
                        </select>
                    </td>
                    <td>
                    </td>
                    <td>
                        <asp:Button ID="btn_Submit" Text="查询" runat="server" OnClick="btn_Search_Click" />
                    </td>
                </tr>
            </table>
        </div>
        <div class="box_tool_min ">
            <div class="center">
                <div class="left">
                    <div class="right">
                        <div class="padding_top5 padding_left10">
                            <a href="javascript:;" onclick="printTable()" menu_member_case_id="case_PrintList" menu_member_case_name="打印列表"><span class="icon_add">打印列表</span></a>
                            <div class="clear">
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="clear">
            </div>
        </div>
        <div>
            <asp:Repeater ID="RepClientList" runat="server">
                <HeaderTemplate>
                    <table class="tableStyle">
                        <tr>
                            <th width="25">
                            </th>
                            <th style="text-align: center; width: 30px;">
                                编号
                            </th>
                            <th style="text-align: center">
                                发车时间
                            </th>
                            <th style="text-align: center">
                                还车时间
                            </th>
                            <th style="text-align: center">
                                车辆牌照
                            </th>
                            <th style="text-align: center">
                                发车人
                            </th>
                            <th style="text-align: center">
                                用车人
                            </th>
                              <th style="text-align: center">
                                用车事由
                            </th>
                            <th style="text-align: center">
                                驾驶员
                            </th>
                             <th style="text-align: center">
                                行驶里程
                            </th>
                            <th style="text-align: center">
                                行驶时间
                            </th>
                            <th style="text-align: center">
                                是否还车
                            </th>
                        </tr>
                </HeaderTemplate>
                <ItemTemplate>
                    <tr>
                        <td>
                            <input type="checkbox" value='<%#Eval("Keyid")%>' />
                        </td>
                        <td style="text-align: center">
                            <%#Container.ItemIndex + 1%>
                        </td>
                        <td style="text-align: center">
                            <%#Eval("TransferDepartureTime", "{0:yyyy-MM-dd HH:mm}")%>
                        </td>
                        <td style="text-align: center">
                            <%#Eval("TransferIsBack").ToString() == "1" ? "未归还" : Eval("TransferBackTime", "{0:yyyy-MM-dd HH:mm}")%>
                        </td>
                        <td style="text-align: center">
                            <%#Eval("CarNumber")%>
                        </td>
                        <td style="text-align: center">
                            <%#Eval("TransferDeparturePeople")%>
                        </td>
                        <td style="text-align: center">
                            <%#Eval("TransferUserCarPeople")%>
                        </td>
                        <td style="text-align: center">
                            <%#Eval("TransferUseCarReconed")%>
                        </td>
                        <td style="text-align: center">
                            <%#Eval("TransferPilot")%>
                        </td>
                        <td style="text-align: center">
                            <%#Eval("TransferRunFinalli")%> KM
                        </td>
                        <td style="text-align: center">
                            <%#Eval("TransferRunTime")%>
                        </td>
                        <td style="text-align: center">
                            <%#Eval("TransferIsBack").ToString()=="1"?"未归还":"已归还"%>
                        </td>
                    </tr>
                </ItemTemplate>
                <FooterTemplate>
                    </table>
                </FooterTemplate>
            </asp:Repeater>
        </div>
    </div>
    </form>
</body>
</html>