Browse Source

服务类别改造

sunny.qiao 1 year ago
parent
commit
537bb50a59

+ 1 - 1
FMS24/FMS.BLL/4.FMS.BLL.csproj

@@ -57,7 +57,7 @@
     <Compile Include="Bd\BdExchangeBLL.cs" />
     <Compile Include="Bd\BdExtendDataBLL.cs" />
     <Compile Include="Bd\BdExtendTypeBLL.cs" />
-    <Compile Include="Bd\ServiceTypeBLL.cs" />
+    <Compile Include="Bd\BdServiceTypeBLL.cs" />
     <Compile Include="Common\ContextUserInfo.cs" />
     <Compile Include="Common\FmsCommonFun.cs" />
     <Compile Include="Common\NoManager.cs" />

+ 7 - 9
FMS24/FMS.BLL/Bd/ServiceTypeBLL.cs → FMS24/FMS.BLL/Bd/BdServiceTypeBLL.cs

@@ -10,21 +10,21 @@ using FMS.VAL;
 
 namespace FMS.BLL
 {
-    public class ServiceTypeBLL:SuperBLL
+    public class BdServiceTypeBLL:SuperBLL
     {
-	    private ServiceTypeDAL dal = new ServiceTypeDAL();
-        private ServiceTypeVAL val = new ServiceTypeVAL();
+	    private BdServiceTypeDAL dal = new BdServiceTypeDAL();
+        private BdServiceTypeVAL val = new BdServiceTypeVAL();
 
-        private static ServiceTypeBLL instance;
+        private static BdServiceTypeBLL instance;
 
-		public  static ServiceTypeBLL Instance
+		public  static BdServiceTypeBLL Instance
         {
             get { return instance; }
         }
 
-        static ServiceTypeBLL()
+        static BdServiceTypeBLL()
         {
-            instance = new ServiceTypeBLL();
+            instance = new BdServiceTypeBLL();
         }
 
         public DataTable Load(BLLContext context,string guid)
@@ -39,7 +39,6 @@ namespace FMS.BLL
   
          public void Delete(BLLContext context,List<string> listGuid)
          {
-		          throw new NotImplementedException("代码未实现");
 
                    foreach (string guid in listGuid)
                     {
@@ -50,7 +49,6 @@ namespace FMS.BLL
  
         public EntityBase Save(BLLContext context,EntityBase saveEntity,bool isAdd)
         {
-		       //throw new NotImplementedException("代码未实现");
 
                 BD_SERVICE_TYPE serviceType= new BD_SERVICE_TYPE(BD_SERVICE_TYPE.Fields.GUID);
                 serviceType.Data = saveEntity.Data;

+ 2 - 2
FMS24/FMS.Common/8.FMS.Common.csproj

@@ -7,8 +7,8 @@
     <ProjectGuid>{C644FE45-EE74-4C42-8E89-69101A7DA5A1}</ProjectGuid>
     <OutputType>Library</OutputType>
     <AppDesignerFolder>Properties</AppDesignerFolder>
-    <RootNamespace>ECI.JGEQ.Common</RootNamespace>
-    <AssemblyName>ECI.JGEQ.Common</AssemblyName>
+    <RootNamespace>FMS.Common</RootNamespace>
+    <AssemblyName>FMS.Common</AssemblyName>
     <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
     <FileAlignment>512</FileAlignment>
     <SccProjectName>SAK</SccProjectName>

+ 1 - 1
FMS24/FMS.Common/FileManage/DelFileManage.cs

@@ -32,7 +32,7 @@ namespace FMS.Common
                         }
                         catch (Exception ex)
                         {
-                            
+                            throw new Exception(ex.Message);
                         }
                     }
                 }

+ 1 - 1
FMS24/FMS.Common/FtpHelper/FtpHelper.cs

@@ -240,7 +240,7 @@ namespace FMS.Common
         private void ReadByBytes(string filePath, FtpWebResponse response, FtpStatusCode statusCode, out bool isOk)
         {
             isOk = false;
-            int i = 0;
+            //int i = 0;
             while (true)
 
             {

+ 3 - 3
FMS24/FMS.Common/NameManage/FMSName.cs

@@ -13,7 +13,7 @@ namespace FMS.Common
         /// </summary>
         /// <param name="dataField"></param>
         /// <param name="type"></param>
-        public void Add(string dataField, string type)
+        public void AddTs(string dataField, string type)
         {
             base.Add(dataField, type.ToString(), "JG_NAME");
         }
@@ -24,7 +24,7 @@ namespace FMS.Common
         /// <param name="dataField">数据库字段名称</param>
         /// <param name="type">对应的参数名称</param>
         /// <param name="isCodeAndName">是否显示成CODE|NAME形式,如果否,则只显示NAME</param>
-        public void Add(string dataField, string type, bool isCodeAndName)
+        public void AddTs(string dataField, string type, bool isCodeAndName)
         {
             if (isCodeAndName)
             {
@@ -43,7 +43,7 @@ namespace FMS.Common
         /// <param name="type">对应的参数名称</param>
         /// <param name="isCodeAndName">是否显示成CODE|NAME形式,如果否,则只显示NAME</param>
         /// <param name="asName">显示结果指定的名字</param>
-        public void AddAs(string dataField, string type, bool isCodeAndName, string asName)
+        public void AddAsTs(string dataField, string type, bool isCodeAndName, string asName)
         {
             if (isCodeAndName)
             {

+ 1 - 1
FMS24/FMS.DAL/6.FMS.DAL.csproj

@@ -53,7 +53,7 @@
     <Compile Include="Bd\BdExchangeDAL.cs" />
     <Compile Include="Bd\BdExtendDataDAL.cs" />
     <Compile Include="Bd\BdExtendTypeDAL.cs" />
-    <Compile Include="Bd\ServiceTypeDAL.cs" />
+    <Compile Include="Bd\BdServiceTypeDAL.cs" />
     <Compile Include="Common\ContextUserInfo.cs" />
     <Compile Include="Crm\CrmCustomerAddressDAL.cs" />
     <Compile Include="Crm\CrmCustomerBizDAL.cs" />

+ 7 - 7
FMS24/FMS.DAL/Bd/ServiceTypeDAL.cs → FMS24/FMS.DAL/Bd/BdServiceTypeDAL.cs

@@ -10,7 +10,7 @@ using FMS.Common;
 
 namespace FMS.DAL
 {
-    public class ServiceTypeDAL : BaseDAL
+    public class BdServiceTypeDAL : BaseDAL
     {
       public BD_SERVICE_TYPE Get(string guid)
         {
@@ -26,17 +26,17 @@ namespace FMS.DAL
         {
             FMSName manage = new FMSName();
             //应收标准
-            manage.AddAs("A.RECEIVE_STANDARD_ID", "RECEIVE_STANDARD", true, "RECEIVE_STANDARD_NAME");
+            manage.AddAsTs("A.RECEIVE_STANDARD_ID", "RECEIVE_STANDARD", true, "RECEIVE_STANDARD_NAME");
             //应收币制
-            manage.AddAs("A.RECEIVE_CURR_ID", "RECEIVE_CURR", true, "RECEIVE_CURR_NAME");
+            manage.AddAsTs("A.RECEIVE_CURR_ID", "RECEIVE_CURR", true, "RECEIVE_CURR_NAME");
             //应收小数尾数处理
-            manage.AddAs("A.RECEIVE_MANTISSA_TYPE_ID", "RECEIVE_MANTISSA_TYPE", true, "RECEIVE_MANTISSA_TYPE_NAME");
+            manage.AddAsTs("A.RECEIVE_MANTISSA_TYPE_ID", "RECEIVE_MANTISSA_TYPE", true, "RECEIVE_MANTISSA_TYPE_NAME");
             //应付标准
-            manage.AddAs("A.PAY_STANDARD_ID", "PAY_STANDARD", true, "PAY_STANDARD_NAME");
+            manage.AddAsTs("A.PAY_STANDARD_ID", "PAY_STANDARD", true, "PAY_STANDARD_NAME");
             //应付币制
-            manage.AddAs("A.PAY_CURR_ID", "PAY_CURR", true, "PAY_CURR_NAME");
+            manage.AddAsTs("A.PAY_CURR_ID", "PAY_CURR", true, "PAY_CURR_NAME");
             //应付小数尾数处理
-            manage.AddAs("A.PAY_MANTISSA_TYPE_ID", "PAY_MANTISSA_TYPE", true, "PAY_MANTISSA_TYPE_NAME");
+            manage.AddAsTs("A.PAY_MANTISSA_TYPE_ID", "PAY_MANTISSA_TYPE", true, "PAY_MANTISSA_TYPE_NAME");
 
             string sql = @"SELECT A.GUID,A.MEMORY_WORD,A.TYPE_NAME_CN,A.TYPE_NAME_EN,A.DEFAULT_RECEIVE
                            ,A.RECEIVE_STANDARD_ID,A.RECEIVE_PRICE,A.RECEIVE_CURR_ID,A.RECEIVE_MIN,A.RECEIVE_MAX

+ 4 - 4
FMS24/FMS.SO/3.FMS.SO.csproj

@@ -63,10 +63,10 @@
     <Compile Include="BdExchange\BdExchangeLoad.cs" />
     <Compile Include="BdExchange\BdExchangeSave.cs" />
     <Compile Include="BdExchange\BdExchangeSearch.cs" />
-    <Compile Include="BdExchange\ServiceTypeDelete.cs" />
-    <Compile Include="BdExchange\ServiceTypeLoad.cs" />
-    <Compile Include="BdExchange\ServiceTypeSave.cs" />
-    <Compile Include="BdExchange\ServiceTypeSearch.cs" />
+    <Compile Include="BdServiceType\BdServiceTypeDelete.cs" />
+    <Compile Include="BdServiceType\BdServiceTypeLoad.cs" />
+    <Compile Include="BdServiceType\BdServiceTypeSave.cs" />
+    <Compile Include="BdServiceType\BdServiceTypeSearch.cs" />
     <Compile Include="BdExtendData\BdExtendDataDelete.cs" />
     <Compile Include="BdExtendData\BdExtendDataLoad.cs" />
     <Compile Include="BdExtendData\BdExtendDataSave.cs" />

+ 3 - 3
FMS24/FMS.SO/BdExchange/ServiceTypeDelete.cs → FMS24/FMS.SO/BdServiceType/BdServiceTypeDelete.cs

@@ -9,15 +9,15 @@ using FMS.ServiceList;
 
 namespace FMS.SO
 {
-    public  class ServiceTypeDelete : BaseSO
+    public  class BdServiceTypeDelete : BaseSO
     {
        public override void Execute(EciContext context)
         {
-            this.ServiceId = FMSService.ServiceTypeDelete;
+            this.ServiceId = FMSService.BdServiceTypeDelete;
 
             List<string> listKey = context.Request.ListKey;
 
-            ServiceTypeBLL.Instance.Delete(context.BLLContext,context.Request.ListKey);
+            BdServiceTypeBLL.Instance.Delete(context.BLLContext,context.Request.ListKey);
 
             context.Response.Message = "删除成功";
         }

+ 3 - 3
FMS24/FMS.SO/BdExchange/ServiceTypeLoad.cs → FMS24/FMS.SO/BdServiceType/BdServiceTypeLoad.cs

@@ -9,13 +9,13 @@ using FMS.ServiceList;
 
 namespace FMS.SO
 {
-    public  class ServiceTypeLoad : BaseSO
+    public  class BdServiceTypeLoad : BaseSO
     {
         public override void Execute(EciContext context)
         {
-            this.ServiceId = FMSService.ServiceTypeLoad;
+            this.ServiceId = FMSService.BdServiceTypeLoad;
 
-            context.Response.DataTable = ServiceTypeBLL.Instance.Load(context.BLLContext,context.Request.Key);
+            context.Response.DataTable = BdServiceTypeBLL.Instance.Load(context.BLLContext,context.Request.Key);
         }
     }
 }

+ 3 - 3
FMS24/FMS.SO/BdExchange/ServiceTypeSave.cs → FMS24/FMS.SO/BdServiceType/BdServiceTypeSave.cs

@@ -9,16 +9,16 @@ using FMS.ServiceList;
 
 namespace FMS.SO
 {
-    public  class ServiceTypeSave : BaseSO
+    public  class BdServiceTypeSave : BaseSO
      {
        public override void Execute(EciContext context)
         {
-            this.ServiceId = FMSService.ServiceTypeSave;
+            this.ServiceId = FMSService.BdServiceTypeSave;
 
             EntityBase saveEntity = context.Request.Entity;
             bool isAdd = context.Request.IsAdd;
 
-            context.Response.Entity =ServiceTypeBLL.Instance.Save(context.BLLContext,saveEntity,isAdd);
+            context.Response.Entity =BdServiceTypeBLL.Instance.Save(context.BLLContext,saveEntity,isAdd);
 
             context.Response.Message =isAdd? "新增成功":"修改成功";
            

+ 3 - 3
FMS24/FMS.SO/BdExchange/ServiceTypeSearch.cs → FMS24/FMS.SO/BdServiceType/BdServiceTypeSearch.cs

@@ -9,13 +9,13 @@ using FMS.ServiceList;
 
 namespace FMS.SO
 {
-    public partial class  ServiceTypeSearch : BaseSO
+    public partial class  BdServiceTypeSearch : BaseSO
      {
         public override void  Execute(EciContext context)
         {
-              this.ServiceId = FMSService.ServiceTypeSearch;
+              this.ServiceId = FMSService.BdServiceTypeSearch;
 
-              SearchResult result= ServiceTypeBLL.Instance.Search(context.BLLContext,context.Request.Paging, context.Request.Entity);
+              SearchResult result= BdServiceTypeBLL.Instance.Search(context.BLLContext,context.Request.Paging, context.Request.Entity);
 
               SearchHelper.ConvertToContext(context, result);
         }     

+ 1 - 1
FMS24/FMS.ServiceList/2.FMS.ServiceList.csproj

@@ -50,7 +50,7 @@
     <Compile Include="Bd\BdExchange.cs" />
     <Compile Include="Bd\BdExtendData.cs" />
     <Compile Include="Bd\BdExtendType.cs" />
-    <Compile Include="Bd\ServiceType.cs" />
+    <Compile Include="Bd\BdServiceType.cs" />
     <Compile Include="Crm\CrmCustomer.cs" />
     <Compile Include="Crm\CrmCustomerAddress.cs" />
     <Compile Include="Crm\CrmCustomerBiz.cs" />

+ 4 - 4
FMS24/FMS.ServiceList/Bd/ServiceType.cs → FMS24/FMS.ServiceList/Bd/BdServiceType.cs

@@ -10,21 +10,21 @@ namespace FMS.ServiceList
         /// <summary>
         /// XXX:查询
         /// </summary>
-        public const string ServiceTypeSearch = prex + "ServiceTypeSearch";
+        public const string BdServiceTypeSearch = prex + "BdServiceTypeSearch";
 
         /// <summary>
         /// XXX:加载
         /// </summary>
-        public const string ServiceTypeLoad = prex + "ServiceTypeLoad";
+        public const string BdServiceTypeLoad = prex + "BdServiceTypeLoad";
 
         /// <summary>
         /// XXX:保存
         /// </summary>
-        public const string ServiceTypeSave = prex + "ServiceTypeSave";
+        public const string BdServiceTypeSave = prex + "BdServiceTypeSave";
 
         /// <summary>
         /// XXX:删除
         /// </summary>
-        public const string ServiceTypeDelete = prex + "ServiceTypeDelete";
+        public const string BdServiceTypeDelete = prex + "BdServiceTypeDelete";
     }
 }

+ 1 - 1
FMS24/FMS.VAL/5.FMS.VAL.csproj

@@ -47,7 +47,7 @@
     <Compile Include="Bd\BdExchangeVAL.cs" />
     <Compile Include="Bd\BdExtendDataVAL.cs" />
     <Compile Include="Bd\BdExtendTypeVAL.cs" />
-    <Compile Include="Bd\ServiceTypeVAL.cs" />
+    <Compile Include="Bd\BdServiceTypeVAL.cs" />
     <Compile Include="Crm\CrmCustomerAddressVAL.cs" />
     <Compile Include="Crm\CrmCustomerBizVAL.cs" />
     <Compile Include="Crm\CrmCustomerHtVAL.cs" />

+ 2 - 2
FMS24/FMS.VAL/Bd/ServiceTypeVAL.cs → FMS24/FMS.VAL/Bd/BdServiceTypeVAL.cs

@@ -9,9 +9,9 @@ using FMS.Entity;
 
 namespace FMS.VAL
 {
-    public class ServiceTypeVAL : BaseVAL
+    public class BdServiceTypeVAL : BaseVAL
     {
-	   private ServiceTypeDAL dal = new ServiceTypeDAL();
+	   private BdServiceTypeDAL dal = new BdServiceTypeDAL();
 	    /// <summary>
         /// 删除验证
         /// </summary>

+ 163 - 0
FMS24/Web/AppFms/Bd/frmBdServiceTypeEdit.aspx

@@ -0,0 +1,163 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeFile="frmBdServiceTypeEdit.aspx.cs" Inherits="AppFms_Bd_frmBdServiceTypeEdit" %>
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head runat="server">
+    <title>服务类别维护</title>
+    <link href="../../Themes/Default/eci.css" rel="stylesheet" />
+    <!-- #include File="../../App/Common/PageLoad.aspx" -->
+    <script type="text/javascript">
+
+        function addAction() {
+
+            if (eci.hasSave()) {
+                var url = "frmBdServiceTypeEdit.aspx";
+
+                window.location.href = url;
+            }
+        }
+
+
+    </script>
+</head>
+<body>
+    <form id="form1" runat="server">
+        <input type="hidden" id="hidKey" runat="server" />
+
+
+        <div id="root">
+
+            <asp:ETitle runat="server" ID="pagetitle" Title="服务类别维护"></asp:ETitle>
+
+            <div id="toolbar" class="toolbar">
+                <asp:EButton runat="server" ID="btnSave" Text="保存" NeedCheck="true" ValidateId="tbEdit" OnClick="btnSave_Click" Icon="save" />
+                <asp:EButton runat="server" ID="btnAdd" Text="新增" Icon="Add" OnClientClick="addAction();" IsClient="true" />
+                <asp:EButton runat="server" IsClient="true" ID="btnClose" Text="关闭" Icon="close" OnClientClick="eci.close();" />
+
+            </div>
+            <div>
+                <table id="tbEdit" class="grid" cellpadding="0" cellspacing="0">
+                    <tr>
+                        <th style="width: 10%"></th>
+                        <th style="width: 20%"></th>
+                        <th style="width: 10%"></th>
+                        <th style="width: 20%"></th>
+                        <th style="width: 10%"></th>
+                        <th style="width: 20%"></th>
+
+                    </tr>
+                    <tr>
+                        <td class="lbl">助记词</td>
+                        <td>
+                            <asp:ETextBox runat="server" ID="txtHelpWord" DataField="HELP_WORD" NotNull="true" Width="85%"></asp:ETextBox></td>
+                        <td class="lbl">中文名称</td>
+                        <td>
+                            <asp:ETextBox runat="server" ID="txtTypeNameCn" DataField="TYPE_NAME_CN" NotNull="true" Width="85%"></asp:ETextBox></td>
+                        <td class="lbl">英文名称</td>
+                        <td>
+                            <asp:ETextBox runat="server" ID="txtTypeNameEn" DataField="TYPE_NAME_EN" Width="85%"></asp:ETextBox></td>
+
+                    </tr>
+                    <tr>
+                        <td class="lbl">默认应收</td>
+                        <td>
+                            <asp:ECombox runat="server" ID="cboDefaultReceive" DataField="DEFAULT_RECEIVE" AddEmpty="true" Width="85%"></asp:ECombox></td>
+                        <td class="lbl">收费标准</td>
+                        <td>
+                            <asp:EChoose runat="server" ID="txtReceiveStandardId" DataField="RECEIVE_STANDARD_ID" Width="85%"></asp:EChoose></td>
+                        <td class="lbl">收费单价</td>
+                        <td>
+                            <asp:ETextBox runat="server" ID="txtReceivePrice" DataField="RECEIVE_PRICE" Width="85%"></asp:ETextBox></td>
+
+                    </tr>
+                    <tr>
+                        <td class="lbl">收费单价币制</td>
+                        <td>
+                            <asp:EChoose runat="server" ID="txtReceiveCurrId" DataField="RECEIVE_CURR_ID" Width="85%"></asp:EChoose></td>
+                        <td class="lbl">应收最低收费</td>
+                        <td>
+                            <asp:ETextBox runat="server" ID="txtReceiveMin" DataField="RECEIVE_MIN" Width="85%"></asp:ETextBox></td>
+                        <td class="lbl">应收最高收费</td>
+                        <td>
+                            <asp:ETextBox runat="server" ID="txtReceiveMax" DataField="RECEIVE_MAX" Width="85%"></asp:ETextBox></td>
+
+                    </tr>
+                    <tr>
+                        <td class="lbl">应收小数长度</td>
+                        <td>
+                            <asp:ECombox runat="server" ID="cboDecimalLength" DataField="DECIMAL_LENGTH" AddEmpty="true" Width="85%"></asp:ECombox></td>
+                        <td class="lbl">应收尾数处理方式</td>
+                        <td>
+                            <asp:ECombox runat="server" ID="cboReceiveMantissaTypeId" DataField="RECEIVE_MANTISSA_TYPE_ID" AddEmpty="true" Width="85%"></asp:ECombox></td>
+                        <td class="lbl">默认应付</td>
+                        <td>
+                            <asp:ECombox runat="server" ID="cboDefaultPay" DataField="DEFAULT_PAY" AddEmpty="true" Width="85%"></asp:ECombox></td>
+
+                    </tr>
+                    <tr>
+                        <td class="lbl">付费标准</td>
+                        <td>
+                            <asp:EChoose runat="server" ID="txtPayStandardId" DataField="PAY_STANDARD_ID" Width="85%"></asp:EChoose></td>
+                        <td class="lbl">付费单据</td>
+                        <td>
+                            <asp:ETextBox runat="server" ID="txtPayPrice" DataField="PAY_PRICE" Width="85%"></asp:ETextBox></td>
+                        <td class="lbl">收费单价币制</td>
+                        <td>
+                            <asp:EChoose runat="server" ID="txtPayCurrId" DataField="PAY_CURR_ID" Width="85%"></asp:EChoose></td>
+
+                    </tr>
+                    <tr>
+                        <td class="lbl">应付最低收费</td>
+                        <td>
+                            <asp:ETextBox runat="server" ID="txtPayMin" DataField="PAY_MIN" Width="85%"></asp:ETextBox></td>
+                        <td class="lbl">应付最高收费</td>
+                        <td>
+                            <asp:ETextBox runat="server" ID="txtPayMax" DataField="PAY_MAX" Width="85%"></asp:ETextBox></td>
+                        <td class="lbl">应付小数长度</td>
+                        <td>
+                            <asp:ECombox runat="server" ID="cboPayDecimalLength" DataField="PAY_DECIMAL_LENGTH" AddEmpty="true" Width="85%"></asp:ECombox></td>
+
+                    </tr>
+                    <tr>
+                        <td class="lbl">应付尾数处理方式</td>
+                        <td>
+                            <asp:ECombox runat="server" ID="cboPayMantissaTypeId" DataField="PAY_MANTISSA_TYPE_ID" AddEmpty="true" Width="85%"></asp:ECombox></td>
+                        <td class="lbl">备注</td>
+                        <td>
+                            <asp:ETextBox runat="server" ID="txtReamrk" DataField="REAMRK" Width="85%"></asp:ETextBox></td>
+                        <td class="lbl">创建人</td>
+                        <td>
+                            <asp:ETextBox runat="server" ID="txtCreateUser" DataField="CREATE_USER" ReadOnly="true" Width="85%"></asp:ETextBox></td>
+
+                    </tr>
+                    <tr>
+                        <td class="lbl">创建日期</td>
+                        <td>
+                            <asp:ETextBox runat="server" ID="txtCreateDate" DataField="CREATE_DATE" Format="yyyy-MM-dd HH:mm:ss" ReadOnly="true" IsDate="true" Width="85%"></asp:ETextBox></td>
+                        <td class="lbl">修改人</td>
+                        <td>
+                            <asp:ETextBox runat="server" ID="txtUpdateUser" DataField="UPDATE_USER" ReadOnly="true" Width="85%"></asp:ETextBox></td>
+                        <td class="lbl">修改日期</td>
+                        <td>
+                            <asp:ETextBox runat="server" ID="txtUpdateDate" DataField="UPDATE_DATE" Format="yyyy-MM-dd HH:mm:ss" ReadOnly="true" IsDate="true" Width="85%"></asp:ETextBox></td>
+
+                    </tr>
+                    <tr>
+                        <td class="lbl"></td>
+                        <td>
+                            <asp:ETextBox runat="server" ID="txtCreateUserName" DataField="CREATE_USER_NAME" Width="85%"></asp:ETextBox></td>
+                        <td class="lbl"></td>
+                        <td>
+                            <asp:ETextBox runat="server" ID="txtUpdateUserName" DataField="UPDATE_USER_NAME" Width="85%"></asp:ETextBox></td>
+                        <td class="lbl">&nbsp;</td>
+                        <td>&nbsp;</td>
+
+                    </tr>
+
+                </table>
+            </div>
+        </div>
+    </form>
+</body>
+</html>

+ 3 - 3
FMS24/Web/AppFms/Bd/frmServiceTypeEdit.aspx.cs → FMS24/Web/AppFms/Bd/frmBdServiceTypeEdit.aspx.cs

@@ -12,7 +12,7 @@ using FMS.Entity;
 using FMS.UI;
 
 
-public partial class AppFms_ServiceType_frmServiceTypeEdit : BasePage
+public partial class AppFms_Bd_frmBdServiceTypeEdit : BasePage
 {
     private string key
     {
@@ -40,7 +40,7 @@ public partial class AppFms_ServiceType_frmServiceTypeEdit : BasePage
 
     private void LoadRecord()
     {
-            EciRequest request = new EciRequest(FMSService.ServiceTypeLoad);
+            EciRequest request = new EciRequest(FMSService.BdServiceTypeLoad);
             request.Key = this.key;
 
             EciResponse response = SOA.Execute(request);
@@ -52,7 +52,7 @@ public partial class AppFms_ServiceType_frmServiceTypeEdit : BasePage
 
     protected void btnSave_Click(object sender, EventArgs e)
     {
-        EciRequest request = new EciRequest(FMSService.ServiceTypeSave);
+        EciRequest request = new EciRequest(FMSService.BdServiceTypeSave);
 
         request.IsAdd = this.key.NullOrEmpty();
 

+ 9 - 17
FMS24/Web/AppFms/Bd/frmServiceTypeList.aspx → FMS24/Web/AppFms/Bd/frmBdServiceTypeList.aspx

@@ -1,4 +1,4 @@
-<%@ Page Language="C#" AutoEventWireup="true" CodeFile="frmServiceTypeList.aspx.cs" Inherits="AppFms_ServiceType_frmServiceTypeList" %>
+<%@ Page Language="C#" AutoEventWireup="true" CodeFile="frmBdServiceTypeList.aspx.cs" Inherits="AppFms_Bd_frmBdServiceTypeList" %>
 
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
@@ -10,17 +10,17 @@
     <script type="text/javascript">
 
         function deleteAction(obj) {
-            msg.confirm("纭�畾瑕佹墽琛屽垹闄ゆ搷浣滃悧?", obj);
+            msg.confirm("确定要执行删除操作吗?", obj);
         }
 
         function addAction() {
-            var url = "frmServiceTypeEdit.aspx";
+            var url = "frmBdServiceTypeEdit.aspx";
             eci.open(url);
         }
 
         function editAction(obj) {
             var key = $(obj).getKey();
-            var url = "frmServiceTypeEdit.aspx?key=" + key;
+            var url = "frmBdServiceTypeEdit.aspx?key=" + key;
             eci.open(url);
         }
 
@@ -44,13 +44,12 @@
 
                     </tr>
                     <tr>
-                        <td class="lbl">
-                            <asp:ELabel runat="server" Text="业务范畴" LangCode=""></asp:ELabel></td>
+                        <td class="lbl">业务范畴</td>
                         <td>
-                            <asp:ECombox runat="server" ID="cboBizFlag" DataField="BIZ_FLAG" Query="A.BIZ_FLAG|string|=" ECIType="BIZ_FLAG" Width="85%"></asp:ECombox></td>
-                        <td class="lbl"><asp:ELabel runat="server" Text="服务类别" LangCode=""></asp:ELabel></td>
+                            <asp:ECombox runat="server" ID="cboBizFlag" DataField="BIZ_FLAG" Query="A.BIZ_FLAG|string|=" ECIType="BIZ_FLAG" AddEmpty="true" Width="85%"></asp:ECombox></td>
+                        <td class="lbl">服务类别</td>
                         <td>
-                            <asp:ECombox runat="server" ID="cboServiceTypeId" DataField="SERVICE_TYPE_ID" Query="A.SERVICE_TYPE_ID|string|=" ECIType="SERVICE_TYPE" Width="85%"></asp:ECombox></td>
+                            <asp:ECombox runat="server" ID="cboServiceTypeId" DataField="SERVICE_TYPE_ID" Query="A.SERVICE_TYPE_ID|string|=" AddEmpty="true" ECIType="SERVICE_TYPE" Width="85%"></asp:ECombox></td>
                         <td class="lbl">&nbsp;</td>
                         <td>&nbsp;</td>
 
@@ -73,17 +72,10 @@
                     Width="1000px" KeyField="GUID" HAlign="center" OnClick="editAction">
                     <Columns>
 
-                        <asp:TemplateField HeaderText="编辑" ItemStyle-HorizontalAlign="Center" ItemStyle-Width="80">
+                        <asp:TemplateField HeaderText="操作" ItemStyle-HorizontalAlign="Center" ItemStyle-Width="150">
                             <ItemTemplate>
                                 <asp:EButton runat="server" ID="btnEdit" Text="编辑" IsClient="true" Icon="edit" OnClientClick="editAction(this);" />
-                            </ItemTemplate>
-                        </asp:TemplateField>
-
-
-                        <asp:TemplateField HeaderText="删除" ItemStyle-HorizontalAlign="Center" ItemStyle-Width="80">
-                            <ItemTemplate>
                                 <asp:EButton runat="server" Icon="Delete" ID="btnDelete" Text="删除" IsClient="true" OnClientClick="return deleteAction(this);" CommandArgument='<%#Eval("GUID")%>' OnClick="btnDelete_Click" />
-
                             </ItemTemplate>
                         </asp:TemplateField>
                         <asp:EBoundField DataField="SERVICE_TYPE_ID" HeaderText="服务类别" SortExpression="SERVICE_TYPE_ID" ItemStyle-Width="150" LangCode=""></asp:EBoundField>

+ 6 - 6
FMS24/Web/AppFms/Bd/frmServiceTypeList.aspx.cs → FMS24/Web/AppFms/Bd/frmBdServiceTypeList.aspx.cs

@@ -11,15 +11,15 @@ using FMS.ServiceList;
 using FMS.Entity;
 using FMS.UI;
 
-public partial class AppFms_ServiceType_frmServiceTypeList : QueryPage
+public partial class AppFms_Bd_frmBdServiceTypeList : QueryPage
 {
     protected void Page_Load(object sender, EventArgs e)
     {
 
          if (!IsPostBack)
          {
-            this.cboBizFlag.SetEComboxSearch();//业务范畴
-            this.cboServiceTypeId.SetEComboxSearch();//服务类别
+            this.cboBizFlag.InitItems();//业务范畴
+            this.cboServiceTypeId.InitItems();//服务类别
         }
 
     }
@@ -27,7 +27,7 @@ public partial class AppFms_ServiceType_frmServiceTypeList : QueryPage
 
     public override void QuerySetting(EciRequest request)
     {
-        request.ServiceId = FMSService.ServiceTypeSearch;
+        request.ServiceId = FMSService.BdServiceTypeSearch;
  
         request.Entity = new EntityBase();
         request.Entity.GetBindingData();
@@ -38,7 +38,7 @@ public partial class AppFms_ServiceType_frmServiceTypeList : QueryPage
            Button btn = sender as Button;
            string key = btn.CommandArgument;
 
-            EciRequest request = new EciRequest(FMSService.ServiceTypeSave);
+            EciRequest request = new EciRequest(FMSService.BdServiceTypeSave);
 
             request.ListKey = new List<string>() { key };
 
@@ -53,7 +53,7 @@ public partial class AppFms_ServiceType_frmServiceTypeList : QueryPage
         Button btn = sender as Button;
         string key = btn.CommandArgument;
 
-        EciRequest request = new EciRequest(FMSService.ServiceTypeDelete);
+        EciRequest request = new EciRequest(FMSService.BdServiceTypeDelete);
 
         request.ListKey = new List<string>() { key };
 

+ 0 - 137
FMS24/Web/AppFms/Bd/frmServiceTypeEdit.aspx

@@ -1,137 +0,0 @@
-<%@ Page Language="C#" AutoEventWireup="true" CodeFile="frmServiceTypeEdit.aspx.cs" Inherits="AppFms_ServiceType_frmServiceTypeEdit" %>
-
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head runat="server">
-    <title>服务类别维护</title>
-    <link href="../../Themes/Default/eci.css" rel="stylesheet" />
-    <!-- #include File="../../App/Common/PageLoad.aspx" -->
-    <script type="text/javascript">
-         
-       function addAction() {
-
-            if(eci.hasSave())
-            {
-               var url = "frmServiceTypeEdit.aspx";
-
-                window.location.href=url;
-             }
-        }
-
-
-    </script>
-</head>
-<body>
-    <form id="form1" runat="server">
-        <input type="hidden" id="hidKey" runat="server" />
-
-
-        <div id="root">
-              
-           <asp:ETitle runat="server" ID="pagetitle" Title="服务类别维护"></asp:ETitle>
-
-            <div id="toolbar" class="toolbar">
-              <asp:EButton runat="server" ID="btnSave" Text="保存" NeedCheck="true" ValidateId="tbEdit" OnClick="btnSave_Click" Icon="save" />
-              <asp:EButton runat="server" ID="btnAdd" Text="新增" Icon="Add" OnClientClick="addAction();" IsClient="true" />
-              <asp:EButton runat="server" IsClient="true" ID="btnClose" Text="关闭" Icon="close" OnClientClick="eci.close();" />
-
-            </div>
-            <div>
-                <table  id="tbEdit" class="grid" cellpadding="0" cellspacing="0" >
-                    <tr>
-                        <th style="width: 10%"></th>
-<th style="width: 20%"></th>
-<th style="width: 10%"></th>
-<th style="width: 20%"></th>
-<th style="width: 10%"></th>
-<th style="width: 20%"></th>
-
-                    </tr>
-                        <tr>
-                        <td class="lbl">助记词</td>
-<td><asp:ETextBox runat="server" ID ="txtHelpWord"  DataField="HELP_WORD" NotNull="true" Width="85%"></asp:ETextBox></td>
-                        <td class="lbl">中文名称</td>
-<td><asp:ETextBox runat="server" ID ="txtTypeNameCn"  DataField="TYPE_NAME_CN" NotNull="true" Width="85%"></asp:ETextBox></td>
-                        <td class="lbl">英文名称</td>
-<td><asp:ETextBox runat="server" ID ="txtTypeNameEn"  DataField="TYPE_NAME_EN" Width="85%"></asp:ETextBox></td>
-
-               </tr>
-   <tr>
-                        <td class="lbl">默认应收</td>
-<td><asp:ECombox runat="server" ID ="cboDefaultReceive"  DataField="DEFAULT_RECEIVE" AddEmpty="true" Width="85%"></asp:ECombox></td>
-                        <td class="lbl">收费标准</td>
-<td><asp:EChoose runat="server" ID ="txtReceiveStandardId"  DataField="RECEIVE_STANDARD_ID" Width="85%"></asp:EChoose></td>
-                        <td class="lbl">收费单价</td>
-<td><asp:ETextBox runat="server" ID ="txtReceivePrice"  DataField="RECEIVE_PRICE" Width="85%"></asp:ETextBox></td>
-
-               </tr>
-   <tr>
-                        <td class="lbl">收费单价币制</td>
-<td><asp:EChoose runat="server" ID ="txtReceiveCurrId"  DataField="RECEIVE_CURR_ID" Width="85%"></asp:EChoose></td>
-                        <td class="lbl">应收最低收费</td>
-<td><asp:ETextBox runat="server" ID ="txtReceiveMin"  DataField="RECEIVE_MIN" Width="85%"></asp:ETextBox></td>
-                        <td class="lbl">应收最高收费</td>
-<td><asp:ETextBox runat="server" ID ="txtReceiveMax"  DataField="RECEIVE_MAX" Width="85%"></asp:ETextBox></td>
-
-               </tr>
-   <tr>
-                        <td class="lbl">应收小数长度</td>
-<td><asp:ECombox runat="server" ID ="cboDecimalLength"  DataField="DECIMAL_LENGTH" AddEmpty="true" Width="85%"></asp:ECombox></td>
-                        <td class="lbl">应收尾数处理方式</td>
-<td><asp:ECombox runat="server" ID ="cboReceiveMantissaTypeId"  DataField="RECEIVE_MANTISSA_TYPE_ID" AddEmpty="true" Width="85%"></asp:ECombox></td>
-                        <td class="lbl">默认应付</td>
-<td><asp:ECombox runat="server" ID ="cboDefaultPay"  DataField="DEFAULT_PAY" AddEmpty="true" Width="85%"></asp:ECombox></td>
-
-               </tr>
-   <tr>
-                        <td class="lbl">付费标准</td>
-<td><asp:EChoose runat="server" ID ="txtPayStandardId"  DataField="PAY_STANDARD_ID" Width="85%"></asp:EChoose></td>
-                        <td class="lbl">付费单据</td>
-<td><asp:ETextBox runat="server" ID ="txtPayPrice"  DataField="PAY_PRICE" Width="85%"></asp:ETextBox></td>
-                        <td class="lbl">收费单价币制</td>
-<td><asp:EChoose runat="server" ID ="txtPayCurrId"  DataField="PAY_CURR_ID" Width="85%"></asp:EChoose></td>
-
-               </tr>
-   <tr>
-                        <td class="lbl">应付最低收费</td>
-<td><asp:ETextBox runat="server" ID ="txtPayMin"  DataField="PAY_MIN" Width="85%"></asp:ETextBox></td>
-                        <td class="lbl">应付最高收费</td>
-<td><asp:ETextBox runat="server" ID ="txtPayMax"  DataField="PAY_MAX" Width="85%"></asp:ETextBox></td>
-                        <td class="lbl">应付小数长度</td>
-<td><asp:ECombox runat="server" ID ="cboPayDecimalLength"  DataField="PAY_DECIMAL_LENGTH" AddEmpty="true" Width="85%"></asp:ECombox></td>
-
-               </tr>
-   <tr>
-                        <td class="lbl">应付尾数处理方式</td>
-<td><asp:ECombox runat="server" ID ="cboPayMantissaTypeId"  DataField="PAY_MANTISSA_TYPE_ID" AddEmpty="true" Width="85%"></asp:ECombox></td>
-                        <td class="lbl">备注</td>
-<td><asp:ETextBox runat="server" ID ="txtReamrk"  DataField="REAMRK" Width="85%"></asp:ETextBox></td>
-                        <td class="lbl">创建人</td>
-<td><asp:ETextBox runat="server" ID ="txtCreateUser"  DataField="CREATE_USER" ReadOnly="true" Width="85%"></asp:ETextBox></td>
-
-               </tr>
-   <tr>
-                        <td class="lbl">创建日期</td>
-<td><asp:ETextBox runat="server" ID ="txtCreateDate"  DataField="CREATE_DATE" Format="yyyy-MM-dd HH:mm:ss"  ReadOnly="true" IsDate="true" Width="85%"></asp:ETextBox></td>
-                        <td class="lbl">修改人</td>
-<td><asp:ETextBox runat="server" ID ="txtUpdateUser"  DataField="UPDATE_USER" ReadOnly="true" Width="85%"></asp:ETextBox></td>
-                        <td class="lbl">修改日期</td>
-<td><asp:ETextBox runat="server" ID ="txtUpdateDate"  DataField="UPDATE_DATE" Format="yyyy-MM-dd HH:mm:ss"  ReadOnly="true" IsDate="true" Width="85%"></asp:ETextBox></td>
-
-               </tr>
-   <tr>
-                        <td class="lbl"></td>
-<td><asp:ETextBox runat="server" ID ="txtCreateUserName"  DataField="CREATE_USER_NAME" Width="85%"></asp:ETextBox></td>
-                        <td class="lbl"></td>
-<td><asp:ETextBox runat="server" ID ="txtUpdateUserName"  DataField="UPDATE_USER_NAME" Width="85%"></asp:ETextBox></td>
-                        <td class="lbl">&nbsp;</td><td>&nbsp;</td>
-
-               </tr>
-
-                </table>
-            </div>
-        </div>
-    </form>
-</body>
-</html>