| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137 |
- <%@ page language="java" contentType="text/html;charset=GBK" pageEncoding="GBK"%>
- <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html;charset=GBK">
- <title>新增/编辑社保帐套明细</title>
- <link href="${pageContext.request.contextPath}/main.css" rel="stylesheet" type="text/css" />
- <link href="${pageContext.request.contextPath }/liger/lib/ligerUI/skins/${sessionScope.css}/css/ligerui-all.css" rel="stylesheet" type="text/css" />
- <script src="${pageContext.request.contextPath }/liger/lib/jquery/jquery-1.3.2.min.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/core/base.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath}/liger/lib/ligerUI/js/ligerui.all.js" type="text/javascript"></script>
- <script type="text/javascript" src="/shares/js/constant.js"></script>
- <script type="text/javascript" src="/shares/js/common.js"></script>
- <script type="text/javascript">
- function closeWin() {
- window.parent.dialog.close();
- }
- function checkForm() {
- var rs = $.validate({
- name : "insurance_project_id",
- model : [ {
- type : "require",
- msg : "项目名称不能为空!"
- } ]
- });
- rs = $.validate({
- name : "base_number",
- model : [ {
- type : "require",
- msg : "基数不能为空!"
- }, {
- type : 'isNumber',
- msg : '请输入数字'
- } ]
- }) && rs;
- rs = $.validate({
- name : "unit_pay",
- model : [ {
- type : "require",
- msg : "单位缴费不能为空!",
- // msgBox : "unit_pay_method",
- msgBox : "msgbox1"
- }, {
- type : 'isNumber',
- msg : '请输入数字'
- } ]
- }) && rs;
- rs = $.validate({
- name : "person_pay",
- model : [ {
- type : "require",
- msg : "个人缴费不能为空!",
- msgBox : "msgbox2"
- }, {
- type : 'isNumber',
- msg : '请输入数字'
-
- } ]
- }) && rs;
- return rs;
- }
- function f_select() {
- var countDetail = [ {
- insurance_project_id : $("#insurance_project_id").val(),
- insurance_project_name : $("#insurance_project_id").find(
- "option:selected").text(),
- base_number : $("#base_number").val(),
- unit_pay : $("#unit_pay").val(),
- unit_pay_method : $("#unit_pay_method").val(),
- person_pay : $("#person_pay").val(),
- person_pay_method : $("#person_pay_method").val(),
- optype : $("#optype").val()
- } ];
- return countDetail;
- }
- </script>
- </head>
- <body style="overflow: hidden;">
- <!-- <div id="title" class="form-button"> -->
- <!-- <input id="salaryInsuranceCountDetail_save" name="salaryInsuranceCountDetail_save" type="button" class="l-button" value="保存" onClick="btnSaveIn();" /> -->
- <!-- <input type="button" value="关闭" class="l-button" onClick="closeWin();" /> -->
- <!-- </div> -->
- <!-- <div class="container-layout"> -->
- <div class="forum-container">
- <table class="l-table-edit line">
- <tr>
- <th colspan="2">帐套项目</th>
- </tr>
- <tr>
- <td class="l-table-edit-text" >项目名称<FONT COLOR="red">*</FONT>:
- </td>
- <td class="l-table-edit-td" ><select id="insurance_project_id" name="insurance_project_id">
- <option value="">请选择</option>
- <c:forEach items="${sipList }" var="sip">
- <option value="${sip.universalid }" <c:if test="${sip.universalid == salaryInsuranceCountDetail.insurance_project_id }">selected="selected"</c:if>>${sip.project_name }</option>
- </c:forEach>
- </select></td>
- </tr>
- <tr>
- <td class="l-table-edit-text">基数 <FONT COLOR="red">*</FONT>:
- </td>
- <td class="l-table-edit-td"><input type="text" id="base_number" name="base_number" value="${requestScope.salaryInsuranceCountDetail.base_number }"></td>
- </tr>
- <tr>
- <td class="l-table-edit-text">单位缴费 <FONT COLOR="red">*</FONT>:
- </td>
- <td class="l-table-edit-td"><input type="text" id="unit_pay" name="unit_pay" value="${requestScope.salaryInsuranceCountDetail.unit_pay }"> <select id="unit_pay_method"
- name="unit_pay_method">
- <option value="0" <c:if test="${0 == salaryInsuranceCountDetail.unit_pay }">selected="selected"</c:if>>百分比</option>
- <option value="1" <c:if test="${1 == salaryInsuranceCountDetail.unit_pay }">selected="selected"</c:if>>定额</option>
- </select><span id="msgbox1" style="float: right;"></span>
- </td>
- </tr>
- <tr>
- <td class="l-table-edit-text">个人缴费 <FONT COLOR="red">*</FONT>:
- </td>
- <td class="l-table-edit-td"><input type="text" id="person_pay" name="person_pay" value="${requestScope.salaryInsuranceCountDetail.person_pay }"> <select id="person_pay_method"
- name="person_pay_method">
- <option value="0" <c:if test="${0 == salaryInsuranceCountDetail.person_pay }">selected="selected"</c:if>>百分比</option>
- <option value="1" <c:if test="${1 == salaryInsuranceCountDetail.person_pay }">selected="selected"</c:if>>定额</option>
- </select><span id="msgbox2" style="float: right;"></span>
- </td>
- </tr>
- </table>
- <input type="hidden" id="universalid" name="universalid" value="${salaryInsuranceCountDetail.universalid }">
- <input type="hidden" id="optype" name="optype" value="${param.optype }">
- <input type="hidden" id="jsonData" name="jsonData" value="${param.jsonData }">
- <input type="hidden" id="insurance_count_id" name="insurance_count_id" value="${salaryInsuranceCountDetail.insurance_count_id }">
- </div>
- <!-- </div> -->
- </body>
- </html>
|