web业务申请不显示信审名称

This commit is contained in:
tangfutang 2018-08-09 21:18:40 +08:00
parent fa25b702b9
commit 80dc981ef1
7 changed files with 25 additions and 3 deletions

View File

@ -171,7 +171,7 @@
if(vUser.length==1&&type=="radio"){
$("input[name=phaseaction"+cindex+"]:first").attr("checked",true);
}
if((phase=="0010"&&flowNo=="FundPaymentCarFlow")||(phase=="0020"&&flowNo=="BusinessApplyFlow")){
if((phase=="0010"&&flowNo=="FundPaymentCarFlow")||((phase=="0020"||phase=="0010")&&flowNo=="BusinessApplyFlow")){
actionSet.hide();
}
}

View File

@ -168,7 +168,7 @@
var sParams="ProjectId=<%=projectId%>,customerType=<%=custtype%>,CurUserID=<%=CurUser.getUserID()%>";
var sReturn=RunJavaMethodTrans("com.tenwa.channelportal.action.ContractSignAction","contractSignStatus",sParams);
AsDebug.showMessage("Ìáʾ",sReturn,"","",true,'','','',function(){
var sReturns = RunJavaMethodTrans("com.tenwa.channelportal.action.ContractSignAction","downloadDoc","ProjectId=<%=projectId%>,CurUserID=<%=CurUser.getUserID()%>");
<%-- var sReturns = RunJavaMethodTrans("com.tenwa.channelportal.action.ContractSignAction","downloadDoc","ProjectId=<%=projectId%>,CurUserID=<%=CurUser.getUserID()%>"); --%>
window.location.reload();
});
}

View File

@ -67,6 +67,7 @@
setItemValue(0,0,'CERTID',sReturn[0]);
setItemValue(0,0,'ACCOUNT',sReturn[1]);
setItemValue(0,0,'CUSTTYPE',sReturn[2]);
setItemValue(0,0,'MOBILE',sReturn[3]);
},"Ñ¡Ôñ¿Û¿î¿¨Ãû³Æ");
}
function checkMobile(){

View File

@ -5,11 +5,18 @@
Content: ʾÀýÏêÇéÒ³Ãæ
History Log:
*/
String ishistory = CurPage.getParameter("IsHistory");
String ContractId = CurPage.getParameter("ContractId");
String sPrevUrl = CurPage.getParameter("PrevUrl");
String flowName = CurPage.getParameter("FlowName");
String flowUnid = CurPage.getParameter("FlowUnid");
if(sPrevUrl == null) sPrevUrl = "";
String sTempletNo = "DebitCardInfoForm";//--Ä£°åºÅ--
if("扣款信息变更审核".equals(flowName)&& null!=ishistory&&ishistory.equals("true")){
sTempletNo = "DebitCardInfoFormHis";
ContractId = flowUnid;
}
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
// doTemp.setColTips("", "²âÊÔ");
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);

View File

@ -17,6 +17,7 @@
String sTempletNo = "BusinessProjectTempInfo";//--Ä£°åºÅ--
BizObject bo=JBOFactory.createBizObjectQuery("jbo.com.tenwa.entity.comm.flow.FLOW_BUSSINESS_OBJECT", "flow_unid=:flowunid").setParameter("flowunid",sFlowUnid).getSingleResult(false);
String custype = CurPage.getParameter("CustomerType");
String customertype = CurPage.getParameter("customertype");
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
//×âÁÞÐÎʽsetÖ»¶Á
if((null!=sPhaseNo&&sPhaseNo.equals("0010")) && ("BusinessApplyFlow".equals(FlowNo) ||"BusinessChangeFlow".equals(FlowNo))){
@ -27,7 +28,7 @@
String userll=null;
userll="/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerInfo.jsp?CompClientID=";
if("01".equals(custype)){
if("01".equals(custype)||"01".equals(customertype)){
userll="/Tenwa/Customer/Lessee/Person/CustomerCompanyTempInfo.jsp?CompClientID=";
}

View File

@ -1018,6 +1018,7 @@ public class ContractSignAction{
// 客户签署完成合同制作过程为4
if ("REQUIRED".equals(signStatus)) {
this.sign(tx);
downloadDoc(tx);
keys.setAttributeValue("PROCESS", "4");
}
contBom.saveObject(keys);

View File

@ -5,9 +5,12 @@ import java.util.List;
import java.util.Map;
import jbo.app.tenwa.customer.CUSTOMER_ACCOUNT;
import jbo.app.tenwa.customer.CUSTOMER_ACCOUNT_HIS;
import jbo.app.tenwa.customer.CUSTOMER_ACCOUNT_TEMP;
import jbo.app.tenwa.customer.CUSTOMER_FAMILY;
import jbo.app.tenwa.customer.CUSTOMER_FAMILY_TEMP;
import jbo.app.tenwa.customer.CUSTOMER_PERSON;
import jbo.app.tenwa.customer.CUSTOMER_PERSON_TEMP;
import jbo.com.tenwa.entity.comm.flow.FLOW_BUSSINESS_OBJECT;
import jbo.com.tenwa.lease.comm.LB_CONTRACT_INFO;
import jbo.com.tenwa.lease.comm.LB_EQUIPMENT;
@ -30,7 +33,16 @@ public class LBCustomerAccountChangeToFormalBusiness extends BaseBussiness{
public Object run(Transaction Sqlca) throws Exception {
this.initBussinessParam(Sqlca);
String flowunid = this.getAttribute("ObjectNo").toString();
//如果是扣款卡信息变更从正式表倒到临时表中
String flowname=(String)this.getAttribute("FlowName");
String ContractId = this.getAttribute("ContractId").toString();
if("扣款信息变更审核".equals(flowname)){
Map<String,String> fromCond = new HashMap<String, String>();
fromCond.put(CUSTOMER_ACCOUNT.contract_id, ContractId);
Map<String,String> toCond = new HashMap<String, String>();
toCond.put("flowunid", flowunid);
DataOperatorUtil.copyJBOSet(CUSTOMER_ACCOUNT.CLASS_NAME, fromCond, CUSTOMER_ACCOUNT_HIS.CLASS_NAME, null, toCond, null, Sqlca);
}
Map<String,String> fromCondtion = new HashMap<String, String>();
fromCondtion.put("flowunid", flowunid);
Map<String,String> toCondtion = new HashMap<String, String>();