85 lines
3.0 KiB
Plaintext
85 lines
3.0 KiB
Plaintext
<%@ page contentType="text/html; charset=GBK"%>
|
||
<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><%
|
||
/*
|
||
Author: undefined 2018-05-28
|
||
Content: 刻절圈헙女충
|
||
History Log:
|
||
*/
|
||
String userId= CurUser.getUserID();
|
||
String userName = CurUser.getUserName();
|
||
String sPrevUrl = CurPage.getParameter("PrevUrl");
|
||
String sFlowUnid = CurPage.getParameter("FlowUnid");
|
||
String sPhaseNo=CurPage.getParameter("PhaseNo");//쌓뙈뵀
|
||
String FlowNo=CurPage.getParameter("FlowNo");//직넋츰냔
|
||
String isHistory=CurPage.getParameter("IsHistory");
|
||
if(sPrevUrl == null) sPrevUrl = "";
|
||
|
||
String sTempletNo = "LbContactInfo";//--친겼뵀--
|
||
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
|
||
doTemp.setColTips("", "");
|
||
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
|
||
dwTemp.Style = "2";//freeform
|
||
dwTemp.ReadOnly = "-2";//怜뗍친駕
|
||
dwTemp.genHTMLObjectWindow(CurPage.getParameter("FlowUnid"));
|
||
|
||
String sButtons[][] = {
|
||
//{"true","All","Button","괏닸","괏닸杰唐錦맣","as_save(0)","","","",""},
|
||
//{String.valueOf(!com.amarsoft.are.lang.StringX.isSpace(sPrevUrl)),"All","Button","럿쀼","럿쀼죗깊","returnList()","","","",""}
|
||
{"true","","Button","栗죕헌데","栗죕헌데","openFileList()","","","","btn_icon_saveNew",""},
|
||
{"true","","Button","마운<EBA788>헝栗죕헌데","栗죕헌데","openPayFileList()","","","","btn_icon_saveNew",""},
|
||
};
|
||
//sButtonPosition = "south";
|
||
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
|
||
<script type="text/javascript">
|
||
window.onload = function(){
|
||
var type = getItemValue(0,0,"customertype");
|
||
if(type=="03"||type==""||type==null){
|
||
hideItem(0,"CERTTYPE_CC");
|
||
hideItem(0,"CERTID_CC");
|
||
hideItem(0,"TEL_CC");
|
||
}else if(type=="01"){
|
||
hideItem(0,"CERTTYPE_CP");
|
||
hideItem(0,"CERTID_CP");
|
||
hideItem(0,"MOBILE_CP");
|
||
}
|
||
}
|
||
function returnList(){
|
||
AsControl.OpenView("<%=sPrevUrl%>", "","_self","");
|
||
}
|
||
function openFileList(){
|
||
let url = RunJavaMethod("com.ample.icms.query.ImageQuery","getRequestUrl","");
|
||
let code = 'ECM0002';
|
||
if("<%=sPhaseNo%>"=="0010"&&"<%=isHistory%>"!="true"){
|
||
code = 'ECM0001';
|
||
}
|
||
let params = RunJavaMethod("com.ample.icms.service.ImageQueryService","getRequestParamByFlowUnidRJM","flowUnid=<%=sFlowUnid%>,code="+code+",userCode=<%=userId%>"+",userName=<%=userName%>");
|
||
if(params==null){
|
||
alert('삿혤緞獗꽝鑒呵겨,헝젬溝밗잿逃');
|
||
return;
|
||
}
|
||
if(params.indexOf("0000@")!=-1){
|
||
let result = params.split("@")[1];
|
||
alert(result);
|
||
return;
|
||
}
|
||
AsControl.postICMS(url,params);
|
||
|
||
}
|
||
function openPayFileList(){
|
||
let url = RunJavaMethod("com.ample.icms.query.ImageQuery","getRequestUrl","");
|
||
let params = RunJavaMethod("com.ample.icms.service.ImageQueryService","getRequestParamByFlowNoRJM","flowNo=FundPaymentCarFlow,code=ECM0002,flowUnid=<%=sFlowUnid%>");
|
||
if(params==null){
|
||
alert('삿혤緞獗꽝鑒呵겨,헝젬溝밗잿逃');
|
||
return;
|
||
}
|
||
if(params.indexOf("0000@")!=-1){
|
||
let result = params.split("@")[1];
|
||
alert(result);
|
||
return;
|
||
}
|
||
AsControl.postICMS(url,params);
|
||
}
|
||
|
||
|
||
</script>
|
||
<%@ include file="/Frame/resources/include/include_end.jspf"%> |