档案归档
This commit is contained in:
parent
12315411b5
commit
853c0baf22
@ -0,0 +1,39 @@
|
||||
|
||||
<%@ 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()
|
||||
{
|
||||
AsDialog.OpenSelector("SelectLbContractInfo","","dialogWidth=" + parseInt(window.screen.width * 0.5) + "px dialogHeight=" + parseInt(window.screen.height * 0.6) + "px",function(sReturn){
|
||||
if(!sReturn||sReturn=="_CANCEL_"||sReturn=="_NONE_"){
|
||||
//alert(getHtmlMessage('1'));//请选择一条信息!
|
||||
return;
|
||||
}
|
||||
sReturn = sReturn.split("@");
|
||||
var contract_id=sReturn[0];
|
||||
var project_id=sReturn[1];
|
||||
var product_id=sReturn[2];
|
||||
var contract_number = sReturn[3];
|
||||
var project_name = sReturn[4];
|
||||
var sParams = "ApplyType=<%=sApplyType%>,CurUserID=<%=CurUser.getUserID()%>";
|
||||
sParams =sParams+",ProjectId="+project_id+",FlowKey="+contract_number+",ProductId="+product_id+",ContractId="+contract_id+",ProjectName="+project_name;
|
||||
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"%>
|
||||
@ -6,7 +6,7 @@
|
||||
/*~[Describe=新增记录;InputParam=无;OutPutParam=无;]~*/
|
||||
function newApply()
|
||||
{
|
||||
AsDialog.OpenSelector("SelectLbContractInfo","","dialogWidth=" + parseInt(window.screen.width * 0.5) + "px dialogHeight=" + parseInt(window.screen.height * 0.6) + "px",function(sReturn){
|
||||
AsDialog.OpenSelector("SelectLbContractInfoQC","","dialogWidth=" + parseInt(window.screen.width * 0.5) + "px dialogHeight=" + parseInt(window.screen.height * 0.6) + "px",function(sReturn){
|
||||
if(!sReturn||sReturn=="_CANCEL_"||sReturn=="_NONE_"){
|
||||
//alert(getHtmlMessage('1'));//请选择一条信息!
|
||||
return;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user