diff --git a/WebContent/Tenwa/Apzl/productCar/LmProductToCompanyInfo.jsp b/WebContent/Tenwa/Apzl/productCar/LmProductToCompanyInfo.jsp new file mode 100644 index 000000000..bd5270f32 --- /dev/null +++ b/WebContent/Tenwa/Apzl/productCar/LmProductToCompanyInfo.jsp @@ -0,0 +1,127 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_info.jspf"%> + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=Info01;Describe=定义页面属性;]~*/%> + <% + String PG_TITLE = "关联信息"; // 浏览器窗口标题 PG_TITLE + %> +<%/*~END~*/%> + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=Info02;Describe=定义变量,获取参数;]~*/%> + + +<% + String rightType = CurPage.getParameter("rightType"); + if(rightType ==null)rightType=""; +%> +<%/*~END~*/%> + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=Info03;Describe=定义数据对象;]~*/%> +<% + String sTempletNo = "productToCompanyInfo";//--模板号-- + ASObjectModel doTemp = new ASObjectModel(sTempletNo); + + ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request); + dwTemp.Style = "2";//freeform + if(rightType.equals("ReadOnly")){ + dwTemp.ReadOnly = "1";//只读模式 + } + String id = CurPage.getAttribute("id"); + dwTemp.genHTMLObjectWindow(id); + CurPage.getCurComp().setAttribute("RightType", rightType); +%> +<%/*~END~*/%> + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=Info04;Describe=定义按钮;]~*/%> +<% + String sButtons[][] = { + {"true","All","Button","保存","保存","saveRecord()","","","","btn_icon_save"}, + {"true","","Button","返回","返回列表页面","parent.AsDialog.ClosePage()","","","","btn_icon_return"} + }; + sButtonPosition = "south"; +%> +<%/*~END~*/%> + + +<%/*~BEGIN~不可编辑区~[Editable=false;CodeAreaID=Info05;Describe=主体页面;]~*/%> +<%@ include file="/Frame/resources/include/ui/include_info.jspf"%> +<%/*~END~*/%> + + +<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=Info06;Describe=定义按钮事件-;]~*/%> + +<%/*~END~*/%> +<%@ include file="/Frame/resources/include/include_end.jspf"%> \ No newline at end of file diff --git a/WebContent/Tenwa/Apzl/productCar/LmProductToCompanyList.jsp b/WebContent/Tenwa/Apzl/productCar/LmProductToCompanyList.jsp new file mode 100644 index 000000000..3e41cf405 --- /dev/null +++ b/WebContent/Tenwa/Apzl/productCar/LmProductToCompanyList.jsp @@ -0,0 +1,106 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_list.jspf"%> + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List00;Describe=注释区;]~*/%> +<% +/* + Author:lzb 2017-05-12 + Tester: + Content: 本方信息 + Input Param: + Output param: + History Log: + */ +%> +<%/*~END~*/%> + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List01;Describe=定义页面属性;]~*/%> +<% + String PG_TITLE = "产品关联公司"; // 浏览器窗口标题 PG_TITLE +%> +<%/*~END~*/%> + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List02;Describe=定义变量,获取参数;]~*/%> + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List03;Describe=定义数据对象;]~*/%> +<% + ASObjectModel doTemp = new ASObjectModel("productToCompanyList"); + ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request); + dwTemp.Style="1"; //--设置为Grid风格-- + dwTemp.ReadOnly = "1"; //只读模式 + dwTemp.setPageSize(20); + dwTemp.genHTMLObjectWindow(""); +%> +<%/*~END~*/%> + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List04;Describe=定义按钮;]~*/%> +<% + String sButtons[][] = { + {"true","All","Button","新增","新增","newRecord()","","","","btn_icon_add",""}, + //{"true","","Button","详情","详情","view()","","","","btn_icon_detail",""}, + {"true","All","Button","修改","修改","edit()","","","","btn_icon_edit",""}, + {"true","All","Button","删除","删除","as_delete(0)","","","","btn_icon_delete",""}, + + }; +%> +<%/*~END~*/%> + + + + +<%/*~BEGIN~不可编辑区~[Editable=false;CodeAreaID=List05;Describe=主体页面;]~*/%> +<%@include file="/Frame/resources/include/ui/include_list.jspf"%> +<%/*~END~*/%> + + +<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List06;Describe=定义按钮事件;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List07;Describe=自定义函数;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List08;Describe=页面装载时,进行初始化;]~*/%> + +<%/*~END~*/%> +<%@ include file="/Frame/resources/include/include_end.jspf"%> \ No newline at end of file diff --git a/WebContent/WEB-INF/etc/jbo/jbo_prd.xml b/WebContent/WEB-INF/etc/jbo/jbo_prd.xml index 2b81cf6c2..ce3e66e2e 100644 --- a/WebContent/WEB-INF/etc/jbo/jbo_prd.xml +++ b/WebContent/WEB-INF/etc/jbo/jbo_prd.xml @@ -88,6 +88,7 @@ + @@ -201,6 +202,24 @@ + + + + + + + + + + + + + + + + + + diff --git a/src_base/com/amarsoft/app/base/util/SYSNameManager.java b/src_base/com/amarsoft/app/base/util/SYSNameManager.java index fa9919ffa..86494167a 100644 --- a/src_base/com/amarsoft/app/base/util/SYSNameManager.java +++ b/src_base/com/amarsoft/app/base/util/SYSNameManager.java @@ -41,6 +41,12 @@ public class SYSNameManager{ if(prd == null || "01".equals(prd.getString("Attribute1"))) return ""; return prd.getString("TypeName") ; } + public static String getProductNameByProductID(String productID) throws Exception{ + if(StringX.isEmpty(productID)) return ""; + BusinessObject prd = ProductConfig.getProduct(productID); + if(prd == null ) return ""; + return prd.getString("TypeName") ; + } public static String getOrgNames(String orgIDs) throws Exception{ if(orgIDs == null || "".equals(orgIDs)) return ""; diff --git a/src_jbo/jbo/prd/LB_PRODUCTTOCOMPANY_INFO.java b/src_jbo/jbo/prd/LB_PRODUCTTOCOMPANY_INFO.java new file mode 100644 index 000000000..c341e79a8 --- /dev/null +++ b/src_jbo/jbo/prd/LB_PRODUCTTOCOMPANY_INFO.java @@ -0,0 +1,48 @@ +package jbo.prd; + +import java.lang.String; + +/** +* - JBO命名常量类

+* Note: This file is generated by ADE tools, dont modify it.
+ +*/ +public interface LB_PRODUCTTOCOMPANY_INFO{ + /** + *

+ * 代表本类映射的BizObjectClass + */ + public static final String CLASS_NAME = "jbo.prd.LB_PRODUCTTOCOMPANY_INFO"; + /** + * ID STRING(32)
+ */ + public static final String ID = "ID"; + /** + * 公司名称 STRING(20)
+ */ + public static final String company_name = "company_name"; + /** + * 产品ID STRING(32)
+ */ + public static final String product_id = "product_id"; + /** + * 银行账户 STRING(20)
+ */ + public static final String account = "account"; + /** + * 银行账号 STRING(30)
+ */ + public static final String acc_number = "acc_number"; + /** + * 开户银行 STRING(30)
+ */ + public static final String bank_name = "bank_name"; + /** + * 开户省份 STRING(20)
+ */ + public static final String province = "province"; + /** + * 开户城市 STRING(20)
+ */ + public static final String city = "city"; +} \ No newline at end of file diff --git a/src_jbo/jbo/prd/PRD_SPECIFIC_LIBRARY.java b/src_jbo/jbo/prd/PRD_SPECIFIC_LIBRARY.java index f2858ee31..25c394ce8 100644 --- a/src_jbo/jbo/prd/PRD_SPECIFIC_LIBRARY.java +++ b/src_jbo/jbo/prd/PRD_SPECIFIC_LIBRARY.java @@ -137,4 +137,8 @@ public interface PRD_SPECIFIC_LIBRARY{ * 是否活体检测 STRING(32)
*/ public static final String whether = "whether"; + /** + * 车牌号对应主体 STRING(32)
+ */ + public static final String licenseToSubject = "licenseToSubject"; } \ No newline at end of file