36 lines
1.5 KiB
Plaintext
36 lines
1.5 KiB
Plaintext
<%@ page contentType="text/html; charset=GBK"%>
|
|
<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><%
|
|
|
|
String userid = CurPage.getUserId();
|
|
String sTempletNo = "LBRegisterContractInfo";//--模板号--
|
|
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
|
|
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
|
|
dwTemp.Style = "2";//freeform
|
|
dwTemp.genHTMLObjectWindow(CurPage.getParameter("id"));
|
|
|
|
String sButtons[][] = {
|
|
{"true","All","Button","保存","保存所有修改","saveRecord()","","","","btn_icon_save"},
|
|
{"true","","Button","返回","返回列表页面","goBack()","","","","btn_icon_return"}
|
|
};
|
|
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
|
|
<script type="text/javascript">
|
|
function goBack(){
|
|
AsControl.OpenView("/Tenwa/Lease/App/ContractDelivery/RegisterExpress/RegisterExpressList.jsp", "","_self","");
|
|
}
|
|
function saveRecord(){
|
|
as_save("myiframe0");
|
|
}
|
|
function selectContract(){
|
|
var userid = "<%=userid%>";
|
|
AsDialog.OpenSelector("SelectContractForRegister","userid,"+userid,"dialogWidth=" + parseInt(window.screen.width * 0.4) + "px dialogHeight=" + parseInt(window.screen.height * 0.8) + "px",function(sReturn){
|
|
if(!sReturn||sReturn=="_CANCEL_"){
|
|
return;
|
|
}
|
|
sReturn = sReturn.split("@");//返回值
|
|
setItemValue(0,getRow(),"CONTRACT_NUMBER", sReturn[0]);
|
|
setItemValue(0,getRow(),"CUSTOMER_ID", sReturn[1]);//获得页面上面的值
|
|
setItemValue(0,getRow(),"CUSTOMER_NAME", sReturn[2]);
|
|
},"请选择合同")
|
|
}
|
|
</script>
|
|
<%@ include file="/Frame/resources/include/include_end.jspf"%> |