资金红冲租金红冲,经销商保证金收取和退回增加资料清单功能
This commit is contained in:
parent
2d7a2c1040
commit
885905c810
@ -30,7 +30,10 @@
|
||||
|
||||
String sFlowUnid = CurPage.getParameter("FlowUnid");//流程编号
|
||||
String IsShowFormal = CurPage.getParameter("IsShowFormal");//流程编号
|
||||
|
||||
String projectNo=CurPage.getParameter("ProjectNo");//淃커긍뵀
|
||||
String isHistory=CurPage.getParameter("IsHistory");
|
||||
String userId= CurUser.getUserID();
|
||||
String userName = CurUser.getUserName();
|
||||
BizObject flow=GetFlowAction.getFlowBussinessObject(sFlowUnid);
|
||||
String product_id="";
|
||||
if("true".equals(IsShowFormal)){
|
||||
@ -137,7 +140,8 @@
|
||||
|
||||
// 原版的
|
||||
sButtons= new String[][]{
|
||||
{"true",isAll,"Button","保存","保存所有修改","saveRecord()","","","",""}
|
||||
{"true",isAll,"Button","괏닸","괏닸杰唐錦맣","saveRecord()","","","",""},
|
||||
{"true","","Button","栗죕헌데","栗죕헌데","openFileList()","","","","btn_icon_saveNew",""},
|
||||
};
|
||||
|
||||
|
||||
@ -305,6 +309,39 @@
|
||||
setItemValue(0,0,"subjectname",sReturn[1]);
|
||||
},"请选择客户",'');
|
||||
}
|
||||
|
||||
|
||||
function openFileList(){
|
||||
let url = RunJavaMethod("com.ample.icms.query.ImageQuery","getRequestUrl","");
|
||||
let params = getRequestParam();
|
||||
if(params!=null){
|
||||
AsControl.postICMS(url,params);
|
||||
}
|
||||
}
|
||||
function getRequestParam(){
|
||||
let appInfo = RunJavaMethod("com.ample.icms.util.GetInfoUtil", "getAppInfoByFlowUnidRJM", "flowUnid=<%=sFlowUnid%>");
|
||||
let index = appInfo.indexOf("@");
|
||||
if(index==-1){
|
||||
alert(appInfo);
|
||||
return;
|
||||
}
|
||||
let appCode = appInfo.substr(0,index);
|
||||
let appName = appInfo.substr(index+1,appInfo.length);
|
||||
if(appCode=='0000'){
|
||||
alert(appName);
|
||||
return;
|
||||
}
|
||||
let code = 'ECM0002';
|
||||
if(("<%=FlowNo%>"=="RentRebackFlow"||"<%=FlowNo%>"=="FundRebackFlow")&&"<%=sPhaseNo%>"=="0010"&&"<%=isHistory%>"!="true"){
|
||||
code = 'ECM0001';
|
||||
}
|
||||
let busiNo= "<%=projectNo%>";
|
||||
if(busiNo==null||busiNo==""||busiNo=="null"){
|
||||
busiNo = RunJavaMethod("com.ample.icms.util.GetInfoUtil", "getProjectNoByFlowUnidRJM", "flowUnid=<%=sFlowUnid%>");
|
||||
}
|
||||
let param = RunJavaMethod("com.ample.icms.query.ImageQuery","getRequestParam","appCode="+appCode+",appName="+appName+",code="+code+",busiNo="+busiNo+",userCode=<%=userId%>"+",userName=<%=userName%>");
|
||||
return param;
|
||||
}
|
||||
</script>
|
||||
<%/*~END~*/%>
|
||||
|
||||
|
||||
@ -114,7 +114,8 @@ public class FlowTaskViewTab {
|
||||
BizObjectQuery bq = null;
|
||||
bm = JBOFactory.getFactory().getManager(OBJECTTYPE_RELA.CLASS_NAME);
|
||||
String sql = "O.OBJECTTYPE=:OBJECTTYPE and isinuse='Y' order by O.sortno ";
|
||||
if("OtherPayFlow".equals(getFlowNo())){
|
||||
//todo 再添加的话,就把这个改为页面后台配置
|
||||
if("OtherPayFlow".equals(getFlowNo())||"DealerDepositChargeFlow".equals(getFlowNo())||"DealerDepositReturnFlow".equals(getFlowNo())){
|
||||
sql = "O.OBJECTTYPE=:OBJECTTYPE and (isinuse='Y' or ATTRIBUTE1='flow') order by O.sortno ";
|
||||
}
|
||||
bq = bm.createQuery(sql).setParameter("OBJECTTYPE", this.getObjectType());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user