2018-09-27 11:39:54 +08:00

48 lines
2.1 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 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 = "-2";//只读模式
dwTemp.genHTMLObjectWindow(CurPage.getParameter("SerialNo"));
String sButtons[][] = {
{"true","All","Button","保存","保存所有修改","as_save(0)","","","",""},
{String.valueOf(!com.amarsoft.are.lang.StringX.isSpace(sPrevUrl)),"All","Button","返回","返回列表","returnList()","","","",""}
};
sButtonPosition = "south";
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
<script type="text/javascript">
$(function(){
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("<%=sPrevUrl%>", "","_self","");
}
</script>
<%@ include file="/Frame/resources/include/include_end.jspf"%>