diff --git a/WebContent/Tenwa/Lease/Flow/Comm/LBAssetTransferRegistration/FileListConfigUrationInfo.jsp b/WebContent/Tenwa/Lease/Flow/Comm/LBAssetTransferRegistration/FileListConfigUrationInfo.jsp new file mode 100644 index 000000000..13514a01e --- /dev/null +++ b/WebContent/Tenwa/Lease/Flow/Comm/LBAssetTransferRegistration/FileListConfigUrationInfo.jsp @@ -0,0 +1,27 @@ +<%@page import="com.itextpdf.text.log.SysoCounter"%> +<%@ page contentType="text/html; charset=GBK"%><%@ +include + file="/Frame/resources/include/include_begin_info.jspf"%> +<% + String sPrevUrl = CurPage.getParameter("PrevUrl"); + if(sPrevUrl == null) sPrevUrl = "/Tenwa/Lease/Flow/Comm/LBAssetTransferRegistration/FileListConfigUrationList.jsp"; + String sTempletNo = "file_listconfigurationS";//--模板号-- + ASObjectModel doTemp = new ASObjectModel(sTempletNo); + ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request); + dwTemp.Style = "2";//freeform + dwTemp.ReadOnly = "0";//只读模式 + dwTemp.genHTMLObjectWindow(CurPage.getParameter("ID")); + + String sButtons[][] = { + {"true", "All", "Button", "保存","保存所有修改", "saveRecord()", "", "", "", ""}, + }; +%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%> + +<%@ include file="/Frame/resources/include/include_end.jspf"%> diff --git a/WebContent/Tenwa/Lease/Flow/Comm/LBAssetTransferRegistration/FileListConfigUrationList.jsp b/WebContent/Tenwa/Lease/Flow/Comm/LBAssetTransferRegistration/FileListConfigUrationList.jsp new file mode 100644 index 000000000..99c8271e0 --- /dev/null +++ b/WebContent/Tenwa/Lease/Flow/Comm/LBAssetTransferRegistration/FileListConfigUrationList.jsp @@ -0,0 +1,123 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_list.jspf"%> + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List01;Describe=定义页面属性;]~*/%> +<% + String PG_TITLE = "文件清单配置"; // 浏览器窗口标题 PG_TITLE +%> +<% + ASObjectModel doTemp = new ASObjectModel("file_listconfiguration"); + ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request); + dwTemp.Style="1"; //--设置为Grid风格-- + //dwTemp.MultiSelect = true; //多选 + dwTemp.ReadOnly = "1"; //只读模式 + dwTemp.setPageSize(30); + dwTemp.genHTMLObjectWindow(""); +%> +<%/*~END~*/%> + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List04;Describe=定义按钮;]~*/%> +<% + String sButtons[][] = { + {"true","All","Button","新增","新增","newRecord()","","","","btn_icon_add",""}, + {"true","","Button","修改","修改","viewAndEdit()","","","","btn_icon_edit"}, + {"true","All","Button","删除","删除","deleteRecord()","","","","btn_icon_delete",""}, + //{"true","","Button","excel导入","excel导入","importExcel()","","","","btn_icon_import"}, + //{"true","","Button","模版下载","模版下载","DiscountDownload()","","","","btn_icon_down",""}, + //{"true","All","Button","下载","下载资料","copy()","","","","btn_icon_generate"}, + }; +%> +<%/*~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/src_tenwa/com/tenwa/customer/controller/group/CustomerGroupCompanyController.java b/src_tenwa/com/tenwa/customer/controller/group/CustomerGroupCompanyController.java index 1b99ec93f..d696c4d2e 100644 --- a/src_tenwa/com/tenwa/customer/controller/group/CustomerGroupCompanyController.java +++ b/src_tenwa/com/tenwa/customer/controller/group/CustomerGroupCompanyController.java @@ -6,6 +6,7 @@ import jbo.app.tenwa.customer.DISTRIBUTOR_GROUP_RELATION; import jbo.app.tenwa.customer.DISTRIBUTOR_INFO; import jbo.app.tenwa.customer.DISTRIBUTOR_INFO_TEMP; import jbo.com.tenwa.entity.comm.own.COUNTRY_DISTRICT_INFO; +import jbo.sys.CODE_LIBRARY; import com.amarsoft.are.jbo.BizObject; import com.amarsoft.are.jbo.BizObjectManager; @@ -20,6 +21,8 @@ public class CustomerGroupCompanyController { private String group_no = ""; private String DISTRIBUTOR_CODING = ""; private String flowunid; + private String ITEMNO = ""; + private String SORTNO = ""; public String getFlowunid() { return flowunid; @@ -182,4 +185,25 @@ public class CustomerGroupCompanyController { } return id; } + + + + + public String file_repeat(JBOTransaction tx) throws Exception{ + BizObjectManager filedc = JBOFactory.getBizObjectManager(CODE_LIBRARY.CLASS_NAME); + BizObject dgfc = filedc.createQuery("ITEMNO=:ITEMNO").setParameter("ITEMNO", ITEMNO).getSingleResult(false); + if(dgfc == null){ + return "true"; + }else{ + return "false"; + } + } + + + + + + + + } \ No newline at end of file