资产处置申请添加车辆处置
This commit is contained in:
parent
dc0a75880a
commit
452eff2b41
@ -33,7 +33,9 @@
|
||||
|
||||
<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=View02;Describe=定义变量,获取参数;]~*/%>
|
||||
<%
|
||||
HashMap<String,String>FlowFixedParam=GetFlowAction.getFlowParamByTask(CurPage.getParameter("TaskNo"),CurPage);
|
||||
HashMap<String,String>FlowFixedParam=GetFlowAction.getFlowParamByTask(CurPage.getParameter("TaskNo"),CurPage);
|
||||
|
||||
FlowFixedParam.putAll(GetFlowAction.getFlowParamByFlowUnid(FlowFixedParam.get("ObjectNo")));
|
||||
BizObject flowModel = GetFlowAction.getFlowModelParams(FlowFixedParam.get("FlowNo"),FlowFixedParam.get("PhaseNo")); //任务配置
|
||||
String isPageRead=flowModel.getAttribute("ISREADONLY").getString(); //业务页面是否只读
|
||||
if(null!=isPageRead&&isPageRead.endsWith("Y")){
|
||||
|
||||
@ -141,6 +141,8 @@ $(function(){
|
||||
paramJson["CUSTOMERTYPE"]="<%=startMap.get("CUSTOMERTYPE")%>";
|
||||
paramJson["CustomerNature"]="<%=startMap.get("CustomerNature")%>";
|
||||
paramJson["CUSTOMERID"]="<%=startMap.get("CUSTOMERID")%>";
|
||||
paramJson["ContractId"]="<%=startMap.get("ContractId")%>";
|
||||
|
||||
//paramJson["CurFlowUser"]="<%=FlowFixedParam.get("CurFlowUser")%>";
|
||||
//paramJson["AgentFlowUser"]="<%=FlowFixedParam.get("AgentFlowUser")%>";
|
||||
//paramJson["Assignfinish"]="<%=FlowFixedParam.get("Assignfinish")%>";
|
||||
|
||||
@ -20,6 +20,7 @@
|
||||
var customer_id = sReturn[6];
|
||||
var sParams = "ApplyType=<%=sApplyType%>,CurUserID=<%=CurUser.getUserID()%>";
|
||||
sParams =sParams+",ProductId="+product_id+",ProjectId="+project_id+",ContractId="+contract_id+",ProjectName="+project_name+",FlowKey="+payment_number+",PaymentNumber="+payment_number+",ContractNumber="+contract_number+",CustomerId="+customer_id;
|
||||
// alert(sParams);
|
||||
var sReturnInfo = RunJavaMethodTrans("com.tenwa.lease.flow.assetsdisposal.assetsdisposalapply.AssetsDisposalStartAction","initFLow",sParams);
|
||||
if(typeof(sReturnInfo)=="undefined" || sReturnInfo=="" || sReturnInfo=="_CANCEL_") return;
|
||||
var sReturnInfos=sReturnInfo.split("@");
|
||||
|
||||
@ -0,0 +1,33 @@
|
||||
<%@ page contentType="text/html; charset=GBK"%>
|
||||
<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><%
|
||||
/*
|
||||
Author: undefined 2018-06-04
|
||||
Content: 示例详情页面
|
||||
History Log:
|
||||
*/
|
||||
String contractId = CurPage.getParameter("ContractId");
|
||||
String sPrevUrl = CurPage.getParameter("PrevUrl");
|
||||
/* String sFlowUnid = CurPage.getParameter("FlowUnid");
|
||||
if(sFlowUnid == null) sFlowUnid = "";
|
||||
alert(sFlowUnid); */
|
||||
if(sPrevUrl == null) sPrevUrl = "";
|
||||
String sTempletNo = "LcCarDisposeInfo";//--模板号--
|
||||
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
|
||||
//doTemp.setColTips("", "测试");
|
||||
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
|
||||
dwTemp.Style = "2";//freeform
|
||||
//dwTemp.ReadOnly = "-2";//只读模式
|
||||
dwTemp.genHTMLObjectWindow(contractId);
|
||||
|
||||
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 returnList(){
|
||||
AsControl.OpenView("<%=sPrevUrl%>", "","_self","");
|
||||
}
|
||||
</script>
|
||||
<%@ include file="/Frame/resources/include/include_end.jspf"%>
|
||||
@ -26,6 +26,8 @@
|
||||
<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=Info02;Describe=定义变量,获取参数;]~*/%>
|
||||
|
||||
<%
|
||||
|
||||
|
||||
String sFlowUnid = CurPage.getParameter("FlowUnid");//流程编号
|
||||
String IsShowFormal = CurPage.getParameter("IsShowFormal");//流程编号
|
||||
|
||||
|
||||
@ -6,9 +6,18 @@ import com.tenwa.flow.action.comm.BaseFlowStartAction;
|
||||
import com.tenwa.util.SerialNumberUtil;
|
||||
|
||||
public class AssetsDisposalStartAction extends BaseFlowStartAction{
|
||||
private String ContractId;
|
||||
@Override
|
||||
public void customOperation(JBOTransaction tx, BizObject flowBussiness)throws Exception {
|
||||
String applyNo = SerialNumberUtil.getAssetsDisposalApplyNo(tx);
|
||||
this.FlowParam.put("ApplyNo", applyNo);
|
||||
this.FlowParam.put("ContractId", this.getContractId());
|
||||
}
|
||||
public String getContractId() {
|
||||
return ContractId;
|
||||
}
|
||||
public void setContractId(String contractId) {
|
||||
ContractId = contractId;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user