更改
This commit is contained in:
parent
a3dde487fd
commit
b306548310
48
WebContent/DealerDeposit/DMarginChargeInfo_Temp.jsp
Normal file
48
WebContent/DealerDeposit/DMarginChargeInfo_Temp.jsp
Normal file
@ -0,0 +1,48 @@
|
||||
<%@ page contentType="text/html; charset=GBK"%>
|
||||
<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><%
|
||||
/*
|
||||
Author: undefined 2018-05-27
|
||||
Content: 示例详情页面
|
||||
History Log:
|
||||
*/
|
||||
String sFlowUnid = CurPage.getParameter("FlowUnid");
|
||||
String sPrevUrl = CurPage.getParameter("ID");
|
||||
//String ProjectName = CurPage.getParameter("ProjectName");
|
||||
/* if(sPrevUrl == null) sPrevUrl = "/DealerDeposit/DMarginChargeInfo_TempList.jsp"; */
|
||||
BizObject flow=JBOFactory.createBizObjectQuery("jbo.com.tenwa.entity.comm.flow.FLOW_BUSSINESS_OBJECT","flow_unid=:flowunid").setParameter("flowunid", sFlowUnid).getSingleResult(false);
|
||||
String DISTRIBUTOR_NO=flow.getAttribute("Flow_Key").getString();
|
||||
String sTempletNo = "DMarginChargeInfo_Temp";//--模板号--
|
||||
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("ID"));
|
||||
|
||||
String sButtons[][] = {
|
||||
{"true","All","Button","保存","保存所有修改","save()","","","",""},
|
||||
{String.valueOf(!com.amarsoft.are.lang.StringX.isSpace(sPrevUrl)),"All","Button","返回","返回列表","returnList()","","","",""}
|
||||
};
|
||||
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
|
||||
<script type="text/javascript">
|
||||
var sFlowUnid = "<%=sFlowUnid%>";
|
||||
setItemValue(0,0,"MONEY_TYPE","保证金收款");
|
||||
setItemValue(0,0,"MONEY_TYPE","收款");
|
||||
setItemValue(0,0,"DISTRIBUTOR_ID","<%=DISTRIBUTOR_NO%>");
|
||||
setItemValue(0,0,"PAYER","<%=CurPage.getParameter("ProjectName")%>");
|
||||
setItemValue(0,0,"InputUserID","<%=CurUser.getUserName()%>");
|
||||
setItemValue(0,0,"InputOrgID","<%=CurUser.getOrgName()%>");
|
||||
setItemValue(0,0,"InputTime","<%=StringFunction.getTodayNow()%>");
|
||||
setItemValue(0,0,"UpdateUserID","<%=CurUser.getUserName()%>");
|
||||
setItemValue(0,0,"UpdateOrgID","<%=CurUser.getOrgName()%>");
|
||||
setItemValue(0,0,"UpdateTime","<%=StringFunction.getTodayNow()%>");
|
||||
function save(){
|
||||
var sFlowUnid = "<%=sFlowUnid%>";
|
||||
setItemValue(0,getRow(),"FlowUnid",sFlowUnid);//初始化流程编号
|
||||
as_save("myiframe0","returnList()");
|
||||
}
|
||||
function returnList(){
|
||||
AsControl.OpenView("/DealerDeposit/DMarginChargeInfo_TempList.jsp", "FlowUnid="+sFlowUnid,"_self","");
|
||||
}
|
||||
</script>
|
||||
<%@ include file="/Frame/resources/include/include_end.jspf"%>
|
||||
Loading…
x
Reference in New Issue
Block a user