123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309 |
- <%@ page 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/gkjygl/gkjyr/ry/rydetail.js"></script>
- <script type="text/javascript" src="${app }/static/biz/js/gkjygl/gkjyr/ry/rymain.js"></script>
- <script type="text/javascript">
- $(document).ready(function () {
- iFrameHeightIframe('${menuid}');//自适应高度
- ry.detail.sexData='${sexlist}';
- ry.detail.rylxData='${rylxlist}';
- ry.detail.zjlxData='${zjlxlist}';
- ry.detail.jyrData = '${jyr}';
- ry.detail.path = '${path}';
- ry.detail.szdData='${sz}';
- ry.detail.szgkData='${gk}';
- ry.detail.init();
- jyrSel('','${jyr}');
- $('#ajyrselect').css('display','none');
- });
- function showgk(){
- initgkSelect('gksel','',$('.szdselectpicker').val(),"showgq",'80%');
- /* initgqSelect('gqsel','','','',null,'80%');
- judgejyr(); */
- showgq();
- }
- function showgq(){
- initgqSelect('gqsel','',$('.szdselectpicker').val(),$('.gkselectpicker').val(),'judgejyr','80%');
- judgejyr();
- }
-
- function judgejyr(){
- $('#xzjyr').val("");
- $('#xzjyrid').val("");
- jyrhide();
- }
-
- /* function jyrSel(jyrid){
- guanbipop();
- $.post($.app + "/gkjyr/findById", {
- id:jyrid
- }, function(data) {
- //返回的是经营人实体,你可以在回掉中,进行任何其他字段的默认填写
- $('#xzjyr').val(data.gkjyr);
- $('#xzjyrid').val(data.id);
- }, "json");
- } */
- function jyrSel(jyrid,jyr){
- if(jyr!=null&&jyr!=''){
- var jsonJyr = $.parseJSON(jyr);
- $('#xzjyr').val(jsonJyr.gkjyr);
- $('#xzjyrid').val(jsonJyr.id);
- $('#ajyrselect').css('display','none');//把选择经营人按钮隐藏
- }else if(jyrid!=null&&jyrid!=''){
- guanbipop();
- $.post($.app + "/gkjyr/findById", {
- id:jyrid
- }, function(data) {
- //返回的是经营人实体,你可以在回掉中,进行任何其他字段的默认填写
- $('#xzjyr').val(data.gkjyr);
- $('#xzjyrid').val(data.id);
- }, "json");
- }
- }
- </script>
- <style>
- .addzs{
- text-align:left;
- }
-
- </style>
- </head>
- <body onscroll="scrolldate()">
- <div class="box" >
- <div class="box-content" >
- <div class="apply_fill">
- <form id="addform" method="post">
- <input type="hidden" name="path" id="path" value="${path }"/>
- <input type="hidden" id="zsids" name="zsids" >
- <table class="apply" cellpadding="0" cellspacing="0">
-
- <tr>
- <th><span class="needwrite">*</span>所在地: </th>
- <td >
- <div id="szdsel"></div>
- </td>
- <th><span class="needwrite">*</span>所在港口: </th>
- <td >
- <div id="gksel"></div>
- </td>
-
- </tr>
- <tr>
- <th><span class="needwrite">*</span>所在港区: </th>
- <td >
- <div id="gqsel"></div>
- </td>
- <th><span class="needwrite">*</span>港口经营人: </th>
- <td style="position:relative;">
-
- <input type="text" style="width: 80%;" class="form-control" id="xzjyr" name="xzjyr" onclick="" readOnly = true>
- <input type="hidden" style="width: 80%;" class="form-control" id="xzjyrid" readOnly = true name="ssjyrid">
- <a class="btn btn-primary btn-sm" href="#" id="ajyrselect"
- onclick="jyrselpop('jyrSel')" style="position:absolute;right:4px;top:4px;"> <i class="glyphicon"></i>选择
- </a>
- </td>
-
- </tr>
- <tr>
- <th><span class="needwrite">*</span>姓名: </th>
- <td >
- <input type="text" class="form-control" name="xm" >
- </td>
- <th><span class="needwrite">*</span>性别: </th>
- <td >
- <%-- <input type="text" class="form-control" name="xb" value="${record.xb }"> --%>
- <div id="sexDiv"></div>
- </td>
-
- </tr>
- <tr>
- <th>出生日期: </th>
- <td >
- <input type="text" name="csrq" class="Wdate"
- onFocus="WdatePicker({lang:'zh-cn',skin:'default',dateFmt:'yyyy-MM-dd'})">
- </td>
- <th>人员类型: </th>
- <td >
- <!-- <input type="text" class="form-control" name="rylx" > -->
- <div id="rylxDiv"></div>
- </td>
-
- </tr>
- <tr>
-
- <th><span class="needwrite">*</span>证件类型: </th>
- <td >
- <div id="zjlxDiv"></div>
- </td>
- <th><span class="needwrite">*</span>证件编号: </th>
- <td >
- <input type="text" class="form-control" name="sfzh" maxlength="30" id="sfzh">
- </td>
-
-
- </tr>
- <tr>
- <th>职务或职称: </th>
- <td >
- <input type="text" class="form-control" name="zwhzc" maxlength="400">
- </td>
- <th>手机号码: </th>
- <td >
- <!-- <input type="text" class="form-control" name="sjhm"> -->
- <input type="text" class="form-control" name="sjhm"
- onkeyup="value=value.replace(/[^\d]/g,'') "
- onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))">
-
- </td>
- </tr>
- <tr>
-
- <th>联系电话: </th>
- <td >
- <!-- <input type="text" class="form-control" name="lxdh" > -->
- <input type="text" class="form-control" name="lxdh"
- onkeyup="value=value.replace(/[^\d]/g,'') "
- onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))">
- </td>
- <th></th>
- <td></td>
- </tr>
- <tr>
- <th>备注: </th>
- <td colspan="4">
- <!-- <input type="text" class="form-control" name="bz" > -->
- <textarea class="form-control" name="bz" onkeyup="limitTextArea(this,100)" style="width:92%;height:80px;"></textarea>
- </td>
-
- </tr>
-
- </table>
-
- </form>
-
- <table class="main_table" cellpadding="0" cellspacing="0" id="zstable">
- <tr>
- <th width="15%">证书名称</th>
- <th width="10">证书种类</th>
- <th width="15%">证书编号</th>
- <th width="15%">发证部门</th>
- <th width="15%">人员证件编号</th>
- <th width="10%">有效期</th>
- <th width="20%">操作</th>
- </tr>
-
- </table>
- </div>
- <div class="addzs">
- <a class="btn btn-default btn-sm" href="#" data-toggle="modal" data-target="#myModal" onclick="ry.main.clear()">
- <i class="glyphicon glyphicon-plus"></i>
- 新增</a>
- </div>
- <div id="buttons">
- <a class="btn btn-default btn-sm" href="#" onclick="ry.detail.save()">
- <i class="glyphicon glyphicon-floppy-disk"></i>
- 保存</a>
- <a class="btn btn-default btn-sm" href="#" onclick="ry.detail.back()">
- <i class="glyphicon glyphicon-arrow-left"></i>
- 返回</a>
- </div>
- </div>
-
- </div>
-
- <!-- dialog -->
- <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
- aria-hidden="true">
- <div class="modal-dialog">
- <div class="modal-content">
- <div class="modal-header">
- <button type="button" class="close" data-dismiss="modal" style="width:10px">×</button>
- <h3>证书</h3>
- </div>
- <div class="modal-body">
- <form id="addzsform" method="post">
- <input type="hidden" id="editid" name="id">
- <table class="apply" >
- <tr>
- <th><span class="needwrite">*</span>
- 证书名称:
- </th>
- <td>
- <input type="text" class="form-control" id="editzsmc" name="zsmc">
- </td>
- </tr>
- <tr>
- <th><span class="needwrite">*</span>
- 证书种类:
- </th>
- <td>
- <input type="text" class="form-control" id="editzszl" name="zszl" >
- </td>
- </tr>
- <tr>
- <th><span class="needwrite">*</span>
- 证书编号:
- </th>
- <td>
- <input type="text" class="form-control" id="editzsbh" name="zsbh" >
- </td>
- </tr>
- <tr>
- <th>
- 发证部门:
- </th>
- <td>
- <input type="text" class="form-control" id="editfzbm" name="fzbm" >
- </td>
- </tr>
- <tr>
- <th>
- 人员证件编号:
- </th>
- <td>
- <input type="text" class="form-control" id="editsfzh" name="zssfzh">
- </td>
- </tr>
- <tr>
- <th>
- 有效期:
- </th>
- <td>
- <input type="text" id="edityxq" class="Wdate" name="yxq"
- onFocus="WdatePicker({lang:'zh-cn',skin:'default',dateFmt:'yyyy-MM-dd'})" >
- </td>
- </tr>
- </table>
- </form>
- <span style="text-align: center;color: red;" id="error">
-
- </span>
- </div>
-
- <div class="modal-footer">
-
- <a id="saveid" href="#" class="btn btn-default btn-sm" data-dismiss="modal" onclick="ry.detail.savezs()">
- <i class="glyphicon glyphicon-floppy-disk"></i> 保存</a>
- <a href="#" class="btn btn-default btn-sm" data-dismiss="modal">
- <i class="glyphicon glyphicon-remove"></i>取消</a>
- </div>
- </div>
- </div>
- </div>
- <!-- dialog end-->
- </div>
-
-
- <jsp:include page="../../../jyrselect.jsp"></jsp:include>
-
- </body>
- </html>
|