质量月报
This commit is contained in:
		
							parent
							
								
									39673dc1eb
								
							
						
					
					
						commit
						9346f075db
					
				| 
						 | 
					@ -80,7 +80,11 @@ namespace BLL
 | 
				
			||||||
            get;
 | 
					            get;
 | 
				
			||||||
            set;
 | 
					            set;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					        public static string localRoot
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            get;
 | 
				
			||||||
 | 
					            set;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
        /// <summary>
 | 
					        /// <summary>
 | 
				
			||||||
        /// 集团服务器路径
 | 
					        /// 集团服务器路径
 | 
				
			||||||
        /// </summary>
 | 
					        /// </summary>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -21,7 +21,7 @@ namespace BLL
 | 
				
			||||||
            if (!String.IsNullOrEmpty(attachUrl))
 | 
					            if (!String.IsNullOrEmpty(attachUrl))
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
                string filePath = string.Empty;
 | 
					                string filePath = string.Empty;
 | 
				
			||||||
                string physicalpath = Funs.RootPath;
 | 
					                string physicalpath = Funs.localRoot;
 | 
				
			||||||
                //HttpContext.Current.Request.PhysicalApplicationPath;                
 | 
					                //HttpContext.Current.Request.PhysicalApplicationPath;                
 | 
				
			||||||
                filePath = physicalpath + attachUrl;
 | 
					                filePath = physicalpath + attachUrl;
 | 
				
			||||||
                if (File.Exists(filePath))
 | 
					                if (File.Exists(filePath))
 | 
				
			||||||
| 
						 | 
					@ -66,7 +66,7 @@ namespace BLL
 | 
				
			||||||
                foreach (var item in strs)
 | 
					                foreach (var item in strs)
 | 
				
			||||||
                {
 | 
					                {
 | 
				
			||||||
                    string filePath = string.Empty;
 | 
					                    string filePath = string.Empty;
 | 
				
			||||||
                    string physicalpath = Funs.RootPath;
 | 
					                    string physicalpath = Funs.localRoot;
 | 
				
			||||||
                    //HttpContext.Current.Request.PhysicalApplicationPath;    
 | 
					                    //HttpContext.Current.Request.PhysicalApplicationPath;    
 | 
				
			||||||
                    filePath = physicalpath + item;
 | 
					                    filePath = physicalpath + item;
 | 
				
			||||||
                    if (File.Exists(filePath))
 | 
					                    if (File.Exists(filePath))
 | 
				
			||||||
| 
						 | 
					@ -113,7 +113,7 @@ namespace BLL
 | 
				
			||||||
                foreach (var item in strs)
 | 
					                foreach (var item in strs)
 | 
				
			||||||
                {
 | 
					                {
 | 
				
			||||||
                    string filePath = string.Empty;
 | 
					                    string filePath = string.Empty;
 | 
				
			||||||
                    string physicalpath = Funs.RootPath;
 | 
					                    string physicalpath = Funs.localRoot;
 | 
				
			||||||
                    //HttpContext.Current.Request.PhysicalApplicationPath;    
 | 
					                    //HttpContext.Current.Request.PhysicalApplicationPath;    
 | 
				
			||||||
                    filePath = physicalpath + item;
 | 
					                    filePath = physicalpath + item;
 | 
				
			||||||
                    if (File.Exists(filePath))
 | 
					                    if (File.Exists(filePath))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -61,83 +61,83 @@
 | 
				
			||||||
                                <f:RenderField MinWidth="60px" ColumnID="Unit" DataField="Unit" EnableLock="true" Locked="true"
 | 
					                                <f:RenderField MinWidth="60px" ColumnID="Unit" DataField="Unit" EnableLock="true" Locked="true"
 | 
				
			||||||
                                    FieldType="String" HeaderText="单位" HeaderTextAlign="Left" TextAlign="Left">
 | 
					                                    FieldType="String" HeaderText="单位" HeaderTextAlign="Left" TextAlign="Left">
 | 
				
			||||||
                                </f:RenderField>
 | 
					                                </f:RenderField>
 | 
				
			||||||
                                <f:RenderField Width="60px" ColumnID="Month1" DataField="Month1" FieldType="Int" HeaderText="1月" HeaderTextAlign="Center">
 | 
					                                <f:RenderField Width="60px" ColumnID="Month1" DataField="Month1" FieldType="Float" HeaderText="1月" HeaderTextAlign="Center">
 | 
				
			||||||
                                    <Editor>
 | 
					                                    <Editor>
 | 
				
			||||||
                                        <f:NumberBox ID="txtMonth1" NoNegative="true" runat="server">
 | 
					                                        <f:NumberBox ID="txtMonth1" NoNegative="true" runat="server" DecimalPrecision="2"  >
 | 
				
			||||||
                                        </f:NumberBox>
 | 
					                                        </f:NumberBox>
 | 
				
			||||||
                                    </Editor>
 | 
					                                    </Editor>
 | 
				
			||||||
                                </f:RenderField>
 | 
					                                </f:RenderField>
 | 
				
			||||||
                                <f:RenderField Width="60px" ColumnID="Month2" DataField="Month2" FieldType="Int" HeaderText="2月" HeaderTextAlign="Center">
 | 
					                                <f:RenderField Width="60px" ColumnID="Month2" DataField="Month2" FieldType="Float" HeaderText="2月" HeaderTextAlign="Center">
 | 
				
			||||||
                                    <Editor>
 | 
					                                    <Editor>
 | 
				
			||||||
                                        <f:NumberBox ID="txtMonth2" NoNegative="true" runat="server">
 | 
					                                        <f:NumberBox ID="txtMonth2" NoNegative="true" runat="server" DecimalPrecision="2">
 | 
				
			||||||
                                        </f:NumberBox>
 | 
					                                        </f:NumberBox>
 | 
				
			||||||
                                    </Editor>
 | 
					                                    </Editor>
 | 
				
			||||||
                                </f:RenderField>
 | 
					                                </f:RenderField>
 | 
				
			||||||
                                <f:RenderField Width="60px" ColumnID="Month3" DataField="Month3" FieldType="Int" HeaderText="3月" HeaderTextAlign="Center">
 | 
					                                <f:RenderField Width="60px" ColumnID="Month3" DataField="Month3" FieldType="Float" HeaderText="3月" HeaderTextAlign="Center">
 | 
				
			||||||
                                    <Editor>
 | 
					                                    <Editor>
 | 
				
			||||||
                                        <f:NumberBox ID="txtMonth3" NoNegative="true" runat="server">
 | 
					                                        <f:NumberBox ID="txtMonth3" NoNegative="true" runat="server" DecimalPrecision="2"> 
 | 
				
			||||||
                                        </f:NumberBox>
 | 
					                                        </f:NumberBox>
 | 
				
			||||||
                                    </Editor>
 | 
					                                    </Editor>
 | 
				
			||||||
                                </f:RenderField>
 | 
					                                </f:RenderField>
 | 
				
			||||||
                                <f:RenderField Width="60px" ColumnID="Month4" DataField="Month4" FieldType="Int" HeaderText="4月" HeaderTextAlign="Center">
 | 
					                                <f:RenderField Width="60px" ColumnID="Month4" DataField="Month4" FieldType="Float" HeaderText="4月" HeaderTextAlign="Center">
 | 
				
			||||||
                                    <Editor>
 | 
					                                    <Editor>
 | 
				
			||||||
                                        <f:NumberBox ID="txtMonth4" NoNegative="true" runat="server">
 | 
					                                        <f:NumberBox ID="txtMonth4" NoNegative="true" runat="server" DecimalPrecision="2">
 | 
				
			||||||
                                        </f:NumberBox>
 | 
					                                        </f:NumberBox>
 | 
				
			||||||
                                    </Editor>
 | 
					                                    </Editor>
 | 
				
			||||||
                                </f:RenderField>
 | 
					                                </f:RenderField>
 | 
				
			||||||
                                <f:RenderField Width="60px" ColumnID="Month5" DataField="Month5" FieldType="Int" HeaderText="5月" HeaderTextAlign="Center">
 | 
					                                <f:RenderField Width="60px" ColumnID="Month5" DataField="Month5" FieldType="Float" HeaderText="5月" HeaderTextAlign="Center">
 | 
				
			||||||
                                    <Editor>
 | 
					                                    <Editor>
 | 
				
			||||||
                                        <f:NumberBox ID="txtMonth5" NoNegative="true" runat="server">
 | 
					                                        <f:NumberBox ID="txtMonth5" NoNegative="true" runat="server" DecimalPrecision="2">
 | 
				
			||||||
                                        </f:NumberBox>
 | 
					                                        </f:NumberBox>
 | 
				
			||||||
                                    </Editor>
 | 
					                                    </Editor>
 | 
				
			||||||
                                </f:RenderField>
 | 
					                                </f:RenderField>
 | 
				
			||||||
                                <f:RenderField Width="60px" ColumnID="Month6" DataField="Month6" FieldType="Int" HeaderText="6月" HeaderTextAlign="Center">
 | 
					                                <f:RenderField Width="60px" ColumnID="Month6" DataField="Month6" FieldType="Float" HeaderText="6月" HeaderTextAlign="Center">
 | 
				
			||||||
                                    <Editor>
 | 
					                                    <Editor>
 | 
				
			||||||
                                        <f:NumberBox ID="txtMonth6" NoNegative="true" runat="server">
 | 
					                                        <f:NumberBox ID="txtMonth6" NoNegative="true" runat="server" DecimalPrecision="2">
 | 
				
			||||||
                                        </f:NumberBox>
 | 
					                                        </f:NumberBox>
 | 
				
			||||||
                                    </Editor>
 | 
					                                    </Editor>
 | 
				
			||||||
                                </f:RenderField>
 | 
					                                </f:RenderField>
 | 
				
			||||||
                                <f:RenderField Width="60px" ColumnID="Month7" DataField="Month7" FieldType="Int" HeaderText="7月" HeaderTextAlign="Center">
 | 
					                                <f:RenderField Width="60px" ColumnID="Month7" DataField="Month7" FieldType="Float" HeaderText="7月" HeaderTextAlign="Center">
 | 
				
			||||||
                                    <Editor>
 | 
					                                    <Editor>
 | 
				
			||||||
                                        <f:NumberBox ID="txtMonth7" NoNegative="true" runat="server">
 | 
					                                        <f:NumberBox ID="txtMonth7" NoNegative="true" runat="server" DecimalPrecision="2">
 | 
				
			||||||
                                        </f:NumberBox>
 | 
					                                        </f:NumberBox>
 | 
				
			||||||
                                    </Editor>
 | 
					                                    </Editor>
 | 
				
			||||||
                                </f:RenderField>
 | 
					                                </f:RenderField>
 | 
				
			||||||
                                <f:RenderField Width="60px" ColumnID="Month8" DataField="Month8" FieldType="Int" HeaderText="8月" HeaderTextAlign="Center">
 | 
					                                <f:RenderField Width="60px" ColumnID="Month8" DataField="Month8" FieldType="Float" HeaderText="8月" HeaderTextAlign="Center">
 | 
				
			||||||
                                    <Editor>
 | 
					                                    <Editor>
 | 
				
			||||||
                                        <f:NumberBox ID="txtMonth8" NoNegative="true" runat="server">
 | 
					                                        <f:NumberBox ID="txtMonth8" NoNegative="true" runat="server" DecimalPrecision="2">
 | 
				
			||||||
                                        </f:NumberBox>
 | 
					                                        </f:NumberBox>
 | 
				
			||||||
                                    </Editor>
 | 
					                                    </Editor>
 | 
				
			||||||
                                </f:RenderField>
 | 
					                                </f:RenderField>
 | 
				
			||||||
                                <f:RenderField Width="60px" ColumnID="Month9" DataField="Month9" FieldType="Int" HeaderText="9月" HeaderTextAlign="Center">
 | 
					                                <f:RenderField Width="60px" ColumnID="Month9" DataField="Month9" FieldType="Float" HeaderText="9月" HeaderTextAlign="Center">
 | 
				
			||||||
                                    <Editor>
 | 
					                                    <Editor>
 | 
				
			||||||
                                        <f:NumberBox ID="txtMonth9" NoNegative="true" runat="server">
 | 
					                                        <f:NumberBox ID="txtMonth9" NoNegative="true" runat="server" DecimalPrecision="2">
 | 
				
			||||||
                                        </f:NumberBox>
 | 
					                                        </f:NumberBox>
 | 
				
			||||||
                                    </Editor>
 | 
					                                    </Editor>
 | 
				
			||||||
                                </f:RenderField>
 | 
					                                </f:RenderField>
 | 
				
			||||||
                                <f:RenderField Width="60px" ColumnID="Month10" DataField="Month10" FieldType="Int" HeaderText="10月" HeaderTextAlign="Center">
 | 
					                                <f:RenderField Width="60px" ColumnID="Month10" DataField="Month10" FieldType="Float" HeaderText="10月" HeaderTextAlign="Center">
 | 
				
			||||||
                                    <Editor>
 | 
					                                    <Editor>
 | 
				
			||||||
                                        <f:NumberBox ID="txtMonth10" NoNegative="true" runat="server">
 | 
					                                        <f:NumberBox ID="txtMonth10" NoNegative="true" runat="server" DecimalPrecision="2">
 | 
				
			||||||
                                        </f:NumberBox>
 | 
					                                        </f:NumberBox>
 | 
				
			||||||
                                    </Editor>
 | 
					                                    </Editor>
 | 
				
			||||||
                                </f:RenderField>
 | 
					                                </f:RenderField>
 | 
				
			||||||
                                <f:RenderField Width="60px" ColumnID="Month11" DataField="Month11" FieldType="Int" HeaderText="11月" HeaderTextAlign="Center">
 | 
					                                <f:RenderField Width="60px" ColumnID="Month11" DataField="Month11" FieldType="Float" HeaderText="11月" HeaderTextAlign="Center">
 | 
				
			||||||
                                    <Editor>
 | 
					                                    <Editor>
 | 
				
			||||||
                                        <f:NumberBox ID="txtMonth11" NoNegative="true" runat="server">
 | 
					                                        <f:NumberBox ID="txtMonth11" NoNegative="true" runat="server" DecimalPrecision="2">
 | 
				
			||||||
                                        </f:NumberBox>
 | 
					                                        </f:NumberBox>
 | 
				
			||||||
                                    </Editor>
 | 
					                                    </Editor>
 | 
				
			||||||
                                </f:RenderField>
 | 
					                                </f:RenderField>
 | 
				
			||||||
                                <f:RenderField Width="60px" ColumnID="Month12" DataField="Month12" FieldType="Int" HeaderText="12月" HeaderTextAlign="Center">
 | 
					                                <f:RenderField Width="60px" ColumnID="Month12" DataField="Month12" FieldType="Float" HeaderText="12月" HeaderTextAlign="Center">
 | 
				
			||||||
                                    <Editor>
 | 
					                                    <Editor>
 | 
				
			||||||
                                        <f:NumberBox ID="txtMonth12" NoNegative="true" runat="server">
 | 
					                                        <f:NumberBox ID="txtMonth12" NoNegative="true" runat="server" DecimalPrecision="2">
 | 
				
			||||||
                                        </f:NumberBox>
 | 
					                                        </f:NumberBox>
 | 
				
			||||||
                                    </Editor>
 | 
					                                    </Editor>
 | 
				
			||||||
                                </f:RenderField>
 | 
					                                </f:RenderField>
 | 
				
			||||||
                                <f:RenderField Width="90px" ColumnID="YearTotal" DataField="YearTotal" FieldType="Int" HeaderText="年度合计" HeaderTextAlign="Center">
 | 
					                                <f:RenderField Width="90px" ColumnID="YearTotal" DataField="YearTotal" FieldType="Float" HeaderText="年度合计" HeaderTextAlign="Center">
 | 
				
			||||||
                                </f:RenderField>
 | 
					                                </f:RenderField>
 | 
				
			||||||
                                <f:RenderField Width="90px" ColumnID="ProjectTotal" DataField="ProjectTotal" FieldType="Int" HeaderText="项目累计" HeaderTextAlign="Center" ExpandUnusedSpace="true">
 | 
					                                <f:RenderField Width="90px" ColumnID="ProjectTotal" DataField="ProjectTotal" FieldType="Float" HeaderText="项目累计" HeaderTextAlign="Center" ExpandUnusedSpace="true">
 | 
				
			||||||
                                </f:RenderField>
 | 
					                                </f:RenderField>
 | 
				
			||||||
                                <f:RenderField Width="0px" ColumnID="SumProjectTotal" DataField="SumProjectTotal" FieldType="Int"  Hidden="true">
 | 
					                                <f:RenderField Width="0px" ColumnID="SumProjectTotal" DataField="SumProjectTotal" FieldType="Float"  Hidden="true">
 | 
				
			||||||
                                </f:RenderField>
 | 
					                                </f:RenderField>
 | 
				
			||||||
                            </Columns>
 | 
					                            </Columns>
 | 
				
			||||||
                            <Listeners>
 | 
					                            <Listeners>
 | 
				
			||||||
| 
						 | 
					@ -152,6 +152,11 @@
 | 
				
			||||||
    <script type="text/javascript">
 | 
					    <script type="text/javascript">
 | 
				
			||||||
        function onGridAfterEdit(event, value, params) {
 | 
					        function onGridAfterEdit(event, value, params) {
 | 
				
			||||||
            debugger
 | 
					            debugger
 | 
				
			||||||
 | 
					            if (params.rowValue.ReportItem === '合格率') {
 | 
				
			||||||
 | 
					                return
 | 
				
			||||||
 | 
					            } if (params.rowValue.ReportItem === '一次合格率') {
 | 
				
			||||||
 | 
					                return
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
            var me = this, columnId = params.columnId, rowId = params.rowId;
 | 
					            var me = this, columnId = params.columnId, rowId = params.rowId;
 | 
				
			||||||
            var yearTotal = 0;
 | 
					            var yearTotal = 0;
 | 
				
			||||||
            for (var i = 1; i <= 12; i++)
 | 
					            for (var i = 1; i <= 12; i++)
 | 
				
			||||||
| 
						 | 
					@ -165,6 +170,33 @@
 | 
				
			||||||
            me.updateCellValue(rowId, 'YearTotal', yearTotal);
 | 
					            me.updateCellValue(rowId, 'YearTotal', yearTotal);
 | 
				
			||||||
            var sumProjectTotal = me.getCellValue(rowId, 'SumProjectTotal');
 | 
					            var sumProjectTotal = me.getCellValue(rowId, 'SumProjectTotal');
 | 
				
			||||||
            me.updateCellValue(rowId, 'ProjectTotal', sumProjectTotal + yearTotal);
 | 
					            me.updateCellValue(rowId, 'ProjectTotal', sumProjectTotal + yearTotal);
 | 
				
			||||||
 | 
					            if (params.rowValue.ReportItem === '一次拍片数'  ) {
 | 
				
			||||||
 | 
					                var columnValue1 = me.getCellValue(rowId, columnId);
 | 
				
			||||||
 | 
					                var columnValue2 = me.getCellValue(me.data[params.rowIndex + 1].id, columnId); 
 | 
				
			||||||
 | 
					                me.updateCellValue(me.data[params.rowIndex + 2].id, columnId, (100.0 * columnValue1 / columnValue2).toFixed(2));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                var columnValue3 = me.getCellValue(rowId, 'YearTotal');
 | 
				
			||||||
 | 
					                var columnValue4 = me.getCellValue(me.data[params.rowIndex + 1].id, 'YearTotal');
 | 
				
			||||||
 | 
					                me.updateCellValue(me.data[params.rowIndex + 2].id, 'YearTotal', (100.0 * columnValue3 / columnValue4).toFixed(2));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                var columnValue5 = me.getCellValue(rowId, 'ProjectTotal');
 | 
				
			||||||
 | 
					                var columnValue6 = me.getCellValue(me.data[params.rowIndex + 1].id, 'ProjectTotal');
 | 
				
			||||||
 | 
					                me.updateCellValue(me.data[params.rowIndex + 2].id, 'ProjectTotal', (100.0 * columnValue5 / columnValue6).toFixed(2));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            } else if ( params.rowValue.ReportItem === '一次合格数') {
 | 
				
			||||||
 | 
					                var columnValue1 = me.getCellValue(me.data[params.rowIndex - 1].id, columnId);
 | 
				
			||||||
 | 
					                var columnValue2 = me.getCellValue(rowId, columnId);
 | 
				
			||||||
 | 
					                me.updateCellValue(me.data[params.rowIndex + 1].id, columnId, (100.0 * columnValue1 / columnValue2).toFixed(2)); 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                var columnValue3 = me.getCellValue(me.data[params.rowIndex - 1].id, 'YearTotal');
 | 
				
			||||||
 | 
					                var columnValue4 = me.getCellValue(rowId, 'YearTotal');
 | 
				
			||||||
 | 
					                me.updateCellValue(me.data[params.rowIndex + 1].id, 'YearTotal', (100.0 * columnValue3 / columnValue4).toFixed(2));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                var columnValue5 = me.getCellValue(me.data[params.rowIndex - 1].id, 'ProjectTotal');
 | 
				
			||||||
 | 
					                var columnValue6 = me.getCellValue(rowId, 'ProjectTotal');
 | 
				
			||||||
 | 
					                me.updateCellValue(me.data[params.rowIndex + 1].id, 'ProjectTotal', (100.0 * columnValue5 / columnValue6).toFixed(2));
 | 
				
			||||||
 | 
					                 
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    </script>
 | 
					    </script>
 | 
				
			||||||
</body>
 | 
					</body>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -7,6 +7,8 @@ using System.Text;
 | 
				
			||||||
using BLL;
 | 
					using BLL;
 | 
				
			||||||
using AspNet = System.Web.UI.WebControls;
 | 
					using AspNet = System.Web.UI.WebControls;
 | 
				
			||||||
using Newtonsoft.Json.Linq;
 | 
					using Newtonsoft.Json.Linq;
 | 
				
			||||||
 | 
					using NPOI.XSSF.UserModel;
 | 
				
			||||||
 | 
					using System.IO;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
namespace FineUIPro.Web.CQMS.ManageReport
 | 
					namespace FineUIPro.Web.CQMS.ManageReport
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
| 
						 | 
					@ -92,10 +94,23 @@ namespace FineUIPro.Web.CQMS.ManageReport
 | 
				
			||||||
            Grid1.DataSource = dt;
 | 
					            Grid1.DataSource = dt;
 | 
				
			||||||
            Grid1.DataBind();
 | 
					            Grid1.DataBind();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        protected void Grid1_RowDataBound(object sender, GridRowEventArgs e)
 | 
					        protected void Grid1_RowDataBound(object sender, GridRowEventArgs e)
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
 | 
					            DataRowView row = e.DataItem as DataRowView;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            if (string.IsNullOrEmpty(row["Unit"].ToString()))
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					                foreach (GridColumn column in Grid1.Columns)
 | 
				
			||||||
 | 
					                {
 | 
				
			||||||
 | 
					                    e.CellCssClasses[column.ColumnIndex] = "f-grid-cell-uneditable";
 | 
				
			||||||
 | 
					                }
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
            int cm = GetCurMonth();
 | 
					            int cm = GetCurMonth();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            for (int i = 1; i <= 12; i++)
 | 
					            for (int i = 1; i <= 12; i++)
 | 
				
			||||||
| 
						 | 
					@ -448,7 +463,7 @@ namespace FineUIPro.Web.CQMS.ManageReport
 | 
				
			||||||
                            Funs.DB.SubmitChanges();
 | 
					                            Funs.DB.SubmitChanges();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                            List<Model.CQMS_MonthReportItem> ItemList = new List<Model.CQMS_MonthReportItem>();
 | 
					                            List<Model.CQMS_MonthReportItem> ItemList = new List<Model.CQMS_MonthReportItem>();
 | 
				
			||||||
                            for (int i = 0; i < 22; i++)
 | 
					                            for (int i = 0; i < 28; i++)
 | 
				
			||||||
                            {
 | 
					                            {
 | 
				
			||||||
                                Model.CQMS_MonthReportItem item = new Model.CQMS_MonthReportItem();
 | 
					                                Model.CQMS_MonthReportItem item = new Model.CQMS_MonthReportItem();
 | 
				
			||||||
                                item.MonthReportItemId = SQLHelper.GetNewID(typeof(Model.CQMS_MonthReportItem));
 | 
					                                item.MonthReportItemId = SQLHelper.GetNewID(typeof(Model.CQMS_MonthReportItem));
 | 
				
			||||||
| 
						 | 
					@ -517,7 +532,7 @@ namespace FineUIPro.Web.CQMS.ManageReport
 | 
				
			||||||
                                if (i == 12)
 | 
					                                if (i == 12)
 | 
				
			||||||
                                {
 | 
					                                {
 | 
				
			||||||
                                    item.ReportItem = "检验批次数";
 | 
					                                    item.ReportItem = "检验批次数";
 | 
				
			||||||
                                    item.Unit = "次";
 | 
					                                    item.Unit = "批";
 | 
				
			||||||
                                }
 | 
					                                }
 | 
				
			||||||
                                if (i == 13)
 | 
					                                if (i == 13)
 | 
				
			||||||
                                {
 | 
					                                {
 | 
				
			||||||
| 
						 | 
					@ -645,54 +660,54 @@ namespace FineUIPro.Web.CQMS.ManageReport
 | 
				
			||||||
                        Model.CQMS_MonthReportItem item = Funs.DB.CQMS_MonthReportItem.FirstOrDefault(x => x.MonthReportItemId == monthReportItemId);
 | 
					                        Model.CQMS_MonthReportItem item = Funs.DB.CQMS_MonthReportItem.FirstOrDefault(x => x.MonthReportItemId == monthReportItemId);
 | 
				
			||||||
                    //    if (cm == 1)
 | 
					                    //    if (cm == 1)
 | 
				
			||||||
                        {
 | 
					                        {
 | 
				
			||||||
                            item.Month1 = Funs.GetNewInt(objects["values"]["Month1"].ToString());
 | 
					                            item.Month1 = Funs.GetNewDecimal(objects["values"]["Month1"].ToString());
 | 
				
			||||||
                        }
 | 
					                        }
 | 
				
			||||||
                      //  if (cm == 2)
 | 
					                      //  if (cm == 2)
 | 
				
			||||||
                        {
 | 
					                        {
 | 
				
			||||||
                            item.Month2 = Funs.GetNewInt(objects["values"]["Month2"].ToString());
 | 
					                            item.Month2 = Funs.GetNewDecimal(objects["values"]["Month2"].ToString());
 | 
				
			||||||
                        }
 | 
					                        }
 | 
				
			||||||
                      //  if (cm == 3)
 | 
					                      //  if (cm == 3)
 | 
				
			||||||
                        {
 | 
					                        {
 | 
				
			||||||
                            item.Month3 = Funs.GetNewInt(objects["values"]["Month3"].ToString());
 | 
					                            item.Month3 = Funs.GetNewDecimal(objects["values"]["Month3"].ToString());
 | 
				
			||||||
                        }
 | 
					                        }
 | 
				
			||||||
                       // if (cm == 4)
 | 
					                       // if (cm == 4)
 | 
				
			||||||
                        {
 | 
					                        {
 | 
				
			||||||
                            item.Month4 = Funs.GetNewInt(objects["values"]["Month4"].ToString());
 | 
					                            item.Month4 = Funs.GetNewDecimal(objects["values"]["Month4"].ToString());
 | 
				
			||||||
                        }
 | 
					                        }
 | 
				
			||||||
                    //    if (cm == 5)
 | 
					                    //    if (cm == 5)
 | 
				
			||||||
                        {
 | 
					                        {
 | 
				
			||||||
                            item.Month5 = Funs.GetNewInt(objects["values"]["Month5"].ToString());
 | 
					                            item.Month5 = Funs.GetNewDecimal(objects["values"]["Month5"].ToString());
 | 
				
			||||||
                        }
 | 
					                        }
 | 
				
			||||||
                       // if (cm == 6)
 | 
					                       // if (cm == 6)
 | 
				
			||||||
                        {
 | 
					                        {
 | 
				
			||||||
                            item.Month6 = Funs.GetNewInt(objects["values"]["Month6"].ToString());
 | 
					                            item.Month6 = Funs.GetNewDecimal(objects["values"]["Month6"].ToString());
 | 
				
			||||||
                        }
 | 
					                        }
 | 
				
			||||||
                        //if (cm == 7)
 | 
					                        //if (cm == 7)
 | 
				
			||||||
                        {
 | 
					                        {
 | 
				
			||||||
                            item.Month7 = Funs.GetNewInt(objects["values"]["Month7"].ToString());
 | 
					                            item.Month7 = Funs.GetNewDecimal(objects["values"]["Month7"].ToString());
 | 
				
			||||||
                        }
 | 
					                        }
 | 
				
			||||||
                      //  if (cm == 8)
 | 
					                      //  if (cm == 8)
 | 
				
			||||||
                        {
 | 
					                        {
 | 
				
			||||||
                            item.Month8 = Funs.GetNewInt(objects["values"]["Month8"].ToString());
 | 
					                            item.Month8 = Funs.GetNewDecimal(objects["values"]["Month8"].ToString());
 | 
				
			||||||
                        }
 | 
					                        }
 | 
				
			||||||
                        //if (cm == 9)
 | 
					                        //if (cm == 9)
 | 
				
			||||||
                        {
 | 
					                        {
 | 
				
			||||||
                            item.Month9 = Funs.GetNewInt(objects["values"]["Month9"].ToString());
 | 
					                            item.Month9 = Funs.GetNewDecimal(objects["values"]["Month9"].ToString());
 | 
				
			||||||
                        }
 | 
					                        }
 | 
				
			||||||
                       // if (cm == 10)
 | 
					                       // if (cm == 10)
 | 
				
			||||||
                        {
 | 
					                        {
 | 
				
			||||||
                            item.Month10 = Funs.GetNewInt(objects["values"]["Month10"].ToString());
 | 
					                            item.Month10 = Funs.GetNewDecimal(objects["values"]["Month10"].ToString());
 | 
				
			||||||
                        }
 | 
					                        }
 | 
				
			||||||
                        //if (cm == 11)
 | 
					                        //if (cm == 11)
 | 
				
			||||||
                        {
 | 
					                        {
 | 
				
			||||||
                            item.Month11 = Funs.GetNewInt(objects["values"]["Month11"].ToString());
 | 
					                            item.Month11 = Funs.GetNewDecimal(objects["values"]["Month11"].ToString());
 | 
				
			||||||
                        }
 | 
					                        }
 | 
				
			||||||
                        //if (cm == 12)
 | 
					                        //if (cm == 12)
 | 
				
			||||||
                        {
 | 
					                        {
 | 
				
			||||||
                            item.Month12 = Funs.GetNewInt(objects["values"]["Month12"].ToString());
 | 
					                            item.Month12 = Funs.GetNewDecimal(objects["values"]["Month12"].ToString());
 | 
				
			||||||
                        }
 | 
					                        }
 | 
				
			||||||
                        item.YearTotal = Funs.GetNewInt(objects["values"]["YearTotal"].ToString());
 | 
					                        item.YearTotal = Funs.GetNewDecimal(objects["values"]["YearTotal"].ToString());
 | 
				
			||||||
                        item.ProjectTotal = Funs.GetNewInt(objects["values"]["ProjectTotal"].ToString());
 | 
					                        item.ProjectTotal = Funs.GetNewDecimal(objects["values"]["ProjectTotal"].ToString());
 | 
				
			||||||
                        Funs.DB.SubmitChanges();
 | 
					                        Funs.DB.SubmitChanges();
 | 
				
			||||||
                        this.ShowNotify("保存成功");
 | 
					                        this.ShowNotify("保存成功");
 | 
				
			||||||
                    }
 | 
					                    }
 | 
				
			||||||
| 
						 | 
					@ -763,60 +778,155 @@ namespace FineUIPro.Web.CQMS.ManageReport
 | 
				
			||||||
        /// <param name="e"></param>
 | 
					        /// <param name="e"></param>
 | 
				
			||||||
        protected void btnOut_Click(object sender, EventArgs e)
 | 
					        protected void btnOut_Click(object sender, EventArgs e)
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            Response.ClearContent();
 | 
					            string strSql = @"SELECT item.* ,ISNULL(t.SumProjectTotal,0) AS SumProjectTotal 
 | 
				
			||||||
            string filename = Funs.GetNewFileName();
 | 
					                                FROM dbo.CQMS_MonthReportItem item
 | 
				
			||||||
            Response.AddHeader("content-disposition", "attachment; filename=" + System.Web.HttpUtility.UrlEncode("施工质量月报" + filename, System.Text.Encoding.UTF8) + ".xls");
 | 
					                              LEFT JOIN dbo.CQMS_MonthReport r ON r.MonthReportId = item.MonthReportId
 | 
				
			||||||
            Response.ContentType = "application/excel";
 | 
					                              LEFT JOIN (SELECT a.ReportItem,ISNULL(SUM(ISNULL(a.ProjectTotal,0)),0) AS SumProjectTotal  
 | 
				
			||||||
 | 
					                                           FROM dbo.CQMS_MonthReportItem a
 | 
				
			||||||
 | 
					                                           LEFT JOIN dbo.CQMS_MonthReport b ON b.MonthReportId = a.MonthReportId 
 | 
				
			||||||
 | 
					                                           WHERE b.ProjectId=@ProjectId AND b.Years < " + this.tvControlItem.SelectedNode.Text + @"
 | 
				
			||||||
 | 
					                                           GROUP BY a.ReportItem )t  ON t.ReportItem = item.ReportItem
 | 
				
			||||||
 | 
					                              WHERE r.ProjectId=@ProjectId AND r.MonthReportId=@MonthReportId
 | 
				
			||||||
 | 
					                              ORDER BY item.Sort";
 | 
				
			||||||
 | 
					            List<SqlParameter> listStr = new List<SqlParameter>();
 | 
				
			||||||
 | 
					            listStr.Add(new SqlParameter("@ProjectId", CurrUser.LoginProjectId));
 | 
				
			||||||
 | 
					            listStr.Add(new SqlParameter("@MonthReportId", tvControlItem.SelectedNodeID));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            SqlParameter[] parameter = listStr.ToArray();
 | 
				
			||||||
 | 
					            DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
 | 
				
			||||||
 | 
					            
 | 
				
			||||||
 | 
					            string rootPath = Funs.localRoot + Const.ExcelUrl;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            //模板文件
 | 
				
			||||||
 | 
					            string TempletFileName = Funs.localRoot + "File/Excel/CQMS/质量月报导出模板.xlsx";
 | 
				
			||||||
 | 
					            //导出文件
 | 
				
			||||||
 | 
					            string filePath = rootPath + DateTime.Now.ToString("yyyyMMddhhmmss") + "\\";
 | 
				
			||||||
 | 
					            if (!Directory.Exists(filePath))
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					                Directory.CreateDirectory(filePath);
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					            string ReportFileName = filePath + "out.xlsx";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            FileStream file = new FileStream(TempletFileName, FileMode.Open, FileAccess.Read);
 | 
				
			||||||
 | 
					            XSSFWorkbook hssfworkbook = new XSSFWorkbook(file); 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            XSSFSheet recordSheet = (XSSFSheet)hssfworkbook.GetSheet("质量月报");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            for (int i = 0; i < tb.Rows.Count; i++)
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					                try
 | 
				
			||||||
 | 
					                {
 | 
				
			||||||
 | 
					                    if (!string.IsNullOrEmpty(tb.Rows[i]["Unit"].ToString()))
 | 
				
			||||||
 | 
					                    {
 | 
				
			||||||
 | 
					                        var dMonth1 = Funs.GetNewDecimal(tb.Rows[i]["Month1"].ToString());
 | 
				
			||||||
 | 
					                        var dMonth2 = Funs.GetNewDecimal(tb.Rows[i]["Month2"].ToString());
 | 
				
			||||||
 | 
					                        var dMonth3 = Funs.GetNewDecimal(tb.Rows[i]["Month3"].ToString());
 | 
				
			||||||
 | 
					                        var dMonth4 = Funs.GetNewDecimal(tb.Rows[i]["Month4"].ToString());
 | 
				
			||||||
 | 
					                        var dMonth5 = Funs.GetNewDecimal(tb.Rows[i]["Month5"].ToString());
 | 
				
			||||||
 | 
					                        var dMonth6 = Funs.GetNewDecimal(tb.Rows[i]["Month6"].ToString());
 | 
				
			||||||
 | 
					                        var dMonth7 = Funs.GetNewDecimal(tb.Rows[i]["Month7"].ToString());
 | 
				
			||||||
 | 
					                        var dMonth8 = Funs.GetNewDecimal(tb.Rows[i]["Month8"].ToString());
 | 
				
			||||||
 | 
					                        var dMonth9 = Funs.GetNewDecimal(tb.Rows[i]["Month9"].ToString());
 | 
				
			||||||
 | 
					                        var dMonth10 = Funs.GetNewDecimal(tb.Rows[i]["Month10"].ToString());
 | 
				
			||||||
 | 
					                        var dMonth11 = Funs.GetNewDecimal(tb.Rows[i]["Month11"].ToString());
 | 
				
			||||||
 | 
					                        var dMonth12 = Funs.GetNewDecimal(tb.Rows[i]["Month12"].ToString());
 | 
				
			||||||
 | 
					                        var dYearTotal = Funs.GetNewDecimal(tb.Rows[i]["YearTotal"].ToString());
 | 
				
			||||||
 | 
					                        var dProjectTotal = Funs.GetNewDecimal(tb.Rows[i]["ProjectTotal"].ToString());
 | 
				
			||||||
 | 
					                        if (dMonth1.HasValue)
 | 
				
			||||||
 | 
					                        {
 | 
				
			||||||
 | 
					                            recordSheet.GetRow(3 + i).GetCell(3).SetCellValue(dMonth1.Value.ToString("#.##"));
 | 
				
			||||||
 | 
					                        }
 | 
				
			||||||
 | 
					                        if (dMonth2.HasValue)
 | 
				
			||||||
 | 
					                        {
 | 
				
			||||||
 | 
					                            recordSheet.GetRow(3 + i).GetCell(4).SetCellValue(dMonth2.Value.ToString("#.##"));
 | 
				
			||||||
 | 
					                        }
 | 
				
			||||||
 | 
					                        if (dMonth3.HasValue)
 | 
				
			||||||
 | 
					                        {
 | 
				
			||||||
 | 
					                            recordSheet.GetRow(3 + i).GetCell(5).SetCellValue(dMonth3.Value.ToString("#.##"));
 | 
				
			||||||
 | 
					                        }
 | 
				
			||||||
 | 
					                        if (dMonth4.HasValue)
 | 
				
			||||||
 | 
					                        {
 | 
				
			||||||
 | 
					                            recordSheet.GetRow(3 + i).GetCell(6).SetCellValue(dMonth4.Value.ToString("#.##"));
 | 
				
			||||||
 | 
					                        }
 | 
				
			||||||
 | 
					                        if (dMonth5.HasValue)
 | 
				
			||||||
 | 
					                        {
 | 
				
			||||||
 | 
					                            recordSheet.GetRow(3 + i).GetCell(7).SetCellValue(dMonth5.Value.ToString("#.##"));
 | 
				
			||||||
 | 
					                        }
 | 
				
			||||||
 | 
					                        if (dMonth6.HasValue)
 | 
				
			||||||
 | 
					                        {
 | 
				
			||||||
 | 
					                            recordSheet.GetRow(3 + i).GetCell(8).SetCellValue(dMonth6.Value.ToString("#.##"));
 | 
				
			||||||
 | 
					                        }
 | 
				
			||||||
 | 
					                        if (dMonth7.HasValue)
 | 
				
			||||||
 | 
					                        {
 | 
				
			||||||
 | 
					                            recordSheet.GetRow(3 + i).GetCell(9).SetCellValue(dMonth7.Value.ToString("#.##"));
 | 
				
			||||||
 | 
					                        }
 | 
				
			||||||
 | 
					                        if (dMonth8.HasValue)
 | 
				
			||||||
 | 
					                        {
 | 
				
			||||||
 | 
					                            recordSheet.GetRow(3 + i).GetCell(10).SetCellValue(dMonth8.Value.ToString("#.##"));
 | 
				
			||||||
 | 
					                        }
 | 
				
			||||||
 | 
					                        if (dMonth9.HasValue)
 | 
				
			||||||
 | 
					                        {
 | 
				
			||||||
 | 
					                            recordSheet.GetRow(3 + i).GetCell(11).SetCellValue(dMonth9.Value.ToString("#.##"));
 | 
				
			||||||
 | 
					                        }
 | 
				
			||||||
 | 
					                        if (dMonth10.HasValue)
 | 
				
			||||||
 | 
					                        {
 | 
				
			||||||
 | 
					                            recordSheet.GetRow(3 + i).GetCell(12).SetCellValue(dMonth10.Value.ToString("#.##"));
 | 
				
			||||||
 | 
					                        }
 | 
				
			||||||
 | 
					                        if (dMonth11.HasValue)
 | 
				
			||||||
 | 
					                        {
 | 
				
			||||||
 | 
					                            recordSheet.GetRow(3 + i).GetCell(13).SetCellValue(dMonth11.Value.ToString("#.##"));
 | 
				
			||||||
 | 
					                        }
 | 
				
			||||||
 | 
					                        if (dMonth12.HasValue)
 | 
				
			||||||
 | 
					                        {
 | 
				
			||||||
 | 
					                            recordSheet.GetRow(3 + i).GetCell(14).SetCellValue(dMonth12.Value.ToString("#.##"));
 | 
				
			||||||
 | 
					                        }
 | 
				
			||||||
 | 
					                        if (dYearTotal.HasValue)
 | 
				
			||||||
 | 
					                        {
 | 
				
			||||||
 | 
					                            recordSheet.GetRow(3 + i).GetCell(15).SetCellValue(dYearTotal.Value.ToString("#.##"));
 | 
				
			||||||
 | 
					                        }
 | 
				
			||||||
 | 
					                        if (dProjectTotal.HasValue)
 | 
				
			||||||
 | 
					                        {
 | 
				
			||||||
 | 
					                            recordSheet.GetRow(3 + i).GetCell(16).SetCellValue(dProjectTotal.Value.ToString("#.##"));
 | 
				
			||||||
 | 
					                        }
 | 
				
			||||||
 | 
					                    }
 | 
				
			||||||
 | 
					                }
 | 
				
			||||||
 | 
					                catch (Exception)
 | 
				
			||||||
 | 
					                {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            using (FileStream filess = File.OpenWrite(ReportFileName))
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					                hssfworkbook.Write(filess);
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					            //PageContext.RegisterStartupScript(Window5.GetShowReference(String.Format("../../ReportPrint/ExReportPrint.aspx?ispop=1&reportId={0}&replaceParameter={1}&varValue={2}&projectId={3}", BLL.Const.HJGL_JointInfoReportId, isoId, varValue, this.CurrUser.LoginProjectId)));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            FileInfo filet = new FileInfo(ReportFileName);
 | 
				
			||||||
 | 
					            Response.Clear();
 | 
				
			||||||
 | 
					            Response.Charset = "GB2312";
 | 
				
			||||||
            Response.ContentEncoding = System.Text.Encoding.UTF8;
 | 
					            Response.ContentEncoding = System.Text.Encoding.UTF8;
 | 
				
			||||||
            this.Grid1.PageSize = 500;
 | 
					            // 添加头信息,为"文件下载/另存为"对话框指定默认文件名
 | 
				
			||||||
            this.BindGrid();
 | 
					            Response.AddHeader("Content-Disposition", "attachment; filename=质量月报_" + Server.UrlEncode(DateTime.Now.ToString("yyyyMMddhhmmss") + ".xlsx"));
 | 
				
			||||||
            Response.Write(GetGridTableHtml(Grid1));
 | 
					            // 添加头信息,指定文件大小,让浏览器能够显示下载进度
 | 
				
			||||||
 | 
					            Response.AddHeader("Content-Length", filet.Length.ToString());
 | 
				
			||||||
 | 
					            // 指定返回的是一个不能被客户端读取的流,必须被下载
 | 
				
			||||||
 | 
					            Response.ContentType = "application/ms-excel";
 | 
				
			||||||
 | 
					            // 把文件流发送到客户端
 | 
				
			||||||
 | 
					            Response.WriteFile(filet.FullName);
 | 
				
			||||||
 | 
					            // 停止页面的执行
 | 
				
			||||||
            Response.End();
 | 
					            Response.End();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        /// <summary>
 | 
					        /// <summary>
 | 
				
			||||||
        /// 导出方法
 | 
					 | 
				
			||||||
        /// </summary>
 | 
					 | 
				
			||||||
        /// <param name="grid"></param>
 | 
					 | 
				
			||||||
        /// <returns></returns>
 | 
					 | 
				
			||||||
        private string GetGridTableHtml(Grid grid)
 | 
					 | 
				
			||||||
        {
 | 
					 | 
				
			||||||
            StringBuilder sb = new StringBuilder();
 | 
					 | 
				
			||||||
            sb.Append("<meta http-equiv=\"content-type\" content=\"application/excel; charset=UTF-8\"/>");
 | 
					 | 
				
			||||||
            sb.Append("<table cellspacing=\"0\" rules=\"all\" border=\"1\" style=\"border-collapse:collapse;\">");
 | 
					 | 
				
			||||||
            sb.Append("<tr>");
 | 
					 | 
				
			||||||
            foreach (GridColumn column in grid.Columns)
 | 
					 | 
				
			||||||
            {
 | 
					 | 
				
			||||||
                if (column.Hidden == false)
 | 
					 | 
				
			||||||
                {
 | 
					 | 
				
			||||||
                    sb.AppendFormat("<td>{0}</td>", column.HeaderText);
 | 
					 | 
				
			||||||
                }
 | 
					 | 
				
			||||||
            }
 | 
					 | 
				
			||||||
            sb.Append("</tr>");
 | 
					 | 
				
			||||||
            foreach (GridRow row in grid.Rows)
 | 
					 | 
				
			||||||
            {
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
                sb.Append("<tr>");
 | 
					 | 
				
			||||||
                foreach (GridColumn column in grid.Columns)
 | 
					 | 
				
			||||||
                {
 | 
					 | 
				
			||||||
                    if (column.Hidden == false)
 | 
					 | 
				
			||||||
                    {
 | 
					 | 
				
			||||||
                        string html = row.Values[column.ColumnIndex].ToString();
 | 
					 | 
				
			||||||
                        if (column.ColumnID == "tfNumber")
 | 
					 | 
				
			||||||
                        {
 | 
					 | 
				
			||||||
                            html = (row.FindControl("lblNumber") as AspNet.Label).Text;
 | 
					 | 
				
			||||||
                        }
 | 
					 | 
				
			||||||
                        sb.AppendFormat("<td>{0}</td>", html);
 | 
					 | 
				
			||||||
                    }
 | 
					 | 
				
			||||||
                }
 | 
					 | 
				
			||||||
                sb.Append("</tr>");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            sb.Append("</table>");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            return sb.ToString();
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
        #endregion
 | 
					        #endregion
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					@ -1405,3 +1405,109 @@ IP地址:::1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
出错时间:05/21/2023 19:50:07
 | 
					出错时间:05/21/2023 19:50:07
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					错误信息开始=====>
 | 
				
			||||||
 | 
					错误类型:NullReferenceException
 | 
				
			||||||
 | 
					错误信息:未将对象引用设置到对象的实例。
 | 
				
			||||||
 | 
					错误堆栈:
 | 
				
			||||||
 | 
					   在 FineUIPro.Web.ZHGL.ServerCheck.CheckRectifyEdit.GetButtonPower() 位置 D:\project\vs\sggl_cd\SGGL\FineUIPro.Web\ZHGL\ServerCheck\CheckRectifyEdit.aspx.cs:行号 165
 | 
				
			||||||
 | 
					   在 FineUIPro.Web.ZHGL.ServerCheck.CheckRectifyEdit.Page_Load(Object sender, EventArgs e) 位置 D:\project\vs\sggl_cd\SGGL\FineUIPro.Web\ZHGL\ServerCheck\CheckRectifyEdit.aspx.cs:行号 35
 | 
				
			||||||
 | 
					   在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
 | 
				
			||||||
 | 
					   在 System.EventHandler.Invoke(Object sender, EventArgs e)
 | 
				
			||||||
 | 
					   在 System.Web.UI.Control.OnLoad(EventArgs e)
 | 
				
			||||||
 | 
					   在 System.Web.UI.Control.LoadRecursive()
 | 
				
			||||||
 | 
					   在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
 | 
				
			||||||
 | 
					出错时间:05/24/2023 10:21:41
 | 
				
			||||||
 | 
					出错文件:http://localhost:1295/ZHGL/ServerCheck/CheckRectifyEdit.aspx
 | 
				
			||||||
 | 
					IP地址:::1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					出错时间:05/24/2023 10:21:41
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					错误信息开始=====>
 | 
				
			||||||
 | 
					错误类型:FormatException
 | 
				
			||||||
 | 
					错误信息:输入字符串的格式不正确。
 | 
				
			||||||
 | 
					错误堆栈:
 | 
				
			||||||
 | 
					   在 System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
 | 
				
			||||||
 | 
					   在 System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
 | 
				
			||||||
 | 
					   在 System.Int32.Parse(String s)
 | 
				
			||||||
 | 
					   在 BLL.Funs.GetNewInt(String value) 位置 D:\project\vs\sggl_cd\SGGL\BLL\Common\Funs.cs:行号 471
 | 
				
			||||||
 | 
					出错时间:05/24/2023 15:32:03
 | 
				
			||||||
 | 
					出错时间:05/24/2023 15:32:03
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					错误信息开始=====>
 | 
				
			||||||
 | 
					错误类型:FormatException
 | 
				
			||||||
 | 
					错误信息:输入字符串的格式不正确。
 | 
				
			||||||
 | 
					错误堆栈:
 | 
				
			||||||
 | 
					   在 System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
 | 
				
			||||||
 | 
					   在 System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
 | 
				
			||||||
 | 
					   在 System.Int32.Parse(String s)
 | 
				
			||||||
 | 
					   在 BLL.Funs.GetNewInt(String value) 位置 D:\project\vs\sggl_cd\SGGL\BLL\Common\Funs.cs:行号 471
 | 
				
			||||||
 | 
					出错时间:05/24/2023 15:32:03
 | 
				
			||||||
 | 
					出错时间:05/24/2023 15:32:03
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					错误信息开始=====>
 | 
				
			||||||
 | 
					错误类型:NullReferenceException
 | 
				
			||||||
 | 
					错误信息:未将对象引用设置到对象的实例。
 | 
				
			||||||
 | 
					错误堆栈:
 | 
				
			||||||
 | 
					   在 FineUIPro.Web.CQMS.ManageReport.ManagerMonthC.BindGrid() 位置 D:\project\vs\sggl_cd\SGGL\FineUIPro.Web\CQMS\ManageReport\ManagerMonthC.aspx.cs:行号 73
 | 
				
			||||||
 | 
					   在 FineUIPro.Web.CQMS.ManageReport.ManagerMonthC.btnNew_Click(Object sender, EventArgs e) 位置 D:\project\vs\sggl_cd\SGGL\FineUIPro.Web\CQMS\ManageReport\ManagerMonthC.aspx.cs:行号 611
 | 
				
			||||||
 | 
					   在 FineUIPro.Button.OnClick(EventArgs e)
 | 
				
			||||||
 | 
					   在 (Button , EventArgs )
 | 
				
			||||||
 | 
					   在 FineUIPro.Button.RaisePostBackEvent(String eventArgument)
 | 
				
			||||||
 | 
					   在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
 | 
				
			||||||
 | 
					   在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
 | 
				
			||||||
 | 
					   在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
 | 
				
			||||||
 | 
					出错时间:05/24/2023 17:07:09
 | 
				
			||||||
 | 
					出错文件:http://localhost:1295/CQMS/ManageReport/ManagerMonthC.aspx
 | 
				
			||||||
 | 
					IP地址:::1
 | 
				
			||||||
 | 
					操作人员:JT
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					出错时间:05/24/2023 17:07:09
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					错误信息开始=====>
 | 
				
			||||||
 | 
					错误类型:DirectoryNotFoundException
 | 
				
			||||||
 | 
					错误信息:未能找到路径“D:\ChengDa\SGGL_CD\SGGL\FineUIPro.Web\File\Excel\CQMS\质量月报导出模板.xlsx”的一部分。
 | 
				
			||||||
 | 
					错误堆栈:
 | 
				
			||||||
 | 
					   在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
 | 
				
			||||||
 | 
					   在 System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
 | 
				
			||||||
 | 
					   在 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
 | 
				
			||||||
 | 
					   在 FineUIPro.Web.CQMS.ManageReport.ManagerMonthC.btnOut_Click(Object sender, EventArgs e) 位置 D:\project\vs\sggl_cd\SGGL\FineUIPro.Web\CQMS\ManageReport\ManagerMonthC.aspx.cs:行号 810
 | 
				
			||||||
 | 
					   在 FineUIPro.Button.OnClick(EventArgs e)
 | 
				
			||||||
 | 
					   在 (Button , EventArgs )
 | 
				
			||||||
 | 
					   在 FineUIPro.Button.RaisePostBackEvent(String eventArgument)
 | 
				
			||||||
 | 
					   在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
 | 
				
			||||||
 | 
					   在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
 | 
				
			||||||
 | 
					   在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
 | 
				
			||||||
 | 
					出错时间:05/25/2023 07:42:53
 | 
				
			||||||
 | 
					出错文件:http://localhost:1295/CQMS/ManageReport/ManagerMonthC.aspx
 | 
				
			||||||
 | 
					IP地址:::1
 | 
				
			||||||
 | 
					操作人员:JT
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					出错时间:05/25/2023 07:42:53
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					错误信息开始=====>
 | 
				
			||||||
 | 
					错误类型:IOException
 | 
				
			||||||
 | 
					错误信息:文件“D:\project\vs\sggl_cd\SGGL\FineUIPro.Web\File\Excel\CQMS\质量月报导出模板.xlsx”正由另一进程使用,因此该进程无法访问此文件。
 | 
				
			||||||
 | 
					错误堆栈:
 | 
				
			||||||
 | 
					   在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
 | 
				
			||||||
 | 
					   在 System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
 | 
				
			||||||
 | 
					   在 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
 | 
				
			||||||
 | 
					   在 FineUIPro.Web.CQMS.ManageReport.ManagerMonthC.btnOut_Click(Object sender, EventArgs e) 位置 D:\project\vs\sggl_cd\SGGL\FineUIPro.Web\CQMS\ManageReport\ManagerMonthC.aspx.cs:行号 810
 | 
				
			||||||
 | 
					   在 FineUIPro.Button.OnClick(EventArgs e)
 | 
				
			||||||
 | 
					   在 (Button , EventArgs )
 | 
				
			||||||
 | 
					   在 FineUIPro.Button.RaisePostBackEvent(String eventArgument)
 | 
				
			||||||
 | 
					   在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
 | 
				
			||||||
 | 
					   在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
 | 
				
			||||||
 | 
					   在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
 | 
				
			||||||
 | 
					出错时间:05/25/2023 07:44:21
 | 
				
			||||||
 | 
					出错文件:http://localhost:1295/CQMS/ManageReport/ManagerMonthC.aspx
 | 
				
			||||||
 | 
					IP地址:::1
 | 
				
			||||||
 | 
					操作人员:JT
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					出错时间:05/25/2023 07:44:21
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
										
											Binary file not shown.
										
									
								
							| 
						 | 
					@ -27,6 +27,7 @@
 | 
				
			||||||
                Funs.SystemName = ConfigurationManager.AppSettings["SystemName"];
 | 
					                Funs.SystemName = ConfigurationManager.AppSettings["SystemName"];
 | 
				
			||||||
                Funs.SGGLUrl = ConfigurationManager.AppSettings["SGGLUrl"];
 | 
					                Funs.SGGLUrl = ConfigurationManager.AppSettings["SGGLUrl"];
 | 
				
			||||||
                Funs.RealNameApiUrl = ConfigurationManager.AppSettings["RealNameApiUrl"];
 | 
					                Funs.RealNameApiUrl = ConfigurationManager.AppSettings["RealNameApiUrl"];
 | 
				
			||||||
 | 
					                Funs.localRoot = ConfigurationManager.AppSettings["localRoot"];
 | 
				
			||||||
                sysUser = UserService.GetUserByUserId(Const.sysglyId);
 | 
					                sysUser = UserService.GetUserByUserId(Const.sysglyId);
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
            catch (Exception ex)
 | 
					            catch (Exception ex)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -24,7 +24,7 @@
 | 
				
			||||||
    <add key="RealNameApiUrl" value="https://lwsm.cncecoa.com/share-labour11"/>
 | 
					    <add key="RealNameApiUrl" value="https://lwsm.cncecoa.com/share-labour11"/>
 | 
				
			||||||
    <add key="Intervaltime" value="20"/>
 | 
					    <add key="Intervaltime" value="20"/>
 | 
				
			||||||
    <!--附件上传物理路径-->
 | 
					    <!--附件上传物理路径-->
 | 
				
			||||||
    <add key="localRoot" value="D:\ChengDa\SGGL_CD\SGGL\FineUIPro.Web\"/>
 | 
					    <add key="localRoot" value="D:\project\vs\sggl_cd\SGGL\FineUIPro.Web\"/>
 | 
				
			||||||
    <!--视频服务器-->
 | 
					    <!--视频服务器-->
 | 
				
			||||||
    <add key="Video_URL" value="http://sggljk.chengda.com:10000/"/>
 | 
					    <add key="Video_URL" value="http://sggljk.chengda.com:10000/"/>
 | 
				
			||||||
    <add key="Video_USER" value="admin"/>
 | 
					    <add key="Video_USER" value="admin"/>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -117,8 +117,19 @@ namespace FineUIPro.Web.ZHGL.ServerCheck
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            if (type == BLL.Const.BtnSaveUp)
 | 
					            if (type == BLL.Const.BtnSaveUp)
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
                this.SynchData();
 | 
					                string code = CNCECHSSEGetWebService.UpCheck_CheckRectify(newCheckRectify.CheckRectifyId, this.CurrUser);
 | 
				
			||||||
 | 
					                if (code == "1")
 | 
				
			||||||
 | 
					                {
 | 
				
			||||||
 | 
					                    ShowNotify("同步成功!", MessageBoxIcon.Success);
 | 
				
			||||||
 | 
					                    PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
 | 
				
			||||||
 | 
					                    return;
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
 | 
					                else
 | 
				
			||||||
 | 
					                {
 | 
				
			||||||
 | 
					                    Alert.ShowInParent("同步异常,请退出后重试!", MessageBoxIcon.Error);
 | 
				
			||||||
 | 
					                }
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            BLL.LogService.AddSys_Log(this.CurrUser, string.Empty, string.Empty, BLL.Const.CheckRectifyMenuId, BLL.Const.BtnModify);
 | 
					            BLL.LogService.AddSys_Log(this.CurrUser, string.Empty, string.Empty, BLL.Const.CheckRectifyMenuId, BLL.Const.BtnModify);
 | 
				
			||||||
            PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
 | 
					            PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -113713,33 +113713,33 @@ namespace Model
 | 
				
			||||||
		
 | 
							
 | 
				
			||||||
		private System.Nullable<int> _Sort;
 | 
							private System.Nullable<int> _Sort;
 | 
				
			||||||
		
 | 
							
 | 
				
			||||||
		private System.Nullable<int> _Month1;
 | 
							private System.Nullable<decimal> _Month1;
 | 
				
			||||||
		
 | 
							
 | 
				
			||||||
		private System.Nullable<int> _Month2;
 | 
							private System.Nullable<decimal> _Month2;
 | 
				
			||||||
		
 | 
							
 | 
				
			||||||
		private System.Nullable<int> _Month3;
 | 
							private System.Nullable<decimal> _Month3;
 | 
				
			||||||
		
 | 
							
 | 
				
			||||||
		private System.Nullable<int> _Month4;
 | 
							private System.Nullable<decimal> _Month4;
 | 
				
			||||||
		
 | 
							
 | 
				
			||||||
		private System.Nullable<int> _Month5;
 | 
							private System.Nullable<decimal> _Month5;
 | 
				
			||||||
		
 | 
							
 | 
				
			||||||
		private System.Nullable<int> _Month6;
 | 
							private System.Nullable<decimal> _Month6;
 | 
				
			||||||
		
 | 
							
 | 
				
			||||||
		private System.Nullable<int> _Month7;
 | 
							private System.Nullable<decimal> _Month7;
 | 
				
			||||||
		
 | 
							
 | 
				
			||||||
		private System.Nullable<int> _Month8;
 | 
							private System.Nullable<decimal> _Month8;
 | 
				
			||||||
		
 | 
							
 | 
				
			||||||
		private System.Nullable<int> _Month9;
 | 
							private System.Nullable<decimal> _Month9;
 | 
				
			||||||
		
 | 
							
 | 
				
			||||||
		private System.Nullable<int> _Month10;
 | 
							private System.Nullable<decimal> _Month10;
 | 
				
			||||||
		
 | 
							
 | 
				
			||||||
		private System.Nullable<int> _Month11;
 | 
							private System.Nullable<decimal> _Month11;
 | 
				
			||||||
		
 | 
							
 | 
				
			||||||
		private System.Nullable<int> _Month12;
 | 
							private System.Nullable<decimal> _Month12;
 | 
				
			||||||
		
 | 
							
 | 
				
			||||||
		private System.Nullable<int> _YearTotal;
 | 
							private System.Nullable<decimal> _YearTotal;
 | 
				
			||||||
		
 | 
							
 | 
				
			||||||
		private System.Nullable<int> _ProjectTotal;
 | 
							private System.Nullable<decimal> _ProjectTotal;
 | 
				
			||||||
		
 | 
							
 | 
				
			||||||
		private EntityRef<CQMS_MonthReport> _CQMS_MonthReport;
 | 
							private EntityRef<CQMS_MonthReport> _CQMS_MonthReport;
 | 
				
			||||||
		
 | 
							
 | 
				
			||||||
| 
						 | 
					@ -113757,33 +113757,33 @@ namespace Model
 | 
				
			||||||
    partial void OnUnitChanged();
 | 
					    partial void OnUnitChanged();
 | 
				
			||||||
    partial void OnSortChanging(System.Nullable<int> value);
 | 
					    partial void OnSortChanging(System.Nullable<int> value);
 | 
				
			||||||
    partial void OnSortChanged();
 | 
					    partial void OnSortChanged();
 | 
				
			||||||
    partial void OnMonth1Changing(System.Nullable<int> value);
 | 
					    partial void OnMonth1Changing(System.Nullable<decimal> value);
 | 
				
			||||||
    partial void OnMonth1Changed();
 | 
					    partial void OnMonth1Changed();
 | 
				
			||||||
    partial void OnMonth2Changing(System.Nullable<int> value);
 | 
					    partial void OnMonth2Changing(System.Nullable<decimal> value);
 | 
				
			||||||
    partial void OnMonth2Changed();
 | 
					    partial void OnMonth2Changed();
 | 
				
			||||||
    partial void OnMonth3Changing(System.Nullable<int> value);
 | 
					    partial void OnMonth3Changing(System.Nullable<decimal> value);
 | 
				
			||||||
    partial void OnMonth3Changed();
 | 
					    partial void OnMonth3Changed();
 | 
				
			||||||
    partial void OnMonth4Changing(System.Nullable<int> value);
 | 
					    partial void OnMonth4Changing(System.Nullable<decimal> value);
 | 
				
			||||||
    partial void OnMonth4Changed();
 | 
					    partial void OnMonth4Changed();
 | 
				
			||||||
    partial void OnMonth5Changing(System.Nullable<int> value);
 | 
					    partial void OnMonth5Changing(System.Nullable<decimal> value);
 | 
				
			||||||
    partial void OnMonth5Changed();
 | 
					    partial void OnMonth5Changed();
 | 
				
			||||||
    partial void OnMonth6Changing(System.Nullable<int> value);
 | 
					    partial void OnMonth6Changing(System.Nullable<decimal> value);
 | 
				
			||||||
    partial void OnMonth6Changed();
 | 
					    partial void OnMonth6Changed();
 | 
				
			||||||
    partial void OnMonth7Changing(System.Nullable<int> value);
 | 
					    partial void OnMonth7Changing(System.Nullable<decimal> value);
 | 
				
			||||||
    partial void OnMonth7Changed();
 | 
					    partial void OnMonth7Changed();
 | 
				
			||||||
    partial void OnMonth8Changing(System.Nullable<int> value);
 | 
					    partial void OnMonth8Changing(System.Nullable<decimal> value);
 | 
				
			||||||
    partial void OnMonth8Changed();
 | 
					    partial void OnMonth8Changed();
 | 
				
			||||||
    partial void OnMonth9Changing(System.Nullable<int> value);
 | 
					    partial void OnMonth9Changing(System.Nullable<decimal> value);
 | 
				
			||||||
    partial void OnMonth9Changed();
 | 
					    partial void OnMonth9Changed();
 | 
				
			||||||
    partial void OnMonth10Changing(System.Nullable<int> value);
 | 
					    partial void OnMonth10Changing(System.Nullable<decimal> value);
 | 
				
			||||||
    partial void OnMonth10Changed();
 | 
					    partial void OnMonth10Changed();
 | 
				
			||||||
    partial void OnMonth11Changing(System.Nullable<int> value);
 | 
					    partial void OnMonth11Changing(System.Nullable<decimal> value);
 | 
				
			||||||
    partial void OnMonth11Changed();
 | 
					    partial void OnMonth11Changed();
 | 
				
			||||||
    partial void OnMonth12Changing(System.Nullable<int> value);
 | 
					    partial void OnMonth12Changing(System.Nullable<decimal> value);
 | 
				
			||||||
    partial void OnMonth12Changed();
 | 
					    partial void OnMonth12Changed();
 | 
				
			||||||
    partial void OnYearTotalChanging(System.Nullable<int> value);
 | 
					    partial void OnYearTotalChanging(System.Nullable<decimal> value);
 | 
				
			||||||
    partial void OnYearTotalChanged();
 | 
					    partial void OnYearTotalChanged();
 | 
				
			||||||
    partial void OnProjectTotalChanging(System.Nullable<int> value);
 | 
					    partial void OnProjectTotalChanging(System.Nullable<decimal> value);
 | 
				
			||||||
    partial void OnProjectTotalChanged();
 | 
					    partial void OnProjectTotalChanged();
 | 
				
			||||||
    #endregion
 | 
					    #endregion
 | 
				
			||||||
		
 | 
							
 | 
				
			||||||
| 
						 | 
					@ -113897,8 +113897,8 @@ namespace Model
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		
 | 
							
 | 
				
			||||||
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Month1", DbType="Int")]
 | 
							[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Month1", DbType="Decimal(18,2)")]
 | 
				
			||||||
		public System.Nullable<int> Month1
 | 
							public System.Nullable<decimal> Month1
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			get
 | 
								get
 | 
				
			||||||
			{
 | 
								{
 | 
				
			||||||
| 
						 | 
					@ -113917,8 +113917,8 @@ namespace Model
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		
 | 
							
 | 
				
			||||||
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Month2", DbType="Int")]
 | 
							[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Month2", DbType="Decimal(18,2)")]
 | 
				
			||||||
		public System.Nullable<int> Month2
 | 
							public System.Nullable<decimal> Month2
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			get
 | 
								get
 | 
				
			||||||
			{
 | 
								{
 | 
				
			||||||
| 
						 | 
					@ -113937,8 +113937,8 @@ namespace Model
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		
 | 
							
 | 
				
			||||||
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Month3", DbType="Int")]
 | 
							[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Month3", DbType="Decimal(18,2)")]
 | 
				
			||||||
		public System.Nullable<int> Month3
 | 
							public System.Nullable<decimal> Month3
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			get
 | 
								get
 | 
				
			||||||
			{
 | 
								{
 | 
				
			||||||
| 
						 | 
					@ -113957,8 +113957,8 @@ namespace Model
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		
 | 
							
 | 
				
			||||||
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Month4", DbType="Int")]
 | 
							[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Month4", DbType="Decimal(18,2)")]
 | 
				
			||||||
		public System.Nullable<int> Month4
 | 
							public System.Nullable<decimal> Month4
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			get
 | 
								get
 | 
				
			||||||
			{
 | 
								{
 | 
				
			||||||
| 
						 | 
					@ -113977,8 +113977,8 @@ namespace Model
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		
 | 
							
 | 
				
			||||||
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Month5", DbType="Int")]
 | 
							[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Month5", DbType="Decimal(18,2)")]
 | 
				
			||||||
		public System.Nullable<int> Month5
 | 
							public System.Nullable<decimal> Month5
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			get
 | 
								get
 | 
				
			||||||
			{
 | 
								{
 | 
				
			||||||
| 
						 | 
					@ -113997,8 +113997,8 @@ namespace Model
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		
 | 
							
 | 
				
			||||||
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Month6", DbType="Int")]
 | 
							[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Month6", DbType="Decimal(18,2)")]
 | 
				
			||||||
		public System.Nullable<int> Month6
 | 
							public System.Nullable<decimal> Month6
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			get
 | 
								get
 | 
				
			||||||
			{
 | 
								{
 | 
				
			||||||
| 
						 | 
					@ -114017,8 +114017,8 @@ namespace Model
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		
 | 
							
 | 
				
			||||||
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Month7", DbType="Int")]
 | 
							[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Month7", DbType="Decimal(18,2)")]
 | 
				
			||||||
		public System.Nullable<int> Month7
 | 
							public System.Nullable<decimal> Month7
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			get
 | 
								get
 | 
				
			||||||
			{
 | 
								{
 | 
				
			||||||
| 
						 | 
					@ -114037,8 +114037,8 @@ namespace Model
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		
 | 
							
 | 
				
			||||||
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Month8", DbType="Int")]
 | 
							[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Month8", DbType="Decimal(18,2)")]
 | 
				
			||||||
		public System.Nullable<int> Month8
 | 
							public System.Nullable<decimal> Month8
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			get
 | 
								get
 | 
				
			||||||
			{
 | 
								{
 | 
				
			||||||
| 
						 | 
					@ -114057,8 +114057,8 @@ namespace Model
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		
 | 
							
 | 
				
			||||||
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Month9", DbType="Int")]
 | 
							[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Month9", DbType="Decimal(18,2)")]
 | 
				
			||||||
		public System.Nullable<int> Month9
 | 
							public System.Nullable<decimal> Month9
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			get
 | 
								get
 | 
				
			||||||
			{
 | 
								{
 | 
				
			||||||
| 
						 | 
					@ -114077,8 +114077,8 @@ namespace Model
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		
 | 
							
 | 
				
			||||||
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Month10", DbType="Int")]
 | 
							[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Month10", DbType="Decimal(18,2)")]
 | 
				
			||||||
		public System.Nullable<int> Month10
 | 
							public System.Nullable<decimal> Month10
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			get
 | 
								get
 | 
				
			||||||
			{
 | 
								{
 | 
				
			||||||
| 
						 | 
					@ -114097,8 +114097,8 @@ namespace Model
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		
 | 
							
 | 
				
			||||||
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Month11", DbType="Int")]
 | 
							[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Month11", DbType="Decimal(18,2)")]
 | 
				
			||||||
		public System.Nullable<int> Month11
 | 
							public System.Nullable<decimal> Month11
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			get
 | 
								get
 | 
				
			||||||
			{
 | 
								{
 | 
				
			||||||
| 
						 | 
					@ -114117,8 +114117,8 @@ namespace Model
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		
 | 
							
 | 
				
			||||||
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Month12", DbType="Int")]
 | 
							[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Month12", DbType="Decimal(18,2)")]
 | 
				
			||||||
		public System.Nullable<int> Month12
 | 
							public System.Nullable<decimal> Month12
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			get
 | 
								get
 | 
				
			||||||
			{
 | 
								{
 | 
				
			||||||
| 
						 | 
					@ -114137,8 +114137,8 @@ namespace Model
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		
 | 
							
 | 
				
			||||||
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_YearTotal", DbType="Int")]
 | 
							[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_YearTotal", DbType="Decimal(18,2)")]
 | 
				
			||||||
		public System.Nullable<int> YearTotal
 | 
							public System.Nullable<decimal> YearTotal
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			get
 | 
								get
 | 
				
			||||||
			{
 | 
								{
 | 
				
			||||||
| 
						 | 
					@ -114157,8 +114157,8 @@ namespace Model
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		
 | 
							
 | 
				
			||||||
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectTotal", DbType="Int")]
 | 
							[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectTotal", DbType="Decimal(18,2)")]
 | 
				
			||||||
		public System.Nullable<int> ProjectTotal
 | 
							public System.Nullable<decimal> ProjectTotal
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			get
 | 
								get
 | 
				
			||||||
			{
 | 
								{
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue