소스 검색

git-svn-id: https://192.168.57.71/svn/jsgkj@1692 931142cf-59ea-a443-aa0e-51397b428577

ld_jiangxf 8 년 전
부모
커밋
db15a09a89

+ 1 - 1
gkjsjy/trunk/WebContent/WEB-INF/pages/gkjsgl/jsjdgl/ndjhckmain.jsp

@@ -199,7 +199,7 @@
 <input type="hidden" class="form-control" name="yf" id="yf" >
 <input type="hidden" class="form-control" name="xmdid"  value="${record.xmid}">
 <input type="hidden" class="form-control" id="xmyjhxxid" name="xmyjhxxid">
-<div class="theme-popover" id="theme-popover" style="width: 900px;">
+<div class="theme-popover" id="theme-popover" style="width: 700px;">
 <div class="theme-poptit"  style="margin-bottom:0px;height:30px">
 <div id="nybt"></div>
 	     </div>

+ 10 - 5
gkjsjy/trunk/WebContent/WEB-INF/pages/gkjsgl/xmxxgl/xmxxgladd.jsp

@@ -211,7 +211,9 @@
 						<tr>
 						   <th>总投资 (万元):&nbsp;</th>
 							<td>
-								<input type="text" class="form-control" name="ztz" onchange="ratesub()">
+								<input type="text" class="form-control" name="ztz" onchange="ratesub()"
+								onkeyup="value=value.replace(/[^\d.]/g,'')"
+								onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d.]/g,''))">
 							</td>
 							<th>投资类型:&nbsp;</th>
 							<td >
@@ -247,7 +249,8 @@
 							</td>
 							<th><span class="needwrite">*</span>通过能力(万吨):&nbsp;</th>
 							<td>
-								<input type="text" class="form-control" name="tgnl">
+								<input type="text" class="form-control" name="tgnl" onkeyup="value=value.replace(/[^\d.]/g,'')"
+								onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d.]/g,''))">
 							</td>
 						</tr>
 						<tr>
@@ -257,7 +260,9 @@
 							</td>
 							<th>岸线长度 (米):&nbsp;</th>
 							<td >
-								<input type="text" class="form-control" name="axcd">
+								<input type="text" class="form-control" name="axcd"
+								onkeyup="value=value.replace(/[^\d.]/g,'')"
+								onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d.]/g,''))">
 							</td>
 						</tr>
 						<tr>
@@ -279,14 +284,14 @@
           			 <table id="bwtableID" class="main_table" cellpadding="0" cellspacing="0">
 				     <thead>
 					    <tr>
-					    	<th width="5%">序号</th>
+					    	<th width="3%">序号</th>
 			    			<th width="8%">泊位名称</th>
 			        		<!-- <th width="8%">港口经营人</th> -->
 							<th width="8%">码头名称</th>
 							<th width="7%">所在港口</th>
 							<th width="8%">所在港区</th>
 							<th width="15%">泊位用途</th>
-							<th width="5%">是否<br>危险品泊位</th>
+							<th width="7%">是否<br>危险品泊位</th>
 							<!--<th width="5%">是否<br>对外开放泊位</th>-->
 							<th width="8%">泊位长度(米)</th>
 							<th width="8%">设计靠泊能力(吨)</th>

+ 12 - 6
gkjsjy/trunk/WebContent/WEB-INF/pages/gkjsgl/xmxxgl/xmxxgledit.jsp

@@ -161,7 +161,9 @@
 						<tr>
 					    	 <th>总投资(万元):&nbsp;</th>
 							<td>
-								<input type="text" class="form-control" name="ztz" value="${record.ztz }">
+								<input type="text" class="form-control" name="ztz" value="${record.ztz }"
+								onkeyup="value=value.replace(/[^\d.]/g,'')"
+								onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d.]/g,''))">
 							</td>
 							<th>投资类型:&nbsp;</th>
 							<td>
@@ -187,7 +189,7 @@
 								</td>
 								<th>泊位个数:&nbsp;</th>
 								<td>
-								<input type="text" class="form-control" id="bwgs" value="${bwgs }">
+								<input type="text" class="form-control" id="bwgs" readonly="readonly" value="${bwgs }">
 								</td>
 						</tr>
 						<tr>
@@ -199,7 +201,9 @@
 							</td>
 							<th><span class="needwrite">*</span>通过能力(万吨):&nbsp;</th>
 							<td>
-								<input type="text" class="form-control" name="tgnl" value="${record.tgnl }">
+								<input type="text" class="form-control" name="tgnl" value="${record.tgnl }"
+								onkeyup="value=value.replace(/[^\d.]/g,'')"
+								onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d.]/g,''))">
 							</td>
 						</tr>
 						
@@ -211,7 +215,9 @@
 							</td>
 							<th>岸线长度 (米):&nbsp;</th>
 							<td >
-								<input type="text" class="form-control" name="axcd" value="${record.axcd }">
+								<input type="text" class="form-control" name="axcd" value="${record.axcd }"
+								onkeyup="value=value.replace(/[^\d.]/g,'')"
+								onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d.]/g,''))">
 							</td>
 						</tr>
 						
@@ -236,14 +242,14 @@
           			 <table id="bwtableID" class="main_table" cellpadding="0" cellspacing="0">
 				     <thead>
 					    <tr>
-					    	<th width="5%">序号</th>
+					    	<th width="3%">序号</th>
 			    			<th width="8%">泊位名称</th>
 			        		<!-- <th width="8%">港口经营人</th> -->
 							<th width="8%">码头名称</th>
 							<th width="7%">所在港口</th>
 							<th width="8%">所在港区</th>
 							<th width="15%">泊位用途</th>
-							<th width="5%">是否<br>危险品泊位</th>
+							<th width="7%">是否<br>危险品泊位</th>
 							<!--<th width="5%">是否<br>对外开放泊位</th>-->
 							<th width="8%">泊位长度(米)</th>
 							<th width="8%">设计靠泊能力(吨)</th>