diff --git a/WebContent/Accounting/LoanSimulation/LoanBasicInfo.jsp b/WebContent/Accounting/LoanSimulation/LoanBasicInfo.jsp index a2ecdef00..9c23a310f 100644 --- a/WebContent/Accounting/LoanSimulation/LoanBasicInfo.jsp +++ b/WebContent/Accounting/LoanSimulation/LoanBasicInfo.jsp @@ -84,7 +84,10 @@ String carNum = Sqlca.getString( "SELECT COUNT(1) AS carNum FROM lb_equipment_car_temp WHERE car_attribute='head' AND flowunid='" + flowunid + "'" ); String sumeQuipPrice = Sqlca.getString( "SELECT SUM(IFNULL(EQUIP_PRICE,0)) AS sumeQuipPrice FROM lb_equipment_car_temp WHERE flowunid='" + flowunid + "'" ); String carTypea = Sqlca.getString( "SELECT car_typea FROM lb_equipment_car_temp WHERE flowunid='" + flowunid + "' LIMIT 1 " ); - + //获取产品配置的留购价款 + String nominalPrice= ProductParamUtil.getProductParameterValue( productId, "PRD0315", "NOMINAL_PRICE", "CostType08" ) ; + + ASObjectModel doTemp = new ASObjectModel(templateNo); Map> productRates = ProductParamUtil.getProductComponentType(productId, "PRD0350"); @@ -298,7 +301,7 @@ $(function(){ setItemValue( 0, 0, 'EQUIP_AMT', "<%=sumeQuipPrice%>" ); setItemReadOnly(0,0,"EQUIP_AMT",true); } - var nominalPrice = getItemValue( 0, 0,'NOMINAL_PRICE') ; + var nominalPrice = "<%=nominalPrice%>" ; var carNum = parseInt("<%=carNum%>"); setItemValue( 0, 0, 'NOMINAL_PRICE', Number(nominalPrice)*carNum ); diff --git a/WebContent/Tenwa/Lease/Flow/Comm/LBEquipment_Car/LBEquipmentInfo.jsp b/WebContent/Tenwa/Lease/Flow/Comm/LBEquipment_Car/LBEquipmentInfo.jsp index 372669d0b..bb385059a 100644 --- a/WebContent/Tenwa/Lease/Flow/Comm/LBEquipment_Car/LBEquipmentInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Comm/LBEquipment_Car/LBEquipmentInfo.jsp @@ -204,9 +204,15 @@ setItemReadOnly(0,0,"gears",true); setItemReadOnly(0,0,"DISPLACEMENT",true); setItemReadOnly(0,0,"DRIVE_TYPE",true); + setItemReadOnly(0,0,"EQUIP_PRICE",true); + setItemReadOnly(0,0,"CAR_ATTRIBUTE",true); + setItemReadOnly(0,0,"MANUFACTURER_NAME",true); + setItemReadOnly(0,0,"LICENSE_PLATE_NUMBER",true); + setItemReadOnly(0,0,"EXPIRYDATE",true); $("#BRAND ~ a").remove(); $("#CAR_SERIES ~ a").remove(); $("#MODEL ~ a").remove(); + $("#HEAD_NAME ~ a").remove(); // document.getElementById('BRAND').nextSibling.remove(); // document.getElementById('CAR_SERIES').nextSibling.remove(); // document.getElementById('MODEL').nextSibling.remove(); @@ -222,6 +228,8 @@ if("head" != carAttribute){ setItemRequired(0,"car_series",false); setItemRequired(0,"MODEL",false); + setItemReadOnly(0,0,"ENGINE_NUMBER",true); + setItemReadOnly(0,0,"CAR_COLOUR",true); } } @@ -405,7 +413,8 @@ },"请选择车品牌",''); } function carReadonly(cartypea){ - if("SYC"==cartypea){ + var flowNo ="<%=FlowNo%>"; + if("SYC"==cartypea && (flowNo=="BusinessApplyFlow" || flowNo=="BusinessChangeFlow") ){ setItemReadOnly(0,0,"CAR_SERIES",false); setItemReadOnly(0,0,"MODEL",false); setItemReadOnly(0,0,"NOW_TOTAL",false); diff --git a/WebContent/Tenwa/Lease/Flow/Comm/LBEquipment_Car/LBEquipmentList.jsp b/WebContent/Tenwa/Lease/Flow/Comm/LBEquipment_Car/LBEquipmentList.jsp index cb0a7b40b..5c76dbc9b 100644 --- a/WebContent/Tenwa/Lease/Flow/Comm/LBEquipment_Car/LBEquipmentList.jsp +++ b/WebContent/Tenwa/Lease/Flow/Comm/LBEquipment_Car/LBEquipmentList.jsp @@ -65,7 +65,7 @@ //获取车辆属性 String carTypea = Sqlca.getString("SELECT car_typea FROM LB_EQUIPMENT_CAR_TEMP WHERE flowunid='"+sFlowUnid+"'"); String copyFalg = "false"; - if("SYC".equals(carTypea)){ + if("SYC".equals(carTypea) && (flowNo.equals("BusinessApplyFlow") || flowNo.equals("BusinessChangeFlow")) ){ copyFalg = "true"; } %>