档案归档寄送登记

This commit is contained in:
liuzhao 2018-12-04 20:44:22 +08:00
parent 915db4cbcf
commit b3fdc2a563

View File

@ -8,6 +8,7 @@
String contract_number = CurPage.getParameter("FlowKey");
String ContractId = CurPage.getParameter("ContractId");
String customerName = Sqlca.getString("SELECT customer_name FROM lb_union_lessee WHERE contract_id='"+ContractId+"'");
String customer_id = Sqlca.getString("SELECT customer_id FROM lb_union_lessee WHERE contract_id='"+ContractId+"'");
String sPrevUrl = CurPage.getParameter("PrevUrl");
if(sPrevUrl == null) sPrevUrl = "";
@ -17,11 +18,11 @@
//doTemp.setColTips("", "²âÊÔ");
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
dwTemp.Style = "2";//freeform
dwTemp.ReadOnly = "1";//只读模式
//dwTemp.ReadOnly = "1";//只读模式
dwTemp.genHTMLObjectWindow(contract_number);
String sButtons[][] = {
//{"true","All","Button","保存","保存所有修改","as_save(0)","","","",""},
{"true","All","Button","保存","保存所有修改","as_save(0)","","","",""},
{String.valueOf(!com.amarsoft.are.lang.StringX.isSpace(sPrevUrl)),"All","Button","·µ»Ø","·µ»ØÁбí","returnList()","","","",""}
};
sButtonPosition = "south";
@ -33,6 +34,7 @@
if(contractNumber==""){
setItemValue(0,0,"CONTRACT_NUMBER","<%=contract_number%>");
setItemValue(0,0,"CUSTOMER_NAME","<%=customerName%>");
setItemValue(0,0,"CUSTOMER_ID","<%=customer_id%>");
}
}