editoperatincontractletter.jsp
来自「一个关于tlms的一个小程序 看看能否帮助到别人」· JSP 代码 · 共 712 行 · 第 1/2 页
JSP
712 行
<td width="10"></td>
</tr>
</span>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td nowrap>
<bean:message
key="label.contractManage.operatinContractLetter.deptID" />
</td>
<td nowrap>
<table border="0" cellspacing="0" cellpadding="0" align="left">
<tr>
<td>
<c:choose>
<c:when test="${empty operatinContractLetterBean.deptID}">
<html:text size="13"
property="operatinContractLetterBean.deptID"
value="${operatinContractLetterBean.deptID}"
readonly="true" />
</c:when>
<c:otherwise>
<input size="13" id="operatinContractLetterBean.deptID"
type="text"
value="<dept:display deptID="${operatinContractLetterBean.deptID}"/>"
readonly="true" />
</c:otherwise>
</c:choose>
</td>
<td>
<table border="0" cellspacing="0" cellpadding="0"
align="left" id="deptButton">
<tr>
<td width="8" class="ButtonHOMEL-msover"></td>
<td class="ButtonHOME-msover">
<span
onclick="selectDepartmentID('operatinContractLetterBean.deptID');"
class="mouse"> <bean:message
key="label.contractManage.operatinContractLetter.more" />
</span>
</td>
<td width="8" class="ButtonHOMER-msover"></td>
<td width="10"></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td nowrap>
<bean:message
key="label.contractManage.operatinContractLetter.area" />
</td>
<td nowrap>
<html:text property="operatinContractLetterBean.area"
value="${operatinContractLetterBean.area}" />
</td>
<td nowrap></td>
<td nowrap></td>
</tr>
<tr>
<td nowrap>
<bean:message
key="label.contractManage.operatinContractLetter.postType" />
</td>
<td nowrap>
<html:select property="operatinContractLetterBean.postType"
value="${operatinContractLetterBean.postType}">
<html:option value="">
<bean:message key="label.common.pleaseSelect" />
</html:option>
<c:forEach items="${postTypeList}" var="postType">
<html:option value="${postType[0]}">
<c:out value="${postType[1]}" />
</html:option>
</c:forEach>
</html:select>
</td>
<td nowrap>
<bean:message
key="label.contractManage.operatinContractLetter.unit" />
</td>
<td nowrap>
<html:text property="operatinContractLetterBean.unit"
value="${operatinContractLetterBean.unit}" />
</td>
<td nowrap></td>
<td nowrap></td>
</tr>
<tr>
<td nowrap>
<bean:message
key="label.contractManage.operatinContractLetter.content" />
</td>
<td nowrap>
<html:text property="operatinContractLetterBean.content"
value="${operatinContractLetterBean.content}" />
</td>
<td nowrap>
<bean:message
key="label.contractManage.operatinContractLetter.insideCorrSpec" />
</td>
<td nowrap>
<html:text property="operatinContractLetterBean.insideCorrSpec"
value="${operatinContractLetterBean.insideCorrSpec}" />
</td>
<td nowrap></td>
<td nowrap></td>
</tr>
<tr>
<td nowrap>
<bean:message
key="label.contractManage.operatinContractLetter.envelope" />
</td>
<td nowrap>
<html:text property="operatinContractLetterBean.envelope"
value="${operatinContractLetterBean.envelope}" />
</td>
<td nowrap>
<bean:message
key="label.contractManage.operatinContractLetter.addressee" />
</td>
<td nowrap>
<html:text property="operatinContractLetterBean.addressee"
value="${operatinContractLetterBean.addressee}" />
</td>
<td nowrap></td>
<td nowrap></td>
</tr>
<tr>
<td nowrap>
<bean:message
key="label.contractManage.operatinContractLetter.signOrderformDate" />
</td>
<td nowrap>
<html:text
property="operatinContractLetterBean.signOrderformDate"
value="${operatinContractLetterBean.signOrderformDate}" />
</td>
<td nowrap>
<bean:message
key="label.contractManage.operatinContractLetter.startDate" />
</td>
<td nowrap>
<html:text property="operatinContractLetterBean.startDate"
value="${operatinContractLetterBean.startDate}" />
</td>
<td nowrap>
<bean:message
key="label.contractManage.operatinContractLetter.toDate" />
</td>
<td nowrap>
<html:text property="operatinContractLetterBean.toDate"
value="${operatinContractLetterBean.toDate}" />
</td>
</tr>
<tr>
<td nowrap>
<bean:message
key="label.contractManage.operatinContractLetter.paymentDate" />
</td>
<td nowrap>
<html:text property="operatinContractLetterBean.paymentDate"
value="${operatinContractLetterBean.paymentDate}" />
</td>
<td nowrap>
<bean:message
key="label.contractManage.operatinContractLetter.completeDate" />
</td>
<td nowrap>
<html:text property="operatinContractLetterBean.completeDate"
value="${operatinContractLetterBean.completeDate}" />
</td>
<td nowrap>
<bean:message
key="label.contractManage.operatinContractLetter.contractStateID" />
</td>
<td nowrap>
<input size="13" id="operatinContractLetterBean.contractStateID"
type="text"
value="<contractState:display contractStateID="${operatinContractLetterBean.contractStateID}"/> "
readonly="true" />
</td>
</tr>
<tr>
<td nowrap>
<bean:message
key="label.contractManage.operatinContractLetter.planGross" />
</td>
<td nowrap>
<html:text property="operatinContractLetterBean.planGross"
value="${operatinContractLetterBean.planGross}" />
</td>
<td nowrap>
<bean:message
key="label.contractManage.operatinContractLetter.factGross" />
</td>
<td nowrap>
<html:text property="operatinContractLetterBean.factGross"
value="${operatinContractLetterBean.factGross}" />
</td>
<td nowrap>
<bean:message
key="label.contractManage.operatinContractLetter.notContainPostage" />
</td>
<td nowrap>
<html:text
property="operatinContractLetterBean.notContainPostage"
value="${operatinContractLetterBean.notContainPostage}" />
</td>
</tr>
<tr>
<td nowrap>
<bean:message
key="label.contractManage.operatinContractLetter.allUnitPrice" />
</td>
<td nowrap>
<html:text property="operatinContractLetterBean.allUnitPrice"
value="${operatinContractLetterBean.allUnitPrice}" />
</td>
<td nowrap>
<bean:message
key="label.contractManage.operatinContractLetter.planAllPrice" />
</td>
<td nowrap>
<html:text property="operatinContractLetterBean.planAllPrice"
value="${operatinContractLetterBean.planAllPrice}" />
</td>
<td nowrap>
<bean:message
key="label.contractManage.operatinContractLetter.factAllPrice" />
</td>
<td nowrap>
<html:text property="operatinContractLetterBean.factAllPrice"
value="${operatinContractLetterBean.factAllPrice}" />
</td>
</tr>
<tr>
<td nowrap>
<bean:message
key="label.contractManage.operatinContractLetter.designFee" />
</td>
<td nowrap>
<html:text property="operatinContractLetterBean.designFee"
value="${operatinContractLetterBean.designFee}" />
</td>
<td nowrap>
<bean:message
key="label.contractManage.operatinContractLetter.alreadyPay" />
</td>
<td nowrap>
<html:text property="operatinContractLetterBean.alreadyPay"
value="${operatinContractLetterBean.alreadyPay}" />
</td>
<td nowrap></td>
<td nowrap></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
</td>
<td>
</td>
</tr>
<tr>
<td colspan="2">
<hr size="1">
</td>
</tr>
<tr>
<td></td>
<td>
<table border="0" cellspacing="0" cellpadding="0" align="left">
<tr>
<td width="8" class="ButtonHOMEL-msover"></td>
<td class="ButtonHOME-msover">
<c:choose>
<c:when test="${empty operatinContractLetterBean.id}">
<a href="#" class="hrefColor"
onclick="addOperatinContractLetter('businessArr')"> <bean:message
key="button.save" />
</c:when>
<c:otherwise>
<a href="#" class="hrefColor"
onclick="updateOperatinContractLetter('businessArr')"> <bean:message
key="button.update" />
</c:otherwise>
</c:choose>
</td>
<td width="8" class="ButtonHOMER-msover"></td>
<td width="10"></td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</html:form>
<c:choose>
<c:when test="${empty operatinContractLetterBean.id}">
<html:javascript
formName="/operatinContractLetter/addOperatinContractLetter"
method="validateAddedOperatinContractLetterBean" />
</c:when>
<c:otherwise>
<html:javascript
formName="/operatinContractLetter/updateOperatinContractLetter"
method="validateUpdateOperatinContractLetterBean" />
</c:otherwise>
</c:choose>
<script type="text/javascript" language="javascript">
selectContractType();
function selectContractType(ctrlobj){
var f = document.forms[0];
var para = f.elements["operatinContractLetterBean.contractType"].value;
if(para=="60"){
f.elements["operatinContractLetterBean.contractBackupID"].disabled ="true";
f.elements["operatinContractLetterBean.contractBackupID"].value ="<bean:message key="label.contractManage.operatinContractLetter.disabled"/>";
tableButton.style.display = "none";
clientButton.style.display ="block";
operatorButton.style.display ="block";
deptButton.style.display ="block";
}else if(para==""){
f.elements["operatinContractLetterBean.contractBackupID"].disabled ="true";
f.elements["operatinContractLetterBean.contractBackupID"].value ="<bean:message key="label.contractManage.operatinContractLetter.disabled"/>";
tableButton.style.display = "none";
clientButton.style.display ="block";
operatorButton.style.display ="block";
deptButton.style.display ="block";
}else{
tableButton.style.display = "block";
clientButton.style.display ="none";
operatorButton.style.display ="none";
deptButton.style.display ="none";
}
}
</script>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?