diff --git a/WebContent/Tenwa/Lease/Flow/Comm/LBGuaranteeUnit/LBGuaranteePerUnitInfo.jsp b/WebContent/Tenwa/Lease/Flow/Comm/LBGuaranteeUnit/LBGuaranteePerUnitInfo.jsp
index c1fd8dbc5..f8ac361ee 100644
--- a/WebContent/Tenwa/Lease/Flow/Comm/LBGuaranteeUnit/LBGuaranteePerUnitInfo.jsp
+++ b/WebContent/Tenwa/Lease/Flow/Comm/LBGuaranteeUnit/LBGuaranteePerUnitInfo.jsp
@@ -206,13 +206,16 @@
}
//根据身份证号判断性别
function ValidityCheck(){
+ var certType = getItemValue(0,getRow(0),"CERTTYPE");
var certID = getItemValue(0,getRow(),"CERTID");
- sex = certID.substring(16,17);
+ var sex = certID.substring(16,17);
sex = parseInt(sex);
- if(sex%2==0){//奇男偶女
- setItemValue(0,getRow(),"SEX","2");
- }else{
- setItemValue(0,getRow(),"SEX","1");
+ if(certType=="Ind01"||certType=="Ind08"){
+ if(sex%2==0){//奇男偶女
+ setItemValue(0,getRow(),"SEX","2");
+ }else if(sex%2==1){
+ setItemValue(0,getRow(),"SEX","1");
+ }
}
checkCertidRepeat();
}
diff --git a/WebContent/Tenwa/Lease/Flow/Comm/LBGuaranteeUnit/LBGuaranteePerUnitListForContract.jsp b/WebContent/Tenwa/Lease/Flow/Comm/LBGuaranteeUnit/LBGuaranteePerUnitListForContract.jsp
new file mode 100644
index 000000000..283183991
--- /dev/null
+++ b/WebContent/Tenwa/Lease/Flow/Comm/LBGuaranteeUnit/LBGuaranteePerUnitListForContract.jsp
@@ -0,0 +1,38 @@
+<%@ page contentType="text/html; charset=GBK"%>
+<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><%
+ /*
+ Author: undefined 2018-11-19
+ Content:
+ History Log:
+ */
+ String contractid = CurPage.getParameter("ContractId");
+ ASObjectModel doTemp = new ASObjectModel("GuarantorQueryListForContract");
+ ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
+ dwTemp.Style="1"; //--设置为Grid风格--
+ dwTemp.ReadOnly = "1"; //只读模式
+ dwTemp.setPageSize(10);
+ dwTemp.genHTMLObjectWindow(contractid);
+
+ //0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格
+ String sButtons[][] = {
+ // {"true","All","Button","新增","新增","newRecord()","","","","btn_icon_add",""},
+ // {"true","","Button","详情","详情","viewAndEdit()","","","","btn_icon_detail",""},
+ // {"true","","Button","删除","删除","if(confirm('确实要删除吗?'))as_delete(0,'alert(getRowCount(0))')","","","","btn_icon_delete",""},
+ };
+%><%@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/LBPreLoanAntiFraud/LBCarCreditTempList.jsp b/WebContent/Tenwa/Lease/Flow/Comm/LBPreLoanAntiFraud/LBCarCreditTempList.jsp
index 9932d847a..b31b85e6b 100644
--- a/WebContent/Tenwa/Lease/Flow/Comm/LBPreLoanAntiFraud/LBCarCreditTempList.jsp
+++ b/WebContent/Tenwa/Lease/Flow/Comm/LBPreLoanAntiFraud/LBCarCreditTempList.jsp
@@ -12,6 +12,7 @@
dwTemp.Style="1"; //--设置为Grid风格--
dwTemp.ReadOnly = "1"; //只读模式
dwTemp.setPageSize(10);
+ dwTemp.MultiSelect = true; //添加多选框
dwTemp.genHTMLObjectWindow(sFlowUnid);
//0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格
@@ -24,20 +25,43 @@
function creditVerification(){
var sFlowUnid = "<%=sFlowUnid%>";
var PhaseNo = "<%=PhaseNo%>"
+ var certids=getItemValueArray(0,"certid").toString().replace(/,/g,"@");
+ if(certids.length==0){
+ alert("请先选择数据!!!");
+ return;
+ }
var result =
- RunJavaMethodTrans("com.tenwa.comm.credit.CreditBodyGuardAction","doCreditVerification","flowunid="+sFlowUnid+",phaseno="+PhaseNo);
+ RunJavaMethodTrans("com.tenwa.comm.credit.CreditBodyGuardAction","doCreditVerification","flowunid="+sFlowUnid+",phaseno="+PhaseNo+",certids="+certids);
if(result == 'ERROR'){
alert("调用数据失败");
+ reloadSelf();
}else if(result == 'SUCCESS'){
reloadSelf();
}else{
alert(result);
+ reloadSelf();
}
}
function viewAndEdit(){
var sUrl = "/Tenwa/Lease/Flow/Comm/LBPreLoanAntiFraud/LBCarCreditRiskShow.jsp";
- var certid = getItemValue(0,getRow(0),"CERTID");
- var sparam="FlowUnid="+"<%=sFlowUnid%>"+"&CertId="+certid;
+ //var certid = getItemValue(0,getRow(0),"CERTID");
+ var certids=getItemValueArray(0,"certid");
+ var ids=getItemValueArray(0,"ID").toString();
+ if(certids.length==0){
+ alert("请先选择数据!!!");
+ return;
+ }else if(certids.length>1){
+ alert("每次只能查询一条数据,请重新选择!");
+ reloadSelf();
+ return;
+ }else{
+ if(ids.length<=0){
+ alert("该数据没有进行信贷检验,请重新选择!");
+ reloadSelf();
+ return;
+ }
+ }
+ var sparam="FlowUnid="+"<%=sFlowUnid%>"+"&CertId="+certids[0];
AsControl.OpenView(sUrl,sparam,"_self","");
}
diff --git a/WebContent/Tenwa/Lease/Flow/Fund/FundPayment/LCFundPaymentTempInfo.jsp b/WebContent/Tenwa/Lease/Flow/Fund/FundPayment/LCFundPaymentTempInfo.jsp
index 73503aa0f..640026077 100644
--- a/WebContent/Tenwa/Lease/Flow/Fund/FundPayment/LCFundPaymentTempInfo.jsp
+++ b/WebContent/Tenwa/Lease/Flow/Fund/FundPayment/LCFundPaymentTempInfo.jsp
@@ -7,6 +7,7 @@
*/
String ishistory = CurPage.getParameter("IsHistory");
String flowunid = CurPage.getParameter("FlowUnid");
+ String phaseNo = CurPage.getParameter("PhaseNo");
ASObjectModel doTemp = new ASObjectModel("LCFundPaymentTempInfo");
/* if(null!=ishistory&&ishistory.equals("true")){
doTemp.setDataQueryClass("com.tenwa.flow.flowHistory.FlowDataInfoHistory");
@@ -27,6 +28,12 @@ $(function(){
if(relines<0){
$("#RELINES").css("color","red");
}
+ var phaseNo="<%=phaseNo%>";
+ if(phaseNo=='0010'){
+ setItemReadOnly(0, 0, "LENDING_TYPE", true);
+ }else{
+ setItemReadOnly(0, 0, "LENDING_TYPE", false);
+ }
lendingType();
});
function lendingType(){
diff --git a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerAddress.jsp b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerAddress.jsp
index e361d2804..b439ad05e 100644
--- a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerAddress.jsp
+++ b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerAddress.jsp
@@ -92,6 +92,8 @@
var isnew = getItemValue(0,getRow(),"isnew");//是否最新
var addtype = getItemValue(0,getRow(),"addtype");//地址类型
var id = getItemValue(0,getRow(),"id");
+ var dressdetail = getItemValue(0,0,"dressdetail");
+ setItemValue(0,0,"dressdetail",dressdetail);
setItemValue(0,0,"fulladdress",getItemValue(0,0,"provincename")+getItemValue(0,0,"dressdetail"));
setItemValue(0,0,"flowunid","<%=flowunid%>");
if(flag == "edit"){
diff --git a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerInfo.jsp b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerInfo.jsp
index ccbc4e746..2d8f6b39a 100644
--- a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerInfo.jsp
+++ b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerInfo.jsp
@@ -539,7 +539,7 @@
var fulladdress = getItemValue(0,getRow(0),'fulladdress');
var country = getItemValue(0,getRow(0),'country');
var province = getItemValue(0,getRow(0),'province');
- var dressdetail = getItemValue(0,getRow(0),'dressdetail');
+ var dressdetail = getItemValue(0,getRow(0),'dressdetail').replace(/[\r\n]/g,"");
var zipcode = getItemValue(0,getRow(0),'zipcode');
var provincename = getItemValue(0,getRow(0),'provincename');
var flag = "edit";
diff --git a/WebContent/Tenwa/Lease/Flow/Rent/CautionMoneyDeduction/ContractInfoPay.jsp b/WebContent/Tenwa/Lease/Flow/Rent/CautionMoneyDeduction/ContractInfoPay.jsp
index 05f4eb075..079f8e842 100644
--- a/WebContent/Tenwa/Lease/Flow/Rent/CautionMoneyDeduction/ContractInfoPay.jsp
+++ b/WebContent/Tenwa/Lease/Flow/Rent/CautionMoneyDeduction/ContractInfoPay.jsp
@@ -8,6 +8,7 @@
String ishistory = CurPage.getParameter("IsHistory");
String flowunid = CurPage.getParameter("FlowUnid");
String contractId = CurPage.getParameter("ContractId");
+ String compClientID = CurPage.getParameter("CompClientID");
String productid = Sqlca.getString("select PRODUCT_ID from LB_CONTRACT_INFO_TEMP where flowunid = '"+flowunid+"'");
String sTempletNo = "LB_CONTRACT_INFO_PAY";//--模板号--
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
@@ -18,7 +19,8 @@
dwTemp.Style = "2";
dwTemp.ReadOnly = "1";
dwTemp.genHTMLObjectWindow(contractId);
-
+ String url="/Tenwa/Lease/Flow/Comm/LBGuaranteeUnit/LBGuaranteePerUnitListForContract.jsp?CompClientID=";
+ dwTemp.replaceColumn("GUARANTEE_LIST", "", CurPage.getObjectWindowOutput());
String sButtons[][] = {
};
sButtonPosition = "south";
@@ -26,6 +28,7 @@