| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536 | <%@ 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/gkjsgl/jgsq/jgsqdsdetail.js"></script>	<script type="text/javascript">		$(document).ready(function () {			pageinfo4();			jgsqds.detail.init();			var id = '${jyr.id}';			if(!isEmpty(id)){				jgsqds.detail.szd ='${jyr.szd.id}';				jgsqds.detail.gq ='${jyr.szgq.id}';				jgsqds.detail.gk ='${jyr.szgk.id}';			}else{				jgsqds.detail.szd ='${sz}';				jgsqds.detail.gk ='${gk}';							}			jgsqds.detail.fjid81='${fjList81.fjid }';			fjgt(jgsqds.detail.fjid81,'scbt81','tjbt81');			jgsqds.detail.fjid82='${fjList82.fjid }';			fjgt(jgsqds.detail.fjid82,'scbt82','tjbt82');			//水域类型			initSylxSelect('sylxsel','${record.sylx }','80%');			//项目类型默认新建				initXmlxSelect('xmlxsel','${record.xmlx }','80%');			//投资类型默认企业投资				initTzlxSelect('tzlxsel','${record.tzlx}','80%');				initXmhzjbSelect('xmhzjbsel','${record.xmhzjb }','80%');				initAxspjbSelect('axspjbsel','${record.axspjb }','80%');				jgsqds.detail.initBwyt('bwytsel', '');				jgsqds.detail.initZyhbwfl('zyhbwflsel', '','');				initszdSelect('szdsel', jgsqds.detail.szd, 'showgk', '80%');				initgkSelect('gksel',jgsqds.detail.gk,jgsqds.detail.szd,'showgq','80%');				initgqSelect('gqsel',jgsqds.detail.gq,jgsqds.detail.szd,jgsqds.detail.gk,null,'80%');			/* $('.close').click(function(){				guanbi();			}) */		});				function fjgt(fjid,scbtid,tjbtid){			if(fjid!=null&&fjid!=''){				   $("#"+scbtid).show();				   $("#"+tjbtid).hide();				}else{				   $("#"+scbtid).hide();				   $("#"+tjbtid).show();				}		}				function showgk(){			initgkSelect('gksel',jgsqds.detail.gk,$('.szdselectpicker').val(),"showgq",'80%');			showgq();		}		function showgq(){			initgqSelect('gqsel',jgsqds.detail.gq,$('.szdselectpicker').val(),$('.gkselectpicker').val(),null,'80%');		} 			 		function jyrSel(jyrid){			guanbipop();			$.post($.app + "/gkjyr/findById", {				id:jyrid		    }, function(data) {		    	//返回的是经营人实体,你可以在回掉中,进行任何其他字段的默认填写		    	$('#jyrid').val(data.id);		    	$('#jyrmc').val(data.gkjyr);		    	$('#xmfr').val(data.fddbr);		    	jgsqds.detail.szd =data.szd.id;				jgsqds.detail.gq =data.szgq.id;				jgsqds.detail.gk =data.szgk.id;				initszdSelect('szdsel', jgsqds.detail.szd, 'showgk', '80%');				initgkSelect('gksel',jgsqds.detail.gk,jgsqds.detail.szd,'showgq','80%');				initgqSelect('gqsel',jgsqds.detail.gq,jgsqds.detail.szd,jgsqds.detail.gk,null,'80%');		    }, "json");		}				function ytsel(){			jgsqds.detail.initZyhbwfl('zyhbwflsel', '',$('.bwytselectpicker').val()+"");		}				function guanbitc(){			$('.theme-popover-mask-tc').fadeOut(100);			$('.theme-popover-tc').slideUp(0);		}	</script></head><body><jsp:include page="../../showbwview.jsp"></jsp:include><form  id="addform" method="post" enctype="multipart/form-data"> 			<div class="box" >		<div class="box-content" >			<div class="apply_fill"> 	  <input type="hidden" class="form-control"  name="fjzdids" id="fjzdids"> <input type="hidden" class="form-control"  name="accids" id="accids">	 <input type="hidden" class="form-control"  name="fjids" id="fjids"> <input type="hidden" class="form-control"  name="xmid" id="xmid" value="${record.id }">					<table class="apply3" cellpadding="0" cellspacing="0">						<tr>							<th><span class="needwrite">*</span>项目编码: </th>							<td>								<input type="text"  class="form-control" name="xmbm"  value="${record.xmbm }">							</td>							<th><span class="needwrite">*</span>项目名称: </th>							<td style="position:relative;">								<input type="text"  class="form-control" name="xmmc" value="${record.xmmc }">								<a class="btn btn-primary btn-sm" style="position:absolute;right:4px;top:4px;width:16%" href="###" onclick="jgsqds.detail.xmxxxz()">选择</a>							</td>						</tr>						<tr>							<th>项目概况: </th>							<td colspan="3">								<input type="text" style="width:92%" class="form-control" name="xmgk" value="${record.xmgk }">							</td>						</tr>						<tr>						 	<th>建设规模: </th>							<td colspan="3">								<input type="text" style="width:92%" class="form-control" name="jsgm" value="${record.jsgm }">							</td>						</tr>						<tr>							<th><span class="needwrite">*</span>项目法人: </th>							<td >								<input type="text" class="form-control" name="xmfr" id="xmfr" value="${record.xmfr }">							</td>							<th><span class="needwrite">*</span>建设单位: </th>							<td  style="position:relative;">								<input type="text"  readonly="readonly" class="form-control"  id ="jyrmc" value ="${jyr.gkjyr }">								<input type="hidden" class="form-control" name="ssjyrid" id ="jyrid"  value ="${jyr.id }">								<c:if test="${jyr.id == null }">										<a class="btn btn-primary btn-sm" href="###"										 onclick="jyrselpop('jyrSel')"  										style="position:absolute;right:4px;top:4px;width:16%"> <i class="glyphicon"></i>选择									    </a>							    </c:if> 							</td>						</tr>						<tr>							<th><span class="needwrite">*</span>行政区划: </th>							<td>								<input type="text" class="form-control"  readonly="readonly" value="${xzqhname}">							</td>						    <th><span class="needwrite">*</span>所在地: </th>							<td>								<div id="szdsel"></div>							</td>						</tr>						<tr>							<th><span class="needwrite">*</span>所在港口: </th>							<td >								<div id="gksel"></div>							</td>						    <th><span class="needwrite">*</span>所在港区: </th>						 	<td >								<div id="gqsel"></div>							</td>													</tr>						<tr>						    <th><span class="needwrite">*</span>项目类型: </th>							<td >								<div id="xmlxsel"></div>							</td>							<th><span class="needwrite">*</span>建设地址: </th>							<td >								<input type="text" class="form-control" name="jsdd" value="${record.jsdd }">							</td>						</tr>						<tr>						   <th>总投资 (万元): </th>							<td>								<input type="text" class="form-control" name="ztz" onchange="ratesub()" value="${record.ztz }">							</td>							<th>投资类型: </th>							<td >								<div id="tzlxsel"></div>							</td>						</tr>							<tr id="zftzDiv" style="display:none">						    <th>政府投资(万元): </th>							<td >								<input type="text" class="form-control" name="zftze" value="${record.zftze }" onchange="ratesub()">							</td>							<th>政府投资占比(%): </th>							<td >								<input type="text" class="form-control" readonly="readonly" id="zftzezb">							</td>						</tr>						<tr>						<th>建成时间: </th>							<td>							<input type="text" class="Wdate" name="jcsj" value="${fn:substring(record.jcsj,0,10)}"  onFocus="WdatePicker({lang:'zh-cn',skin:'default',dateFmt:'yyyy-MM-dd'})">							</td>							 <th>泊位个数: </th>							<td>							<input type="text" readonly="readonly" class="form-control" id="bwgs" value="${bwgs}">							</td>						</tr>						<tr>						  	<th>项目核准级别: </th>							<td>							   <div id="xmhzjbsel"></div>							</td>							<th>通过能力(万吨): </th>							<td >								<input type="text" class="form-control" name="tgnl" value="${record.tgnl }">							</td>						</tr>						<tr>						    <th>岸线审批级别: </th>							<td >								<div id="axspjbsel"></div>							</td>							<th>岸线长度 (米): </th>							<td >								<input type="text" class="form-control" name="axcd" value="${record.axcd }">							</td>						</tr>						                      	<tr>							<th>水域类型: </th>							<td >								<div id="sylxsel"></div>							</td>						</tr>											</table>					<c:if test="${bwlist!=null}">				 <table id="bwtableID" class="main_table" cellpadding="0" cellspacing="0">				     <thead>					    <tr>					    	<th width="5%">序号</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="5%">是否<br>对外开放泊位</th>-->							<th width="8%">泊位长度(米)</th>							<th width="8%">设计靠泊能力(吨)</th>					    </tr>				    </thead>				      <c:forEach items="${bwlist}" var="bw" varStatus="status">					    <tr >					    	<td >${status.count }</td>							<td ><a href="###" onclick="jgsqds.detail.viewBw('${bw.id}')">${bw.bwmc }</a></td>					       <%--  <td >${bw.ssjyrzw }</td> --%>							<td >${bw.ssmtzw }</td>							<td >${bw.szgkzw }</td>							<td >${bw.szgqzw }</td>							<td >${bw.bwytzw }</td>							<td >${bw.wxpbwzw }</td>							<td >${bw.bwcd }</td>							<td >${bw.sjkpnl }</td>					    </tr>				    </c:forEach>				    </table>				    </c:if>				    	<table class="apply3" cellpadding="0" cellspacing="0" style="table-layout: fixed;">							<tr>                    		<th>地市附件与审查意见: </th>							<td colspan="4">								<table style="width: 100%" id="tb8">									<tr>										<td style="width: 6%">序号</td>										<td style="width: 23%">材料名称</td>										<td style="width: 23%">上传附件名称</td>										<td style="width: 15%">批文单位</td>										<td style="width: 15%">文号</td>										<td style="width: 10%">批文日期</td>										<td align="center" style="width: 10%">操作</td>									</tr>									<tr>										<td>1</td>										<td>港口建设项目竣工验收申请文件</td>										<td><input type="hidden" name="delid81" id="delid81"											value="${fjList81.fjid }"> <input type="hidden"											id="fjzdid81"> <a class='main_title' href="###"											onclick="jgsqds.detail.download('81')"><span id="fjmc81">${fjList81.fjmc }</span></a>										</td>										<td><span id="fbdw81">${recordfj81.fbdw }</span></td>										<td><span id="wjh81">${recordfj81.wjh }</span></td>										<td><span id="fbsj81">${recordfj81.fbsj }</span></td>										<td align="center">					<a id="tjbt81" class="btn btn-default btn-sm" href="###" onclick="jgsqds.detail.tianjiafj('81')">							           添加</a>					<a id="scbt81" class="btn btn-default btn-sm" href="###" onclick="jgsqds.detail.delFile('81')">							           删除</a>					</td> 									</tr>									<tr>										<td>2</td>										<td>港口建设项目竣工验收材料</td>										<td><input type="hidden" class="form-control"											name="delid82" id="delid82" value="${fjList82.fjid }">											<input type="hidden" class="form-control" id="fjzdid82">											<a class='main_title' href="###"											onclick="jgsqds.detail.download('82')"><span id="fjmc82">${fjList82.fjmc }</span></a>										</td>										<td><span id="fbdw82">${recordfj82.fbdw }</span></td>										<td><span id="wjh82">${recordfj82.wjh }</span></td>										<td><span id="fbsj82">${recordfj82.fbsj }</span></td>										<td  align="center">					<a id="tjbt82" class="btn btn-default btn-sm" href="###" onclick="jgsqds.detail.tianjiafj('82')">							           添加</a>					<a id="scbt82" class="btn btn-default btn-sm" href="###" onclick="jgsqds.detail.delFile('82')">							           删除</a>					</td> 									</tr>																	<c:forEach items="${qtfjlist}" var="qtfj" varStatus="status">										<tr id="${qtfj.fjid }">											<td>${status.index+3}</td>											<td>其他附件</td>											<td><a class="main_title"												href='${app }/accessory/download=${qtfj.fjid }'>${qtfj.fjmc }</a></td>											<td>${qtfj.fbdw }</td>											<td>${qtfj.wjh }</td>											<td>${qtfj.fbsj }</td>											<td  align="center">											<a class="btn btn-default btn-sm" href="###" 											onclick="jgsqds.detail.delqtfj('${qtfj.fjid }','${qtfj.id }')">删除</a>  											          											</td>										</tr>									</c:forEach>									<tbody id="qtfjtb8"></tbody>								</table>							</td>						</tr>									</table>				    								<div  id="buttons">					<a class="btn btn-default btn-sm" href="###" onclick="jgsqds.detail.qtfj()">							            其他附件</a>                    	<a class="btn btn-default btn-sm" href="###" onclick="jgsqds.detail.save()">							   <i class="glyphicon glyphicon-floppy-disk"></i> 							            保存</a>							            							            <a class="btn btn-default btn-sm" href="###" onclick="jgsqds.detail.submit()">							   <i class="glyphicon glyphicon-share"></i> 							            提交</a>							            							             <a class="btn btn-default btn-sm" href="###"  onclick="jgsqds.detail.back()">							   <i class="glyphicon glyphicon-arrow-left"></i> 							           返回</a>							                      			</div>					</div>		</div>		</div>		<div class="theme-popover" id="qtfjpopover" style="width: 700px;"><div class="theme-poptit"> <input type="hidden" class="form-control" id="qtfjid" name="qtfjid"> <input type="hidden" class="form-control" id="qtfjzdids" name="qtfjzdids"> <input type="hidden" class="form-control" id="qtfjids" name="qtfjids"> 			<div class="popTitle-tc">	        	<h4>附件维护</h4>	        </div>	          <div class="close-tc">	          		<a href="###" title="关闭" onclick="jgsqds.detail.qtfjguanbipop()" >×</a>	          </div>	     </div>		<div class="popContent-tc" >	<table class="apply" cellpadding="0" cellspacing="0">		<tr>			<th>文号 :  </th>			<td>				 <input type="text" class="form-control" name="qtwjh" id="wjh">			</td>		</tr>		<tr>			<th>批文日期:  </th> 			<td>			<input class="Wdate" name="qtfbsj" id="fbsj" type="text" onFocus="WdatePicker({lang:'zh-cn',skin:'default',dateFmt:'yyyy-MM-dd'})">            </td>		</tr>		<tr>			<th>批文单位:  </th>			<td>			<input type="text" class="form-control" name="qtfbdw" id="fbdw">			</td>		</tr>		<tr>		<th>上传附件名称:  </th>		<td>		     <div>			 <a href="###" id="scqtfjbt" class="file"><input type="file" name="qtfilename" id="qtfileid"   onchange="jgsqds.detail.saveQtfj()">选择本地文件</a>			 </div>			 <div id="qtfjxq">			 </div>			 <span></span>		</td>		</tr>	</table>		<div  id="buttons">  	<a class="btn btn-default btn-sm" href="###" onclick="jgsqds.detail.xinzengqtfj()">  <i></i>            保存</a>            <a class="btn btn-default btn-sm" href="###"  onclick="jgsqds.detail.qtfjguanbipop()">  <i></i>            关闭</a>  		</div>		</div>	</div>	<div class="theme-popover-mask" id="qtfjmask"></div>	 	<div class="theme-popover" id="theme-popover" style="width: 700px;height: 400px;"><div class="theme-poptit"><input type="hidden" class="form-control"  id="flag">			<div class="popTitle-tc">	        	<h4>附件维护</h4>	        </div>	          <div class="close-tc">	          		<a href="###" title="关闭" onclick="jgsqds.detail.guanbipop()" >×</a>	          </div>	     </div>		<div class="popContent-tc" >	<table class="apply" cellpadding="0" cellspacing="0">		<tr>			<th>文号 :  </th>			<td>				 <input type="text" class="form-control" name="wjh" id="wjh1">			</td>		</tr>		<tr>			<th>批文日期:  </th> 			<td>			<input class="Wdate" name="fbsj" id="fbsj1" type="text" onFocus="WdatePicker({lang:'zh-cn',skin:'default',dateFmt:'yyyy-MM-dd'})">            </td>		</tr>		<tr>			<th>批文单位:  </th>			<td>			<input type="text" class="form-control" name="fbdw" id="fbdw1">			</td>		</tr>		<tr>		<th>上传附件名称:  </th>		<td>		    <div>			<a href="###" id="scfjbt" class="file"><input type="file" name="filename" id="fileid"   onchange="jgsqds.detail.saveFile()">选择本地文件</a>			</div>			<div id="fjxq">			</div>			<span></span>		</td>		</tr>	</table>		<div  id="buttons">  	<a class="btn btn-default btn-sm" href="###" onclick="jgsqds.detail.xinzengfj()">           保存</a>            <a class="btn btn-default btn-sm" href="###"  onclick="jgsqds.detail.guanbipop()">           关闭</a>  		</div>		</div>	</div>	<div class="theme-popover-mask" id="theme-popover-mask"></div></form><div class="theme-popover-tc" id="theme-popover-tc" style="width: 900px"><div class="theme-poptit-tc">			  <div class="popTitle-tc">	          	<h4>项目选择</h4>	          </div>	          <div class="close-tc">	          		<a href="###" title="关闭" onclick="guanbitc()" >×</a>	          </div>	     </div>		<div class="popContent-tc" >	<div  style="background-color:#f4f4f4;">	<table class="search_table" cellpadding="0" cellspacing="0">					<tr>						<th width="10%"></th>						<th width="25%"></th>							<th width="10%"></th>						<th width="25%"></th>						<th width="10%"></th>						<th width="20%"></th>					</tr>					<tr>						<td class="right">项目名称:</td>						<td class="right"><input type="text" class="form-control"  id="xmcx" name="xmcx"  value="${xmcx }"></td>						<td></td>						<td></td>						<td></td>						<td align="center"> <a class="btn btn-default btn-sm" href="###" onclick="jgsqds.detail.xmxxxz()">							   <i class="glyphicon glyphicon-search"></i> 							            查询</a>						</td>						</tr>				</table>				<table  class="main_table" cellpadding="0" cellspacing="0">                     <tr>						<th width="5%">序号</th>							<th width="25%">项目名称</th>						<th width="10%">港口</th>						<th width="10%">港区</th>						<th width="10%">项目法人</th>						<th width="25%">建设地址</th>						<th width="10%">项目类型</th>						<th width="1%">操作</th>					</tr>					<tbody id="xmxxtb"></tbody>				</table>				<!-- 分页处 -->			    <jsp:include page="../../pageinfoforjyr.jsp"></jsp:include>			</div>		<div id="buttons">            <a class="btn btn-default btn-sm" href="###"  onclick="guanbitc()">           关闭</a>  		</div>		</div>	</div>	<div class="theme-popover-mask-tc" id="theme-popover-mask-tc"></div></body></html>
 |