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
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CarManageAdd.aspx.cs" Inherits="CY.WebForm.Pages.workcar.CarManageAdd" %>
 
<!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 CheckCarNumber() {
            var IsCanSubmit = undefined;
            var Name = $.trim($("#txtCarNumber").val());
            if (Name != "") {
                $.ajax({
                    url: "/Pages/common/CommonAjax.aspx",
                    type: "POST",
                    dataType: "html",
                    data: { dateType: "carcheckname", name: Name, keyid: '<%=Request["keyid"] %>' },
                    global: false,
                    cache: false,
                    async: false,
                    success: function (data) {
                        if (data == "1") {
                            IsCanSubmit = false;
                        } else {
                            IsCanSubmit = true;
                        }
                    }
                });
                if (!IsCanSubmit) {
                    alertMsg("此车牌号已存在,如有相同,请注意区分添加");
                    return false;
                }
            }else{
                alertMsg("请填写车牌号");
                    return false;
            }
            return true;
        }
 
        $(function () {
            $("#txtCarNumber").blur(function () {
                CheckCarNumber();
            });
        });
    </script>
</head>
<body>
    <form id="form1" class="form2" runat="server">
    <div>
        <table class="tableStyle" style="margin: 10px auto;" cellpadding="0" cellspacing="0">
            <tr>
                <td class="ali03 w100px">
                    车辆类型:
                </td>
                <td>
                    <select id="selCarType" runat="server" keepdefaultstyle="true" style="width: 100px;">
                        <option value="1">专用车</option>
                        <option value="2">公用车</option>
                        <option value="3">私家车</option>
                    </select>
                </td>
                 <td class="ali03">
                    车牌号:
                </td>
                <td>
                    <input id="txtCarNumber" style="width: 100px;" type="text" runat="server" />
                </td>
                 <td class="ali03">
                    当前里程(KM):
                </td>
                <td>
                    <input id="txtNowMileage" style="width: 100px;" value="0" type="text" class="req int" min="0" runat="server" />
                </td>
            </tr>
           
            <tr style="display:none;">
                <td class="ali03 w100px">
                    车辆状况:
                </td>
                <td>
                    <select id="selCarCondition" runat="server" keepdefaultstyle="true" style="width: 100px;">
                    </select>
                </td>
                <td class="ali03">
                    排序:
                </td>
                <td>
                    <input id="txtOrderNum" style="width: 100px;" type="text" class="req int" value="0" runat="server" />
                </td>
                <td class="ali03 w100px">
                    
                </td>
                <td>
                    
                </td>
            </tr>
             <tr>
                <td class="ali03 w100px">
                     管理人:
                </td>
                <td>
                    <select id="selStaffID" runat="server" keepdefaultstyle="true" style="width: 100px;">
                    </select>
                </td>
                 <td class="ali03 w100px">
                    
                </td>
                <td>
                    
                </td>
                <td class="ali03 w100px">
                    
                </td>
                <td>
                    
                </td>
            </tr>
            <tr>
                <td class="ali03 w100px">
                     保险情况:
                </td>
                <td>
                   
                </td>
                 <td class="ali03 w100px">
                    
                </td>
                <td>
                    
                </td>
                <td class="ali03 w100px">
                    
                </td>
                <td>
                    
                </td>
            </tr>
            <tr>
                <td class="ali03 w100px">
                     保险到期时间:
                </td>
                <td>
                    <input id="txtInsuranceEndTime" type="text" class="date w90px" datefmt="yyyy-MM-dd" runat="server" />
                </td>
                 <td class="ali03 w100px">
                    保险公司:
                </td>
                <td colspan="3">
                      <input id="txtInsuranceCompany" type="text"   style="width: 360px;" runat="server" msg="请填写保险公司" />
                </td>
                
            </tr>
              <tr>
                <td class="ali03 w100px">
                     保险险种:
                </td>
                <td colspan="5">
                    <textarea id="txtInsuranceContent" runat="server" style="width: 370px; height: 50px;" class=""></textarea>
                </td>
                  
            </tr>
             <tr>
                <td class="ali03 w100px">
                     下次年检时间:
                </td>
                <td colspan="5">
                      <input id="txtExaminedNextTime" type="text" class="date w90px" datefmt="yyyy-MM-dd" runat="server" />
                </td>
                  
            </tr>
             <tr>
                <td class="ali03 w100px">
                     下次保养时间:
                </td>
                <td colspan="5">
                      <input id="txtMaintenanceNextTime" type="text" class="date w90px" datefmt="yyyy-MM-dd" runat="server" />
                </td>
                  
            </tr>
             <tr>
                <td class="ali03 w100px">
                     保险记录:
                </td>
                <td colspan="5">
                     
                </td>
                  
            </tr>
            <tr>
               
                <td colspan="6">
                       <asp:Repeater ID="RepClientList" runat="server">
                  <HeaderTemplate>
                    <table class="tableStyle">
                        
                </HeaderTemplate>
                <ItemTemplate>
                    <tr>
                        
                        
                        <td style="text-align: center;width:25%;">
                            <%#Eval("InsuranceTime", "{0:yyyy-MM-dd}")%>
                        </td>
                        
                        <td style="text-align: center;width:25%;">
                           <%#Eval("InsuranceCompany")%>
                        </td>
                        <%--  <td style="text-align: center;width:25%;">
                           <%#Eval("InsuranceMoney","{0:F2}")%>元
                        </td>--%>
                        
                        <td style="text-align: center;width:25%;">
                           <%#Eval("InsuranceContent")%>
                        </td>
                        
                    </tr>
                </ItemTemplate>
                <FooterTemplate>
                    </table>
                </FooterTemplate>
            </asp:Repeater>
                </td>
                  
            </tr>
 
                  <tr>
                <td class="ali03 w100px">
                     保养记录:
                </td>
                <td colspan="5">
                     
                </td>
                  
            </tr>
            <tr>
               
                <td colspan="6">
                       <asp:Repeater ID="RepClientList3" runat="server">
                <HeaderTemplate>
                    <table class="tableStyle">
                         
                </HeaderTemplate>
                <ItemTemplate>
                    <tr>
                        
                        
                        <td style="text-align: center;width:25%;">
                            <%#Eval("MaintenanceTime", "{0:yyyy-MM-dd}")%>
                        </td>
                        
                        <td style="text-align: center;width:25%;">
                           <%#Eval("MaintenancePerson")%>
                        </td>
                          <td style="text-align: center;width:25%;">
                           <%#Eval("MaintenanceMoney","{0:F2}")%>元
                        </td>
                        <td style="text-align: center;width:25%;">
                           <%#Eval("MaintenanceRecord")%>
                        </td>
                        
                    </tr>
                </ItemTemplate>
                <FooterTemplate>
                    </table>
                </FooterTemplate>
            </asp:Repeater>
                </td>
                  
            </tr>
             <tr>
                <td class="ali03 w100px">
                     年检记录:
                </td>
                <td colspan="5">
                     
                </td>
                  
            </tr>
            <tr>
               
                <td colspan="6">
                       <asp:Repeater ID="RepClientList2" runat="server">
                <HeaderTemplate>
                    <table class="tableStyle">
                        
                </HeaderTemplate>
                <ItemTemplate>
                    <tr>
                        
                        
                        <td style="text-align: center;width:25%;">
                            <%#Eval("ExaminedTime", "{0:yyyy-MM-dd}")%>
                        </td>
                        
                        <td style="text-align: center;width:25%;">
                           <%#Eval("ExaminedPeople")%>
                        </td>
                          <td style="text-align: center;width:25%;">
                           <%#Eval("ExaminedMoney","{0:F2}")%>元
                        </td>
                       <%-- <td style="text-align: center;width:25%;">
                           <%#Eval("ExaminedRecore")%>
                        </td>--%>
                        
                    </tr>
                </ItemTemplate>
                <FooterTemplate>
                    </table>
                </FooterTemplate>
            </asp:Repeater>
                </td>
                  
            </tr>
 
            <tr>
                <td class="ali03 w100px">
                     维修记录:
                </td>
                <td colspan="5">
                     
                </td>
                  
            </tr>
            <tr>
               
                <td colspan="6">
                       <asp:Repeater ID="RepClientList1" runat="server">
                <HeaderTemplate>
                    <table class="tableStyle">
                         
                </HeaderTemplate>
                <ItemTemplate>
                    <tr>
                        
                        
                        <td style="text-align: center;width:25%;">
                            <%#Eval("repairTime", "{0:yyyy-MM-dd}")%>
                        </td>
                        
                        <td style="text-align: center;width:25%;">
                           <%#Eval("repairPerson")%>
                        </td>
                          <td style="text-align: center;width:25%;">
                           <%#Eval("repairMoney","{0:F2}")%>元
                        </td>
                        <td style="text-align: center;width:25%;">
                           <%#Eval("repairRecord")%>
                        </td>
                        
                    </tr>
                </ItemTemplate>
                <FooterTemplate>
                    </table>
                </FooterTemplate>
            </asp:Repeater>
                </td>
                  
            </tr>
            <tr>
                <td colspan="6" style="text-align: center;">
                    <asp:Button ID="btn_submit" runat="server" OnClick="btn_submit_form" OnClientClick="if(CheckCarNumber())return true;else return false; " Text="提交" />
                </td>
            </tr>
        </table>
    </div>
         
          
           
        
    </form>
</body>
</html>