12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- <!DOCTYPE>
- <html>
- <head>
- <meta http-equiv="content-type" content="text/html;charset=utf-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
- <meta name="format-detection" content="telephone=no"/>
- <title>用水计划</title>
- <link href="${ctx}/css/xf0.css" rel="stylesheet" type="text/css" />
- <script src="${ctx}/js/jquery-2.1.1.min.js"></script>
- <script src="${ctx}/js/xf.js"></script>
- </head>
- <body>
- <div class="loading"></div>
- <div class="hc_page">
- <div class="hc_pagecxjg hc_pageysjh">
- <form id="myFormId" action="${ctx}/busInit/editYearUnitNotice.do" method="post" target="frmright">
- <#if plan??>
- <ul class="hc_ysjh_ul01">
- <li><span>单位名称:</span><span style="line-height:22px;padding-top:10px; width: 70%;height: auto;word-wrap: break-word;">${plan.orgName!''}</span></li>
- <li><span>水表号:</span><span style="line-height:22px;padding-top:10px; width: 70%;height: auto;word-wrap: break-word;">${busOrg.busOrgMeterNumber!""}</span></li>
- <li><span>年度:</span><span>${plan.year!'' }</span></li>
- <li><span>全年计划用水指标:</span><span><#if plan??> ${plan.planOfWater?string("0")!''}<#else>暂无数据</#if></span></li>
- <li><span>全年实际批复指标:</span><span>${plan.replyOfWater?string("0")!""}</span></li>
- <li><span>一季度实际批复用水指标:</span><span>${plan.firstQuarterReply?string("0")!""}</span></li>
- <li><span>二季度实际批复用水指标:</span><span>${plan.secondQuarterReply?string("0")!""}</span></li>
- <li><span>三季度实际批复用水指标:</span><span>${plan.thirdQuarterReply?string("0")!""}</span></li>
- <li><span>四季度实际批复用水指标:</span><span>${plan.fourthQuarterReply?string("0")!""}</span></li>
- </ul>
- <#else>
- <li><span>无数据</span></li>
- </#if>
- </form>
- </div>
-
- </div>
- </body>
- <script type="text/javascript">
- var LODOP;
- function initComplete(){
- //表åÂÂæÂÂ交
- $("#myFormId").Validform({
- tiptype:3,//表示å¨å³边æÂ¾ç¤º
- ajaxPost:true,
- showAllError:true,
- callback:function(responseText){
- $.Hidemsg();
- if(responseText.status=="y"){
- top.Dialog.alert(responseText.info,function(){
- closeWin();
- });
- }else{
- top.Dialog.alert(responseText.info,function(){
- return false;
- });
- }
-
- }
- });
- initData();
- }
- function resum(){
- $("#myFormId").submit();
- }
- function closeWin(){
- top.frmright.stayPage();
- top.Dialog.close();
- }
- function initData(){
- $("#firstQuarterReply,#secondQuarterReply,#thirdQuarterReply,#fourthQuarterReply").blur(function(){
- var total = Number($("#firstQuarterReply").val())+Number($("#secondQuarterReply").val())
- +Number($("#thirdQuarterReply").val())+Number($("#fourthQuarterReply").val());
- $("#replyOfWater").val(total);
- });
- }
- </script>
- </html>
|