<%@ page contentType=“text/html; charset=UTF-8”%>
<%@ taglib uri=“/WEB-INF/struts-logic.tld” prefix=“logic”%>
<%@ taglib uri=“/WEB-INF/struts-bean.tld” prefix=“bean”%>
<%@ taglib uri=“/WEB-INF/struts-html.tld” prefix=“html”%>
<%@ taglib uri=“/WEB-INF/app.tld” prefix=“app”%>
<%@page import=“java.util.List”%>
<input name=“riskCode” type=“hidden” value=“<%=request.getAttribute(“riskCode”)%>”>
<input name=“planCode” type=“hidden” value=“<%=request.getAttribute(“planCode”)%>”>
<input name=“itemNo” type=“hidden” value=“<%=request.getAttribute(“itemNo”)%>”>
<input name=“maxGuItemKindItemKindNo” type=“hidden” value=“<%=request.getAttribute(“maxItemKindNo”)%>” />
<input name=“maxGuKindLimitSerialNo” type=“hidden” value=“<%=request.getAttribute(“maxGuKindLimitSerialNo”)%>” />
<input name=“maxGuKindDeductibleDeductibleNo” type=“hidden” value=“<%=request.getAttribute(“maxGuKindDeductibleDeductibleNo”)%>” />
<jsp:include page=“/prpall/plugin/common/riskclass/99/thirdAndMainKind/ItemEngineeringKind_Data.jsp”/>
<jsp:include page=“/prpall/plugin/common/riskclass/07/itemengineering/ThirdKindLimitKind_Data.jsp” />
<jsp:include page=“/prpall/plugin/common/riskclass/07/itemengineering/SubKindLimitKind_Data.jsp” />
<jsp:include page=“/prpall/plugin/common/riskclass/07/itemengineering/ItemEngineeringLimit_Data.jsp” />
<script type="text/javascript"> var GuKindLimitLimitA ="<bean:message key="GuKindLimitDto.LimitLimit"/>"; </script> <!-- 物质损失 --> <input name="SubOrThirdFlag" type="hidden" value = "0"> <table id="ItemKind" name="ItemKind" class="common" cellpadding="1" cellspacing="1" border="0"> <thead> <tr style="display: none"> <td width="18%" align="center"> </td> <td width="9%" align="center"> </td> <td width="9%" align="center"> </td> <td width="9%" align="center"> </td> <td width="9%" align="center"> </td> <td width="9%" align="center"> </td> <td width="12%" align="center"> </td> <td width="12%" align="center"> </td> <td width="13%" align="center"> </td> </tr> <tr class="top01"> <td align="left" colspan="9"><strong><bean:message key="GuItemKindDto.kindName" /></strong></td> </tr> <tr> <!-- 机身损失 --> <td class="left" colspan="9"><strong> <bean:message key="prompt.materialFuselageLoss"/> <%-- 第一部分:机身损失--%> </strong></td> </tr> <tr> <td width="18%" class="white" align="center"><bean:message key="GuItemKindDto.itemCode" /> <font color="red">*</font></td> <td width="9%" class="white" align="center"><bean:message key="GuItemKindDto.numberSumInsured"/> <font color="red">*</font></td> <td width="9%" class="white" align="center"><bean:message key="GuItemKindDto.sumInsured" /> <font color="red">*</font></td> <logic:equal name='ggRiskDto' property='calculator' value='100'> <TD class="white" align="center" width="9%"><bean:message key="GuItemKindDto.rate"/>(%) <font color="red">*</font></TD> </logic:equal> <logic:notEqual name='ggRiskDto' property='calculator' value='100'> <TD class="white" align="center" width="9%"><bean:message key="GuItemKindDto.rate"/>(‰) <font color="red">*</font></TD> </logic:notEqual> <td width="9%" class="white" align="center"><bean:message key="GuItemKindDto.shortRateFlag" /> <font color="red">*</font></td> <td width="9%" class="white" align="center"><bean:message key="GuItemKindDto.shortRate" /></td> <td width="12%" class="white" align="center"><bean:message key="GuItemKindDto.uwPremium" /></td> <td width="12%" class="white" align="center"><bean:message key="GuItemKindDto.grossPremium" /> <font color="red">*</font></td> <td width="13%" class="white" align="center"></td> </tr> </thead> <tbody> <bean:size id="listMainItemLength" name="guItemKindMainList" /> <% List guItemKindDtoList = (List) request.getAttribute("guItemKindMainList"); if (guItemKindDtoList != null) { int lengthList = guItemKindDtoList.size(); for (int index = 0; index < lengthList; index++) { request.setAttribute("guItemKindDto", guItemKindDtoList.get(index)); %> <logic:notEmpty name = "guItemKindDto" property="itemDetailCode"> <logic:equal parameter="businessType" value="Endor"> <bean:define name="guItemKindDto" property="guPolicyItemKindDto" id="guPolicyItemKindDto" /> </logic:equal> <tr> <td class="white"> <input name="GuItemKindFlag" type="hidden" endorFlag="B" value="<bean:write name='guItemKindDto' property='flag'/>" title="<bean:write name='guPolicyItemKindDto' property='flag'/>" > <input name="GuItemKindProjectCode" type="hidden" value="<bean:write name='guItemKindDto' property='projectCode'/>"> <logic:present name="guItemKindDto" property="subProposalNo"> <input name="GuItemKindSubProposalNo" type="hidden" value="<bean:write name='guItemKindDto' property='subProposalNo'/>"> </logic:present> <logic:present name="guItemKindDto" property="countFlag"> <logic:notEqual name="guItemKindDto" property="countFlag" value="0"> <input name="GuItemKindCountFlag" type="hidden" value="<bean:write name='guItemKindDto' property='countFlag'/>"> </logic:notEqual> </logic:present> <input name="GuItemKindSurrenderInd" type="hidden" value="0"> <input name="GuItemKindItemNo" type="hidden" value="<%=request.getAttribute("itemNo")%>"> <input name="GuItemKindItemDetailNo" type="hidden" value="<bean:write name='guItemKindDto' property='itemDetailNo'/>"> <input name="GuItemKindKindCode" type="hidden" value="<bean:write name='guItemKindDto' property='kindCode'/>"> <input name="GuItemKindKindName" type="hidden" value="<bean:write name='guItemKindDto' property='kindName'/>"> <input name="GuItemKindPlanCode" type="hidden" value="<bean:write name='guItemKindDto' property='planCode'/>"> <input name="GuItemKindRiskCode" type="hidden" value="<bean:write name='guItemKindDto' property='riskCode'/>"> <input name="GuItemKindCompanyCode" type="hidden" value="<%=request.getAttribute("companyCode")%>"> <input name="GuItemKindItemCode" type="hidden" value="<bean:write name='guItemKindDto' property='itemCode'/>"> <input name="GuItemKindStartDate" type="hidden" value="<bean:write name='guItemKindDto' property='startDate'/>" title="<bean:write name='guPolicyItemKindDto' property='startDate'/>"> <input name="GuItemKindEndDate" type="hidden" value="<bean:write name='guItemKindDto' property='endDate'/>" title="<bean:write name='guPolicyItemKindDto' property='endDate'/>"> <input name="GuItemKindCurrency" type="hidden" value="<bean:write name='guItemKindDto' property='currency'/>" title="<bean:write name='guPolicyItemKindDto' property='currency'/>" > <input name="GuItemKindItemKindNo" type="hidden" title="<bean:write name='guItemKindDto' property='itemKindNo'/>" value="<bean:write name='guItemKindDto' property='itemKindNo'/>"> <input name="GuItemKindReSpecialInd" type="hidden" value="<bean:write name='guItemKindDto' property='reSpecialInd'/>"> <input name="GuItemKindItemDetailCode" class="codecode" type="text" style="width: 30%" title="<bean:write name='guPolicyItemKindDto' property='itemDetailCode'/>" value="<bean:write name='guItemKindDto' property='itemDetailCode'/>" ondblclick="getField(this, 'ItemKind', '<bean:message key='alert.message.sameItemDetailCode' />');code_CodeSelect(this,'itemDetailCodeByRiskCode','0,1,1,3,4,8,9','Y','riskCode=<%=request.getAttribute("riskCode")%>','setGuItemKindItemDetailCodeOnchange();');" onkeyup="getField(this, 'ItemKind', '<bean:message key='alert.message.sameItemDetailCode' />');code_CodeSelect(this,'itemDetailCodeByRiskCode','0,1,1,3,4,8,9','Y','riskCode=<%=request.getAttribute("riskCode")%>','setGuItemKindItemDetailCodeOnchange();');" onchange="getField(this, 'ItemKind', '<bean:message key='alert.message.sameItemDetailCode' />');code_CodeChange(this,'itemDetailCodeByRiskCode','0,1,1,3,4,8,9','Y','riskCode=<%=request.getAttribute("riskCode")%>','setGuItemKindItemDetailCodeOnchange();');"> <input name="GuItemKindItemDetailList" class="codename" type="text" style="width: 65%" title="<bean:write name='guPolicyItemKindDto' property='itemDetailList'/>" value="<bean:write name='guItemKindDto' property='itemDetailList'/>"> <input name="GuItemKindKindInd" type="hidden" value="<bean:write name='guItemKindDto' property='kindInd'/>"> </td> <td class="white"> <input name="GuItemKindCalculateInd" class="codecode" type="text" style="width:30%" title="<bean:write name='guPolicyItemKindDto' property='calculateInd'/>" value="<bean:write name='guItemKindDto' property='calculateInd'/>" ondblclick="getField(this,'ItemKind');code_CodeSelect(this,'calculateInd','0,1','Y','02,CalculateInd','setGuItemKindCalculateIndOnchange();');" onkeyup="getField(this,'ItemKind');code_CodeSelect(this,'calculateInd','0,1','Y','02,CalculateInd','setGuItemKindCalculateIndOnchange();');" onchange="getField(this,'ItemKind');code_CodeChange(this,'calculateInd','0,1','Y','02,CalculateInd','setGuItemKindCalculateIndOnchange();');"> <input name="GuItemKindCalculateIndName" class="readonly" type="text" style="width:65%" readonly title="<app:localeName name="guPolicyItemKindDto" property="calculateInd,CalculateInd" codeType="ggCodeCodeName" filter="true" />" value="<app:localeName name="guItemKindDto" property="calculateInd,CalculateInd" codeType="ggCodeCodeName" filter="true" />"> </td> <td class="white"> <input name="GuItemKindSumInsured" class="common01" type="text" style="width: 100%" title="<bean:write name='guPolicyItemKindDto' property='sumInsured'/>" value="<bean:write name='guItemKindDto' property='sumInsured'/>" onchange="calculatorPremium(this,'<bean:message key="alert.message.kindcodeMustInput"/>','<bean:message key="alert.message.zeroError"/>','')"> </td> <td class="white"> <input name="GuItemKindRate" class="common01" type="text" style="width: 100%" title="<bean:write name='guPolicyItemKindDto' property='rate' format="#,##0.000000"/>" value="<bean:write name='guItemKindDto' property='rate' format="#,##0.000000"/>" onchange="calculatorPremium(this,'<bean:message key="alert.message.kindcodeMustInput"/>','<bean:message key="alert.message.zeroError"/>','')"> <input name="GuCalculator" type="hidden" value="100"> </td> <td class="white"> <input name="GuItemKindShortRateFlag" class="codecode" type="text" style="width: 30%" title="<bean:write name='guPolicyItemKindDto' property='shortRateFlag'/>" value="<bean:write name='guItemKindDto' property='shortRateFlag'/>" ondblclick="getField(this, 'ItemKind', '<bean:message key="alert.message.kindcodeMustInput"/>', '<bean:message key="alert.message.zeroError"/>');code_CodeSelect(this,'shortRateFlag','0,1','Y','02,ShortRateFlag','changeGuItemKindShortRateFlag();');" onkeyup="getField(this, 'ItemKind', '<bean:message key="alert.message.kindcodeMustInput"/>', '<bean:message key="alert.message.zeroError"/>');code_CodeSelect(this,'shortRateFlag','0,1','Y','02,ShortRateFlag','changeGuItemKindShortRateFlag();');" onchange="getField(this, 'ItemKind', '<bean:message key="alert.message.kindcodeMustInput"/>', '<bean:message key="alert.message.zeroError"/>');code_CodeChange(this,'shortRateFlag','0,1','Y','02,ShortRateFlag','changeGuItemKindShortRateFlag();');"> <input name="GuItemKindShortRateFlagName" class="readonly" type="text" style="width: 65%" readonly title="<app:localeName name="guItemKindDto" property="shortRateFlag,ShortRateFlag" codeType="ggCodeCodeName" filter="true" />" value="<app:localeName name="guItemKindDto" property="shortRateFlag,ShortRateFlag" codeType="ggCodeCodeName" filter="true" />"> </td> <td class="white"> <input name="GuItemKindShortRate" type="hidden" value="<bean:write name='guItemKindDto' property='shortRate' format="0.00"/>" title="<bean:write name='guPolicyItemKindDto' property='shortRate' format="0.00"/>"> <input name="GuItemKindShortRateNumerator" class="common01" readonly="readonly" type="text" style="width: 42%" value="<bean:write name='guItemKindDto' property='shortRateNumerator' format="#"/>" title="<bean:write name='guPolicyItemKindDto' property='shortRateNumerator' format="#"/>" onchange="calculatorPremium(this,'<bean:message key="alert.message.kindcodeMustInput"/>','<bean:message key="alert.message.zeroError"/>','')">/ <input name="GuItemKindShortRateDenominator" class="common01" readonly="readonly" type="text" style="width: 42%" value="<bean:write name='guItemKindDto' property='shortRateDenominator'/>" title="<bean:write name='guPolicyItemKindDto' property='shortRateDenominator'/>" onchange="calculatorPremium(this,'<bean:message key="alert.message.kindcodeMustInput"/>','<bean:message key="alert.message.zeroError"/>','')"> </td> <td class="white"> <input name="GuItemKindUwPremium" class="readonly" type="text" style="width:100%" readonly title="<bean:write name='guPolicyItemKindDto' property='uwPremium'/>" value="<bean:write name='guItemKindDto' property='uwPremium'/>" onchange=" "> <input name="GuItemKindOriginUWPremium" class="common01" type="hidden" style="width: 100%" value="<bean:write name='guItemKindDto' property='originUWPremium'/>"> </td> <td class="white"> <input name="GuItemKindGrossPremium" class="common" type="text" style="width: 100%" title="<bean:write name='guPolicyItemKindDto' property='grossPremium'/>" value="<bean:write name='guItemKindDto' property='grossPremium'/>" onchange=" "> <input name="GuItemKindOriginGrossPremium" class="common01" type="hidden" value="<bean:write name='guItemKindDto' property='originGrossPremium'/>"> </td> <td class="white" align="center"> <INPUT name="button_ItemKind_Delete" class="smallbutton" type="button" value="<bean:message key="button.delete"/>" ind="ind" onclick="deleteRowInTable(this,'ItemKind','1',1);afterEndorDeleteItemKind(this, '');"> </td> </tr> </logic:notEmpty> <% } } %> </tbody> <tfoot> <TR> <TD class="title02" colspan="9"> <P align="left"><input name="button_ItemKind_Insert" class="button" type="button" style="cursor:hand" ind="ind" value="<bean:message key='button.add'/>" onclick="insertRowInTable(this,'ItemKind',1);"> </P> </TD> </TR> </tfoot> </table> <!-- 特种风险赔偿限额 -->
<logic:notEqual name=‘ggRiskDto’ property=‘riskCode’ value=‘9929’>
<jsp:include page=“/prpall/plugin/common/riskclass/07/itemengineering/ItemEngineeringLimit.jsp” />
</logic:notEqual>
<!-- 第三者责任 --> <table id="ItemKindThird" name="ItemKindThird" class="common" cellpadding="1" cellspacing="1"> <thead> <tr style="display: none"> <td width="18%" align="center"> </td> <td width="9%" align="center"> </td> <td width="9%" align="center"> </td> <td width="9%" align="center"> </td> <td width="9%" align="center"> </td> <td width="9%" align="center"> </td> <td width="12%" align="center"> </td> <td width="12%" align="center"> </td> <td width="13%" align="center"> </td> </tr> <tr> <td class="left" colspan="9"><strong><bean:message key="prompt.thirdPartyLibility2"/></strong></td> </tr> <tr> <td width="18%" class="white" align="center"><bean:message key="GuItemKindDto.kindCode" /> <font color="red">*</font></td> <td width="9%" class="white" align="center"><bean:message key="GuItemKindDto.numberSumInsured"/> <font color="red">*</font></td> <td width="9%" class="white" align="center"><bean:message key="GuItemKindDto.thirdSumInsured" /> <font color="red">*</font></td> <logic:equal name='ggRiskDto' property='calculator' value='100'> <TD class="white" align="center" width="9%"><bean:message key="GuItemKindDto.rate"/>(%) <font color="red">*</font></TD> </logic:equal> <logic:notEqual name='ggRiskDto' property='calculator' value='100'> <TD class="white" align="center" width="9%"><bean:message key="GuItemKindDto.rate"/>(‰) <font color="red">*</font></TD> </logic:notEqual> <td width="9%" class="white" align="center"><bean:message key="GuItemKindDto.shortRateFlag" /> <font color="red">*</font></td> <td width="9%" class="white" align="center"><bean:message key="GuItemKindDto.shortRate" /></td> <td width="12%" class="white" align="center"><bean:message key="GuItemKindDto.uwPremium" /></td> <td width="12%" class="white" align="center"><bean:message key="GuItemKindDto.grossPremium" /> <font color="red">*</font></td> <td width="13%" class="white" align="center"></td> </tr> </thead> <tbody> <% List guThirdItemKindDtoList = (List) request.getAttribute("guItemKindThirdList"); if (guThirdItemKindDtoList != null) { int lengthThirdList = guThirdItemKindDtoList.size(); for (int index = 0; index < lengthThirdList; index++) { request.setAttribute("guThirdItemKindDto", guThirdItemKindDtoList.get(index)); %> <logic:notEmpty name = "guThirdItemKindDto" property="sumInsured"> <logic:equal parameter="businessType" value="Endor"> <bean:define name="guThirdItemKindDto" property="guPolicyItemKindDto" id="thirdGuPolicyItemKindDto" /> </logic:equal> <tr> <td class="white"> <input name="ThirdGuItemKindFlag" type="hidden" endorFlag="B" value="<bean:write name='guThirdItemKindDto' property='flag'/>" title="<bean:write name='thirdGuPolicyItemKindDto' property='flag'/>"> <input name="ThirdGuItemKindProjectCode" type="hidden" value="<bean:write name='guThirdItemKindDto' property='projectCode'/>"> <input name="ThirdGuItemKindKindCode" class="codecode" type="text" style="width: 30%" readonly title="<bean:write name='thirdGuPolicyItemKindDto' property='kindCode'/>" value="<bean:write name='guThirdItemKindDto' property='kindCode'/>"> <input name="ThirdGuItemKindKindName" class="readonly" type="text" style="width: 65%" readonly title="<bean:write name='thirdGuPolicyItemKindDto' property='kindName'/>" value="<bean:write name='guThirdItemKindDto' property='kindName'/>"> <logic:present name="guThirdItemKindDto" property="subProposalNo"> <input name="ThirdGuItemKindSubProposalNo" type="hidden" value="<bean:write name='guThirdItemKindDto' property='subProposalNo'/>"> </logic:present> <logic:present name="guThirdItemKindDto" property="countFlag"> <logic:notEqual name="guThirdItemKindDto" property="countFlag" value="0"> <input name="ThirdGuItemKindCountFlag" type="hidden" value="<bean:write name='guThirdItemKindDto' property='countFlag'/>"> </logic:notEqual> </logic:present> <input name="ThirdGuItemKindSurrenderInd" type="hidden" value="0"> <input name="ThirdGuItemKindItemNo" type="hidden" value="<%=request.getAttribute("itemNo")%>"> <input name="ThirdGuItemKindItemDetailNo" type="hidden" value="0"> <input name="ThirdGuItemKindPlanCode" type="hidden" value="<bean:write name='guThirdItemKindDto' property='planCode'/>"> <input name="ThirdGuItemKindRiskCode" type="hidden" value="<bean:write name='guThirdItemKindDto' property='riskCode'/>"> <input name="ThirdGuItemKindCompanyCode" type="hidden" value="<%=request.getAttribute("companyCode")%>"> <input name="ThirdGuItemKindItemCode" type="hidden" value="<bean:write name='guThirdItemKindDto' property='itemCode'/>"> <input name="ThirdGuItemKindReSpecialInd" type="hidden" value="<bean:write name='guThirdItemKindDto' property='reSpecialInd'/>"> <input name="ThirdGuItemKindStartDate" type="hidden" value="<bean:write name='guThirdItemKindDto' property='startDate'/>" title="<bean:write name='thirdGuPolicyItemKindDto' property='startDate'/>"> <input name="ThirdGuItemKindEndDate" type="hidden" value="<bean:write name='guThirdItemKindDto' property='endDate'/>" title="<bean:write name='thirdGuPolicyItemKindDto' property='endDate'/>"> <input name="ThirdGuItemKindCurrency" type="hidden" onchange=" " value="<bean:write name='guThirdItemKindDto' property='currency'/>" title="<bean:write name='thirdGuPolicyItemKindDto' property='currency'/>" > <input name="ThirdGuItemKindItemKindNo" type="hidden" title="<bean:write name='thirdGuPolicyItemKindDto' property='itemKindNo'/>" value="<bean:write name='guThirdItemKindDto' property='itemKindNo'/>"> <input name="ThirdGuItemKindItemDetailCode" class="codecode" type="text" style="display:none;width: 30%" title="<bean:write name='thirdGuPolicyItemKindDto' property='itemDetailCode'/>" value="<bean:write name='guThirdItemKindDto' property='itemDetailCode'/>" ondblclick="getField(this, 'ItemKindThird', '<bean:message key='alert.message.sameItemDetailCode' />');code_CodeSelect(this,'itemDetailCodeByRiskCode','0,1','Y','riskCode=<%=request.getAttribute("riskCode")%>','');" onkeyup="getField(this, 'ItemKindThird', '<bean:message key='alert.message.sameItemDetailCode' />');code_CodeSelect(this,'itemDetailCodeByRiskCode','0,1','Y','riskCode=<%=request.getAttribute("riskCode")%>','');" onchange="getField(this, 'ItemKindThird', '<bean:message key='alert.message.sameItemDetailCode' />');code_CodeChange(this,'itemDetailCodeByRiskCode','0,1','Y','riskCode=<%=request.getAttribute("riskCode")%>','');"> <input name="ThirdGuItemKindItemDetailList" class="readonly" type="text" style="display:none;width: 65%" readonly title="<bean:write name='thirdGuPolicyItemKindDto' property='itemDetailList'/>" value="<bean:write name='guThirdItemKindDto' property='itemDetailList'/>"> <input name="ThirdGuItemKindKindInd" type="hidden" value="<bean:write name='guThirdItemKindDto' property='kindInd'/>"> </td> <td class="white"> <input name="ThirdGuItemKindCalculateInd" class="codecode" type="text" style="width:30%" title="<bean:write name='thirdGuPolicyItemKindDto' property='calculateInd'/>" value="<bean:write name='guThirdItemKindDto' property='calculateInd'/>" ondblclick="getField(this,'ItemKindThird');code_CodeSelect(this,'calculateInd','0,1','Y','02,CalculateInd','setGuItemKindCalculateIndOnchange();');" onkeyup="getField(this,'ItemKindThird');code_CodeSelect(this,'calculateInd','0,1','Y','02,CalculateInd','setGuItemKindCalculateIndOnchange();');" onchange="getField(this,'ItemKindThird');code_CodeChange(this,'calculateInd','0,1','Y','02,CalculateInd','setGuItemKindCalculateIndOnchange();');"> <input name="ThirdGuItemKindCalculateIndName" class="readonly" type="text" style="width:65%" readonly title="<app:localeName name="thirdGuPolicyItemKindDto" property="calculateInd,CalculateInd" codeType="ggCodeCodeName" filter="true" />" value="<app:localeName name="guThirdItemKindDto" property="calculateInd,CalculateInd" codeType="ggCodeCodeName" filter="true" />"> </td> <td class="white"> <input name="ThirdGuItemKindSumInsured" class="common01" type="text" style="width: 100%" title="<bean:write name='thirdGuPolicyItemKindDto' property='sumInsured'/>" value="<bean:write name='guThirdItemKindDto' property='sumInsured'/>" onchange="calculatorPremium(this,'<bean:message key="alert.message.kindcodeMustInput"/>','<bean:message key="alert.message.zeroError"/>','Third');"> </td> <td class="white"> <input name="ThirdGuItemKindRate" class="common01" type="text" style="width: 100%" title="<bean:write name='thirdGuPolicyItemKindDto' property='rate' format="#,##0.000000"/>" value="<bean:write name='guThirdItemKindDto' property='rate' format="#,##0.000000"/>" onchange="calculatorPremium(this,'<bean:message key="alert.message.kindcodeMustInput"/>','<bean:message key="alert.message.zeroError"/>','Third');"> <input name="GuCalculator" type="hidden" value="100"> </td> <td class="white"> <input name="ThirdGuItemKindShortRateFlag" class="codecode" type="text" style="width: 30%" title="<bean:write name='thirdGuPolicyItemKindDto' property='shortRateFlag'/>" value="<bean:write name='guThirdItemKindDto' property='shortRateFlag'/>" ondblclick="getField(this, 'ItemKindThird', '<bean:message key="alert.message.kindcodeMustInput"/>', '<bean:message key="alert.message.zeroError"/>');code_CodeSelect(this,'shortRateFlag','0,1','Y','02,ShortRateFlag','changeGuItemKindShortRateFlag();');" onkeyup="getField(this, 'ItemKindThird', '<bean:message key="alert.message.kindcodeMustInput"/>', '<bean:message key="alert.message.zeroError"/>');code_CodeSelect(this,'shortRateFlag','0,1','Y','02,ShortRateFlag','changeGuItemKindShortRateFlag();');" onchange="getField(this, 'ItemKindThird', '<bean:message key="alert.message.kindcodeMustInput"/>', '<bean:message key="alert.message.zeroError"/>');code_CodeChange(this,'shortRateFlag','0,1','Y','02,ShortRateFlag','changeGuItemKindShortRateFlag();');"> <input name="ThirdGuItemKindShortRateFlagName" class="common01" type="text" style="width: 65%" readonly title="<app:localeName name="thirdGuPolicyItemKindDto" property="shortRateFlag,ShortRateFlag" codeType="ggCodeCodeName" filter="true" />" value="<app:localeName name="guThirdItemKindDto" property="shortRateFlag,ShortRateFlag" codeType="ggCodeCodeName" filter="true" />"> </td> <td class="white"> <input name="ThirdGuItemKindShortRate" type="hidden" value="<bean:write name='guThirdItemKindDto' property='shortRate' format="0.00"/>" title="<bean:write name='thirdGuPolicyItemKindDto' property='shortRate' format="0.00"/>"> <input name="ThirdGuItemKindShortRateNumerator" class="common01" readonly="readonly" type="text" style="width: 42%" value="<bean:write name='guThirdItemKindDto' property='shortRateNumerator' format="#"/>" title="<bean:write name='thirdGuPolicyItemKindDto' property='shortRateNumerator' format="#"/>" onchange="calculatorPremium(this,'<bean:message key="alert.message.kindcodeMustInput"/>','<bean:message key="alert.message.zeroError"/>','Third');">/ <input name="ThirdGuItemKindShortRateDenominator" class="common01" readonly="readonly" type="text" style="width: 42%" value="<bean:write name='guThirdItemKindDto' property='shortRateDenominator' format="#"/>" title="<bean:write name='thirdGuPolicyItemKindDto' property='shortRateDenominator' format="#"/>" onchange="calculatorPremium(this,'<bean:message key="alert.message.kindcodeMustInput"/>','<bean:message key="alert.message.zeroError"/>','Third');"> </td> <td class="white"> <input name="ThirdGuItemKindUwPremium" class="readonly" type="text" style="width: 100%" readonly title="<bean:write name='thirdGuPolicyItemKindDto' property='uwPremium'/>" value="<bean:write name='guThirdItemKindDto' property='uwPremium'/>" onchange=" "> <input name="ThirdGuItemKindOriginUWPremium" class="common01" type="hidden" style="width: 100%" value="<bean:write name='guThirdItemKindDto' property='originUWPremium'/>"> </td> <td class="white"> <input name="ThirdGuItemKindGrossPremium" class="common01" type="text" style="width: 100%" title="<bean:write name='thirdGuPolicyItemKindDto' property='grossPremium'/>" value="<bean:write name='guThirdItemKindDto' property='grossPremium'/>" onchange=""> <input name="ThirdGuItemKindOriginGrossPremium" class="common01" type="hidden" value="<bean:write name='guThirdItemKindDto' property='originGrossPremium'/>"> </td> <td class="white" align="center"> <input name="button_ThirdKindLimitKind_Edit" class="smallbutton" type="button" style="cursor: hand" value="<bean:message key="button.limit"/>" onclick="showSubPageForPrpall(this,'span_ThirdKindLimitKind_SubPage');"> <SPAN id="span_ThirdKindLimitKind_SubPage" name="span_ThirdKindLimitKind_SubPage" style="display: none; position: absolute; width: 790; background-color: FFFFFF;"> <jsp:include page="/prpall/plugin/common/riskclass/07/itemengineering/ThirdKindLimitKind.jsp" /> </SPAN> <INPUT name="button_ItemKindThird_Delete" class="smallbutton" type="button" value="<bean:message key="button.delete"/>" ind="ind" onclick="deleteRowInTable(this,'ItemKindThird',1,1);afterEndorDeleteItemKind(this, 'Third', '')"> </td> </tr> </logic:notEmpty> <% } } %> </tbody> <tfoot> <TR> <TD class="title02" colspan="9"> <P align="left"><input name="button_ItemKindThird_Insert" class="button" type="button" style="cursor:hand" ind="ind" value="<bean:message key='button.add'/>" onclick="insertEngineeringThridItemKind(this, 'ItemKindThird', 1, '<bean:message key='alert.message.aThirdKindOfAItem' />')"> </P> </TD> </TR> </tfoot> </table> <!--附加险 --> <table id="ItemKindSub" name="ItemKindSub" class="common" cellpadding="1" cellspacing="1"> <thead> <tr style="display: none"> <td width="18%" align="center"> </td> <td width="9%" align="center"> </td> <td width="9%" align="center"> </td> <td width="9%" align="center"> </td> <td width="9%" align="center"> </td> <td width="9%" align="center"> </td> <td width="12%" align="center"> </td> <td width="12%" align="center"> </td> <td width="13%" align="center"> </td> </tr> <tr> <td class="left" colspan="9"><strong><bean:message key="GuItemKindDto.subKind"/></strong></td> </tr> <tr> <td width="18%" class="white" align="center"><bean:message key="GuItemKindDto.kindCode" /> <font color="red">*</font></td> <td width="9%" class="white" align="center"><bean:message key="GuItemKindDto.numberSumInsured"/> <font color="red">*</font></td> <td width="9%" class="white" align="center"><bean:message key="GuItemKindDto.thirdSumInsured" /> <font color="red">*</font></td> <logic:equal name='ggRiskDto' property='calculator' value='100'> <TD class="white" align="center" width="9%"><bean:message key="GuItemKindDto.rate"/>(%) <font color="red">*</font></TD> </logic:equal> <logic:notEqual name='ggRiskDto' property='calculator' value='100'> <TD class="white" align="center" width="9%"><bean:message key="GuItemKindDto.rate"/>(‰) <font color="red">*</font></TD> </logic:notEqual> <td width="9%" class="white" align="center"><bean:message key="GuItemKindDto.shortRateFlag" /> <font color="red">*</font></td> <td width="9%" class="white" align="center"><bean:message key="GuItemKindDto.shortRate" /></td> <td width="12%" class="white" align="center"><bean:message key="GuItemKindDto.uwPremium" /></td> <td width="12%" class="white" align="center"><bean:message key="GuItemKindDto.grossPremium" /> <font color="red">*</font></td> <td width="13%" class="white" align="center"></td> </tr> </thead> <tbody> <% List guSubItemKindDtoList = (List) request.getAttribute("guItemKindSubList"); if (guSubItemKindDtoList != null) { int lengthSubList = guSubItemKindDtoList.size(); for (int index = 0; index < lengthSubList; index++) { request.setAttribute("subGuItemKindDto", guSubItemKindDtoList.get(index)); %> <logic:notEmpty name="subGuItemKindDto" property="sumInsured"> <logic:equal parameter="businessType" value="Endor"> <bean:define name="subGuItemKindDto" property="guPolicyItemKindDto" id="subGuPolicyItemKindDto" /> </logic:equal> <tr> <td class="white"> <input name="SubGuItemKindFlag" type="hidden" endorFlag="B" value="<bean:write name='subGuItemKindDto' property='flag'/>" title="<bean:write name='subGuPolicyItemKindDto' property='flag' filter='true'/>"> <input name="SubGuItemKindProjectCode" type="hidden" value="<bean:write name='subGuItemKindDto' property='projectCode'/>"> <logic:present name="subGuItemKindDto" property="subProposalNo"> <input name="SubGuItemKindSubProposalNo" type="hidden" value="<bean:write name='subGuItemKindDto' property='subProposalNo'/>"> </logic:present> <logic:present name="subGuItemKindDto" property="countFlag"> <logic:notEqual name="subGuItemKindDto" property="countFlag" value="0"> <input name="SubGuItemKindCountFlag" type="hidden" value="<bean:write name='subGuItemKindDto' property='countFlag'/>"> </logic:notEqual> </logic:present> <input name="SubGuItemKindSurrenderInd" type="hidden" value="0"> <input name="SubGuItemKindItemNo" type="hidden" value="<%=request.getAttribute("itemNo")%>"> <input name="SubGuItemKindItemDetailNo" type="hidden" value="0"> <input name="SubGuItemKindPlanCode" type="hidden" value="<bean:write name='subGuItemKindDto' property='planCode'/>"> <input name="SubGuItemKindRiskCode" type="hidden" value="<bean:write name='subGuItemKindDto' property='riskCode'/>"> <input name="SubGuItemKindCompanyCode" type="hidden" value="<%=request.getAttribute("companyCode")%>"> <input name="SubGuItemKindItemCode" type="hidden" value="<bean:write name='subGuItemKindDto' property='itemCode'/>"> <input name="SubGuItemKindReSpecialInd" type="hidden" value="<bean:write name='subGuItemKindDto' property='reSpecialInd'/>"> <input name="SubGuItemKindStartDate" type="hidden" value="<bean:write name='subGuItemKindDto' property='startDate'/>" title="<bean:write name='subGuPolicyItemKindDto' property='startDate'/>"> <input name="SubGuItemKindEndDate" type="hidden" value="<bean:write name='subGuItemKindDto' property='endDate'/>" title="<bean:write name='subGuPolicyItemKindDto' property='endDate'/>"> <input name="SubGuItemKindDiscount" type="hidden" value="<bean:write name='subGuItemKindDto' property='discount'/>"> <input name="SubGuItemKindCurrency" type="hidden" onchange=" " value="<bean:write name='subGuItemKindDto' property='currency'/>" title="<bean:write name='subGuPolicyItemKindDto' property='currency'/>" > <input name="SubGuItemKindItemKindNo" type="hidden" title="<bean:write name='subGuPolicyItemKindDto' property='itemKindNo'/>" value="<bean:write name='subGuItemKindDto' property='itemKindNo'/>"> <input name="SubGuItemKindItemDetailCode" class="codecode" type="text" style="display:none;width: 30%" title="<bean:write name='subGuPolicyItemKindDto' property='itemDetailCode'/>" value="<bean:write name='subGuItemKindDto' property='itemDetailCode'/>" ondblclick="getField(this, 'ItemKindSub', '<bean:message key='alert.message.sameItemDetailCode' />');code_CodeSelect(this,'itemDetailCodeByRiskCode','0,1','Y','riskCode=<%=request.getAttribute("riskCode")%>','');" onkeyup="getField(this, 'ItemKindSub', '<bean:message key='alert.message.sameItemDetailCode' />');code_CodeSelect(this,'itemDetailCodeByRiskCode','0,1','Y','riskCode=<%=request.getAttribute("riskCode")%>','');" onchange="getField(this, 'ItemKindSub', '<bean:message key='alert.message.sameItemDetailCode' />');code_CodeChange(this,'itemDetailCodeByRiskCode','0,1','Y','riskCode=<%=request.getAttribute("riskCode")%>','');"> <input name="SubGuItemKindItemDetailList" class="readonly" type="text" style="display:none;width: 65%" readonly title="<bean:write name='subGuPolicyItemKindDto' property='itemDetailList'/>" value="<bean:write name='subGuItemKindDto' property='itemDetailList'/>"> <input name="SubGuItemKindKindCode" class="codecode" type="text" style="width:30%" title="<bean:write name='subGuPolicyItemKindDto' property='kindCode'/>" value="<bean:write name='subGuItemKindDto' property='kindCode'/>" ondblclick="getField(this, 'ItemKindSub', '<bean:message key='alert.message.itemkind' />');code_CodeSelect(this,'getKindCodeWithIndNew','0,1,2,3,4,8,9,','Y','riskCode='+fm.SubGuItemKindRiskCode[1].value+',kindInd=2,productEdition=fm.productEdition.value','');changeSubKindCodeCallBack(this);" onkeyup="getField(this, 'ItemKindSub', '<bean:message key='alert.message.itemkind' />');code_CodeSelect(this,'getKindCodeWithIndNew','0,1,2,3,4,8,9','Y','riskCode='+fm.SubGuItemKindRiskCode[1].value+',kindInd=2,productEdition=fm.productEdition.value','');changeSubKindCodeCallBack(this);" onchange="getField(this, 'ItemKindSub', '<bean:message key='alert.message.itemkind' />');code_CodeChange(this,'getKindCodeWithIndNew','0,1,2,3,4,8,9','Y','riskCode='+fm.SubGuItemKindRiskCode[1].value+',kindInd=2,productEdition=fm.productEdition.value','');changeSubKindCodeCallBack(this);"> <INPUT name="SubGuItemKindKindName" class="readonly" readonly type="text" style="width:60%" readonly title="<bean:write name='subGuPolicyItemKindDto' property='kindName'/>" value="<bean:write name='subGuItemKindDto' property='kindName'/>"> <input name="SubGuItemKindKindInd" type="hidden" value="<bean:write name='subGuItemKindDto' property='kindInd'/>"> </td> <td class="white"> <input name="SubGuItemKindCalculateInd" class="codecode" type="text" style="width:30%" title="<bean:write name='subGuPolicyItemKindDto' property='calculateInd'/>" value="<bean:write name='subGuItemKindDto' property='calculateInd'/>" ondblclick="getField(this,'ItemKindSub');code_CodeSelect(this,'calculateInd','0,1','Y','02,CalculateInd','setGuItemKindCalculateIndOnchange();');" onkeyup="getField(this,'ItemKindSub');code_CodeSelect(this,'calculateInd','0,1','Y','02,CalculateInd','setGuItemKindCalculateIndOnchange();');" onchange="getField(this,'ItemKindSub');code_CodeChange(this,'calculateInd','0,1','Y','02,CalculateInd','setGuItemKindCalculateIndOnchange();');"> <input name="SubGuItemKindCalculateIndName" class="readonly" type="text" style="width:65%" readonly title="<app:localeName name="subGuPolicyItemKindDto" property="calculateInd,CalculateInd" codeType="ggCodeCodeName" filter="true" />" value="<app:localeName name="subGuItemKindDto" property="calculateInd,CalculateInd" codeType="ggCodeCodeName" filter="true" />"> </td> <td class="white"> <input name="SubGuItemKindSumInsured" class="common01" type="text" style="width: 100%" title="<bean:write name='subGuPolicyItemKindDto' property='sumInsured'/>" value="<bean:write name='subGuItemKindDto' property='sumInsured'/>" onchange="checkSubKindInsured(this);calculatorPremium(this,'<bean:message key="alert.message.kindcodeMustInput"/>','<bean:message key="alert.message.zeroError"/>','Sub')"> </td> <td class="white"> <input name="SubGuItemKindRate" class="common01" type="text" style="width: 100%" title="<bean:write name='subGuPolicyItemKindDto' property='rate' format="#,##0.000000"/>" value="<bean:write name='subGuItemKindDto' property='rate' format="#,##0.000000"/>" onchange="calculatorPremium(this,'<bean:message key="alert.message.kindcodeMustInput"/>','<bean:message key="alert.message.zeroError"/>','Sub')"> <input name="GuCalculator" type="hidden" value="100"> </td> <td class="white"> <input name="SubGuItemKindShortRateFlag" class="codecode" type="text" style="width: 30%" title="<bean:write name='subGuPolicyItemKindDto' property='shortRateFlag'/>" value="<bean:write name='subGuItemKindDto' property='shortRateFlag'/>" ondblclick="getField(this, 'ItemKindSub', '<bean:message key="alert.message.kindcodeMustInput"/>', '<bean:message key="alert.message.zeroError"/>');code_CodeSelect(this,'shortRateFlag','0,1','Y','02,ShortRateFlag','changeGuItemKindShortRateFlag();');" onkeyup="getField(this, 'ItemKindSub', '<bean:message key="alert.message.kindcodeMustInput"/>', '<bean:message key="alert.message.zeroError"/>');code_CodeSelect(this,'shortRateFlag','0,1','Y','02,ShortRateFlag','changeGuItemKindShortRateFlag();');" onchange="getField(this, 'ItemKindSub', '<bean:message key="alert.message.kindcodeMustInput"/>', '<bean:message key="alert.message.zeroError"/>');code_CodeChange(this,'shortRateFlag','0,1','Y','02,ShortRateFlag','changeGuItemKindShortRateFlag();');"> <input name="SubGuItemKindShortRateFlagName" class="common01" type="text" style="width: 65%" readonly title="<app:localeName name="subGuPolicyItemKindDto" property="shortRateFlag,ShortRateFlag" codeType="ggCodeCodeName" filter="true" />" value="<app:localeName name="subGuItemKindDto" property="shortRateFlag,ShortRateFlag" codeType="ggCodeCodeName" filter="true" />"> </td> <td class="white"> <input name="SubGuItemKindShortRate" type="hidden" value="<bean:write name='subGuItemKindDto' property='shortRate' format="0.00"/>" title="<bean:write name='subGuPolicyItemKindDto' property='shortRate' format="0.00"/>"> <input name="SubGuItemKindShortRateNumerator" class="common01" readonly="readonly" type="text" style="width: 42%" value="<bean:write name='subGuItemKindDto' property='shortRateNumerator' format="#"/>" title="<bean:write name='subGuPolicyItemKindDto' property='shortRateNumerator' format="#"/>" onchange="calculatorPremium(this,'<bean:message key="alert.message.kindcodeMustInput"/>','<bean:message key="alert.message.zeroError"/>','Sub')">/ <input name="SubGuItemKindShortRateDenominator" class="common01" readonly="readonly" type="text" style="width: 42%" value="<bean:write name='subGuItemKindDto' property='shortRateDenominator' format="#"/>" title="<bean:write name='subGuPolicyItemKindDto' property='shortRateDenominator' format="#"/>" onchange="calculatorPremium(this,'<bean:message key="alert.message.kindcodeMustInput"/>','<bean:message key="alert.message.zeroError"/>','Sub')"> </td> <td class="white"> <input name="SubGuItemKindUwPremium" class="readonly" type="text" style="width: 100%" readonly title="<bean:write name='subGuPolicyItemKindDto' property='uwPremium'/>" value="<bean:write name='subGuItemKindDto' property='uwPremium'/>" onchange=" "> <input name="SubGuItemKindOriginUWPremium" class="common01" type="hidden" style="width: 100%" value="<bean:write name='subGuItemKindDto' property='originUWPremium'/>"> </td> <td class="white"> <input name="SubGuItemKindGrossPremium" class="common01" type="text" style="width: 100%" title="<bean:write name='subGuPolicyItemKindDto' property='grossPremium'/>" value="<bean:write name='subGuItemKindDto' property='grossPremium'/>" onchange=""> <input name="SubGuItemKindOriginGrossPremium" class="common01" type="hidden" value="<bean:write name='subGuItemKindDto' property='originGrossPremium'/>"> </td> <td class="white" align="center"> <input name="button_SubKindLimitKind_Edit" class="smallbutton" type="button" style="cursor: hand" value="<bean:message key="button.limit"/>" onclick="showSubPageForPrpall(this,'span_SubKindLimitKind_SubPage');"> <SPAN id="span_SubKindLimitKind_SubPage" name="span_SubKindLimitKind_SubPage" style="display: none; position: absolute; width: 790; background-color: FFFFFF;"> <jsp:include page="/prpall/plugin/common/riskclass/07/itemengineering/SubKindLimitKind.jsp" /> </SPAN> <INPUT name="button_ItemKindSub_Delete" class="smallbutton" type="button" value="<bean:message key="button.delete"/>" ind="ind" onclick="deleteRowInTable(this,'ItemKindSub',1,1);afterEndorDeleteItemKind(this, 'Sub')"> </td> </tr> </logic:notEmpty> <% } } %> </tbody> <tfoot> <TR> <TD class="title02" colspan="9"> <P align="left"><input name="button_ItemKindSub_Insert" class="button" type="button" style="cursor:hand" ind="ind" value="<bean:message key='button.add'/>" onclick="insertRowInTable(this, 'ItemKindSub', 1);"> </P> </TD> </TR> </tfoot> </table> <app:validate formName="ItemEngineeringKindBlockForm" jsFormName="ItemEngineeringKindBlockForm" /> 解析jsp,我想在这段代码 <tfoot> <TR> <TD class="title02" colspan="9"> <P align="left"><input name="button_ItemKindThird_Insert" class="button" type="button" style="cursor:hand" ind="ind" value="<bean:message key='button.add'/>" onclick="insertEngineeringThridItemKind(this, 'ItemKindThird', 1, '<bean:message key='alert.message.aThirdKindOfAItem' />')"> </P> </TD> </TR> </tfoot> 中,使button_ItemKindThird_Insert 这个按钮在endor(批改)时不隐藏,应该怎么增加代码逻辑
最新发布