35 lines
1.5 KiB
Plaintext
35 lines
1.5 KiB
Plaintext
<%@page import="com.tenwa.util.SerialNumberUtil"%>
|
|
<%@ page contentType="text/html; charset=GBK"%>
|
|
<%@ include file="/Tenwa/Core/FlowManager/BaseFlowList/BaseFlowApplyListStart.jspf"%>
|
|
<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List06;Describe=自定义函数;]~*/%>
|
|
<script type="text/javascript">
|
|
/*~[Describe=新增记录;InputParam=无;OutPutParam=无;]~*/
|
|
function newApply(){
|
|
var result = AsControl.RunJsp("/Tenwa/Lease/Flow/Fund/ActualPayment/CheckApplyPassContract.jsp","");
|
|
result = "success";
|
|
if("false" == result){
|
|
AsDebug.showMessage("提示","没有需要邮寄的合同","","",true);
|
|
return;
|
|
}
|
|
var projectName = '<%=CurUser.getUserName()+"在"+new SimpleDateFormat("yyyy年MM月dd日").format(new java.util.Date())+"发起邮寄资料归档"%>';
|
|
var sParams = "applyType=<%=sApplyType%>,CurUserID=<%=CurUser.getUserID()%>";
|
|
var serialNumber = AsControl.RunJsp("/Tenwa/Apzl/FileUpload/GetDocMailNumber.jsp","");
|
|
sParams =sParams+",ProjectName="+projectName+",FlowKey="+serialNumber+",";
|
|
var sReturnInfo = RunJavaMethodTrans("com.tenwa.flow.action.comm.BaseFlowStartAction","initFLow",sParams);
|
|
if(typeof(sReturnInfo)=="undefined" || sReturnInfo=="" || sReturnInfo=="_CANCEL_") return;
|
|
var sReturnInfos=sReturnInfo.split("@");
|
|
if(sReturnInfos[0]=="success")
|
|
{
|
|
var objectNo=sReturnInfos[1];
|
|
FlowFunction.openStartFlowPage(objectNo);
|
|
}
|
|
else
|
|
{
|
|
var mes=sReturnInfos[1];
|
|
alert(mes);
|
|
}
|
|
reloadSelf();
|
|
}
|
|
</script>
|
|
<%@ include file="/Tenwa/Core/FlowManager/BaseFlowList/BaseFlowApplyListEnd.jspf"%>
|