From 3403905b2abe077abed8e21537f98b0f6f83dbdb Mon Sep 17 00:00:00 2001 From: linxiaoping <12345678> Date: Wed, 13 Jun 2018 23:49:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../LDistributorInfoSecond.jsp | 137 ++++++++++++++++++ 1 file changed, 137 insertions(+) create mode 100644 WebContent/Tenwa/Lease/DistributorManage/DistributorApproval/LDistributorInfoSecond.jsp diff --git a/WebContent/Tenwa/Lease/DistributorManage/DistributorApproval/LDistributorInfoSecond.jsp b/WebContent/Tenwa/Lease/DistributorManage/DistributorApproval/LDistributorInfoSecond.jsp new file mode 100644 index 000000000..b9c10ddca --- /dev/null +++ b/WebContent/Tenwa/Lease/DistributorManage/DistributorApproval/LDistributorInfoSecond.jsp @@ -0,0 +1,137 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><% + /* + Author: undefined 2017-10-11 + Content: 示例详情页面 + History Log: + */ + String sFlowUnid = CurPage.getParameter("FlowUnid");//流程编号 + if(sFlowUnid == null) sFlowUnid=""; + String sTempletNo = CurPage.getParameter("TempletNo");//模板号 + if(sTempletNo == null) sTempletNo = "LDistributorInfoSecond"; + 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(); + + ASObjectModel doTemp = new ASObjectModel(sTempletNo); + doTemp.setDefaultValue("FLOWUNID", sFlowUnid); + doTemp.setDefaultValue("DISTRIBUTOR_NO", DISTRIBUTOR_NO); + //doTemp.setColTips("", "测试"); + ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request); + dwTemp.Style = "2";//freeform + dwTemp.ReadOnly = "1";//只读模式 + ASDataObject ado = dwTemp.getDataObject(); + ado.setHtmlEvent("LIMIT_APPROVAL_DATE", "onchange", "getenddate"); + ado.setHtmlEvent("LIMIT_EFFECTIVE_DATE", "onchange", "getenddate"); + dwTemp.genHTMLObjectWindow(sFlowUnid); + + String sButtons[][] = { + {"true","All","Button","保存","保存所有修改","save()","","","",""} + /* {String.valueOf(!com.amarsoft.are.lang.StringX.isSpace(sPrevUrl)),"All","Button","返回","返回列表","returnList()","","","",""} +*/ }; + sButtonPosition = "north"; +%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%> + +<%@ include file="/Frame/resources/include/include_end.jspf"%> \ No newline at end of file