<!-- 第三者责任 -->
<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>
这段jsp在投保的时候button_ItemKindThird_Insert能显示新增按钮,批改的时候没有显示新增按钮
最新发布