diff --git a/WebContent/Accounting/LoanSimulation/LCCalcSubsectionInfoTempList.jsp b/WebContent/Accounting/LoanSimulation/LCCalcSubsectionInfoTempList.jsp
index cefb3c1a8..0f062b7a8 100644
--- a/WebContent/Accounting/LoanSimulation/LCCalcSubsectionInfoTempList.jsp
+++ b/WebContent/Accounting/LoanSimulation/LCCalcSubsectionInfoTempList.jsp
@@ -8,7 +8,7 @@
String flowunid = CurPage.getParameter("flowunid");
String projectId = CurPage.getParameter("projectId");
ASObjectModel doTemp = new ASObjectModel("LCCalcSubsectionInfoTemp");
- doTemp.setHtmlEvent( "DISCOUNT", "onblur", "changeDiscount" );
+ doTemp.setHtmlEvent( "DISCOUNT_INTEREST", "onblur", "changeDiscount" );
doTemp.setHtmlEvent( "DISCOUNT_RATE", "onblur", "changeDiscountRate" );
doTemp.setHtmlEvent( "CLEAN_LEASE_RATIO", "onblur", "changeCleanLeaseRatio" );
doTemp.setHtmlEvent( "CLEAN_LEASE_MONEY", "onblur", "changeCleanLeaseMoney" );
@@ -16,16 +16,15 @@
String discountCalcMethod = Sqlca.getString("select DISCOUNT_CALC_METHOD from LC_CALC_SUBSECTION_INFO_TEMP where FLOWUNID='"+flowunid+"'");
if(discountCalcMethod != null){
if(discountCalcMethod.equals("1")){
- doTemp.setReadOnly("DISCOUNT",true);
+ doTemp.setReadOnly("DISCOUNT_INTEREST",true);
doTemp.setReadOnly("DISCOUNT_RATE",false);
}else if (discountCalcMethod.equals("2")){
- doTemp.setReadOnly("DISCOUNT",false);
+ doTemp.setReadOnly("DISCOUNT_INTEREST",false);
doTemp.setReadOnly("DISCOUNT_RATE",true);
}else if (discountCalcMethod.equals("3")){//固定值,对应的值改为只读
doTemp.setReadOnly("DISCOUNT_RATE",true);
doTemp.setReadOnly("FINANCING_RATE",true);
- doTemp.setReadOnly("INCOME_NUMBER",true);
- doTemp.setReadOnly("DISCOUNT",true);
+ doTemp.setReadOnly("DISCOUNT_INTEREST",true);
}
}
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
@@ -43,19 +42,19 @@
<%@ include file="/Frame/resources/include/include_end.jspf"%>
diff --git a/WebContent/Accounting/LoanSimulation_new/LoanBasicInfo.jsp b/WebContent/Accounting/LoanSimulation_new/LoanBasicInfo.jsp
index 930747909..5ff957b26 100644
--- a/WebContent/Accounting/LoanSimulation_new/LoanBasicInfo.jsp
+++ b/WebContent/Accounting/LoanSimulation_new/LoanBasicInfo.jsp
@@ -36,7 +36,7 @@
//费用规则
ProductCondition pc=new ProductCondition();
- String calcRules=pc.getProductRules(doTemp, productId,vali);
+ String calcRules=pc.getProductRules(doTemp, productId,vali,flowunid);
//获取产品名称
BizObject bo = JBOFactory.createBizObjectQuery(BUSINESS_TYPE.CLASS_NAME,"typeno=:productID")
.setParameter("productID", productId).getSingleResult(false);
diff --git a/WebContent/Accounting/LoanSimulation_old/LoanBasicInfo.jsp b/WebContent/Accounting/LoanSimulation_old/LoanBasicInfo.jsp
index a289e8fd8..4754bbd51 100644
--- a/WebContent/Accounting/LoanSimulation_old/LoanBasicInfo.jsp
+++ b/WebContent/Accounting/LoanSimulation_old/LoanBasicInfo.jsp
@@ -36,7 +36,7 @@
//费用规则
ProductCondition pc=new ProductCondition();
- String calcRules=pc.getProductRules(doTemp, productId,vali);
+ String calcRules=pc.getProductRules(doTemp, productId,vali,flowunid);
//获取产品名称
BizObject bo = JBOFactory.createBizObjectQuery(BUSINESS_TYPE.CLASS_NAME,"typeno=:productID")
.setParameter("productID", productId).getSingleResult(false);
diff --git a/WebContent/AppConfig/OrgUserManage/UserList.jsp b/WebContent/AppConfig/OrgUserManage/UserList.jsp
index 8a037b561..c0f9083cc 100644
--- a/WebContent/AppConfig/OrgUserManage/UserList.jsp
+++ b/WebContent/AppConfig/OrgUserManage/UserList.jsp
@@ -19,7 +19,7 @@
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
dwTemp.Style="1"; //设置DW风格 1:Grid 2:Freeform
dwTemp.ReadOnly = "1"; //设置是否只读 1:只读 0:可写
- dwTemp.setPageSize(20);
+ dwTemp.setPageSize(pageSize == null ? 20 : Integer.parseInt(pageSize));
//生成HTMLDataWindow
dwTemp.genHTMLObjectWindow(sSortNo+"%");
System.out.println(CurUser.getRoleTable().toString());
diff --git a/WebContent/Tenwa/Lease/DistributorManage/DistributorApproval/LDistributorInfo.jsp b/WebContent/Tenwa/Lease/DistributorManage/DistributorApproval/LDistributorInfo.jsp
index 2c7c7ac28..54eb1df02 100644
--- a/WebContent/Tenwa/Lease/DistributorManage/DistributorApproval/LDistributorInfo.jsp
+++ b/WebContent/Tenwa/Lease/DistributorManage/DistributorApproval/LDistributorInfo.jsp
@@ -66,14 +66,17 @@ $(function(){
//组织机构验证码的的校验
function Checkfield(){
var businessLicenseNo = getItemValue(0,getRow(0),"BUSINESS_LICENSE_NO");
- if(businessLicenseNo==""){
- //alert("组织机构代码不能为空!");
- return true;
- }
if(checkORGRight(businessLicenseNo)){
- return true;
+ var sReturnInfo = RunJavaMethodTrans("com.tenwa.customer.controller.group.CustomerGroupCompanyController","checkBusinessLicenseNo","businessLicenseNo="+businessLicenseNo+",id="+getItemValue(0,0,'ID'));
+ if("false" ==sReturnInfo){
+ setErrorTips("BUSINESS_LICENSE_NO","统一社会信用代码已存在!");;
+ return false;
+ }else{
+ setErrorTips("BUSINESS_LICENSE_NO","");
+ return true;
+ }
}else{
- setErrorTips("BUSINESS_LICENSE_NO","组织机构代码格式不正确!");
+ setErrorTips("BUSINESS_LICENSE_NO","统一社会信用代码格式不正确!");
//AsDebug.alert("提示","组织机构代码格式不正确!");
return false;
}
diff --git a/WebContent/Tenwa/Lease/Flow/Comm/LBContract/ElectronicSigningConfirmation.jsp b/WebContent/Tenwa/Lease/Flow/Comm/LBContract/ElectronicSigningConfirmation.jsp
new file mode 100644
index 000000000..c3eb133ad
--- /dev/null
+++ b/WebContent/Tenwa/Lease/Flow/Comm/LBContract/ElectronicSigningConfirmation.jsp
@@ -0,0 +1,184 @@
+<%@page import="jbo.app.tenwa.calc.LC_CALC_CONDITION_TEMP"%>
+<%@ page contentType="text/html; charset=GBK"%>
+<%@ include file="/Frame/resources/include/include_begin_list.jspf"%>
+<%@ page import="com.tenwa.doc.action.DocListInitAction" %>
+<%@ page import="com.amarsoft.app.lc.workflow.action.GetFlowAction" %>
+<%@ page import="com.amarsoft.app.util.*" %>
+<%
+ /*
+ Author: undefined 2016-09-01
+ Content: 电子签约确认书
+ History Log:
+ */
+
+ String userId = CurUser.getUserID();
+ String orgId =CurUser.getOrgID();
+ System.out.print(orgId);
+ String falg = "true";
+ String compClientID = request.getParameter("CompClientID");
+ ASObjectModel doTemp = new ASObjectModel("ElectronicSigningConfirmation");
+ if(userId.indexOf("8006")>-1){
+ falg = "false";
+ //按照用户维度进行权限调整(南京一贯通)
+ String sql="select count(1) nm from USER_INFO i,user_authority_check a where i.loginid=a.loginid and i.userid ='"+userId+"'";
+ String result = Sqlca.getString(new SqlObject(sql));
+
+ if("8006011".equals(orgId) || "8006053".equals(orgId) || !"0".equals(result)){
+ doTemp.appendJboWhere(" and lci.inputorgid='"+orgId+"'");
+ }else{
+ doTemp.appendJboWhere(" and O.PROJECT_MANAGE='"+userId+"'");
+ }
+ }
+
+ ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
+ dwTemp.Style="1"; //--设置为Grid风格--
+ dwTemp.ReadOnly = "1";
+ dwTemp.setPageSize(15);
+ dwTemp.MultiSelect = true;
+ dwTemp.genHTMLObjectWindow(userId);
+
+ //0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格
+ String sButtons[][] =null;
+ sButtons=new String[][]{
+ {"true","All","Button","生成电子签约确认书","生成电子签约确认书","generateQuotation()","","","","btn_icon_generate"},
+ {"true","All","Button","批量下载","批量下载","lotdown()","","","","btn_icon_down"},
+ {"false","All","Button","公司盖章","公司盖章","stamp()","","","",""},
+ };
+
+%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
+
+<%@ include file="/Frame/resources/include/include_end.jspf"%>
\ No newline at end of file
diff --git a/WebContent/Tenwa/Lease/Flow/Comm/LBContract/LBContractPrintList.jsp b/WebContent/Tenwa/Lease/Flow/Comm/LBContract/LBContractPrintList.jsp
index ab637f607..99912da0d 100644
--- a/WebContent/Tenwa/Lease/Flow/Comm/LBContract/LBContractPrintList.jsp
+++ b/WebContent/Tenwa/Lease/Flow/Comm/LBContract/LBContractPrintList.jsp
@@ -129,10 +129,15 @@
// alert("客户签约类型:operationType=" + operationType);
if("LHZL"==operationType || "SQSYC"==operationType){
sReturn = RunJavaMethodTrans("com.tenwa.channelportal.action.ContractSignActionTwo","signIng","ProjectId=<%=projectId%>,CurUserID=<%=CurUser.getUserID()%>,FlowUnid=<%=flowunid%>,,SubjectId=<%=SubjectId%>,operationType="+operationType);
- }else if("CYSHDZ"==operationType ||"SYCSHHZDZQ"==operationType ){
+ }//else if("CYSHDZ"==operationType ||"SYCSHHZDZQ"==operationType ){
// alert("契约锁2.0");
- sReturn = RunJavaMethodTrans("com.tenwa.channelportal.action.ContractSignActionNewUtils","signIng","ProjectId=<%=projectId%>,CurUserID=<%=CurUser.getUserID()%>,FlowUnid=<%=flowunid%>,,SubjectId=<%=SubjectId%>,operationType="+operationType);
- }else{
+ //sReturn = RunJavaMethodTrans("com.tenwa.channelportal.action.ContractSignActionNewUtils","signIng","ProjectId=<%=projectId%>,CurUserID=<%=CurUser.getUserID()%>,FlowUnid=<%=flowunid%>,,SubjectId=<%=SubjectId%>,operationType="+operationType);
+ //}
+ else if("CYCDZQ"==operationType||"SYCDZQ"==operationType||"CYSHDZ"==operationType||"SYCSHHZDZQ"==operationType){
+ // 乘用车售后回租电子签约 乘用车电子签约
+ // 商用车一车一挂电子签约 商用车电子签约
+ sReturn = RunJavaMethodTrans("com.tenwa.channelportal.action.ContractSignActionDzq","signIng","ProjectId=<%=projectId%>,CurUserID=<%=CurUser.getUserID()%>,FlowUnid=<%=flowunid%>,,SubjectId=<%=SubjectId%>,operationType="+operationType);
+ }else{
sReturn = RunJavaMethodTrans("com.tenwa.channelportal.action.ContractSignAction","signIng","ProjectId=<%=projectId%>,CurUserID=<%=CurUser.getUserID()%>,FlowUnid=<%=flowunid%>,,SubjectId=<%=SubjectId%>");
}
var sReturns = sReturn.split("@");
@@ -184,7 +189,7 @@
var sReturn = "";
if("LHZL"==operationType || "SQSYC"==operationType) {
sReturn = RunJavaMethodTrans("com.tenwa.channelportal.action.ContractSignActionTwo", "contractSignStatus", sParams + ",operationType=" + operationType);
- }else if("CYSHDZ"==operationType ||"SYCSHHZDZQ"==operationType){
+ }else if("CYSHDZ"==operationType ||"SYCSHHZDZQ"==operationType||"CYCDZQ"==operationType||"SYCDZQ"==operationType){
// alert("契约锁2.0");
sReturn = RunJavaMethodTrans("com.tenwa.channelportal.action.ContractSignActionNewUtils","contractSignStatus",sParams+",operationType="+operationType);
}else{
@@ -340,7 +345,7 @@
var sReturn = "";
if("LHZL"==operationType || "SQSYC"==operationType ){
sReturn = RunJavaMethodTrans("com.tenwa.channelportal.action.ContractSignActionTwo","sendMessageAgain","ProjectId=<%=projectId%>,SubjectId=<%=SubjectId%>,operationType="+operationType);
- }else if("CYSHDZ"==operationType ||"SYCSHHZDZQ"==operationType){
+ }else if("CYSHDZ"==operationType ||"SYCSHHZDZQ"==operationType||"CYCDZQ"==operationType||"SYCDZQ"==operationType){
// alert("契约锁2.0");
sReturn = RunJavaMethodTrans("com.tenwa.channelportal.action.ContractSignActionNewUtils","sendMessageAgain","ProjectId=<%=projectId%>,SubjectId=<%=SubjectId%>,operationType="+operationType);
}else{
diff --git a/WebContent/Tenwa/Lease/Flow/Comm/LBContractTemplate/contract_template.jsp b/WebContent/Tenwa/Lease/Flow/Comm/LBContractTemplate/contract_template.jsp
index a16e23e7b..987e7ff11 100644
--- a/WebContent/Tenwa/Lease/Flow/Comm/LBContractTemplate/contract_template.jsp
+++ b/WebContent/Tenwa/Lease/Flow/Comm/LBContractTemplate/contract_template.jsp
@@ -340,6 +340,23 @@
param["templateIds"]=tempids;//选择的模板ID
}
+ //20210922 合同模板调整
+
+ // 客户手签(通用C端售后回租合同) 乘用车手签
+ // 乘用车售后回租电子签约 乘用车电子签约
+ // 专用车产品、商用车一车一挂 商用车手签
+ // 商用车一车一挂电子签约 商用车电子签约
+
+ if("KHSQ"==operationType2){
+ param["templateIds"]='f57aa80567853aa37fd6dd902021a';//选择的模板ID
+ }else if("CYSHDZ"==operationType2){
+ param["templateIds"]='f57aa80567853aa37fd6dd902021b';//选择的模板ID
+ }else if("ZYC"==operationType2||"SYCSHHZ"==operationType2){
+ param["templateIds"]='f57aa80567853aa37fd6dd902021c';//选择的模板ID
+ }else if("SYCSHHZDZQ"==operationType2){
+ param["templateIds"]='f57aa80567853aa37fd6dd902021d';//选择的模板ID
+ }
+
param["templateParam"]=JSON.stringify(tempParam).replace(/,/g,"@");//生成模板的参数据
for(var key in param){
if(sparam.length>0){sparam+=",";}
@@ -372,12 +389,14 @@
if("LHZL"==operationType || "SQSYC"==operationType){
falg = RunJavaMethodTrans("com.tenwa.channelportal.action.ContractSignActionTwo","compnySignIng","FlowUnid=<%=flowunid%>,flagType=word,ProjectId=<%=projectId%>,SubjectId=<%=SubjectId%>,operationType="+operationType);
- //商用车一车一挂、专用车产品、网约车、大通、C端直租、客户手签、
- }else if ("SYCSHHZ"==operationType||"ZYC"==operationType||"WYC"==operationType||"DT"==operationType||"CDZZ"==operationType||"5c494617683548a49cfc050f60067ea2"==tempids){
+ //商用车一车一挂、专用车产品、网约车、大通、C端直租、客户手签、商用车手签、乘用车手签
+ }else if ("SYCSHHZ"==operationType||"ZYC"==operationType||"WYC"==operationType||"DT"==operationType||"CDZZ"==operationType
+ ||"CYCSQ"==operationType||"SYCSQ"==operationType||"5c494617683548a49cfc050f60067ea2"==tempids){
falg = RunJavaMethodTrans("com.tenwa.channelportal.action.ContractSignActionTwoOwn","compnySignIng","FlowUnid=<%=flowunid%>,flagType=word,ProjectId=<%=projectId%>,SubjectId=<%=SubjectId%>,tempid="+tempids);
}else if("ZC"==operationType){
falg="success";
- }else if("KJLHZL"==operationType||"KJLHZLCYC"==operationType||"KJLHZLSYC"==operationType){//凯捷联合租赁
+ }else if("KJLHZL"==operationType||"KJLHZLCYC"==operationType||"KJLHZLSYC"==operationType ||"KJCYYQR"==operationType
+ ||"KJSYYQR"==operationType||"CYCDZQ"==operationType||"SYCDZQ"==operationType){//凯捷联合租赁商用车手签、乘用车手签
// alert("凯捷联合租赁,合同模板id=" + tempids);
falg = RunJavaMethodTrans("com.tenwa.channelportal.action.ContractSignActionNewUtils","compnySignIng","FlowUnid=<%=flowunid%>,flagType=word,ProjectId=<%=projectId%>,SubjectId=<%=SubjectId%>,operationType="+operationType);
} else{
diff --git a/WebContent/Tenwa/Lease/Flow/Comm/LBEquipment_Car/LBEquipmentInfo.jsp b/WebContent/Tenwa/Lease/Flow/Comm/LBEquipment_Car/LBEquipmentInfo.jsp
index 702000a00..35c0575fb 100644
--- a/WebContent/Tenwa/Lease/Flow/Comm/LBEquipment_Car/LBEquipmentInfo.jsp
+++ b/WebContent/Tenwa/Lease/Flow/Comm/LBEquipment_Car/LBEquipmentInfo.jsp
@@ -415,6 +415,11 @@
setItemValue(0,getRow(),"gears","");
setItemValue(0,getRow(),"car_typea",sReturn[3]);
+ if("SYC"==sReturn[3]){
+ setItemValue(0,getRow(), "cartype" , "商用车" );
+ }else if ("CYC"==sReturn[3]){
+ setItemValue(0,getRow(), "cartype" , "乘用车" );
+ }
carReadonly(sReturn[3]);
},"请选择车品牌",'');
}
diff --git a/WebContent/WEB-INF/etc/app/component/component-config.xml b/WebContent/WEB-INF/etc/app/component/component-config.xml
index 147a9f006..12ef6a5fa 100644
--- a/WebContent/WEB-INF/etc/app/component/component-config.xml
+++ b/WebContent/WEB-INF/etc/app/component/component-config.xml
@@ -1107,4 +1107,4 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/WebContent/WEB-INF/etc/jbo/jbo_calc.xml b/WebContent/WEB-INF/etc/jbo/jbo_calc.xml
index d93d5b429..b2058a13b 100644
--- a/WebContent/WEB-INF/etc/jbo/jbo_calc.xml
+++ b/WebContent/WEB-INF/etc/jbo/jbo_calc.xml
@@ -778,6 +778,8 @@
+
+
@@ -1082,6 +1084,7 @@
+
@@ -4681,6 +4684,7 @@
+
@@ -4724,6 +4728,7 @@
+
@@ -4768,6 +4773,7 @@
+
@@ -4802,6 +4808,16 @@
+
+
+
+
+
+
+
+
+
+
@@ -4836,6 +4852,16 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/calc/com/tenwa/reckon/executor/CashFlowExecutor.java b/calc/com/tenwa/reckon/executor/CashFlowExecutor.java
index 628782c26..c0fe537ac 100644
--- a/calc/com/tenwa/reckon/executor/CashFlowExecutor.java
+++ b/calc/com/tenwa/reckon/executor/CashFlowExecutor.java
@@ -57,7 +57,7 @@ public class CashFlowExecutor {
dateList.add(cash.get("PLAN_DATE"));
}
if ("subsectionRate".equals(calcType) ){
- String subsectionSql = "select IS_BALANCE_LENDING,DISCOUNT,DISCOUNT_COLLECTION_PERIOD from lc_calc_subsection_info_temp where FLOWUNID='"+tcb.getDocId()+"'";
+ String subsectionSql = "select IS_BALANCE_LENDING,DISCOUNT_INTEREST,DISCOUNT_COLLECTION_PERIOD from lc_calc_subsection_info_temp where FLOWUNID='"+tcb.getDocId()+"'";
List