diff --git a/WebContent/Tenwa/Lease/Flow/Comm/LBAssetTransferRegistration/FileListConfigUrationInfo.jsp b/WebContent/Tenwa/Lease/Flow/Comm/LBAssetTransferRegistration/FileListConfigUrationInfo.jsp index 1e70d3a33..78e05bb3e 100644 --- a/WebContent/Tenwa/Lease/Flow/Comm/LBAssetTransferRegistration/FileListConfigUrationInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Comm/LBAssetTransferRegistration/FileListConfigUrationInfo.jsp @@ -8,6 +8,7 @@ include String sTempletNo = "file_listconfigurationS";//--Ä£°åºÅ-- ASObjectModel doTemp = new ASObjectModel(sTempletNo); ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request); + doTemp.setHtmlEvent("ITEMNO", "onchange", "fileInfoMethods"); dwTemp.Style = "2";//freeform dwTemp.ReadOnly = "0";//Ö»¶Áģʽ dwTemp.genHTMLObjectWindow(CurPage.getParameter("ID")); @@ -31,5 +32,9 @@ include as_save("myiframe0", "goBack()"); } } + function fileInfoMethods(){ + var ITEMNO = getItemValue(0,0,'ITEMNO'); + setItemValue(0,0,"SORTNO",ITEMNO); + } <%@ include file="/Frame/resources/include/include_end.jspf"%> diff --git a/src_tenwa/com/tenwa/customer/controller/group/CustomerGroupCompanyController.java b/src_tenwa/com/tenwa/customer/controller/group/CustomerGroupCompanyController.java index d28a0476e..bcaaf1628 100644 --- a/src_tenwa/com/tenwa/customer/controller/group/CustomerGroupCompanyController.java +++ b/src_tenwa/com/tenwa/customer/controller/group/CustomerGroupCompanyController.java @@ -22,7 +22,7 @@ public class CustomerGroupCompanyController { private String DISTRIBUTOR_CODING = ""; private String flowunid; private String ITEMNO = ""; - + private String SORTNO = ""; public String getITEMNO() { return ITEMNO; @@ -33,6 +33,14 @@ public class CustomerGroupCompanyController { } + public String getSORTNO() { + return SORTNO; + } + + public void setSORTNO(String sORTNO) { + SORTNO = sORTNO; + } + public String getFlowunid() { return flowunid; } @@ -74,7 +82,7 @@ public class CustomerGroupCompanyController { } /** - * ·ÏÆú + * ���� * @param tx * @return * @throws Exception @@ -82,7 +90,7 @@ public class CustomerGroupCompanyController { public String del(JBOTransaction tx)throws Exception{ BizObjectManager bom = JBOFactory.getBizObjectManager(CUSTOMER_GROUP_COMPANY.CLASS_NAME); tx.join(bom); - //½«´Ë¼¯ÍÅÐÅÏ¢ÉèÖÃΪ·ÏÆú״̬ + //���˼�����Ϣ����Ϊ����״̬ BizObjectQuery boq = bom.createQuery("update O set status = 'status03' where id=:id "); boq.setParameter("id",id); int i = boq.executeUpdate(); @@ -95,7 +103,7 @@ public class CustomerGroupCompanyController { public String dis_del(JBOTransaction tx)throws Exception{ BizObjectManager bom = JBOFactory.getBizObjectManager(DISTRIBUTOR_GROUP_COMPANY.CLASS_NAME); tx.join(bom); - //½«´Ë¼¯ÍÅÐÅÏ¢ÉèÖÃΪ·ÏÆú״̬ + //���˼�����Ϣ����Ϊ����״̬ BizObjectQuery boq = bom.createQuery("update O set status = 'status03' where id=:id "); boq.setParameter("id",id); int i = boq.executeUpdate(); @@ -107,7 +115,7 @@ public class CustomerGroupCompanyController { public String deleterelation(JBOTransaction tx)throws Exception{ BizObjectManager bom = JBOFactory.getBizObjectManager(DISTRIBUTOR_GROUP_RELATION.CLASS_NAME); tx.join(bom); - //½«´Ë¼¯ÍÅÐÅÏ¢ÉèÖÃΪ·ÏÆú״̬ + //���˼�����Ϣ����Ϊ����״̬ BizObjectQuery boq = bom.createQuery("delete from O where id=:id "); boq.setParameter("id",id); int i = boq.executeUpdate(); @@ -118,7 +126,7 @@ public class CustomerGroupCompanyController { } /** - * ¼¯ÍÅÃû³Æ²»¿ÉÖØ¸´ + * �������Ʋ����ظ� * @param tx * @return * @throws Exception @@ -126,7 +134,7 @@ public class CustomerGroupCompanyController { public String group_name(JBOTransaction tx)throws Exception{ BizObjectManager bom = JBOFactory.getBizObjectManager(CUSTOMER_GROUP_COMPANY.CLASS_NAME); tx.join(bom); - //²éѯ¸Ã¼¯ÍÅÃû³ÆÊÇ·ñÒÑ´æÔÚ + //��ѯ�ü��������Ƿ��Ѵ��� BizObject CUSTOMER_GROUP_COMPANY = bom.createQuery("group_name=:group_name").setParameter("group_name",group_name).getSingleResult(false); if(CUSTOMER_GROUP_COMPANY != null){ return CUSTOMER_GROUP_COMPANY.getAttribute("status").toString(); @@ -138,7 +146,7 @@ public class CustomerGroupCompanyController { public String distributor_group_name(JBOTransaction tx)throws Exception{ BizObjectManager bom = JBOFactory.getBizObjectManager(DISTRIBUTOR_GROUP_COMPANY.CLASS_NAME); tx.join(bom); - //²éѯ¸Ã¼¯ÍÅÃû³ÆÊÇ·ñÒÑ´æÔÚ + //��ѯ�ü��������Ƿ��Ѵ��� BizObject CUSTOMER_GROUP_COMPANY = bom.createQuery("group_name=:group_name").setParameter("group_name",group_name).getSingleResult(false); if(CUSTOMER_GROUP_COMPANY != null){ return CUSTOMER_GROUP_COMPANY.getAttribute("status").toString(); @@ -150,7 +158,7 @@ public class CustomerGroupCompanyController { public String checkCode(JBOTransaction tx)throws Exception{ BizObjectManager bom = JBOFactory.getBizObjectManager(COUNTRY_DISTRICT_INFO.CLASS_NAME); tx.join(bom); - //²éѯ¸ÃÇøÓò±àºÅÊÇ·ñÒÑ´æÔÚ + //��ѯ���������Ƿ��Ѵ��� BizObject CUSTOMER_GROUP_COMPANY = bom.createQuery("district_code=:district_code").setParameter("district_code",group_name).getSingleResult(false); if(CUSTOMER_GROUP_COMPANY != null){ return "false"; @@ -178,7 +186,7 @@ public class CustomerGroupCompanyController { return "false"; } } - //ÅжϾ­ÏúÉ̱àÂëÊÇ·ñÊǵ±Ç°Ò³Ãæ + //�жϾ����̱����Ƿ��ǵ�ǰҳ�� /*public String distributor_basicS(JBOTransaction tx) throws Exception{ BizObjectManager dgcm = JBOFactory.getBizObjectManager(DISTRIBUTOR_INFO_TEMP.CLASS_NAME); BizObject dgc = dgcm.createQuery("flowunid=:flowunid").setParameter("flowunid", this.flowunid).getSingleResult(true); @@ -197,7 +205,7 @@ public class CustomerGroupCompanyController { - //УÑéÎļþÇåµ¥ÅäÖôúÂëÏî±àºÅÊÇ·ñΨһ + //У���ļ��嵥���ô��������Ƿ�Ψһ public String file_repeat(JBOTransaction tx) throws Exception{ BizObjectManager filedc = JBOFactory.getBizObjectManager(CODE_LIBRARY.CLASS_NAME); BizObject dgfc = filedc.createQuery("ITEMNO=:ITEMNO and codeno='DocList'").setParameter("ITEMNO", ITEMNO).getSingleResult(false);