ReserveCompensateLogList_PF.cshtml 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508
  1. 
  2. @{
  3. Layout = null;
  4. }
  5. <!DOCTYPE html>
  6. <html>
  7. <head>
  8. <meta name="viewport" content="width=device-width" />
  9. <title>ReserveCompensateLogList_PF</title>
  10. <link href="~/easyui/themes/default/easyui.css" rel="stylesheet" />
  11. <link rel="stylesheet" type="text/css" href="~/easyui/themes/icon.css" />
  12. <link href="~/Content/css/bootstrap.min.css" rel="stylesheet" />
  13. <link href="~/Content/js/plugins/layer/skin/layer.css" rel="stylesheet" />
  14. <script src="~/Content/js/jquery.min.js"></script>
  15. <script src="~/Content/js/bootstrap.min.js"></script>
  16. <script src="~/easyui/jquery.easyui.min.js"></script>
  17. <script src="~/easyui/jquery.easyui.mobile.js"></script>
  18. <script src="~/easyui/locale/easyui-lang-zh_CN.js"></script>
  19. <script src="~/Content/js/plugins/layer/laydate/laydate.js"></script>
  20. <script src="~/Content/js/plugins/layer/layer.min.js"></script>
  21. <script src="~/js/Utils.js"></script>
  22. <link href="~/Content/css/Style/Markets.css" rel="stylesheet" />
  23. <script src="~/Content/js/js/MarketJs.js"></script>
  24. </head>
  25. <body >
  26. <section class="hidden">
  27. <input id="hid_Type" name="hid_Type" type="hidden" value="0"/>
  28. <input id="hidSetSearch_Type" name="hidSetSearch_Type" type="hidden" value="0"/>
  29. </section>
  30. <section style="height: 95vh; padding: 10px 20px;">
  31. <div class="row tbToolBar" id="tbToolBar">
  32. <div class="toolbar" id="CurdTool"><a href="#" class="easyui-linkbutton" iconCls="icon-application_view_detail" plain="true" onclick="btn_Detail();">查看详情</a>
  33. <span class="shuxian"></span>
  34. <a href="#" class="easyui-linkbutton" iconCls="icon-add" plain="true" onclick="btn_Add()">添加</a>
  35. @*<span class="shuxian"></span>
  36. <a href="#" class="easyui-linkbutton" iconCls="icon-edit" plain="true" onclick="btn_Edit()">修改</a>
  37. <span class="shuxian"></span>
  38. <a href="#" class="easyui-linkbutton" iconCls="icon-remove" plain="true" onclick="btn_Del()">删除</a>*@
  39. </div>
  40. <div class="toolbar-search">
  41. <span>【请选择查询条件】</span>
  42. <input class="easyui-searchbox" data-options="prompt:'请输入查询条件...',menu:'#search',searcher:LoadTable" style="width: 300px; height: 25px;"/>
  43. <div id="search">
  44. <div data-options="name:'MarketSellerName'">经营户名</div>
  45. <div data-options="name:'Consumer'">消费者</div>
  46. <div data-options="name:'Executor'">执行人</div>
  47. </div>
  48. </div>
  49. </div>
  50. <table id="dgTable" class="easyui-datagrid" style="height: 100%;"
  51. data-options="singleSelect: true,
  52. method: 'post',
  53. multiSort: false,
  54. toolbar: '#tbToolBar',
  55. fitColumns: true,
  56. @*rownumbers: true,*@
  57. remoteSort: false,
  58. @*loadFilter: pagerFilter,*@
  59. onDblClickRow: function () {
  60. btn_Edit();
  61. },
  62. pagination: true,
  63. pageSize: 50,
  64. pageList: [20, 50, 100]
  65. ">
  66. <thead>
  67. <tr>
  68. <th data-options="field:'ID',width:60">编号</th>
  69. <th data-options="field:'MarketSellerName',width:80">经营户名</th>
  70. <th data-options="field:'Consumer',width:80">消费者</th>
  71. <th data-options="field:'OccurValue',width:50">赔付金额</th>
  72. <th data-options="field:'LogDate',width:80">赔付时间</th>
  73. </tr>
  74. </thead>
  75. </table>
  76. </section>
  77. <section>
  78. <div id="winModal" class="easyui-window winModal" title="预备金赔付录入维护" style="width: 450px; padding: 10px;"
  79. iconCls="icon-save" data-options="modal:true,closed:true">
  80. <div class="easyui-layout" data-options="fit:true" style="height: 99%">
  81. <div data-options="region:'center'" style="padding: 15px 25px 0;">
  82. <form id="form">
  83. @Html.Hidden("ID")
  84. <div class="panle-fluid">
  85. <div class="input-group">
  86. <label class="input-group-addon control-label" for="SellerID">经营户名</label>
  87. <select class="form-control input-group-addon" aria-disabled="true" name="SellerID" id="SellerID" type="text" value="" placeholder="选择经营户">
  88. <option value="">请选择...</option>
  89. @Html.Raw(ViewBag.SelMarketSellersInfo)
  90. </select>
  91. <span class="input-group-addon" onclick="SearchModal('#Seller')" style="cursor: pointer;">
  92. <img src="~/easyui/themes/icons/zoom.bmp" />
  93. </span>
  94. </div>
  95. <div class="input-group">
  96. <label class="input-group-addon control-label" for="OccurValue">预备金额</label>
  97. <input class="form-control input-group-addon" aria-disabled="true" name="OccurValue" id="OccurValue" type="text" value="" placeholder=""/>
  98. </div>
  99. <div class="input-group">
  100. <label class="input-group-addon control-label" for="Reason">赔付说明</label>
  101. <input class="form-control input-group-addon" aria-disabled="true" name="Reason" id="Reason" type="text" value="" placeholder=""/>
  102. </div>
  103. <div class="input-group">
  104. <label class="input-group-addon control-label" for="LogDate">赔付日期</label>
  105. <input class="form-control input-group-addon laydate-icon" aria-disabled="true" name="LogDate" id="LogDate" type="text" value="" placeholder=""/>
  106. </div>
  107. <div class="input-group">
  108. <label class="input-group-addon control-label" for="Consumer">消费者</label>
  109. <input class="form-control input-group-addon" aria-disabled="true" name="Consumer" id="Consumer" type="text" value="" placeholder="" />
  110. </div>
  111. <div class="input-group">
  112. <label class="input-group-addon control-label" for="Executor">执行人</label>
  113. <input class="form-control input-group-addon" aria-disabled="true" name="Executor" id="Executor" type="text" value="" placeholder="" />
  114. </div>
  115. <div class="input-group">
  116. <label class="input-group-addon control-label" for="Remark">备注信息</label>
  117. <textarea class="form-control input-group-addon" aria-disabled="true" name="Remark" id="Remark" type="text" value="" placeholder=""></textarea>
  118. </div>
  119. </div>
  120. </form>
  121. </div>
  122. <div data-options="region:'south',border:false" style="text-align: right; height: 45px; padding: 13px 20px 0;">
  123. <a class="easyui-linkbutton" id="Save" data-options="iconCls:'icon-ok'" href="javascript:void(0)" onclick="Save()" style="width: 80px">确认</a>
  124. <a class="easyui-linkbutton" data-options="iconCls:'icon-cancel'" href="javascript:void(0)" onclick="$('#winModal').window('close');" style="width: 80px">取消</a>
  125. </div>
  126. </div>
  127. </div>
  128. <div id="winModal_Detail" class="easyui-window winModal" title="预备金赔付详情" style="width: 450px; padding: 10px;"
  129. iconCls="icon-save" data-options="modal:true,closed:true">
  130. <div class="easyui-layout" data-options="fit:true" style="height: 99%">
  131. <div data-options="region:'center'" style="padding: 15px 25px 0;">
  132. <form id="form_Detail">
  133. @Html.Hidden("ID")
  134. <div class="panle-fluid">
  135. <div class="input-group">
  136. <label class="input-group-addon control-label" for="SellerName_Detail">经营户名</label>
  137. <input class="form-control input-group-addon" aria-disabled="true" name="SellerName_Detail" id="SellerName_Detail" type="text" value="" placeholder="经营户名" />
  138. </div>
  139. <div class="input-group">
  140. <label class="input-group-addon control-label" for="OccurValue_Detail">预备金额</label>
  141. <input class="form-control input-group-addon" aria-disabled="true" name="OccurValue_Detail" id="OccurValue_Detail" type="text" value="" placeholder="" />
  142. </div>
  143. <div class="input-group">
  144. <label class="input-group-addon control-label" for="Reason_Detail">赔付说明</label>
  145. <input class="form-control input-group-addon" aria-disabled="true" name="Reason_Detail" id="Reason_Detail" type="text" value="" placeholder="" />
  146. </div>
  147. <div class="input-group">
  148. <label class="input-group-addon control-label" for="LogDate_Detail">赔付日期</label>
  149. <input class="form-control input-group-addon" aria-disabled="true" name="LogDate_Detail" id="LogDate_Detail" type="text" value="" placeholder="" />
  150. </div>
  151. <div class="input-group">
  152. <label class="input-group-addon control-label" for="Consumer_Detail">消费者</label>
  153. <input class="form-control input-group-addon" aria-disabled="true" name="Consumer_Detail" id="Consumer_Detail" type="text" value="" placeholder="" />
  154. </div>
  155. <div class="input-group">
  156. <label class="input-group-addon control-label" for="Executor_Detail">执行人</label>
  157. <input class="form-control input-group-addon" aria-disabled="true" name="Executor_Detail" id="Executor_Detail" type="text" value="" placeholder="" />
  158. </div>
  159. <div class="input-group">
  160. <label class="input-group-addon control-label" for="Remark_Detail">备注信息</label>
  161. <textarea class="form-control input-group-addon" aria-disabled="true" name="Remark_Detail" id="Remark_Detail" type="text" value="" placeholder=""></textarea>
  162. </div>
  163. </div>
  164. </form>
  165. </div>
  166. <div data-options="region:'south',border:false" style="text-align: right; height: 45px; padding: 13px 20px 0;">
  167. <a class="easyui-linkbutton" data-options="iconCls:'icon-cancel'" href="javascript:void(0)" onclick="$('#winModal_Detail').window('close');" style="width: 80px">取消</a>
  168. </div>
  169. </div>
  170. </div>
  171. <div id="winModal_Search" class="easyui-window winModal" title="" style="width: 750px; height: 600px; padding: 10px;"
  172. iconCls="icon-save" data-options="modal:true,closed:true">
  173. <div class="easyui-layout" data-options="fit:true" style="height: 99%">
  174. <div data-options="region:'center'" style="padding: 15px 5px 5px;">
  175. <div id="Search_Supplier">
  176. <div class="panle-half">
  177. <div class="input-group">
  178. <label class="input-group-addon control-label" for="dg_SearchHabitatID" style="min-width: 70px">省份</label>
  179. <select class="form-control input-group-addon" aria-disabled="true" name="dg_SearchHabitatID" id="dg_SearchHabitatID" type="text" value="" placeholder="选择省份">
  180. <option value="">全部</option>
  181. @Html.Raw(ViewBag.SelHabitatInfo)
  182. </select>
  183. </div>
  184. </div>
  185. <div class="panle-half">
  186. <div class="input-group">
  187. <label class="input-group-addon control-label" for="dg_SearchSupplierName" style="min-width: 70px">供货商</label>
  188. <input class="form-control input-group-addon" aria-disabled="true" name="dg_SearchSupplierName" id="dg_SearchSupplierName" type="text" value="" placeholder=""/>
  189. <span class="input-group-addon control-label" onclick="DgSearchLoadTable()">搜索</span>
  190. </div>
  191. </div>
  192. </div>
  193. <div id="Search_Seller" style="display: none">
  194. <div class="panle-third">
  195. <div class="input-group">
  196. <label class="input-group-addon control-label" for="dg_SearchRegionID" style="min-width: 70px">所属辖区</label>
  197. <select class="form-control input-group-addon" type="text" id="dg_SearchRegionID" name="dg_SearchRegionID" onchange="GetMarketSelStr();">
  198. <option value="">全部</option>
  199. @Html.Raw(ViewBag.SelRegionInfo)
  200. </select>
  201. </div>
  202. </div>
  203. <div class="panle-third">
  204. <div class="input-group">
  205. <label class="input-group-addon control-label" for="dg_SearchMarketId" style="min-width: 70px">所属市场</label>
  206. <select class="form-control input-group-addon" aria-disabled="true" name="dg_SearchMarketId" id="dg_SearchMarketId" type="text" value="" placeholder="选择所属市场">
  207. @*@Html.Raw(ViewBag.SelMarketInfo)*@
  208. </select>
  209. </div>
  210. </div>
  211. <div class="panle-third">
  212. <div class="input-group">
  213. <label class="input-group-addon control-label" for="dg_SearchSellerName" style="min-width: 70px">经营户名</label>
  214. <input class="form-control input-group-addon" aria-disabled="true" name="dg_SearchSellerName" id="dg_SearchSellerName" type="text" value="" placeholder=""/>
  215. <span class="input-group-addon control-label" onclick="DgSearchLoadTable()">搜索</span>
  216. </div>
  217. </div>
  218. </div>
  219. <div class="panle-fluid" style="margin-top: 10px;">
  220. <table id="dgTable_Search" class="easyui-datagrid" style="width: 98%; height: 420px;"
  221. data-options="singleSelect: true,
  222. method: 'post',
  223. multiSort: false,
  224. toolbar: '#tbToolBar_Attach',
  225. fitColumns: true,
  226. @*rownumbers: true,*@
  227. remoteSort: false,
  228. @*loadFilter: pagerFilter,*@
  229. onDblClickRow: function () {
  230. SetSearch();
  231. },
  232. pagination: true,
  233. pageSize: 10,
  234. pageList: [10,20, 50, 100]
  235. ">
  236. <thead>
  237. <tr>
  238. @*<th data-options="field:'FileTitle',width:100">附件标题</th>
  239. <th data-options="field:'FileExt',width:60,">扩展名</th>
  240. <th data-options="field:'TimeLastMod',width:90,">上传日期</th>*@
  241. </tr>
  242. </thead>
  243. </table>
  244. </div>
  245. </div>
  246. <div data-options="region:'south',border:false" style="text-align: right; height: 45px; padding: 13px 20px 0;">
  247. <a class="easyui-linkbutton" id="Save_SetSearch" data-options="iconCls:'icon-ok'" href="javascript:void(0)" onclick="SetSearch()" style="width: 80px">确认</a>
  248. <a class="easyui-linkbutton" id="Save_Search" data-options="iconCls:'icon-search'" href="javascript:void(0)" onclick="DgSearchLoadTable()" style="width: 80px">搜索</a>
  249. <a class="easyui-linkbutton" data-options="iconCls:'icon-cancel'" href="javascript:void(0)" onclick="$('#winModal_Search').window('close');" style="width: 80px">取消</a>
  250. </div>
  251. </div>
  252. </div>
  253. </section>
  254. <script>
  255. function Save(type) {
  256. type = type || $("#hid_Type").val();
  257. //var violationsNo = (type === "Add" || type === "Edit") ? $("#ID").val() : $('#dgTable').datagrid('getSelections')[0].ID;
  258. $.ajax({
  259. url: "@Url.Action("ReserveCompensateLogOper", "MarketSystemMg")"+"/PF",
  260. type: "post",
  261. dataType: "json",
  262. data: {
  263. Type: type,
  264. DataID: $("#ID").val(),
  265. SellerID: $("#SellerID").val(),
  266. OccurValue: $("#OccurValue").val(),
  267. LogDate: $("#LogDate").val(),
  268. Consumer: $("#Consumer").val(),
  269. Reason: $("#Reason").val(),
  270. Executor: $("#Executor").val(),
  271. Remark: $("#Remark").val()
  272. },
  273. success: function(data) {
  274. if (CheckAajxData(data) === false) return;
  275. var msg = data.ErrorInfo;
  276. if (data.Success === true) {
  277. LoadTable();
  278. $("#winModal").window("close");
  279. layer.alert(msg, { icon: 1, title: '提示信息' });
  280. } else {
  281. layer.alert(msg, { icon: 7, title: '提示信息' });
  282. }
  283. }
  284. });
  285. }
  286. //添加
  287. function btn_Add() {
  288. $("#hid_Type").val("Add");
  289. $("#winModal input").val("");
  290. $("#winModal select").val("");
  291. $("#winModal textarea").val("");
  292. $("#Save span.l-btn-text").html("添加");
  293. GetMarketSellerSelStr();
  294. ClearFile("#AttachFile");
  295. $("#winModal").window("open");
  296. }
  297. //修改
  298. function btn_Edit() {
  299. $("#hid_Type").val("Edit");
  300. $("#Save span.l-btn-text").html("修改");
  301. SetModalVal();
  302. }
  303. function btn_Detail() {
  304. var rows = $('#dgTable').datagrid('getSelections');
  305. if (rows.length === 1) {
  306. var row = rows[0];
  307. //console.log(row);
  308. $("#ID").val(row.ID);
  309. $("#MarketName_Detail").val(row.MarketName);
  310. $("#SellerName_Detail").val(row.MarketSellerName);
  311. $("#OccurValue_Detail").val(row.OccurValue);
  312. $("#LogDate_Detail").val(row.LogDate);
  313. $("#Reason_Detail").val(row.Reason);
  314. $("#Consumer_Detail").val(row.Consumer);
  315. $("#Executor_Detail").val(row.Executor);
  316. $("#Remark_Detail").val(row.Remark);
  317. $("#winModal_Detail").window("open");
  318. } else {
  319. layer.alert('请选择一条记录进行设置', { icon: 7, title: '提示信息' });
  320. }
  321. }
  322. //modal赋值
  323. function SetModalVal() {
  324. var rows = $('#dgTable').datagrid('getSelections');
  325. if (rows.length === 1) {
  326. var row = rows[0];
  327. //console.log(row);
  328. $("#ID").val(row.ID);
  329. $("#SellerID").val(row.SellerID);
  330. $("#OccurValue").val(row.OccurValue);
  331. $("#LogDate").val(row.LogDate);
  332. $("#Reason").val(row.Reason);
  333. $("#Consumer").val(row.Consumer);
  334. $("#Executor").val(row.Executor);
  335. $("#Remark").val(row.Remark);
  336. if ($("#hid_Type").val() === "Edit") {
  337. $("#winModal").window("open");
  338. }
  339. } else {
  340. layer.alert('请选择一条记录进行设置', { icon: 7, title: '提示信息' });
  341. }
  342. }
  343. function SearchModal(searchType) {
  344. if (searchType === "#Seller") {
  345. $('#winModal_Search').window({ "title": "搜索经营户名" });
  346. $("#hidSetSearch_Type").val("#SellerID");
  347. $("#Search_Supplier").hide();
  348. $("#Search_Seller").show();
  349. GetMarketSelStr();
  350. } else {
  351. $("#Search_Supplier").show();
  352. $("#hidSetSearch_Type").val("#OccurValue");
  353. $("#Search_Seller").hide();
  354. $('#winModal_Search').window({ "title": "搜索供货单位" });
  355. }
  356. DgSearchLoadTable();
  357. $('#winModal_Search').window('open');
  358. }
  359. function SetSearch(idStr) {
  360. idStr = idStr || $("#hidSetSearch_Type").val();
  361. var rows = $('#dgTable_Search').datagrid('getSelections');
  362. if (rows.length === 1) {
  363. var row = rows[0];
  364. console.log(row);
  365. if (idStr === "#SellerID") {
  366. $(idStr).val(row.SellerID);
  367. } else if (idStr === "#OccurValue") {
  368. $(idStr).val(row.OccurValue);
  369. }
  370. $('#winModal_Search').window('close');
  371. } else {
  372. layer.alert('请选择一条记录进行设置', { icon: 7, title: '提示信息' });
  373. }
  374. }
  375. //根据辖区获取市场下拉框的option
  376. function GetMarketSelStr() {
  377. $.ajax({
  378. url: "/GetResult/GetMarketSelStrResult",
  379. type: "post",
  380. dataType: "json",
  381. //data: { RegionID: $("input.textbox-value[name='SearchRegionID']").val() },
  382. async: false,
  383. data: { RegionID: $("#dg_SearchRegionID").val() },
  384. success: function(data) {
  385. //console.log(msg);
  386. if (CheckAajxData(data) === false) return;
  387. var rows = data.rows;
  388. var str1 = "<option value=\"";
  389. var str2 = "";
  390. for (var i = 0; i < rows.length; i++) {
  391. str1 += (str1 === "<option value=\"" ? "" : "@@|@@") + rows[i].MarketID;
  392. str2 += "<option value=\"" + rows[i].MarketID + "\">" + rows[i].Names + "</option>";
  393. }
  394. str1 += "\">全部</option>";
  395. $('#dg_SearchMarketId').empty().html(str1 + str2);
  396. }
  397. });
  398. }
  399. function DgSearchLoadTable(searchType) {
  400. searchType = searchType || $("#hidSetSearch_Type").val();
  401. if (searchType === "#SellerID") {
  402. var marketId = $("#dg_SearchMarketId").val(),
  403. sellerName = $("#dg_SearchSellerName").val();
  404. $('#dgTable_Search').datagrid({
  405. url: '@Url.Action("GetMarketSellerSelStrResult", "GetResult")' + '?MarketID=' + marketId + '&MarketSellerName=' + sellerName,
  406. columns: [
  407. [
  408. { field: 'MarketSellerName', title: '经营户名', width: 150, align: 'center' },
  409. { field: 'IdCard', title: '身份证', width: 180, align: 'center' },
  410. { field: 'EnterMarketDate', title: '入场时间', width: 180, align: 'center' },
  411. { field: 'Tel', title: '联系电话', width: 180, align: 'center' }
  412. ]
  413. ]
  414. });
  415. } else {
  416. var habitatId = $("#dg_SearchHabitatID").val(),
  417. supplierName = $("#dg_SearchSupplierName").val();
  418. $('#dgTable_Search').datagrid({
  419. url: '@Url.Action("SupplierSearchResult", "GetResult")' +
  420. '?HabitatID=' +
  421. habitatId +
  422. '&SupplierName=' +
  423. supplierName,
  424. columns: [
  425. [
  426. { field: 'Name', title: '名称', width: 150, align: 'center' },
  427. { field: 'Linkman', title: '联系人', width: 100, align: 'center' },
  428. { field: 'Tel', title: '电话', width: 100, align: 'center' },
  429. { field: 'Address', title: '地址', width: 130, align: 'center' }
  430. ]
  431. ]
  432. });
  433. }
  434. }
  435. //加载表格数据
  436. function LoadTable(value, item) {
  437. $('#dgTable').datagrid({
  438. url: '@Url.Action("ReserveCompensateLogResult", "GetResult")' + "/PF" + '?PcVal=' + escape(value) + '&PcItem=' + item
  439. });
  440. }
  441. //根据市场获取经营户下拉框的option
  442. function GetMarketSellerSelStr() {
  443. $.ajax({
  444. url: "/GetResult/GetMarketSellerSelStrResult",
  445. type: "post",
  446. dataType: "json",
  447. async: false,
  448. data: { marketId: $("#MarketID").val() },
  449. success: function(data) {
  450. if (CheckAajxData(data) === false) return;
  451. var rows = data.rows;
  452. var str1 = "<option value=\"\">请选择...</option>";
  453. var str2 = "";
  454. for (var i = 0; i < rows.length; i++) {
  455. str2 += "<option value=\"" + rows[i].SellerID + "\">" + rows[i].Name + "</option>";
  456. }
  457. $('#MarketSellerID').empty().html(str1 + str2);
  458. }
  459. });
  460. }
  461. $(function() {
  462. //加载表格数据
  463. var value = $(".textbox.searchbox .textbox-value").val(), item = $(".textbox.searchbox .textbox-value").attr("name");
  464. LoadTable(value, item);
  465. //加载日历控件
  466. laydate({
  467. elem: '#LogDate',
  468. format: "YYYY-MM-DD",
  469. min: "1980-01-01",
  470. event: "focus"
  471. });
  472. });
  473. </script>
  474. </body>
  475. </html>