123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179 |
- <%@ page language="java" contentType="text/html; charset=UTF-8"
- pageEncoding="UTF-8"%>
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <title>江苏省港口建设与经营管理信息系统</title>
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <%@ include file="../../common.jsp"%>
- <script type="text/javascript" src="${app }/static/biz/js/gkyxtjyfx/hxhbtj/hxhbtjdetail.js"></script>
- <script type="text/javascript">
- $(document).ready(function () {
- initgkSelect('szgksel','${szgkid }','','showgq','80%');
- iFrameHeightIframe('${menuid}');//自适应高度
- });
-
- function percent(obj){
- var reg = /^[+-]?\d*\.?\d{0,1}$/;
- if(!reg.test(obj.value)){
- obj.value = obj.value.substring(0,obj.value.length-1);
- obj.value = obj.value.replace(/[^\d.-]/g,""); //清除"数字"和"."以外的字符
- obj.value = obj.value.replace(/\.{2,}/g,"."); //只保留第一个, 清除多余的
- obj.value = obj.value.replace(".","$#$").replace(/\./g,"").replace("$#$",".");
- obj.value = obj.value.replace(/\-{2,}/g,"-"); //只保留第一个, 清除多余的
- obj.value = obj.value.replace("-","$#$").replace(/\-/g,"").replace("$#$","-");
- obj.value = obj.value.replace(/^(\-)*(\d+)\.(\d).*$/,'$1$2.$3'); //只能输入两个小数
- }else{
- obj.value = obj.value.replace(/^\./g,""); //验证第一个字符是数字
- }
- }
- function twoNumeber(obj){
- obj.value = obj.value.replace(/[^\d.]/g,""); //清除"数字"和"."以外的字符
- obj.value = obj.value.replace(/^\./g,""); //验证第一个字符是数字
- obj.value = obj.value.replace(/\.{2,}/g,"."); //只保留第一个, 清除多余的
- obj.value = obj.value.replace(".","$#$").replace(/\./g,"").replace("$#$",".");
- obj.value = obj.value.replace(/^(\-)*(\d+)\.(\d)(\d).*$/,'$1$2.$3$4'); //只能输入两个小数
- }
- </script>
- <style type="text/css">
- .apply th {
- width: 9%;
- height: 35px;
- font-weight: normal;
- border-bottom: 1px solid #dadbda;
- border-right: 1px solid #dadbda;
- color: #185f8a;
- background: #e6eff9;
- font-size: 14px;
- text-align: center;
- }
- .apply td {
- width: 15%;
- height: 30px;
- border: 1px solid #e2e3cb;
- text-indent: 5px;
- font-size: 14px;
- color: #000000
- }
- </style>
- </head>
- <body>
- <div class="box" >
- <div class="box-content" >
- <div class="apply_fill">
- <form id="addform" method="post">
- <input type="hidden" name="id" value="${record.id }">
- <table class="apply" cellpadding="0" cellspacing="0">
- <tr>
- <th><span class="needwrite">*</span>所在地区: </th>
- <td >
- <input type="hidden" id="dq" name="dq" value="${record.dq }"/> ${ record.dqzw }
- </td>
- <th><span class="needwrite">*</span>日期: </th>
- <td >
- <input class="Wdate" id="rq" name="rq" type="text" onFocus="WdatePicker({lang:'zh-cn',skin:'default',dateFmt:'yyyy-MM'})" value="${record.rq }">
- </td>
- </tr>
- </table>
- <h2 align="center" style="margin-top:0px;"><font style="font-size:16px;color:#196794;font-family:微软雅黑;font-weight: bold;">集装箱吞吐量完成情况</font></h2>
- <table class="apply" cellpadding="0" cellspacing="0">
- <tr>
- <th colspan="2">本月完成量(TEU): </th>
- <td>
- <input type="text" class="form-control" id="bywcl" name="bywcl" value="${record.bywcl }" onkeyup="twoNumeber(this)">
- </td>
- <th colspan="2">本年累计量(TEU): </th>
- <td>
- <input type="text" class="form-control" id="bnljl" name="bnljl" value="${record.bnljl }" onkeyup="twoNumeber(this)">
- </td>
- <th colspan="2">同比增长数(%): </th>
- <td>
- <input type="text" class="form-control" id="tbzzs" name="tbzzs" value="${record.tbzzs }" onkeyup="percent(this)">
- </td>
- </tr>
- <tr>
- <th rowspan="2">其中:</th>
- <th>外贸: </th>
- <td><input type="text" class="form-control" id="wmjzxttl" name="wmjzxttl" value="${record.wmjzxttl }" onkeyup="twoNumeber(this)"></td>
- <th rowspan="2">其中:</th>
- <th>外贸: </th>
- <td><input type="text" class="form-control" id="nwmjzxttl" name="nwmjzxttl" value="${record.nwmjzxttl }" onkeyup="twoNumeber(this)"></td>
- <th rowspan="2">其中:</th>
- <th>外贸: </th>
- <td><input type="text" class="form-control" id="wmtbzzs" name="wmtbzzs" value="${record.wmtbzzs }" onkeyup="percent(this)"></td>
- </tr>
- <tr>
- <th>内贸: </th>
- <td><input type="text" class="form-control" id="nmjzxttl" name="nmjzxttl" value="${record.nmjzxttl }" onkeyup="twoNumeber(this)"></td>
- <th>内贸: </th>
- <td><input type="text" class="form-control" id="nnmjzxttl" name="nnmjzxttl" value="${record.nnmjzxttl }" onkeyup="twoNumeber(this)"></td>
- <th>内贸: </th>
- <td><input type="text" class="form-control" id="nmtbzzs" name="nmtbzzs" value="${record.nmtbzzs }" onkeyup="percent(this)"></td>
- </tr>
- </table>
- <h2 align="center" style="margin-top:0px;"><font style="font-size:16px;color:#196794;font-family:微软雅黑;font-weight: bold;">集装箱航线航班开辟情况</font></h2>
- <table class="apply">
- <tr>
- <th></th>
- <th>本月营运航线总数</th>
- <th>本月营运航班总数</th>
- <th>本月新开辟航线数</th>
- <th>本月停开航线数</th>
- </tr>
- <tr>
- <th>远洋航线:</th>
- <td><input type="text" class="form-control" id="yyhxts" name="yyhxts" value="${record.yyhxts }" onkeyup="num(this)"></td>
- <td><input type="text" class="form-control" id="yyhxhbs" name="yyhxhbs" value="${record.yyhxhbs }" onkeyup="num(this)"></td>
- <td><input type="text" class="form-control" id="yyxkphxs" name="yyxkphxs" value="${record.yyxkphxs }" onkeyup="num(this)"></td>
- <td><input type="text" class="form-control" id="yytkhxs" name="yytkhxs" value="${record.yytkhxs }" onkeyup="num(this)"></td>
- </tr>
- <tr>
- <th>近洋航线:</th>
- <td><input type="text" class="form-control" id="jyhxts" name="jyhxts" value="${record.jyhxts }" onkeyup="num(this)"></td>
- <td><input type="text" class="form-control" id="jyhxhbs" name="jyhxhbs" value="${record.jyhxhbs }" onkeyup="num(this)"></td>
- <td><input type="text" class="form-control" id="jyxkphxs" name="jyxkphxs" value="${record.jyxkphxs }" onkeyup="num(this)"></td>
- <td><input type="text" class="form-control" id="jytkhxs" name="jytkhxs" value="${record.jytkhxs }" onkeyup="num(this)"></td>
- </tr>
- <tr>
- <th>外贸内支线:</th>
- <td><input type="text" class="form-control" id="nzxts" name="nzxts" value="${record.nzxts }" onkeyup="num(this)"></td>
- <td><input type="text" class="form-control" id="nzxhbs" name="nzxhbs" value="${record.nzxhbs }" onkeyup="num(this)"></td>
- <td><input type="text" class="form-control" id="nzxxkphxs" name="nzxxkphxs" value="${record.nzxxkphxs }" onkeyup="num(this)"></td>
- <td><input type="text" class="form-control" id="nzxtkhxs" name="nzxtkhxs" value="${record.nzxtkhxs }" onkeyup="num(this)"></td>
- </tr>
- <tr>
- <th>内贸航线:</th>
- <td><input type="text" class="form-control" id="nmhxts" name="nmhxts" value="${record.nmhxts }" onkeyup="num(this)"></td>
- <td><input type="text" class="form-control" id="nmhxhbs" name="nmhxhbs" value="${record.nmhxhbs }" onkeyup="num(this)"></td>
- <td><input type="text" class="form-control" id="nmxkphxs" name="nmxkphxs" value="${record.nmxkphxs }" onkeyup="num(this)"></td>
- <td><input type="text" class="form-control" id="nmtkhxs" name="nmtkhxs" value="${record.nmtkhxs }" onkeyup="num(this)"></td>
- </tr>
- <tr>
- <th>填表人:</th>
- <td><input type="text" class="form-control" id="tbr" readOnly = "true" value="${record.tbr }" ></td>
- <th>联系电话:</th>
- <td colspan="2"><input type="text" class="form-control" id="lxdh" readOnly = "true" value="${record.lxdh }"></td>
- </tr>
- </table>
- </form>
- <div id="buttons">
- <a class="btn btn-default btn-sm" href="#" onclick="hxhbtj.detail.save()">
- <i class="glyphicon glyphicon-floppy-disk"></i>保存
- </a>
- <a class="btn btn-default btn-sm" href="#" onclick="hxhbtj.detail.saveTbzt()">
- <i class="glyphicon glyphicon-share"></i>提交
- </a>
- <a class="btn btn-default btn-sm" href="#" onclick="hxhbtj.detail.back()">
- <i class="glyphicon glyphicon-arrow-left"></i>返回
- </a>
- </div>
- </div>
- </div>
- </div>
- </body>
- </html>
|