|
@@ -9,8 +9,15 @@
|
|
<link href="../css/all.css" rel="stylesheet" type="text/css" />
|
|
<link href="../css/all.css" rel="stylesheet" type="text/css" />
|
|
<link href="../css/stroke.css" rel="stylesheet" type="text/css" />
|
|
<link href="../css/stroke.css" rel="stylesheet" type="text/css" />
|
|
<link href="../css/pagination.css" rel="stylesheet" type="text/css" />
|
|
<link href="../css/pagination.css" rel="stylesheet" type="text/css" />
|
|
|
|
+ <link href="../js/layui/css/layui.css" rel="stylesheet" />
|
|
|
|
+ <link href="../dateTime/jquery.datetimepicker.css" rel="stylesheet" />
|
|
|
|
+ <script language="javascript" type="text/javascript" src="../My97DatePicker/WdatePicker.js"></script>
|
|
|
|
+ <script src="../css/dist/js/lib/jquery-2.2.1.js"></script>
|
|
|
|
+ <script src="../dateTime/jquery.datetimepicker.full.js"></script>
|
|
|
|
+ <script src="../js/layui/layui.js"></script>
|
|
|
|
+
|
|
</head>
|
|
</head>
|
|
-<body style="height: 3000px; width: 65%; margin: auto">
|
|
|
|
|
|
+<body style="height: 5000px; width: 65%; margin: auto">
|
|
<form id="form1" runat="server">
|
|
<form id="form1" runat="server">
|
|
<div style="width: 100%;">
|
|
<div style="width: 100%;">
|
|
|
|
|
|
@@ -26,7 +33,7 @@
|
|
||
|
|
||
|
|
<asp:Button ID="btnCreate" runat="server" Text="导入机票信息" CssClass="btn" Style="width: 85px;"
|
|
<asp:Button ID="btnCreate" runat="server" Text="导入机票信息" CssClass="btn" Style="width: 85px;"
|
|
OnClick="btnCreate_Click" />
|
|
OnClick="btnCreate_Click" />
|
|
- <%-- <asp:Button ID="btnSaveData" runat="server" Text="保存行程" CssClass="btn" Style="width: 65px;"
|
|
|
|
|
|
+ <%-- <asp:Button ID="btnSaveData" runat="server" Text="保存行程" CssClass="btn" Style="width: 65px;"
|
|
OnClick="btnSaveData_Click" />--%>
|
|
OnClick="btnSaveData_Click" />--%>
|
|
||
|
|
||
|
|
<%--<asp:Button ID="btnImportTran" runat="server" Text="导出word(EN)" CssClass="btn" Style="width: 85px;"
|
|
<%--<asp:Button ID="btnImportTran" runat="server" Text="导出word(EN)" CssClass="btn" Style="width: 85px;"
|
|
@@ -40,15 +47,22 @@
|
|
</table>
|
|
</table>
|
|
|
|
|
|
<div style="text-align: center;">
|
|
<div style="text-align: center;">
|
|
|
|
+
|
|
|
|
+
|
|
<span style="font-family: 'Microsoft YaHei'; font-size: 16px; width: auto; text-align: center;">出访行程</span>
|
|
<span style="font-family: 'Microsoft YaHei'; font-size: 16px; width: auto; text-align: center;">出访行程</span>
|
|
|
|
+ <div style="text-align: left">
|
|
|
|
+ 自行选择开始时间:<asp:TextBox ID="txtVisitDate" runat="server" Width="120"
|
|
|
|
+ Style="border: 1px solid #b3b3b3;" OnTextChanged="txtVisitDate_TextChanged" AutoPostBack="true" />
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <table cellpadding="2" cellspacing="2" border="1" style="width: 100%">
|
|
|
|
|
|
+ <table cellpadding="2" cellspacing="2" border="1" style="width: 100%" id="table1">
|
|
<asp:Repeater ID="rpData" runat="server" OnItemDataBound="rpData_ItemDataBound">
|
|
<asp:Repeater ID="rpData" runat="server" OnItemDataBound="rpData_ItemDataBound">
|
|
<ItemTemplate>
|
|
<ItemTemplate>
|
|
<tr>
|
|
<tr>
|
|
<td style="width: 100%; text-align: left" colspan="2">
|
|
<td style="width: 100%; text-align: left" colspan="2">
|
|
<asp:HiddenField ID="hdid" runat="server" Value='<%#Eval("Id")%>' />
|
|
<asp:HiddenField ID="hdid" runat="server" Value='<%#Eval("Id")%>' />
|
|
|
|
+
|
|
<asp:TextBox runat="server" ID="txtDate" Text='<%#Eval("Date")%>'
|
|
<asp:TextBox runat="server" ID="txtDate" Text='<%#Eval("Date")%>'
|
|
Style="font-family: 'Microsoft YaHei'; width: 20%; text-align: center" />
|
|
Style="font-family: 'Microsoft YaHei'; width: 20%; text-align: center" />
|
|
</td>
|
|
</td>
|
|
@@ -59,7 +73,9 @@
|
|
<tr>
|
|
<tr>
|
|
<td style="width: 22%">
|
|
<td style="width: 22%">
|
|
<asp:TextBox runat="server" ID="txtTime" Text='<%#Eval("Time")%>'
|
|
<asp:TextBox runat="server" ID="txtTime" Text='<%#Eval("Time")%>'
|
|
- Style="font-family: 'Microsoft YaHei'; width: 80%; height: 50px; margin-top: 1%" TextMode="MultiLine" />
|
|
|
|
|
|
+ Style="font-family: 'Microsoft YaHei';width:100px" /> ——
|
|
|
|
+ <asp:TextBox runat="server" ID="txtTime1" Text='<%#Eval("Time")%>'
|
|
|
|
+ Style="font-family: 'Microsoft YaHei';width:100px" />
|
|
</td>
|
|
</td>
|
|
<td style="width: 78%; text-align: start">
|
|
<td style="width: 78%; text-align: start">
|
|
<asp:TextBox runat="server" ID="txtDetail" Text='<%#Eval("Details")%>'
|
|
<asp:TextBox runat="server" ID="txtDetail" Text='<%#Eval("Details")%>'
|
|
@@ -73,5 +89,44 @@
|
|
</table>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</form>
|
|
|
|
+ <script>
|
|
|
|
+ $(function () {
|
|
|
|
+
|
|
|
|
+ var s = $("#table1 tr").length;
|
|
|
|
+ for (var i = 0; i < (s / 6); i++) {
|
|
|
|
+ var num = i;
|
|
|
|
+ for (var j = 0; j < 5; j++) {
|
|
|
|
+ $('#rpData_ctl0' + i + '_ChildrpData_ctl0' + j + '_txtTime').datetimepicker({
|
|
|
|
+ datepicker: false,
|
|
|
|
+ format: 'H:i',
|
|
|
|
+ step: 5
|
|
|
|
+ })
|
|
|
|
+ $('#rpData_ctl0' + i + '_ChildrpData_ctl0' + j + '_txtTime1').datetimepicker({
|
|
|
|
+ datepicker: false,
|
|
|
|
+ format: 'H:i',
|
|
|
|
+ step: 5
|
|
|
|
+ })
|
|
|
|
+ };
|
|
|
|
+ }
|
|
|
|
+ layui.use('laydate', function () {
|
|
|
|
+ var laydate = layui.laydate;
|
|
|
|
+
|
|
|
|
+ //执行一个laydate实例
|
|
|
|
+ laydate.render({
|
|
|
|
+ elem: '#txtVisitDate', //指定元素
|
|
|
|
+ done: function (value, date) {
|
|
|
|
+ //value, date, endDate点击日期、清空、现在、确定均会触发。回调返回三个参数,分别代表:生成的值、日期时间对象、结束的日期时间对象
|
|
|
|
+ console.log(value);
|
|
|
|
+ console.log(date);
|
|
|
|
+ //调用定义好的方法
|
|
|
|
+ setTimeout('__doPostBack(\'txtVisitDate\',\'\')', 0)
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+ });
|
|
|
|
+
|
|
|
|
+ })
|
|
|
|
+
|
|
|
|
+ </script>
|
|
</body>
|
|
</body>
|
|
</html>
|
|
</html>
|