diff --git a/WebContent/Accounting/LoanSimulation/LoanBasicInfo.jsp b/WebContent/Accounting/LoanSimulation/LoanBasicInfo.jsp
index a54b9e502..fa403a912 100644
--- a/WebContent/Accounting/LoanSimulation/LoanBasicInfo.jsp
+++ b/WebContent/Accounting/LoanSimulation/LoanBasicInfo.jsp
@@ -299,7 +299,12 @@ CalcControl.InitStartDate=function(){
//默认起租日为投放日
if("period_type_1" == periodType){//期初 第一期还款日为投放日
setItemValue(0,0,"FIRST_PLAN_DATE",leaseAmtDate);
- setItemValue(0,0,"SECOND_PLAN_DATE",dateAdd('m',incomenumberyear,new Date(startDate)).format('yyyy\/MM\/dd'));
+ if(Number(rentDay)<10){
+ leaseAmtDate=leaseAmtDate.substring(0,8)+"0"+rentDay;
+ }else{
+ leaseAmtDate=leaseAmtDate.substring(0,8)+rentDay;
+ }
+ setItemValue(0,0,"SECOND_PLAN_DATE",dateAdd('m',incomenumberyear,new Date(leaseAmtDate)).format('yyyy\/MM\/dd'));
}else{
var firstPlanDate = dateAdd('m',incomenumberyear,new Date(startDate)).format('yyyy\/MM\/dd');
if(Number(rentDay)<10){
diff --git a/WebContent/AppFresh/AppPage/AppLibraryTemplateList.jsp b/WebContent/AppFresh/AppPage/AppLibraryTemplateList.jsp
index 21765e072..fd570ec0f 100644
--- a/WebContent/AppFresh/AppPage/AppLibraryTemplateList.jsp
+++ b/WebContent/AppFresh/AppPage/AppLibraryTemplateList.jsp
@@ -1,64 +1,64 @@
- <%@ page contentType="text/html; charset=GBK"%><%@
- include file="/Frame/resources/include/include_begin_list.jspf"%><%
- String GROUP_CODE = CurPage.getParameter("GROUP_CODE");
- if (GROUP_CODE == null)
- GROUP_CODE = "";
-
- ASObjectModel doTemp = new ASObjectModel("APP_BUSINESS_TEMPLATE_LIST");
- doTemp.setLockCount(2); //锁定两列
- ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
-
- dwTemp.Style="1"; //设置为Grid风格
- dwTemp.ReadOnly = "1";//编辑模式
- dwTemp.setPageSize(10);
- dwTemp.ConvertCode2Title = "1";
- dwTemp.genHTMLObjectWindow(GROUP_CODE);
-
- String sButtons[][] = {
- {"true","","Button","新增字段","新增字段","newRecord()","","","","btn_icon_add"},
- {"true","","Button","删除字段","删除字段","if(confirm('确实要删除吗?'))as_delete(0,'')","","","","btn_icon_delete"},
- {"true","","Button","编辑字段","编辑字段","viewAndEdit()","","","","btn_icon_edit"},
- };
-%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
-
+ <%@ page contentType="text/html; charset=GBK"%><%@
+ include file="/Frame/resources/include/include_begin_list.jspf"%><%
+ String GROUP_CODE = CurPage.getParameter("GROUP_CODE");
+ if (GROUP_CODE == null)
+ GROUP_CODE = "";
+
+ ASObjectModel doTemp = new ASObjectModel("APP_BUSINESS_TEMPLATE_LIST");
+ doTemp.setLockCount(2); //锁定两列
+ ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
+
+ dwTemp.Style="1"; //设置为Grid风格
+ dwTemp.ReadOnly = "1";//编辑模式
+ dwTemp.setPageSize(10);
+ dwTemp.ConvertCode2Title = "1";
+ dwTemp.genHTMLObjectWindow(GROUP_CODE);
+
+ String sButtons[][] = {
+ {"true","","Button","新增字段","新增字段","newRecord()","","","","btn_icon_add"},
+ {"true","","Button","删除字段","删除字段","if(confirm('确实要删除吗?'))as_delete(0,'')","","","","btn_icon_delete"},
+ {"true","","Button","编辑字段","编辑字段","viewAndEdit()","","","","btn_icon_edit"},
+ };
+%><%@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/DealerDeposit/DDepositReturn_TempList.jsp b/WebContent/DealerDeposit/DDepositReturn_TempList.jsp
index 23be864c8..630331525 100644
--- a/WebContent/DealerDeposit/DDepositReturn_TempList.jsp
+++ b/WebContent/DealerDeposit/DDepositReturn_TempList.jsp
@@ -7,18 +7,27 @@
*/
String sFlowUnid = CurPage.getParameter("FlowUnid");
String ProjectName = CurPage.getParameter("ProjectName");
+ String type = CurPage.getParameter("PhaseNo");
ASObjectModel doTemp = new ASObjectModel("DDepositReturn_TempList");
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
dwTemp.Style="1"; //--设置为Grid风格--
dwTemp.ReadOnly = "1"; //只读模式
dwTemp.setPageSize(10);
dwTemp.genHTMLObjectWindow(sFlowUnid);
+
+ String falg = "true";
+ if("0020".equals(type)){
+ falg ="false";
+ }
//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)","","","","btn_icon_delete",""},
+ {falg,"All","Button","新增","新增","newRecord()","","","","btn_icon_add",""},
+ //{falg,"","Button","详情","详情","viewAndEdit()","","","","btn_icon_detail",""},
+ {falg,"","Button","删除","删除","if(confirm('确实要删除吗?'))as_delete(0)","","","","btn_icon_delete",""},
+// {"","All","Button","新增","新增","newRecord()","","","","btn_icon_add",""},
+// {"","","Button","详情","详情","viewAndEdit()","","","","btn_icon_detail",""},
+// {"","","Button","删除","删除","if(confirm('确实要删除吗?'))as_delete(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/DistributorManage/DistributorApproval/LDistributorAccountInfo.jsp b/WebContent/Tenwa/Lease/DistributorManage/DistributorApproval/LDistributorAccountInfo.jsp
index 20c211e95..8ae01d766 100644
--- a/WebContent/Tenwa/Lease/DistributorManage/DistributorApproval/LDistributorAccountInfo.jsp
+++ b/WebContent/Tenwa/Lease/DistributorManage/DistributorApproval/LDistributorAccountInfo.jsp
@@ -87,6 +87,7 @@
sReturn = sReturn.split("@");
// alert(sReturn[1]);
setItemValue(0,0,"provinceInfo",sReturn[1]);
+ setItemValue(0,0,"district","");
province=sReturn[0];
setCertType();
},"请选择省份",'');
diff --git a/WebContent/Tenwa/Lease/DistributorManage/DistributorApproval/LDistributorInfo.jsp b/WebContent/Tenwa/Lease/DistributorManage/DistributorApproval/LDistributorInfo.jsp
index 6056c0ea3..253d05571 100644
--- a/WebContent/Tenwa/Lease/DistributorManage/DistributorApproval/LDistributorInfo.jsp
+++ b/WebContent/Tenwa/Lease/DistributorManage/DistributorApproval/LDistributorInfo.jsp
@@ -58,19 +58,48 @@
return false;
}
}
+
+
+
+ //校验经销商编号是否唯一
+ function Uniquenesscheck(){
+ var DISTRIBUTOR_CODING = getItemValue(0,0,'DISTRIBUTOR_CODING');
+ var sReturnInfo = RunJavaMethodTrans("com.tenwa.customer.controller.group.CustomerGroupCompanyController","distributor_basic","DISTRIBUTOR_CODING="+DISTRIBUTOR_CODING);
+ if("false" ==sReturnInfo){
+ alert("经销商编码已存在,请重新输入!!!");
+ return false;
+ }else{
+ return true;
+ }
+ }
+
+
<%-- $(function(){
if("<%=PhaseNo%>"=="0020"){
setItemRequired(0, "RETAIL_OPEN_DATE", true);
$("#RETAIL_OPEN_DATE")
}
}) --%>
-
- function save(){
- var result = Checkfield();
- if(result==true){
- as_save(0,"saveproj_name()");
+
+ function save() {
+ var result = false;
+ var distributor_coding = getItemValue(0,0,'DISTRIBUTOR_CODING');
+ if("0020"=="<%=PhaseNo%>"&&distributor_coding!=""){
+ result=true;
+ }else{
+ result = Uniquenesscheck();
}
+// result = Uniquenesscheck();
+ var result1 = Checkfield();
+ //if(result==true){
+ if(result==true && result1==true){
+ as_save("0","saveproj_name()");
+ }
}
+
+
+
+
function saveproj_name(){
var sReturnInfo = RunJavaMethodTrans("com.tenwa.lease.flow.project.businesspply.CustomerInfoManage","saveDistributorInfo","flowunid=<%=sFlowUnid%>");
@@ -153,6 +182,8 @@
// alert(sReturn[1]);
setItemValue(0,0,"provinces",sReturn[1]);
province=sReturn[0];
+ setItemValue(0,0,"DISTRIBUTOR_ADDRESSNAME","");
+ setItemValue(0,0,"DISTRIBUTOR_ADDRESS","");
setCertType();
},"请选择省份",'');
}
diff --git a/WebContent/Tenwa/Lease/DistributorManage/DistributorApproval/LDistributorInfoSecond.jsp b/WebContent/Tenwa/Lease/DistributorManage/DistributorApproval/LDistributorInfoSecond.jsp
index 7bf6f3ee3..1f02af30f 100644
--- a/WebContent/Tenwa/Lease/DistributorManage/DistributorApproval/LDistributorInfoSecond.jsp
+++ b/WebContent/Tenwa/Lease/DistributorManage/DistributorApproval/LDistributorInfoSecond.jsp
@@ -117,6 +117,8 @@ function saveproj_name(){
sReturn = sReturn.split("@");
// alert(sReturn[1]);
setItemValue(0,0,"provinces",sReturn[1]);
+ setItemValue(0,0,"DISTRIBUTOR_ADDRESSNAME","");
+ setItemValue(0,0,"DISTRIBUTOR_ADDRESS","");
province=sReturn[0];
setCertType();
},"请选择省份",'');
diff --git a/WebContent/Tenwa/Lease/DistributorManage/DistributorChange/LDistributorInfo.jsp b/WebContent/Tenwa/Lease/DistributorManage/DistributorChange/LDistributorInfo.jsp
index 532b05fa7..e874ab9b1 100644
--- a/WebContent/Tenwa/Lease/DistributorManage/DistributorChange/LDistributorInfo.jsp
+++ b/WebContent/Tenwa/Lease/DistributorManage/DistributorChange/LDistributorInfo.jsp
@@ -130,6 +130,8 @@ function saveproj_name(){
sReturn = sReturn.split("@");
// alert(sReturn[1]);
setItemValue(0,0,"provinces",sReturn[1]);
+ setItemValue(0,0,"DISTRIBUTOR_ADDRESSNAME","");
+ setItemValue(0,0,"DISTRIBUTOR_ADDRESS","");
province=sReturn[0];
setCertType();
},"请选择省份",'');
diff --git a/WebContent/Tenwa/Lease/Flow/AssetsDisposal/AssetsDisposalApply/AssetsDisposalApplyList.jsp b/WebContent/Tenwa/Lease/Flow/AssetsDisposal/AssetsDisposalApply/AssetsDisposalApplyList.jsp
index b60df3817..821bced6a 100644
--- a/WebContent/Tenwa/Lease/Flow/AssetsDisposal/AssetsDisposalApply/AssetsDisposalApplyList.jsp
+++ b/WebContent/Tenwa/Lease/Flow/AssetsDisposal/AssetsDisposalApply/AssetsDisposalApplyList.jsp
@@ -35,7 +35,7 @@
alert(mes);
}
reloadSelf();
- },"请选择投放");
+ },"请选择合同");
}
<%@ include file="/Tenwa/Core/FlowManager/BaseFlowList/BaseFlowApplyListEnd.jspf"%>
diff --git a/WebContent/Tenwa/Lease/Flow/AssetsDisposal/AssetsDisposalMaintenance/AssetsDisposalMaintenanceList.jsp b/WebContent/Tenwa/Lease/Flow/AssetsDisposal/AssetsDisposalMaintenance/AssetsDisposalMaintenanceList.jsp
index b067768d8..ce674882e 100644
--- a/WebContent/Tenwa/Lease/Flow/AssetsDisposal/AssetsDisposalMaintenance/AssetsDisposalMaintenanceList.jsp
+++ b/WebContent/Tenwa/Lease/Flow/AssetsDisposal/AssetsDisposalMaintenance/AssetsDisposalMaintenanceList.jsp
@@ -3,10 +3,10 @@
<%@ include file="/Frame/resources/include/include_begin_list.jspf"%>
<%
ASObjectModel doTemp = new ASObjectModel("LBAssetsDisposalMaintenanceList");
- String sCondtion=DataRightManager.getRightCondition(CurUser,"lci", "contract");
- doTemp.appendJboWhere(sCondtion);
- doTemp.setHtmlEvent("CONDITION_DEMO", "onmouseover", "showMemo");
- doTemp.setHtmlEvent("CONDITION_DEMO", "onmouseout", "hideMemo");
+ //String sCondtion=DataRightManager.getRightCondition(CurUser,"lci", "contract");
+ //doTemp.appendJboWhere(sCondtion);
+ //doTemp.setHtmlEvent("CONDITION_DEMO", "onmouseover", "showMemo");
+ //doTemp.setHtmlEvent("CONDITION_DEMO", "onmouseout", "hideMemo");
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
dwTemp.Style="1"; //--设置为Grid风格--
dwTemp.ReadOnly = "1"; //只读模式
diff --git a/WebContent/Tenwa/Lease/Flow/CarManage/CarDispose/LCCarBid.jsp b/WebContent/Tenwa/Lease/Flow/CarManage/CarDispose/LCCarBid.jsp
index 4ddef19b2..b9d2c4f3e 100644
--- a/WebContent/Tenwa/Lease/Flow/CarManage/CarDispose/LCCarBid.jsp
+++ b/WebContent/Tenwa/Lease/Flow/CarManage/CarDispose/LCCarBid.jsp
@@ -9,12 +9,13 @@
ASObjectModel doTemp = new ASObjectModel("LCCarBid");
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
dwTemp.Style="1"; //--设置为Grid风格--
- dwTemp.ReadOnly = "1"; //只读模式
+ dwTemp.ReadOnly = "0"; //只读模式
dwTemp.setPageSize(10);
dwTemp.genHTMLObjectWindow(framenumber);
//0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格
String sButtons[][] = {
+ {"true","All","Button","保存","保存所有修改","as_save(0)","","","",""},
//{"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",""},
diff --git a/WebContent/Tenwa/Lease/Flow/CarManage/CarDispose/LcCarDisposeDetail.jsp b/WebContent/Tenwa/Lease/Flow/CarManage/CarDispose/LcCarDisposeDetail.jsp
index b3437e956..a99778ef3 100644
--- a/WebContent/Tenwa/Lease/Flow/CarManage/CarDispose/LcCarDisposeDetail.jsp
+++ b/WebContent/Tenwa/Lease/Flow/CarManage/CarDispose/LcCarDisposeDetail.jsp
@@ -10,7 +10,7 @@
String ishistory=CurPage.getParameter("IsHistory");
String flowunid = CurPage.getParameter("FlowUnid");
String framenumber = Sqlca.getString("select FRAME_NUMBER from LC_CAR_DISPOSE_TEMP where flowunid ='"+flowunid+"'");
- String contractnumber = Sqlca.getString("select contract_no from LC_CAR_DISPOSE_TEMP where flowunid ='"+flowunid+"'");
+ //String contractnumber = Sqlca.getString("select contract_no from LC_CAR_DISPOSE_TEMP where flowunid ='"+flowunid+"'");
if(sPrevUrl == null) sPrevUrl = "";
String sTempletNo = "LcCarDisposeDetail";//--模板号--
diff --git a/WebContent/Tenwa/Lease/Flow/CarManage/CarEvaluate/LcCarEvaluateDetail.jsp b/WebContent/Tenwa/Lease/Flow/CarManage/CarEvaluate/LcCarEvaluateDetail.jsp
index 83077c7a9..7309d0dfe 100644
--- a/WebContent/Tenwa/Lease/Flow/CarManage/CarEvaluate/LcCarEvaluateDetail.jsp
+++ b/WebContent/Tenwa/Lease/Flow/CarManage/CarEvaluate/LcCarEvaluateDetail.jsp
@@ -48,10 +48,16 @@
var contractnumber=sReturn[2];
var customerid=sReturn[3];
var customername=sReturn[4];
+ var parkplace=sReturn[6];
+ var havingkey=sReturn[7];
+ var platetime=sReturn[8];
setItemValue(0, getRow(0), "FRAME_NUMBER", framenumber);
setItemValue(0, getRow(0), "CONTRACT_ID", contractnumber);
setItemValue(0, getRow(0), "CUSTOMER_ID", customerid);
setItemValue(0, getRow(0), "CUSTOMER_NAME", customername);
+ setItemValue(0, getRow(0), "PARK_PLACE", parkplace);
+ setItemValue(0, getRow(0), "HAVING_KEY", havingkey);
+ setItemValue(0, getRow(0), "PLATETIME", platetime);
},"请选择客户");
}
diff --git a/WebContent/Tenwa/Lease/Flow/Comm/LBContractTemplate/contract_template.jsp b/WebContent/Tenwa/Lease/Flow/Comm/LBContractTemplate/contract_template.jsp
index 9ddda435c..4c2a1c8d2 100644
--- a/WebContent/Tenwa/Lease/Flow/Comm/LBContractTemplate/contract_template.jsp
+++ b/WebContent/Tenwa/Lease/Flow/Comm/LBContractTemplate/contract_template.jsp
@@ -18,6 +18,8 @@
String sFileSaveMode = CurConfig.getConfigure("FileSaveMode");
String sFileSavePath = CurConfig.getConfigure("FileSavePath");
String sFileNameType = CurConfig.getConfigure("FileNameType");
+ //获取租赁方式,用于判断生成的合同类型
+ String leasform = CurPage.getParameter("leasform");
if(sPrevUrl == null) sPrevUrl = "";
String sTempletNo = "BaseFileTemplateSelect";//--模板号--
@@ -92,7 +94,10 @@
$('#A_Group_0010').css('display','none');
$('#A_Group_0020').css('display','none');
}
- initOneClass();
+ var sReturn = RunJavaMethodSqlca("com.tenwa.app.baseFileTemplate.handle.FileTemplateUtil","getContractClass","leasform="+"<%=leasform%>");
+ var jsonData=eval("("+sReturn+")");
+ initFileTemplate(eval("("+jsonData[0].fileTemplate+")"));
+// initOneClass();
});
diff --git a/WebContent/Tenwa/Lease/Flow/Comm/LBDebitCard/DebitCardInfo.jsp b/WebContent/Tenwa/Lease/Flow/Comm/LBDebitCard/DebitCardInfo.jsp
index d677bb3c1..315abaab8 100644
--- a/WebContent/Tenwa/Lease/Flow/Comm/LBDebitCard/DebitCardInfo.jsp
+++ b/WebContent/Tenwa/Lease/Flow/Comm/LBDebitCard/DebitCardInfo.jsp
@@ -20,7 +20,7 @@
doTemp.setHtmlEvent("acc_number", "onchange", "getNameOfBank");
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
dwTemp.Style = "2";//freeform
- if(ApplyType.equals("BusinessApplyApply")&&PhaseNo.equals("0020")){
+ if(PhaseNo.equals("0020")||PhaseNo.equals("0030")||PhaseNo.equals("0040")||PhaseNo.equals("0050")){
dwTemp.ReadOnly = "-2";//只读模式
}
if((null!=RightType&&RightType.equals("ReadOnly"))||(null!=ishistory&&ishistory.equals("true"))){
@@ -45,18 +45,18 @@
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>