From aa8d307c3e5cb3509a3c9703cefdffd966eae958 Mon Sep 17 00:00:00 2001 From: user Date: Fri, 15 Jun 2018 15:41:33 +0800 Subject: [PATCH 01/11] =?UTF-8?q?=E4=B8=9A=E5=8A=A1=E7=94=B3=E8=AF=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../BusinessApplication/BusinessProjectTempInfo.jsp | 2 +- .../BusinessApproval/ProjectApprovalCreationInfo.jsp | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/BusinessProjectTempInfo.jsp b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/BusinessProjectTempInfo.jsp index 2b3525e4b..c1e568457 100644 --- a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/BusinessProjectTempInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/BusinessProjectTempInfo.jsp @@ -35,7 +35,7 @@ String userll=null; userll="/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerInfo.jsp?CompClientID="; if("01".equals(custype)){ - userll="/Tenwa/Customer/Lessee/Person/LegalPersonApplicationInfo.jsp?CompClientID="; + userll="/Tenwa/Customer/Lessee/Person/LPApplicationInfoTemp.jsp?CompClientID="; } diff --git a/WebContent/Tenwa/Lease/Flow/Project/BusinessApproval/ProjectApprovalCreationInfo.jsp b/WebContent/Tenwa/Lease/Flow/Project/BusinessApproval/ProjectApprovalCreationInfo.jsp index 74280d0f0..556b93507 100644 --- a/WebContent/Tenwa/Lease/Flow/Project/BusinessApproval/ProjectApprovalCreationInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Project/BusinessApproval/ProjectApprovalCreationInfo.jsp @@ -228,7 +228,6 @@ <%/*~[Describe=选择产品;]~*/%> function selectBusinessType() { - var carAttributes = getItemValue(0,getRow(),"carAttributes"); var leasehold = getItemValue(0,getRow(),"leasehold"); @@ -241,7 +240,7 @@ return; } sReturn = sReturn.split("@"); -// alert(sReturn); +// alert(sReturn); setItemValue(0,0,"productId",sReturn[0]); setItemValue(0,0,"productName",sReturn[1]); },"请选择产品",''); @@ -254,12 +253,12 @@ return; } sReturn = sReturn.split("@"); -// alert(sReturn); +// alert(sReturn); setItemValue(0,0,"productId",sReturn[0]); setItemValue(0,0,"productName",sReturn[1]); },"请选择产品",''); } - + } <%/*~[Describe=选择客户;]~*/%> From 55486165b348e4ea428fd2c8ff5aa84e4c8e857d Mon Sep 17 00:00:00 2001 From: user Date: Fri, 15 Jun 2018 16:34:20 +0800 Subject: [PATCH 02/11] =?UTF-8?q?=E4=B8=9A=E5=8A=A1=E7=94=B3=E8=AF=B7?= =?UTF-8?q?=EF=BC=8C=E6=B3=95=E4=BA=BA=E4=BF=A1=E6=81=AF=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Project/BusinessApplication/BusinessProjectTempInfo.jsp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/BusinessProjectTempInfo.jsp b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/BusinessProjectTempInfo.jsp index c1e568457..259ca279c 100644 --- a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/BusinessProjectTempInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/BusinessProjectTempInfo.jsp @@ -26,12 +26,14 @@ String certid =CurPage.getParameter("certid"); //String sTempletNo = "BusinessProjectTempInfo_temp";//--模板号-- ASObjectModel doTemp = new ASObjectModel(sTempletNo); + //租赁形式set只读 if((null!=sPhaseNo&&sPhaseNo.equals("0010")) && ("BusinessApplyFlow".equals(FlowNo) ||"BusinessChangeFlow".equals(FlowNo))){ doTemp.setReadOnly("LEAS_FORM", true); doTemp.setReadOnly("PROJECT_SOURCE", false); } + String userll=null; userll="/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerInfo.jsp?CompClientID="; if("01".equals(custype)){ From 629af5be3bcb1db7e9297e6b4ed92a566c425125 Mon Sep 17 00:00:00 2001 From: user Date: Fri, 15 Jun 2018 16:37:57 +0800 Subject: [PATCH 03/11] =?UTF-8?q?=E4=B8=9A=E5=8A=A1=E7=94=B3=E8=AF=B7?= =?UTF-8?q?=EF=BC=8C=E6=B3=95=E4=BA=BA=E4=BF=A1=E6=81=AF=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Lessee/Person/LPApplicationInfoTemp.jsp | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 WebContent/Tenwa/Customer/Lessee/Person/LPApplicationInfoTemp.jsp diff --git a/WebContent/Tenwa/Customer/Lessee/Person/LPApplicationInfoTemp.jsp b/WebContent/Tenwa/Customer/Lessee/Person/LPApplicationInfoTemp.jsp new file mode 100644 index 000000000..2883a137f --- /dev/null +++ b/WebContent/Tenwa/Customer/Lessee/Person/LPApplicationInfoTemp.jsp @@ -0,0 +1,31 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><% + /* + Author: undefined 2018-06-15 + Content: 示例详情页面 + History Log: + */ + String sPrevUrl = CurPage.getParameter("PrevUrl"); + if(sPrevUrl == null) sPrevUrl = ""; + + String sTempletNo = "LPApplicationInfoTemp";//--模板号-- + 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()","","","",""} + }; + sButtonPosition = "south"; + +%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%> + +<%@ include file="/Frame/resources/include/include_end.jspf"%> \ No newline at end of file From 6a132c690f84568f6d9719ae1de9fdbf3f68ea03 Mon Sep 17 00:00:00 2001 From: user Date: Fri, 15 Jun 2018 16:51:39 +0800 Subject: [PATCH 04/11] =?UTF-8?q?=E4=B8=9A=E5=8A=A1=E7=94=B3=E8=AF=B7?= =?UTF-8?q?=E5=AE=8C=E6=95=B4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Tenwa/Customer/Lessee/Person/LPApplicationInfoTemp.jsp | 1 - .../Project/BusinessApplication/BusinessProjectTempInfo.jsp | 2 -- .../Project/BusinessApproval/ProjectApprovalCreationInfo.jsp | 1 - .../project/projectapproval/BusinessApprovalStartAction.java | 1 + 4 files changed, 1 insertion(+), 4 deletions(-) diff --git a/WebContent/Tenwa/Customer/Lessee/Person/LPApplicationInfoTemp.jsp b/WebContent/Tenwa/Customer/Lessee/Person/LPApplicationInfoTemp.jsp index 2883a137f..c199f59f2 100644 --- a/WebContent/Tenwa/Customer/Lessee/Person/LPApplicationInfoTemp.jsp +++ b/WebContent/Tenwa/Customer/Lessee/Person/LPApplicationInfoTemp.jsp @@ -21,7 +21,6 @@ {String.valueOf(!com.amarsoft.are.lang.StringX.isSpace(sPrevUrl)),"All","Button","返回","返回列表","returnList()","","","",""} }; sButtonPosition = "south"; - %><%@ include file="/Frame/resources/include/ui/include_info.jspf"%> +<%@ page contentType="text/html; charset=GBK"%><%@ + include file="/IncludeBegin.jsp"%><% +/* + 页面说明: 示例上下联动框架页面 + */ + String TYPENO = CurPage.getParameter("TYPENO"); +%><%@include file="/Resources/CodeParts/Frame02.jsp"%> + <%@ include file="/IncludeEnd.jsp"%> \ No newline at end of file diff --git a/WebContent/Tenwa/Apzl/PortalToCarType/LmProductDistributorList.jsp b/WebContent/Tenwa/Apzl/PortalToCarType/LmProductDistributorList.jsp index 30d045714..d156f3d2e 100644 --- a/WebContent/Tenwa/Apzl/PortalToCarType/LmProductDistributorList.jsp +++ b/WebContent/Tenwa/Apzl/PortalToCarType/LmProductDistributorList.jsp @@ -5,36 +5,55 @@ Content: History Log: */ - ASObjectModel doTemp = new ASObjectModel("LM_DISTRIBUTOR_LIST"); - ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request); + String PG_TITLE ="汽车产品列表"; + String TYPENO= CurPage.getParameter("TYPENO"); + ASObjectModel doTemp = new ASObjectModel("LmProductCarList"); + ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request); dwTemp.Style="1"; //--设置为Grid风格-- dwTemp.ReadOnly = "1"; //只读模式 dwTemp.setPageSize(10); - dwTemp.genHTMLObjectWindow(""); + dwTemp.genHTMLObjectWindow(TYPENO); //0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格 String sButtons[][] = { - {"false","All","Button","新增","新增","newRecord()","","","","btn_icon_add",""}, - {"false","","Button","详情","详情","viewAndEdit()","","","","btn_icon_detail",""}, - {"false","","Button","删除","删除","if(confirm('确实要删除吗?'))as_delete(0,'alert(getRowCount(0))')","","","","btn_icon_delete",""}, + //{"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/src_tenwa/com/tenwa/apzl/saveunioncar/saveUnionCarUtil.java b/src_tenwa/com/tenwa/apzl/saveunioncar/saveUnionCarUtil.java index 1fe991c84..f1f0bc286 100644 --- a/src_tenwa/com/tenwa/apzl/saveunioncar/saveUnionCarUtil.java +++ b/src_tenwa/com/tenwa/apzl/saveunioncar/saveUnionCarUtil.java @@ -132,25 +132,25 @@ public String getCarBrandId() { String updateUserID = params[0]; String updateOrgId = params[1]; String updateTime = params[2]; - String distributorId = params[3]; - String productid=params[4]; + String typeno = params[3]; + //String productid=params[4]; int lle=0; - BizObjectManager Lmcheck = JBOFactory.getBizObjectManager(LM_DISTRIBUTOR_TO_PRODUCT.CLASS_NAME,tx); - BizObject obcheck=Lmcheck.createQuery("DISTRIBUTOR_ID=:DISTRIBUTOR_ID and PRODUCT_ID=:PRODUCT_ID") - .setParameter("DISTRIBUTOR_ID", distributorId).setParameter("PRODUCT_ID",productid).getSingleResult(false); - if(obcheck!=null){ - return "error"; - } int i; try{ - for(i=4;i Date: Sat, 16 Jun 2018 11:57:20 +0800 Subject: [PATCH 09/11] =?UTF-8?q?=E4=B8=9A=E5=8A=A1=E7=94=B3=E8=AF=B7?= =?UTF-8?q?=EF=BC=8C=E8=AE=BE=E7=BD=AE=E5=AE=A2=E6=88=B7=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E7=BB=91=E5=AE=9A=E8=AF=81=E4=BB=B6=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ProjectApprovalCreationInfo.jsp | 19 ++++++++++++++++++- .../BusinessApprovalStartAction.java | 1 + 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/WebContent/Tenwa/Lease/Flow/Project/BusinessApproval/ProjectApprovalCreationInfo.jsp b/WebContent/Tenwa/Lease/Flow/Project/BusinessApproval/ProjectApprovalCreationInfo.jsp index 32b34a0db..6de107e15 100644 --- a/WebContent/Tenwa/Lease/Flow/Project/BusinessApproval/ProjectApprovalCreationInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Project/BusinessApproval/ProjectApprovalCreationInfo.jsp @@ -39,6 +39,7 @@ <% String sTempletNo = "BusnessApprovalApplyCreationInfo";//--模板号-- ASObjectModel doTemp = new ASObjectModel(sTempletNo); + doTemp.setHtmlEvent("Customer_type", "onchange", "setCertType"); ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request); dwTemp.Style = "2";//freeform dwTemp.genHTMLObjectWindow(""); @@ -274,9 +275,25 @@ // alert(sReturn[1]); setItemValue(0,0,"CUSTOMERID",sReturn[0]); setItemValue(0,0,"customername",sReturn[1]); + setCertType(); },"请选择客户",''); } - + + function setCertType(){ + debugger; + var customerType = getItemValue(0,0,"Customer_type"); + if("01" == customerType){ +// if(carType == "stock_car"){ +// AsDebug.showMessage("提示","法人不允许做存量车业务","","",true); +// setItemValue(0,0,"CUSTOMERTYPE",""); +// setItemValue(0,0,"CERTTYPE",""); +// return; +// } + setItemValue(0,0,"certtype","Ent01"); + }else if("03" == customerType){ + setItemValue(0,0,"certtype","Ind01"); + } + } <%/*~END~*/%> diff --git a/src_tenwa/com/tenwa/lease/flow/project/projectapproval/BusinessApprovalStartAction.java b/src_tenwa/com/tenwa/lease/flow/project/projectapproval/BusinessApprovalStartAction.java index c992cd311..edfc7c769 100644 --- a/src_tenwa/com/tenwa/lease/flow/project/projectapproval/BusinessApprovalStartAction.java +++ b/src_tenwa/com/tenwa/lease/flow/project/projectapproval/BusinessApprovalStartAction.java @@ -17,6 +17,7 @@ import jbo.com.tenwa.lease.comm.LB_UNION_LESSEE; import com.amarsoft.app.util.ProductParamUtil; import com.amarsoft.are.jbo.BizObject; import com.amarsoft.are.jbo.BizObjectManager; +import com.amarsoft.are.jbo.BizObjectQuery; import com.amarsoft.are.jbo.JBOException; import com.amarsoft.are.jbo.JBOFactory; import com.amarsoft.are.jbo.JBOTransaction; From b24ec986f8fcba89e487631c4ca9ded24636c42f Mon Sep 17 00:00:00 2001 From: zhouyahui Date: Sat, 16 Jun 2018 14:56:08 +0800 Subject: [PATCH 10/11] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E5=B7=A5=E4=BD=9C?= =?UTF-8?q?=E6=97=A5=E5=8E=86=E4=BA=8B=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WebContent/AppMain/MyCalendar.jsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WebContent/AppMain/MyCalendar.jsp b/WebContent/AppMain/MyCalendar.jsp index a412994e3..f01eb4ef8 100644 --- a/WebContent/AppMain/MyCalendar.jsp +++ b/WebContent/AppMain/MyCalendar.jsp @@ -260,7 +260,7 @@ function fDrawCal(iYear, iMonth, iCellWidth, iCellHeight, sDateTextSize, sDateTe for (var w = 1; w < 7; w++) { sReturn += (""); for (var d = 0; d < 7; d++) { - tdClickEvent = " onClick=newTask("+myMonth[w][d][0]+","+myMonth[w][d][1]+","+myMonth[w][d][2]+") "; +// tdClickEvent = " onClick=newTask("+myMonth[w][d][0]+","+myMonth[w][d][1]+","+myMonth[w][d][2]+") "; if(myMonth[w][d][0] == iYear&&myMonth[w][d][1] == iMonth){ gstype = 'CURSOR:Hand;FONT-FAMILY:Arial;COLOR:#000000;FONT-SIZE:" + sDateTextSize + ";FONT-WEIGHT:" + sDateTextWeight + "'; }else{ From 3dc44cf2cd44831bb06d27dad760159bfee0cc0d Mon Sep 17 00:00:00 2001 From: zhangbb Date: Sat, 16 Jun 2018 17:41:04 +0800 Subject: [PATCH 11/11] =?UTF-8?q?=E7=A7=9F=E9=87=91=E6=B5=8B=E7=AE=97?= =?UTF-8?q?=E4=B8=B4=E6=97=B6=E8=A7=A3=E5=86=B3=EF=BC=88=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E6=89=80=E9=9C=80=E5=AD=97=E6=AE=B5=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WebContent/WEB-INF/etc/app/component/component-config.xml | 8 ++++---- .../etc/app/component/component-parameter-config.xml | 2 +- WebContent/WEB-INF/etc/jbo/jbo_calc.xml | 2 ++ 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/WebContent/WEB-INF/etc/app/component/component-config.xml b/WebContent/WEB-INF/etc/app/component/component-config.xml index 57277da66..7850d8e84 100644 --- a/WebContent/WEB-INF/etc/app/component/component-config.xml +++ b/WebContent/WEB-INF/etc/app/component/component-config.xml @@ -302,7 +302,7 @@ - + @@ -1080,7 +1080,7 @@ - + @@ -1095,10 +1095,10 @@ - + - \ No newline at end of file + \ No newline at end of file diff --git a/WebContent/WEB-INF/etc/app/component/component-parameter-config.xml b/WebContent/WEB-INF/etc/app/component/component-parameter-config.xml index 8b5f8aecc..7f92a0718 100644 --- a/WebContent/WEB-INF/etc/app/component/component-parameter-config.xml +++ b/WebContent/WEB-INF/etc/app/component/component-parameter-config.xml @@ -178,7 +178,7 @@ - + diff --git a/WebContent/WEB-INF/etc/jbo/jbo_calc.xml b/WebContent/WEB-INF/etc/jbo/jbo_calc.xml index 02caedf42..8477f6edd 100644 --- a/WebContent/WEB-INF/etc/jbo/jbo_calc.xml +++ b/WebContent/WEB-INF/etc/jbo/jbo_calc.xml @@ -437,6 +437,8 @@ + +