From be7b3cd9dbeba7b27c62cc4a166c007a25b9cdc8 Mon Sep 17 00:00:00 2001 From: admin Date: Wed, 8 Aug 2018 11:17:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E7=AD=89=E9=A2=9D=E6=9C=AC?= =?UTF-8?q?=E9=87=91,GPS=E5=8F=AA=E8=AF=BB=E4=B8=8E=E5=90=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WebContent/WEB-INF/etc/app/component/component-config.xml | 2 +- calc/com/tenwa/reckon/product/ProductConditionService.java | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/WebContent/WEB-INF/etc/app/component/component-config.xml b/WebContent/WEB-INF/etc/app/component/component-config.xml index 503b75bf6..199396fa0 100644 --- a/WebContent/WEB-INF/etc/app/component/component-config.xml +++ b/WebContent/WEB-INF/etc/app/component/component-config.xml @@ -1097,7 +1097,7 @@ - + diff --git a/calc/com/tenwa/reckon/product/ProductConditionService.java b/calc/com/tenwa/reckon/product/ProductConditionService.java index 9b70cd7fd..000f44197 100644 --- a/calc/com/tenwa/reckon/product/ProductConditionService.java +++ b/calc/com/tenwa/reckon/product/ProductConditionService.java @@ -99,6 +99,13 @@ public class ProductConditionService { //System.err.println(oneOrMore); doTemp.setDefaultValue("HANDLING_CHARGE_MONEY_TYPE", oneOrMore == null ? "" : oneOrMore); } + //设置GPS是否只读 + if(col.equals("GPS_FEE")) { + String GPSFee = map.get(col).get("RentMonthReadOnly"); + if(GPSFee!= null && "Y".equals(GPSFee)) { + doTemp.setReadOnly("GPS_FEE", true); + } + } String groupId = doTemp.getColumnAttribute(col, "groupid");