提交代码
This commit is contained in:
		
							parent
							
								
									6feffba060
								
							
						
					
					
						commit
						9b45d40fa2
					
				| 
						 | 
				
			
			@ -92,7 +92,7 @@
 | 
			
		|||
                    <Items>
 | 
			
		||||
                        <f:HiddenField ID="hdAttachUrl" runat="server">
 | 
			
		||||
                        </f:HiddenField>
 | 
			
		||||
                            <f:Button ID="btnSave" Icon="SystemSave" runat="server" Text="保存" ToolTip="保存" ValidateForms="SimpleForm1" OnClick="btnSave_Click" Hidden="true">
 | 
			
		||||
                            <f:Button ID="btnSave" Icon="SystemSave" runat="server" Text="保存" ToolTip="保存" ValidateForms="SimpleForm1" OnClick="btnSave_Click">
 | 
			
		||||
                        </f:Button>
 | 
			
		||||
 | 
			
		||||
                         <%--<f:Button ID="btnSubmit" Icon="SystemSaveNew" runat="server" Text="提交" ToolTip="提交" OnClick="btnSubmit_Click" ValidateForms="SimpleForm1">
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -41,7 +41,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
 | 
			
		|||
                //this.agree.Hidden = true;
 | 
			
		||||
                //this.options.Hidden = true;
 | 
			
		||||
 | 
			
		||||
                this.btnSave.Hidden = true;
 | 
			
		||||
                //this.btnSave.Hidden = true;
 | 
			
		||||
                //this.btnSubmit.Hidden = true;
 | 
			
		||||
                this.DesignDetailsId = Request.Params["DesignDetailsId"];
 | 
			
		||||
                Model.Comprehensive_DesignDetails designDetails = BLL.DesignDetailsService.GetDesignDetailsById(this.DesignDetailsId);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -12,7 +12,7 @@
 | 
			
		|||
  <appSettings>
 | 
			
		||||
    <!--连接字符串-->
 | 
			
		||||
    <!--<add key="ConnectionString" value="Server=.;Database=SGGLDB_WH;Integrated Security=False;User ID=sa;Password=1111;MultipleActiveResultSets=true;Connect Timeout=1200"/>-->
 | 
			
		||||
    <add key="ConnectionString" value="Server=.\SQL2012;Database=SGGLDB_WH;Integrated Security=False;User ID=sa;Password=1111;MultipleActiveResultSets=true;Connect Timeout=1200"/>
 | 
			
		||||
    <add key="ConnectionString" value="Server=.;Database=SGGLDB_WH;Integrated Security=False;User ID=sa;Password=1111;MultipleActiveResultSets=true;Connect Timeout=1200"/>
 | 
			
		||||
    <!--系统名称-->
 | 
			
		||||
    <add key="SystemName" value="智慧施工管理信息系统V1.0"/>
 | 
			
		||||
    <add key="ChartImageHandler" value="storage=file;timeout=20;url=~/Images/;"/>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -663,6 +663,19 @@ namespace FineUIPro.Web.common
 | 
			
		|||
                    result = Convert.ToDouble(ndtList.TotalRate);
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
            else
 | 
			
		||||
            {
 | 
			
		||||
                var hjglData = (from x in db.HJGL_FL_Data where x.ProjectId == ProjectId orderby x.CompileDate descending select x).FirstOrDefault();
 | 
			
		||||
                if (hjglData != null)
 | 
			
		||||
                {
 | 
			
		||||
                    a = Funs.GetNewDecimalOrZero(hjglData.OneTimeFilmQualifiedAmount); 
 | 
			
		||||
                    b = Funs.GetNewDecimalOrZero(hjglData.OneTimeFilmAmount);
 | 
			
		||||
                    if (a > 0 && b > 0)
 | 
			
		||||
                    {
 | 
			
		||||
                        result = Convert.ToDouble(Convert.ToDecimal(100.0) * b / a);
 | 
			
		||||
                    }
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
            if (b > 0)
 | 
			
		||||
            {
 | 
			
		||||
                hjallNumber = b.ToString();
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
<?xml version="1.0" encoding="utf-8"?>
 | 
			
		||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
 | 
			
		||||
  <PropertyGroup>
 | 
			
		||||
    <LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
 | 
			
		||||
    <LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig>
 | 
			
		||||
    <UseIISExpress>true</UseIISExpress>
 | 
			
		||||
    <Use64BitIISExpress />
 | 
			
		||||
    <IISExpressSSLPort />
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue