2018-10-17 14:43:44 +08:00

50 lines
2.2 KiB
Plaintext

<%@ page contentType="text/html; charset=GBK"%>
<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><%
/*
Author: undefined 2018-07-17
Content: 示例详情页面
History Log:
*/
String sPrevUrl = CurPage.getParameter("PrevUrl");
if(sPrevUrl == null) sPrevUrl = "";
String flowunid = CurPage.getAttribute("ObjectNo");
String inputuserid = CurUser.getUserID();
String inputusername = CurUser.getUserName();
String inputorgid = CurOrg.getOrgID();
String inputorgname = CurOrg.getOrgName();
String sTempletNo = "LbFileArchivingInfoTemp";//--模板号--
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
doTemp.setColTips("", "");
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
dwTemp.Style = "2";//freeform
dwTemp.ReadOnly = "0";//只读模式
dwTemp.genHTMLObjectWindow(flowunid);
String sButtons[][] = {
{"true","All","Button","保存","保存所有修改","as_save(0)","","","",""},
//{"true","All","Button","返回","返回列表","returnList()","","","",""}
};
sButtonPosition = "south";
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
<script type="text/javascript">
$(function(){
setItemValue(0,getRow(),"ARCHIVING_PERSON","<%=CurUser.getUserName()%>");
setItemValue(0,getRow(),"INPUTUSERID","<%=inputusername%>");
setItemValue(0,getRow(),"UPDATEUSERID","<%=inputusername%>");
setItemValue(0,getRow(),"INPUTORGID","<%=inputorgname%>");
setItemValue(0,getRow(),"UPDATEORGID","<%=inputorgname%>");
var date = new Date();
var updatetime = date.toJSON().substring(0,10).replace(/-/g,"/");//+" "+date.getHours()+":"+date.getMinutes()+":"+date.getSeconds();
var inputtime = date.toJSON().substring(0,10).replace(/-/g,"/");//+" "+date.getHours()+":"+date.getMinutes()+":"+date.getSeconds();
var inputtimes = getItemValue(0,getRow(),"INPUTTIME");
if(inputtimes==null||inputtimes==""){
setItemValue(0,getRow(),"INPUTTIME",inputtime);
}
setItemValue(0,getRow(),"UPDATETIME",updatetime);
});
function returnList(){
AsControl.OpenView("/Tenwa/Lease/Flow/FileManager/MortgageFile/LbFileArchivingListTemp.jsp", "","_self","");
}
</script>
<%@ include file="/Frame/resources/include/include_end.jspf"%>