20250122
This commit is contained in:
		
							parent
							
								
									adc1171e41
								
							
						
					
					
						commit
						e7fda0a3f8
					
				| 
						 | 
				
			
			@ -395,6 +395,21 @@ namespace FineUIPro.Web.Evaluation
 | 
			
		|||
                if (reportModel.GetRow(8).GetCell(8) == null) reportModel.GetRow(8).CreateCell(8);
 | 
			
		||||
                reportModel.GetRow(8).GetCell(8).SetCellValue(eva.YearAvg != null ? eva.YearAvg.ToString() : "");
 | 
			
		||||
 | 
			
		||||
                //10行
 | 
			
		||||
                if (reportModel.GetRow(9) == null) reportModel.CreateRow(9);
 | 
			
		||||
                if (reportModel.GetRow(9).GetCell(2) == null) reportModel.GetRow(9).CreateCell(2);
 | 
			
		||||
                reportModel.GetRow(9).GetCell(2).SetCellValue(eva.IfExtend);//是否为续签合同
 | 
			
		||||
                if (reportModel.GetRow(9).GetCell(4) == null) reportModel.GetRow(9).CreateCell(4);
 | 
			
		||||
                reportModel.GetRow(9).GetCell(4).SetCellValue(eva.PreviousFO);//续签前合同
 | 
			
		||||
                var previous = BLL.SESRelatedDataService.GetSESRelatedDataByFoNo(eva.PreviousFO);
 | 
			
		||||
                if (previous != null)
 | 
			
		||||
                {
 | 
			
		||||
                    if (reportModel.GetRow(9).GetCell(6) == null) reportModel.GetRow(9).CreateCell(6);
 | 
			
		||||
                    reportModel.GetRow(9).GetCell(6).SetCellValue(previous.Validate_Date.HasValue ? string.Format("{0:yyyy-MM-dd}", previous.Validate_Date) : "");//合同生效日
 | 
			
		||||
                    if (reportModel.GetRow(9).GetCell(8) == null) reportModel.GetRow(9).CreateCell(8);
 | 
			
		||||
                    reportModel.GetRow(9).GetCell(8).SetCellValue(previous.Expire_Date.HasValue ? string.Format("{0:yyyy-MM-dd}", previous.Expire_Date) : "");//合同结束日
 | 
			
		||||
                }    
 | 
			
		||||
 | 
			
		||||
                // 左边列表
 | 
			
		||||
                DateTime startDate = DateTime.Now.AddMonths(-23);
 | 
			
		||||
                DateTime startTime = DateTime.Parse(startDate.Year + "-" + startDate.Month + "-01");
 | 
			
		||||
| 
						 | 
				
			
			@ -409,8 +424,7 @@ namespace FineUIPro.Web.Evaluation
 | 
			
		|||
                var sesDataTable = SQLHelper.GetDataTableRunProc("Sp_ContractorEvaluation", yearToDateParList);
 | 
			
		||||
                var sesDataScore = JsonConvert.DeserializeObject<List<YearToDateModel>>(JsonConvert.SerializeObject(sesDataTable));
 | 
			
		||||
 | 
			
		||||
                // 14行
 | 
			
		||||
                if (reportModel.GetRow(13) == null) reportModel.CreateRow(13);
 | 
			
		||||
                // 15行
 | 
			
		||||
                if (reportModel.GetRow(14) == null) reportModel.CreateRow(14);
 | 
			
		||||
                if (reportModel.GetRow(15) == null) reportModel.CreateRow(15);
 | 
			
		||||
                if (reportModel.GetRow(16) == null) reportModel.CreateRow(16);
 | 
			
		||||
| 
						 | 
				
			
			@ -422,322 +436,373 @@ namespace FineUIPro.Web.Evaluation
 | 
			
		|||
                if (reportModel.GetRow(22) == null) reportModel.CreateRow(22);
 | 
			
		||||
                if (reportModel.GetRow(23) == null) reportModel.CreateRow(23);
 | 
			
		||||
                if (reportModel.GetRow(24) == null) reportModel.CreateRow(24);
 | 
			
		||||
                if (reportModel.GetRow(25) == null) reportModel.CreateRow(25);
 | 
			
		||||
                int s = 0;
 | 
			
		||||
                for (int j = 0; j < 24; j++)
 | 
			
		||||
                {
 | 
			
		||||
                    var curDate = DateTime.Parse("" + startDate.Year + "-" + startDate.Month + "-01").AddMonths(j);
 | 
			
		||||
                    if (j >= 0 && j < 12)
 | 
			
		||||
                    {
 | 
			
		||||
                        if (reportModel.GetRow(13 + j).GetCell(0) == null) reportModel.GetRow(13 + j).CreateCell(0);
 | 
			
		||||
                        reportModel.GetRow(13 + j).GetCell(0).SetCellValue(curDate.ToString("yyyy-MM"));
 | 
			
		||||
                        if (reportModel.GetRow(14 + j).GetCell(0) == null) reportModel.GetRow(14 + j).CreateCell(0);
 | 
			
		||||
                        reportModel.GetRow(14 + j).GetCell(0).SetCellValue(curDate.ToString("yyyy-MM"));
 | 
			
		||||
 | 
			
		||||
                        if (sesDataScore.Count(p => p.dataMonth == curDate.ToString("yyyy-MM")) > 0 && Funs.GetNewDecimal(sesDataScore.FirstOrDefault(p => p.dataMonth == curDate.ToString("yyyy-MM")).SumScore) > 0)
 | 
			
		||||
                        {
 | 
			
		||||
                            var yearNums = float.Parse(sesDataScore.FirstOrDefault(p => p.dataMonth == curDate.ToString("yyyy-MM")).SumScore).ToString("0.##");
 | 
			
		||||
                            reportModel.GetRow(13 + j).GetCell(2).SetCellValue(yearNums);
 | 
			
		||||
                            reportModel.GetRow(14 + j).GetCell(2).SetCellValue(yearNums);
 | 
			
		||||
                            if (Funs.GetNewDecimalOrZero(yearNums) < 60)
 | 
			
		||||
                            {
 | 
			
		||||
                                s++;
 | 
			
		||||
                            }
 | 
			
		||||
                        }
 | 
			
		||||
                        else
 | 
			
		||||
                        {
 | 
			
		||||
                            reportModel.GetRow(13 + j).GetCell(2).SetCellValue("");
 | 
			
		||||
                            reportModel.GetRow(14 + j).GetCell(2).SetCellValue("");
 | 
			
		||||
                        }
 | 
			
		||||
                    }
 | 
			
		||||
                    else
 | 
			
		||||
                    {
 | 
			
		||||
                        if (reportModel.GetRow(13 + j - 12).GetCell(3) == null) reportModel.GetRow(13 + j - 12).CreateCell(3);
 | 
			
		||||
                        reportModel.GetRow(13 + j - 12).GetCell(3).SetCellValue(curDate.ToString("yyyy-MM"));
 | 
			
		||||
                        if (reportModel.GetRow(14 + j - 12).GetCell(3) == null) reportModel.GetRow(14 + j - 12).CreateCell(3);
 | 
			
		||||
                        reportModel.GetRow(14 + j - 12).GetCell(3).SetCellValue(curDate.ToString("yyyy-MM"));
 | 
			
		||||
 | 
			
		||||
                        if (sesDataScore.Count(p => p.dataMonth == curDate.ToString("yyyy-MM")) > 0 && Funs.GetNewDecimal(sesDataScore.FirstOrDefault(p => p.dataMonth == curDate.ToString("yyyy-MM")).SumScore) > 0)
 | 
			
		||||
                        {
 | 
			
		||||
                            var yearNums = float.Parse(sesDataScore.FirstOrDefault(p => p.dataMonth == curDate.ToString("yyyy-MM")).SumScore).ToString("0.##");
 | 
			
		||||
                            reportModel.GetRow(13 + j - 12).GetCell(4).SetCellValue(yearNums);
 | 
			
		||||
                            reportModel.GetRow(14 + j - 12).GetCell(4).SetCellValue(yearNums);
 | 
			
		||||
                            if (Funs.GetNewDecimalOrZero(yearNums) < 60)
 | 
			
		||||
                            {
 | 
			
		||||
                                s++;
 | 
			
		||||
                            }
 | 
			
		||||
                        }
 | 
			
		||||
                        else
 | 
			
		||||
                        {
 | 
			
		||||
                            reportModel.GetRow(13 + j - 12).GetCell(4).SetCellValue("");
 | 
			
		||||
                            reportModel.GetRow(14 + j - 12).GetCell(4).SetCellValue("");
 | 
			
		||||
                        }
 | 
			
		||||
                    }
 | 
			
		||||
                }
 | 
			
		||||
 | 
			
		||||
                if (reportModel.GetRow(12).GetCell(5) == null) reportModel.GetRow(12).CreateCell(5);
 | 
			
		||||
                reportModel.GetRow(12).GetCell(5).SetCellValue(eva.Enumeration);
 | 
			
		||||
                if (reportModel.GetRow(16).GetCell(6) == null) reportModel.GetRow(16).CreateCell(6);
 | 
			
		||||
                reportModel.GetRow(16).GetCell(6).SetCellValue(eva.PriceEvaluation1);
 | 
			
		||||
                if (reportModel.GetRow(13).GetCell(5) == null) reportModel.GetRow(13).CreateCell(5);
 | 
			
		||||
                reportModel.GetRow(13).GetCell(5).SetCellValue(eva.Enumeration);
 | 
			
		||||
                if (reportModel.GetRow(17).GetCell(6) == null) reportModel.GetRow(17).CreateCell(6);
 | 
			
		||||
                reportModel.GetRow(17).GetCell(6).SetCellValue(eva.PriceEvaluation2);
 | 
			
		||||
                reportModel.GetRow(17).GetCell(6).SetCellValue(eva.PriceEvaluation1);
 | 
			
		||||
                if (reportModel.GetRow(18).GetCell(6) == null) reportModel.GetRow(18).CreateCell(6);
 | 
			
		||||
                reportModel.GetRow(18).GetCell(6).SetCellValue(eva.PriceEvaluation2);
 | 
			
		||||
 | 
			
		||||
                if (reportModel.GetRow(20).GetCell(6) == null) reportModel.GetRow(20).CreateCell(6);
 | 
			
		||||
                if (reportModel.GetRow(21).GetCell(6) == null) reportModel.GetRow(21).CreateCell(6);
 | 
			
		||||
                if (reportModel.GetRow(22).GetCell(6) == null) reportModel.GetRow(22).CreateCell(6);
 | 
			
		||||
                if (reportModel.GetRow(23).GetCell(6) == null) reportModel.GetRow(23).CreateCell(6);
 | 
			
		||||
                if (reportModel.GetRow(24).GetCell(6) == null) reportModel.GetRow(24).CreateCell(6);
 | 
			
		||||
                if (reportModel.GetRow(27).GetCell(2) == null) reportModel.GetRow(27).CreateCell(2);
 | 
			
		||||
                reportModel.GetRow(27).GetCell(2).SetCellValue(eva.InterviewTimes.ToString());//约谈次数
 | 
			
		||||
                if (reportModel.GetRow(27).GetCell(5) == null) reportModel.GetRow(27).CreateCell(5);
 | 
			
		||||
                reportModel.GetRow(27).GetCell(5).SetCellValue("");//原合同竞标/续签过程回顾
 | 
			
		||||
                if (reportModel.GetRow(30).GetCell(2) == null) reportModel.GetRow(30).CreateCell(2);
 | 
			
		||||
                reportModel.GetRow(30).GetCell(2).SetCellValue(eva.NCRTimes.ToString());//NCR次数
 | 
			
		||||
                if (reportModel.GetRow(33).GetCell(2) == null) reportModel.GetRow(33).CreateCell(2);
 | 
			
		||||
                reportModel.GetRow(33).GetCell(2).SetCellValue(eva.RectificationTimes.ToString());//停工整改次数
 | 
			
		||||
 | 
			
		||||
                //框架合同EHSQ审计结果 
 | 
			
		||||
                if (reportModel.GetRow(36).GetCell(2) == null) reportModel.GetRow(36).CreateCell(2);
 | 
			
		||||
                reportModel.GetRow(36).GetCell(2).SetCellValue(eva.GreenTimes.ToString());//绿区次数
 | 
			
		||||
                if (reportModel.GetRow(36).GetCell(4) == null) reportModel.GetRow(36).CreateCell(4);
 | 
			
		||||
                reportModel.GetRow(36).GetCell(4).SetCellValue(eva.YellowGreenTimes.ToString());//黄绿区次数
 | 
			
		||||
                if (reportModel.GetRow(37).GetCell(2) == null) reportModel.GetRow(37).CreateCell(2);
 | 
			
		||||
                reportModel.GetRow(37).GetCell(2).SetCellValue(eva.YellowTimes.ToString());//黄区次数
 | 
			
		||||
                if (reportModel.GetRow(37).GetCell(4) == null) reportModel.GetRow(37).CreateCell(4);
 | 
			
		||||
                reportModel.GetRow(37).GetCell(4).SetCellValue(eva.RedYellowTimes.ToString());//红黄区次数
 | 
			
		||||
                if (reportModel.GetRow(38).GetCell(2) == null) reportModel.GetRow(38).CreateCell(2);
 | 
			
		||||
                reportModel.GetRow(38).GetCell(2).SetCellValue(eva.RedTimes.ToString());//红区次数
 | 
			
		||||
                if (reportModel.GetRow(38).GetCell(3) == null) reportModel.GetRow(38).CreateCell(3);
 | 
			
		||||
                reportModel.GetRow(38).GetCell(3).SetCellValue(eva.NotAudit);//不在审计清单
 | 
			
		||||
                //41行
 | 
			
		||||
                if (reportModel.GetRow(40).GetCell(3) == null) reportModel.GetRow(40).CreateCell(3);
 | 
			
		||||
                reportModel.GetRow(40).GetCell(3).SetCellValue(eva.OthersNum.ToString());//其他
 | 
			
		||||
                //43行
 | 
			
		||||
                decimal? technicalBonusMalus = Funs.GetNewDecimal(eva.TechnicalBonusMalus);
 | 
			
		||||
                if (reportModel.GetRow(42).GetCell(3) == null) reportModel.GetRow(42).CreateCell(3);
 | 
			
		||||
                reportModel.GetRow(42).GetCell(3).SetCellValue(technicalBonusMalus.ToString());//技术加值/减值
 | 
			
		||||
                //44行
 | 
			
		||||
                decimal? safetyBonus = Funs.GetNewDecimal(eva.SafetyBonus);
 | 
			
		||||
                if (reportModel.GetRow(43).GetCell(3) == null) reportModel.GetRow(43).CreateCell(3);
 | 
			
		||||
                reportModel.GetRow(43).GetCell(3).SetCellValue(safetyBonus.ToString());//安全业绩加值
 | 
			
		||||
                //45行
 | 
			
		||||
               
 | 
			
		||||
                if (reportModel.GetRow(44).GetCell(3) == null) reportModel.GetRow(44).CreateCell(3);
 | 
			
		||||
                reportModel.GetRow(44).GetCell(3).SetCellValue((technicalBonusMalus + safetyBonus).ToString());//Total Score (Technical and Safety)
 | 
			
		||||
                //48行
 | 
			
		||||
                string rs = string.Empty;
 | 
			
		||||
                if (s >= 3 && eva.NCRTimes >= 3)
 | 
			
		||||
                {
 | 
			
		||||
                    rs = "序号1:该合同累计3次月度评估低于60分, 不得参与下轮合同</br>序号2:该合同累计三个NCR提前终止合同且不得参与下轮合同";
 | 
			
		||||
                }
 | 
			
		||||
                else if (s >= 3)
 | 
			
		||||
                {
 | 
			
		||||
                    rs = "序号1:该合同累计3次月度评估低于60分, 不得参与下轮合同";
 | 
			
		||||
                }
 | 
			
		||||
                else if (eva.NCRTimes >= 3)
 | 
			
		||||
                {
 | 
			
		||||
                    rs = "序号1:该合同累计三个NCR提前终止合同且不得参与下轮合同";
 | 
			
		||||
                }
 | 
			
		||||
                if (reportModel.GetRow(47).GetCell(0) == null) reportModel.GetRow(47).CreateCell(0);
 | 
			
		||||
                reportModel.GetRow(47).GetCell(0).SetCellValue(rs);//合同管理小组对该承包商在本合同期表现的评价
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
                //if (reportModel.GetRow(21).GetCell(6) == null) reportModel.GetRow(21).CreateCell(6);
 | 
			
		||||
                //if (reportModel.GetRow(22).GetCell(6) == null) reportModel.GetRow(22).CreateCell(6);
 | 
			
		||||
                //if (reportModel.GetRow(23).GetCell(6) == null) reportModel.GetRow(23).CreateCell(6);
 | 
			
		||||
                //if (reportModel.GetRow(24).GetCell(6) == null) reportModel.GetRow(24).CreateCell(6);
 | 
			
		||||
                //if (reportModel.GetRow(25).GetCell(6) == null) reportModel.GetRow(25).CreateCell(6);
 | 
			
		||||
 | 
			
		||||
                //string priceLevel = string.Empty;
 | 
			
		||||
                if (eva.PriceLevel == "1")
 | 
			
		||||
                {
 | 
			
		||||
                    reportModel.GetRow(21).GetCell(6).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(21).GetCell(6).CellStyle.SetFont(content_Font);
 | 
			
		||||
                    reportModel.GetRow(22).GetCell(6).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(22).GetCell(6).CellStyle.SetFont(content_Font);
 | 
			
		||||
                    reportModel.GetRow(23).GetCell(6).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(23).GetCell(6).CellStyle.SetFont(content_Font);
 | 
			
		||||
                    reportModel.GetRow(24).GetCell(6).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(24).GetCell(6).CellStyle.SetFont(content_Font);
 | 
			
		||||
                }
 | 
			
		||||
                if (eva.PriceLevel == "2")
 | 
			
		||||
                {
 | 
			
		||||
                    reportModel.GetRow(20).GetCell(6).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(20).GetCell(6).CellStyle.SetFont(content_Font);
 | 
			
		||||
                    reportModel.GetRow(22).GetCell(6).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(22).GetCell(6).CellStyle.SetFont(content_Font);
 | 
			
		||||
                    reportModel.GetRow(23).GetCell(6).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(23).GetCell(6).CellStyle.SetFont(content_Font);
 | 
			
		||||
                    reportModel.GetRow(24).GetCell(6).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(24).GetCell(6).CellStyle.SetFont(content_Font);
 | 
			
		||||
                }
 | 
			
		||||
                if (eva.PriceLevel == "3")
 | 
			
		||||
                {
 | 
			
		||||
                    reportModel.GetRow(21).GetCell(6).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(21).GetCell(6).CellStyle.SetFont(content_Font);
 | 
			
		||||
                    reportModel.GetRow(20).GetCell(6).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(20).GetCell(6).CellStyle.SetFont(content_Font);
 | 
			
		||||
                    reportModel.GetRow(23).GetCell(6).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(23).GetCell(6).CellStyle.SetFont(content_Font);
 | 
			
		||||
                    reportModel.GetRow(24).GetCell(6).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(24).GetCell(6).CellStyle.SetFont(content_Font);
 | 
			
		||||
                }
 | 
			
		||||
                if (eva.PriceLevel == "4")
 | 
			
		||||
                {
 | 
			
		||||
                    reportModel.GetRow(21).GetCell(6).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(21).GetCell(6).CellStyle.SetFont(content_Font);
 | 
			
		||||
                    reportModel.GetRow(22).GetCell(6).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(22).GetCell(6).CellStyle.SetFont(content_Font);
 | 
			
		||||
                    reportModel.GetRow(20).GetCell(6).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(20).GetCell(6).CellStyle.SetFont(content_Font);
 | 
			
		||||
                    reportModel.GetRow(24).GetCell(6).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(24).GetCell(6).CellStyle.SetFont(content_Font);
 | 
			
		||||
                }
 | 
			
		||||
                if (eva.PriceLevel == "5")
 | 
			
		||||
                {
 | 
			
		||||
                    reportModel.GetRow(21).GetCell(6).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(21).GetCell(6).CellStyle.SetFont(content_Font);
 | 
			
		||||
                    reportModel.GetRow(22).GetCell(6).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(22).GetCell(6).CellStyle.SetFont(content_Font);
 | 
			
		||||
                    reportModel.GetRow(23).GetCell(6).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(23).GetCell(6).CellStyle.SetFont(content_Font);
 | 
			
		||||
                    reportModel.GetRow(20).GetCell(6).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(20).GetCell(6).CellStyle.SetFont(content_Font);
 | 
			
		||||
                }
 | 
			
		||||
                if (string.IsNullOrEmpty(eva.PriceLevel))
 | 
			
		||||
                {
 | 
			
		||||
                    reportModel.GetRow(20).GetCell(6).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(20).GetCell(6).CellStyle.SetFont(content_Font);
 | 
			
		||||
                    reportModel.GetRow(21).GetCell(6).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(21).GetCell(6).CellStyle.SetFont(content_Font);
 | 
			
		||||
                    reportModel.GetRow(22).GetCell(6).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(22).GetCell(6).CellStyle.SetFont(content_Font);
 | 
			
		||||
                    reportModel.GetRow(23).GetCell(6).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(23).GetCell(6).CellStyle.SetFont(content_Font);
 | 
			
		||||
                    reportModel.GetRow(24).GetCell(6).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(24).GetCell(6).CellStyle.SetFont(content_Font);
 | 
			
		||||
                }
 | 
			
		||||
                //reportModel.GetRow(20).GetCell(5).SetCellValue(priceLevel);
 | 
			
		||||
                //if (eva.PriceLevel == "1")
 | 
			
		||||
                //{
 | 
			
		||||
                //    reportModel.GetRow(22).GetCell(6).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(22).GetCell(6).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //    reportModel.GetRow(23).GetCell(6).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(23).GetCell(6).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //    reportModel.GetRow(24).GetCell(6).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(24).GetCell(6).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //    reportModel.GetRow(25).GetCell(6).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(25).GetCell(6).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //}
 | 
			
		||||
                //if (eva.PriceLevel == "2")
 | 
			
		||||
                //{
 | 
			
		||||
                //    reportModel.GetRow(20).GetCell(6).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(20).GetCell(6).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //    reportModel.GetRow(22).GetCell(6).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(22).GetCell(6).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //    reportModel.GetRow(23).GetCell(6).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(23).GetCell(6).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //    reportModel.GetRow(24).GetCell(6).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(24).GetCell(6).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //}
 | 
			
		||||
                //if (eva.PriceLevel == "3")
 | 
			
		||||
                //{
 | 
			
		||||
                //    reportModel.GetRow(21).GetCell(6).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(21).GetCell(6).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //    reportModel.GetRow(20).GetCell(6).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(20).GetCell(6).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //    reportModel.GetRow(23).GetCell(6).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(23).GetCell(6).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //    reportModel.GetRow(24).GetCell(6).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(24).GetCell(6).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //}
 | 
			
		||||
                //if (eva.PriceLevel == "4")
 | 
			
		||||
                //{
 | 
			
		||||
                //    reportModel.GetRow(21).GetCell(6).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(21).GetCell(6).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //    reportModel.GetRow(22).GetCell(6).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(22).GetCell(6).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //    reportModel.GetRow(20).GetCell(6).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(20).GetCell(6).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //    reportModel.GetRow(24).GetCell(6).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(24).GetCell(6).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //}
 | 
			
		||||
                //if (eva.PriceLevel == "5")
 | 
			
		||||
                //{
 | 
			
		||||
                //    reportModel.GetRow(21).GetCell(6).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(21).GetCell(6).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //    reportModel.GetRow(22).GetCell(6).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(22).GetCell(6).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //    reportModel.GetRow(23).GetCell(6).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(23).GetCell(6).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //    reportModel.GetRow(20).GetCell(6).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(20).GetCell(6).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //}
 | 
			
		||||
                //if (string.IsNullOrEmpty(eva.PriceLevel))
 | 
			
		||||
                //{
 | 
			
		||||
                //    reportModel.GetRow(20).GetCell(6).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(20).GetCell(6).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //    reportModel.GetRow(21).GetCell(6).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(21).GetCell(6).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //    reportModel.GetRow(22).GetCell(6).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(22).GetCell(6).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //    reportModel.GetRow(23).GetCell(6).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(23).GetCell(6).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //    reportModel.GetRow(24).GetCell(6).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(24).GetCell(6).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //}
 | 
			
		||||
 | 
			
		||||
                // 28
 | 
			
		||||
                if (reportModel.GetRow(26) == null) reportModel.CreateRow(26);
 | 
			
		||||
                if (reportModel.GetRow(27) == null) reportModel.CreateRow(27);
 | 
			
		||||
                if (reportModel.GetRow(28) == null) reportModel.CreateRow(28);
 | 
			
		||||
                if (reportModel.GetRow(29) == null) reportModel.CreateRow(29);
 | 
			
		||||
                if (reportModel.GetRow(31) == null) reportModel.CreateRow(31);
 | 
			
		||||
                if (reportModel.GetRow(32) == null) reportModel.CreateRow(32);
 | 
			
		||||
                if (reportModel.GetRow(33) == null) reportModel.CreateRow(33);
 | 
			
		||||
                if (reportModel.GetRow(34) == null) reportModel.CreateRow(34);
 | 
			
		||||
                if (reportModel.GetRow(35) == null) reportModel.CreateRow(35);
 | 
			
		||||
                if (reportModel.GetRow(36) == null) reportModel.CreateRow(36);
 | 
			
		||||
                if (reportModel.GetRow(37) == null) reportModel.CreateRow(37);
 | 
			
		||||
                if (reportModel.GetRow(38) == null) reportModel.CreateRow(38);
 | 
			
		||||
                if (reportModel.GetRow(39) == null) reportModel.CreateRow(39);
 | 
			
		||||
                if (reportModel.GetRow(42) == null) reportModel.CreateRow(42);
 | 
			
		||||
 | 
			
		||||
                //if (reportModel.GetRow(43) == null) reportModel.CreateRow(43);
 | 
			
		||||
                //if (reportModel.GetRow(44) == null) reportModel.CreateRow(44);
 | 
			
		||||
                //if (reportModel.GetRow(45) == null) reportModel.CreateRow(45);
 | 
			
		||||
                //if (reportModel.GetRow(46) == null) reportModel.CreateRow(46);
 | 
			
		||||
                //if (reportModel.GetRow(47) == null) reportModel.CreateRow(47);
 | 
			
		||||
                //if (reportModel.GetRow(48) == null) reportModel.CreateRow(48);
 | 
			
		||||
 | 
			
		||||
                //if (reportModel.GetRow(49) == null) reportModel.CreateRow(49);
 | 
			
		||||
                //if (reportModel.GetRow(50) == null) reportModel.CreateRow(50);
 | 
			
		||||
                //if (reportModel.GetRow(51) == null) reportModel.CreateRow(51);
 | 
			
		||||
                //if (reportModel.GetRow(52) == null) reportModel.CreateRow(52);
 | 
			
		||||
                //if (reportModel.GetRow(53) == null) reportModel.CreateRow(53);
 | 
			
		||||
                //if (reportModel.GetRow(26) == null) reportModel.CreateRow(26);
 | 
			
		||||
                //if (reportModel.GetRow(27) == null) reportModel.CreateRow(27);
 | 
			
		||||
                //if (reportModel.GetRow(28) == null) reportModel.CreateRow(28);
 | 
			
		||||
                //if (reportModel.GetRow(29) == null) reportModel.CreateRow(29);
 | 
			
		||||
                //if (reportModel.GetRow(31) == null) reportModel.CreateRow(31);
 | 
			
		||||
                //if (reportModel.GetRow(32) == null) reportModel.CreateRow(32);
 | 
			
		||||
                //if (reportModel.GetRow(33) == null) reportModel.CreateRow(33);
 | 
			
		||||
                //if (reportModel.GetRow(34) == null) reportModel.CreateRow(34);
 | 
			
		||||
                //if (reportModel.GetRow(35) == null) reportModel.CreateRow(35);
 | 
			
		||||
                //if (reportModel.GetRow(36) == null) reportModel.CreateRow(36);
 | 
			
		||||
                //if (reportModel.GetRow(37) == null) reportModel.CreateRow(37);
 | 
			
		||||
                //if (reportModel.GetRow(38) == null) reportModel.CreateRow(38);
 | 
			
		||||
                //if (reportModel.GetRow(39) == null) reportModel.CreateRow(39);
 | 
			
		||||
                //if (reportModel.GetRow(42) == null) reportModel.CreateRow(42);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
                if (reportModel.GetRow(26).GetCell(5) == null) reportModel.GetRow(26).CreateCell(5);
 | 
			
		||||
                reportModel.GetRow(26).GetCell(5).SetCellValue(eva.ReviewOfFC);
 | 
			
		||||
                //if (reportModel.GetRow(26).GetCell(5) == null) reportModel.GetRow(26).CreateCell(5);
 | 
			
		||||
                //reportModel.GetRow(26).GetCell(5).SetCellValue(eva.ReviewOfFC);
 | 
			
		||||
 | 
			
		||||
                if (eva.IsInquiry == true)
 | 
			
		||||
                {
 | 
			
		||||
                //if (eva.IsInquiry == true)
 | 
			
		||||
                //{
 | 
			
		||||
 | 
			
		||||
                    reportModel.GetRow(27).GetCell(1).SetCellValue(eva.InquiryNum != null ? eva.InquiryNum.Value.ToString() : "0");
 | 
			
		||||
                    reportModel.GetRow(26).GetCell(2).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(26).GetCell(2).CellStyle.SetFont(content_Font);
 | 
			
		||||
                }
 | 
			
		||||
                else if (eva.IsInquiry == false)
 | 
			
		||||
                {
 | 
			
		||||
                    reportModel.GetRow(27).GetCell(1).SetCellValue("");
 | 
			
		||||
                    reportModel.GetRow(26).GetCell(0).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(26).GetCell(0).CellStyle.SetFont(content_Font);
 | 
			
		||||
                }
 | 
			
		||||
                else
 | 
			
		||||
                {
 | 
			
		||||
                    reportModel.GetRow(26).GetCell(0).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(26).GetCell(0).CellStyle.SetFont(content_Font);
 | 
			
		||||
                    reportModel.GetRow(26).GetCell(2).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(26).GetCell(2).CellStyle.SetFont(content_Font);
 | 
			
		||||
                }
 | 
			
		||||
                //    reportModel.GetRow(27).GetCell(1).SetCellValue(eva.InquiryNum != null ? eva.InquiryNum.Value.ToString() : "0");
 | 
			
		||||
                //    reportModel.GetRow(26).GetCell(2).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(26).GetCell(2).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //}
 | 
			
		||||
                //else if (eva.IsInquiry == false)
 | 
			
		||||
                //{
 | 
			
		||||
                //    reportModel.GetRow(27).GetCell(1).SetCellValue("");
 | 
			
		||||
                //    reportModel.GetRow(26).GetCell(0).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(26).GetCell(0).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //}
 | 
			
		||||
                //else
 | 
			
		||||
                //{
 | 
			
		||||
                //    reportModel.GetRow(26).GetCell(0).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(26).GetCell(0).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //    reportModel.GetRow(26).GetCell(2).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(26).GetCell(2).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //}
 | 
			
		||||
 | 
			
		||||
                if (eva.NCRIsReview == true)
 | 
			
		||||
                {
 | 
			
		||||
                //if (eva.NCRIsReview == true)
 | 
			
		||||
                //{
 | 
			
		||||
 | 
			
		||||
                    reportModel.GetRow(30).GetCell(1).SetCellValue(eva.NCRReviewNum != null ? eva.NCRReviewNum.Value.ToString() : "0");
 | 
			
		||||
                    reportModel.GetRow(29).GetCell(2).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(29).GetCell(2).CellStyle.SetFont(content_Font);
 | 
			
		||||
                }
 | 
			
		||||
                else if (eva.NCRIsReview == false)
 | 
			
		||||
                {
 | 
			
		||||
                    reportModel.GetRow(30).GetCell(1).SetCellValue("");
 | 
			
		||||
                    reportModel.GetRow(29).GetCell(0).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(29).GetCell(0).CellStyle.SetFont(content_Font);
 | 
			
		||||
                }
 | 
			
		||||
                else
 | 
			
		||||
                {
 | 
			
		||||
                    reportModel.GetRow(29).GetCell(0).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(29).GetCell(0).CellStyle.SetFont(content_Font);
 | 
			
		||||
                    reportModel.GetRow(29).GetCell(2).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(29).GetCell(2).CellStyle.SetFont(content_Font);
 | 
			
		||||
                }
 | 
			
		||||
                //    reportModel.GetRow(30).GetCell(1).SetCellValue(eva.NCRReviewNum != null ? eva.NCRReviewNum.Value.ToString() : "0");
 | 
			
		||||
                //    reportModel.GetRow(29).GetCell(2).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(29).GetCell(2).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //}
 | 
			
		||||
                //else if (eva.NCRIsReview == false)
 | 
			
		||||
                //{
 | 
			
		||||
                //    reportModel.GetRow(30).GetCell(1).SetCellValue("");
 | 
			
		||||
                //    reportModel.GetRow(29).GetCell(0).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(29).GetCell(0).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //}
 | 
			
		||||
                //else
 | 
			
		||||
                //{
 | 
			
		||||
                //    reportModel.GetRow(29).GetCell(0).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(29).GetCell(0).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //    reportModel.GetRow(29).GetCell(2).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(29).GetCell(2).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //}
 | 
			
		||||
 | 
			
		||||
                //string auditResult = string.Empty;
 | 
			
		||||
                if (eva.AuditResult == "1")
 | 
			
		||||
                {
 | 
			
		||||
                    reportModel.GetRow(32).GetCell(2).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(32).GetCell(2).CellStyle.SetFont(content_Font);
 | 
			
		||||
                    reportModel.GetRow(33).GetCell(0).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(33).GetCell(0).CellStyle.SetFont(content_Font);
 | 
			
		||||
                    reportModel.GetRow(33).GetCell(2).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(33).GetCell(2).CellStyle.SetFont(content_Font);
 | 
			
		||||
                    reportModel.GetRow(34).GetCell(0).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(34).GetCell(0).CellStyle.SetFont(content_Font);
 | 
			
		||||
                    reportModel.GetRow(34).GetCell(2).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(34).GetCell(2).CellStyle.SetFont(content_Font);
 | 
			
		||||
                }
 | 
			
		||||
                if (eva.AuditResult == "2")
 | 
			
		||||
                {
 | 
			
		||||
                    reportModel.GetRow(32).GetCell(0).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(32).GetCell(0).CellStyle.SetFont(content_Font);
 | 
			
		||||
                    reportModel.GetRow(33).GetCell(0).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(33).GetCell(0).CellStyle.SetFont(content_Font);
 | 
			
		||||
                    reportModel.GetRow(33).GetCell(2).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(33).GetCell(2).CellStyle.SetFont(content_Font);
 | 
			
		||||
                    reportModel.GetRow(34).GetCell(0).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(34).GetCell(0).CellStyle.SetFont(content_Font);
 | 
			
		||||
                    reportModel.GetRow(34).GetCell(2).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(34).GetCell(2).CellStyle.SetFont(content_Font);
 | 
			
		||||
                }
 | 
			
		||||
                if (eva.AuditResult == "3")
 | 
			
		||||
                {
 | 
			
		||||
                    reportModel.GetRow(32).GetCell(0).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(32).GetCell(0).CellStyle.SetFont(content_Font);
 | 
			
		||||
                    reportModel.GetRow(32).GetCell(2).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(32).GetCell(2).CellStyle.SetFont(content_Font);
 | 
			
		||||
                    reportModel.GetRow(33).GetCell(2).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(33).GetCell(2).CellStyle.SetFont(content_Font);
 | 
			
		||||
                    reportModel.GetRow(34).GetCell(0).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(34).GetCell(0).CellStyle.SetFont(content_Font);
 | 
			
		||||
                    reportModel.GetRow(34).GetCell(2).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(34).GetCell(2).CellStyle.SetFont(content_Font);
 | 
			
		||||
                }
 | 
			
		||||
                if (eva.AuditResult == "4")
 | 
			
		||||
                {
 | 
			
		||||
                    reportModel.GetRow(32).GetCell(0).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(32).GetCell(0).CellStyle.SetFont(content_Font);
 | 
			
		||||
                    reportModel.GetRow(32).GetCell(2).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(32).GetCell(2).CellStyle.SetFont(content_Font);
 | 
			
		||||
                    reportModel.GetRow(33).GetCell(0).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(33).GetCell(0).CellStyle.SetFont(content_Font);
 | 
			
		||||
                    reportModel.GetRow(34).GetCell(0).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(34).GetCell(0).CellStyle.SetFont(content_Font);
 | 
			
		||||
                    reportModel.GetRow(34).GetCell(2).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(34).GetCell(2).CellStyle.SetFont(content_Font);
 | 
			
		||||
                }
 | 
			
		||||
                if (eva.AuditResult == "5")
 | 
			
		||||
                {
 | 
			
		||||
                    reportModel.GetRow(32).GetCell(0).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(32).GetCell(0).CellStyle.SetFont(content_Font);
 | 
			
		||||
                    reportModel.GetRow(32).GetCell(2).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(32).GetCell(2).CellStyle.SetFont(content_Font);
 | 
			
		||||
                    reportModel.GetRow(33).GetCell(0).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(33).GetCell(0).CellStyle.SetFont(content_Font);
 | 
			
		||||
                    reportModel.GetRow(33).GetCell(2).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(33).GetCell(2).CellStyle.SetFont(content_Font);
 | 
			
		||||
                    reportModel.GetRow(34).GetCell(2).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(34).GetCell(2).CellStyle.SetFont(content_Font);
 | 
			
		||||
                }
 | 
			
		||||
                if (eva.AuditResult == "6")
 | 
			
		||||
                {
 | 
			
		||||
                    reportModel.GetRow(32).GetCell(0).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(32).GetCell(0).CellStyle.SetFont(content_Font);
 | 
			
		||||
                    reportModel.GetRow(32).GetCell(2).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(32).GetCell(2).CellStyle.SetFont(content_Font);
 | 
			
		||||
                    reportModel.GetRow(33).GetCell(0).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(33).GetCell(0).CellStyle.SetFont(content_Font);
 | 
			
		||||
                    reportModel.GetRow(33).GetCell(2).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(33).GetCell(2).CellStyle.SetFont(content_Font);
 | 
			
		||||
                    reportModel.GetRow(34).GetCell(0).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(34).GetCell(0).CellStyle.SetFont(content_Font);
 | 
			
		||||
                  
 | 
			
		||||
                }
 | 
			
		||||
                if (string.IsNullOrEmpty(eva.AuditResult))
 | 
			
		||||
                {
 | 
			
		||||
                    reportModel.GetRow(32).GetCell(0).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(32).GetCell(0).CellStyle.SetFont(content_Font);
 | 
			
		||||
                    reportModel.GetRow(32).GetCell(2).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(32).GetCell(2).CellStyle.SetFont(content_Font);
 | 
			
		||||
                    reportModel.GetRow(33).GetCell(0).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(33).GetCell(0).CellStyle.SetFont(content_Font);
 | 
			
		||||
                    reportModel.GetRow(33).GetCell(2).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(33).GetCell(2).CellStyle.SetFont(content_Font);
 | 
			
		||||
                    reportModel.GetRow(34).GetCell(0).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(34).GetCell(0).CellStyle.SetFont(content_Font);
 | 
			
		||||
                    reportModel.GetRow(34).GetCell(2).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(34).GetCell(2).CellStyle.SetFont(content_Font);
 | 
			
		||||
                }
 | 
			
		||||
                //if (eva.AuditResult == "1")
 | 
			
		||||
                //{
 | 
			
		||||
                //    reportModel.GetRow(32).GetCell(2).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(32).GetCell(2).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //    reportModel.GetRow(33).GetCell(0).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(33).GetCell(0).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //    reportModel.GetRow(33).GetCell(2).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(33).GetCell(2).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //    reportModel.GetRow(34).GetCell(0).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(34).GetCell(0).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //    reportModel.GetRow(34).GetCell(2).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(34).GetCell(2).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //}
 | 
			
		||||
                //if (eva.AuditResult == "2")
 | 
			
		||||
                //{
 | 
			
		||||
                //    reportModel.GetRow(32).GetCell(0).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(32).GetCell(0).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //    reportModel.GetRow(33).GetCell(0).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(33).GetCell(0).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //    reportModel.GetRow(33).GetCell(2).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(33).GetCell(2).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //    reportModel.GetRow(34).GetCell(0).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(34).GetCell(0).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //    reportModel.GetRow(34).GetCell(2).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(34).GetCell(2).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //}
 | 
			
		||||
                //if (eva.AuditResult == "3")
 | 
			
		||||
                //{
 | 
			
		||||
                //    reportModel.GetRow(32).GetCell(0).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(32).GetCell(0).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //    reportModel.GetRow(32).GetCell(2).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(32).GetCell(2).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //    reportModel.GetRow(33).GetCell(2).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(33).GetCell(2).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //    reportModel.GetRow(34).GetCell(0).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(34).GetCell(0).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //    reportModel.GetRow(34).GetCell(2).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(34).GetCell(2).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //}
 | 
			
		||||
                //if (eva.AuditResult == "4")
 | 
			
		||||
                //{
 | 
			
		||||
                //    reportModel.GetRow(32).GetCell(0).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(32).GetCell(0).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //    reportModel.GetRow(32).GetCell(2).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(32).GetCell(2).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //    reportModel.GetRow(33).GetCell(0).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(33).GetCell(0).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //    reportModel.GetRow(34).GetCell(0).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(34).GetCell(0).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //    reportModel.GetRow(34).GetCell(2).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(34).GetCell(2).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //}
 | 
			
		||||
                //if (eva.AuditResult == "5")
 | 
			
		||||
                //{
 | 
			
		||||
                //    reportModel.GetRow(32).GetCell(0).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(32).GetCell(0).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //    reportModel.GetRow(32).GetCell(2).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(32).GetCell(2).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //    reportModel.GetRow(33).GetCell(0).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(33).GetCell(0).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //    reportModel.GetRow(33).GetCell(2).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(33).GetCell(2).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //    reportModel.GetRow(34).GetCell(2).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(34).GetCell(2).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //}
 | 
			
		||||
                //if (eva.AuditResult == "6")
 | 
			
		||||
                //{
 | 
			
		||||
                //    reportModel.GetRow(32).GetCell(0).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(32).GetCell(0).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //    reportModel.GetRow(32).GetCell(2).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(32).GetCell(2).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //    reportModel.GetRow(33).GetCell(0).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(33).GetCell(0).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //    reportModel.GetRow(33).GetCell(2).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(33).GetCell(2).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //    reportModel.GetRow(34).GetCell(0).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(34).GetCell(0).CellStyle.SetFont(content_Font);
 | 
			
		||||
 | 
			
		||||
               
 | 
			
		||||
                if (eva.IsOthers == true)
 | 
			
		||||
                {
 | 
			
		||||
                //}
 | 
			
		||||
                //if (string.IsNullOrEmpty(eva.AuditResult))
 | 
			
		||||
                //{
 | 
			
		||||
                //    reportModel.GetRow(32).GetCell(0).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(32).GetCell(0).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //    reportModel.GetRow(32).GetCell(2).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(32).GetCell(2).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //    reportModel.GetRow(33).GetCell(0).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(33).GetCell(0).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //    reportModel.GetRow(33).GetCell(2).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(33).GetCell(2).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //    reportModel.GetRow(34).GetCell(0).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(34).GetCell(0).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //    reportModel.GetRow(34).GetCell(2).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(34).GetCell(2).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //}
 | 
			
		||||
 | 
			
		||||
                    reportModel.GetRow(37).GetCell(1).SetCellValue(eva.OtherDef);
 | 
			
		||||
                    reportModel.GetRow(36).GetCell(2).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(36).GetCell(2).CellStyle.SetFont(content_Font);
 | 
			
		||||
                }
 | 
			
		||||
                else if (eva.IsOthers == false)
 | 
			
		||||
                {
 | 
			
		||||
                    reportModel.GetRow(36).GetCell(0).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(36).GetCell(0).CellStyle.SetFont(content_Font);
 | 
			
		||||
                }
 | 
			
		||||
                else
 | 
			
		||||
                {
 | 
			
		||||
                    reportModel.GetRow(36).GetCell(0).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(36).GetCell(0).CellStyle.SetFont(content_Font);
 | 
			
		||||
                    reportModel.GetRow(36).GetCell(2).SetCellValue(txtNo);
 | 
			
		||||
                    reportModel.GetRow(36).GetCell(2).CellStyle.SetFont(content_Font);
 | 
			
		||||
                }
 | 
			
		||||
 | 
			
		||||
                if (reportModel.GetRow(38).GetCell(3) == null) reportModel.GetRow(38).CreateCell(3);
 | 
			
		||||
                reportModel.GetRow(38).GetCell(3).SetCellValue(eva.TechnicalBonus);
 | 
			
		||||
                if (reportModel.GetRow(39).GetCell(3) == null) reportModel.GetRow(39).CreateCell(3);
 | 
			
		||||
                reportModel.GetRow(39).GetCell(3).SetCellValue(eva.SafetyBonus);
 | 
			
		||||
                reportModel.GetRow(42).GetCell(0).SetCellValue(eva.Proposed);
 | 
			
		||||
                //if (eva.IsOthers == true)
 | 
			
		||||
                //{
 | 
			
		||||
 | 
			
		||||
                //    reportModel.GetRow(37).GetCell(1).SetCellValue(eva.OtherDef);
 | 
			
		||||
                //    reportModel.GetRow(36).GetCell(2).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(36).GetCell(2).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //}
 | 
			
		||||
                //else if (eva.IsOthers == false)
 | 
			
		||||
                //{
 | 
			
		||||
                //    reportModel.GetRow(36).GetCell(0).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(36).GetCell(0).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //}
 | 
			
		||||
                //else
 | 
			
		||||
                //{
 | 
			
		||||
                //    reportModel.GetRow(36).GetCell(0).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(36).GetCell(0).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //    reportModel.GetRow(36).GetCell(2).SetCellValue(txtNo);
 | 
			
		||||
                //    reportModel.GetRow(36).GetCell(2).CellStyle.SetFont(content_Font);
 | 
			
		||||
                //}
 | 
			
		||||
 | 
			
		||||
                //if (reportModel.GetRow(38).GetCell(3) == null) reportModel.GetRow(38).CreateCell(3);
 | 
			
		||||
                //reportModel.GetRow(38).GetCell(3).SetCellValue(eva.TechnicalBonus);
 | 
			
		||||
                //if (reportModel.GetRow(39).GetCell(3) == null) reportModel.GetRow(39).CreateCell(3);
 | 
			
		||||
                //reportModel.GetRow(39).GetCell(3).SetCellValue(eva.SafetyBonus);
 | 
			
		||||
                //reportModel.GetRow(42).GetCell(0).SetCellValue(eva.Proposed);
 | 
			
		||||
            }
 | 
			
		||||
            #endregion
 | 
			
		||||
            reportModel.ForceFormulaRecalculation = true;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -15,13 +15,13 @@
 | 
			
		|||
 | 
			
		||||
                <f:GroupPanel ID="GroupPanel1" Layout="Anchor" Title="<strong>FC information 框架合同信息</strong>" runat="server">
 | 
			
		||||
                    <Items>
 | 
			
		||||
                        <f:Form ID="Form2" ShowBorder="false" ShowHeader="false"  runat="server"
 | 
			
		||||
                        <f:Form ID="Form2" ShowBorder="false" ShowHeader="false" runat="server"
 | 
			
		||||
                            RedStarPosition="BeforeText" LabelAlign="Right">
 | 
			
		||||
                            <Rows>
 | 
			
		||||
                                <f:FormRow ColumnWidths="35% 18% 22% 25%">
 | 
			
		||||
                                    <Items>
 | 
			
		||||
                                        <f:TextBox ID="txtFo" runat="server" Label="Contract No. </br>合同号" LabelWidth="160px" Readonly="true"></f:TextBox>
 | 
			
		||||
                                        <f:Label runat="server"  Label="Validity 合同有效期" LabelSeparator=""  LabelAlign="Right" LabelWidth="200px"></f:Label>
 | 
			
		||||
                                        <f:Label runat="server" Label="Validity 合同有效期" LabelSeparator="" LabelAlign="Right" LabelWidth="200px"></f:Label>
 | 
			
		||||
                                        <f:DatePicker ID="txtValidate_Date" runat="server" Label="From 起" LabelWidth="70px" Readonly="true">
 | 
			
		||||
                                        </f:DatePicker>
 | 
			
		||||
                                        <f:DatePicker ID="txtExpire_Date" runat="server" Label="止" LabelWidth="160px" Readonly="true">
 | 
			
		||||
| 
						 | 
				
			
			@ -50,36 +50,46 @@
 | 
			
		|||
                                <f:FormRow ColumnWidths="28% 22% 25% 25%">
 | 
			
		||||
                                    <Items>
 | 
			
		||||
                                        <f:TextBox ID="txtSpending_commitment" runat="server" Label="Settled + Committed  </br>已结算和已发出(CNY)" LabelWidth="160px" Readonly="true"></f:TextBox>
 | 
			
		||||
                                        <f:NumberBox ID="txtForecasted" runat="server" Label="Forecasted  </br>预计至到期" EmptyText="主协调人填写" DecimalPrecision="2" NoDecimal="false" AutoPostBack="true" OnTextChanged="Forecasted_OnTextChanged"></f:NumberBox>
 | 
			
		||||
                                        <f:TextBox ID="txtTotal" runat="server" Label="Total  </br>总计" LabelWidth="120px" Readonly="true"></f:TextBox>
 | 
			
		||||
                                        <f:NumberBox ID="txtForecasted" runat="server" Label="Forecasted  </br>预计至到期" EmptyText="主协调人填写" DecimalPrecision="2" NoDecimal="false" AutoPostBack="true" OnTextChanged="Forecasted_OnTextChanged" LabelWidth="120px"></f:NumberBox>
 | 
			
		||||
                                        <f:TextBox ID="txtTotal" runat="server" Label="Total  </br>总计" LabelWidth="140px" Readonly="true"></f:TextBox>
 | 
			
		||||
                                        <f:TextBox ID="txtYearAvg" runat="server" Label="Yearly Average  </br>平均每年" LabelWidth="160px" Readonly="true"></f:TextBox>
 | 
			
		||||
                                    </Items>
 | 
			
		||||
                                </f:FormRow>
 | 
			
		||||
                            </Rows>
 | 
			
		||||
                            <Rows>
 | 
			
		||||
                                <f:FormRow ColumnWidths="28% 22% 25% 25%">
 | 
			
		||||
                                    <Items>
 | 
			
		||||
                                        <f:CheckBox ID="cbIfExtend" runat="server" Label="是否为续签合同" LabelWidth="160px" Readonly="true"></f:CheckBox>
 | 
			
		||||
                                        <f:TextBox ID="txtPreviousFO" runat="server" Label="续签前的合同号" Readonly="true" LabelWidth="120px"></f:TextBox>
 | 
			
		||||
                                        <f:TextBox ID="txtFoValidateDate" runat="server" Label="Contract Valid Date </br>合同生效日" Readonly="true" LabelWidth="140px"></f:TextBox>
 | 
			
		||||
                                        <f:TextBox ID="txtFoExpiryDate" runat="server" Label="Contract Expiry Date </br>合同结束日" Readonly="true" LabelWidth="160px"></f:TextBox>
 | 
			
		||||
                                    </Items>
 | 
			
		||||
                                </f:FormRow>
 | 
			
		||||
                            </Rows>
 | 
			
		||||
                        </f:Form>
 | 
			
		||||
                    </Items>
 | 
			
		||||
                </f:GroupPanel>
 | 
			
		||||
 | 
			
		||||
                <f:GroupPanel ID="gpMonthEva" Layout="Anchor" Title=" <strong>Monthly Evaluation Result of FC for the last 2 years</br>近两年框架合同承包商月度评估结果</strong>" runat="server" >
 | 
			
		||||
                <f:GroupPanel ID="gpMonthEva" Layout="Anchor" Title=" <strong>Monthly Evaluation Result of FC for the last 2 years</br>近两年框架合同承包商月度评估结果</strong>" runat="server">
 | 
			
		||||
                    <Items>
 | 
			
		||||
                          <f:Panel ID="Panel8" Layout="HBox" ShowHeader="false" ShowBorder="false" runat="server">
 | 
			
		||||
                        <f:Panel ID="Panel8" Layout="HBox" ShowHeader="false" ShowBorder="false" runat="server">
 | 
			
		||||
                            <Items>
 | 
			
		||||
                                <f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" ShowGridHeader="false"  EnableCollapse="false"
 | 
			
		||||
                                <f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" ShowGridHeader="false" EnableCollapse="false"
 | 
			
		||||
                                    runat="server">
 | 
			
		||||
                                    <Columns>
 | 
			
		||||
                                         <f:RenderField Width="90px" ColumnID="Years" DataField="Years"></f:RenderField>
 | 
			
		||||
                                         <f:RenderField Width="90px" ColumnID="Month1" DataField="Month1"></f:RenderField>
 | 
			
		||||
                                         <f:RenderField Width="90px" ColumnID="Month2" DataField="Month2"></f:RenderField>
 | 
			
		||||
                                         <f:RenderField Width="90px" ColumnID="Month3" DataField="Month3"></f:RenderField>
 | 
			
		||||
                                         <f:RenderField Width="90px" ColumnID="Month4" DataField="Month4"></f:RenderField>
 | 
			
		||||
                                         <f:RenderField Width="90px" ColumnID="Month5" DataField="Month5"></f:RenderField>
 | 
			
		||||
                                         <f:RenderField Width="90px" ColumnID="Month6" DataField="Month6"></f:RenderField>
 | 
			
		||||
                                         <f:RenderField Width="90px" ColumnID="Month7" DataField="Month7"></f:RenderField>
 | 
			
		||||
                                         <f:RenderField Width="90px" ColumnID="Month8" DataField="Month8"></f:RenderField>
 | 
			
		||||
                                         <f:RenderField Width="90px" ColumnID="Month9" DataField="Month9"></f:RenderField>
 | 
			
		||||
                                         <f:RenderField Width="90px" ColumnID="Month10" DataField="Month10"></f:RenderField>
 | 
			
		||||
                                         <f:RenderField Width="90px" ColumnID="Month11" DataField="Month11"></f:RenderField>
 | 
			
		||||
                                         <f:RenderField Width="90px" ColumnID="Month12" DataField="Month12"></f:RenderField>
 | 
			
		||||
                                        <f:RenderField Width="90px" ColumnID="Years" DataField="Years"></f:RenderField>
 | 
			
		||||
                                        <f:RenderField Width="90px" ColumnID="Month1" DataField="Month1"></f:RenderField>
 | 
			
		||||
                                        <f:RenderField Width="90px" ColumnID="Month2" DataField="Month2"></f:RenderField>
 | 
			
		||||
                                        <f:RenderField Width="90px" ColumnID="Month3" DataField="Month3"></f:RenderField>
 | 
			
		||||
                                        <f:RenderField Width="90px" ColumnID="Month4" DataField="Month4"></f:RenderField>
 | 
			
		||||
                                        <f:RenderField Width="90px" ColumnID="Month5" DataField="Month5"></f:RenderField>
 | 
			
		||||
                                        <f:RenderField Width="90px" ColumnID="Month6" DataField="Month6"></f:RenderField>
 | 
			
		||||
                                        <f:RenderField Width="90px" ColumnID="Month7" DataField="Month7"></f:RenderField>
 | 
			
		||||
                                        <f:RenderField Width="90px" ColumnID="Month8" DataField="Month8"></f:RenderField>
 | 
			
		||||
                                        <f:RenderField Width="90px" ColumnID="Month9" DataField="Month9"></f:RenderField>
 | 
			
		||||
                                        <f:RenderField Width="90px" ColumnID="Month10" DataField="Month10"></f:RenderField>
 | 
			
		||||
                                        <f:RenderField Width="90px" ColumnID="Month11" DataField="Month11"></f:RenderField>
 | 
			
		||||
                                        <f:RenderField Width="90px" ColumnID="Month12" DataField="Month12"></f:RenderField>
 | 
			
		||||
                                    </Columns>
 | 
			
		||||
                                </f:Grid>
 | 
			
		||||
                            </Items>
 | 
			
		||||
| 
						 | 
				
			
			@ -101,23 +111,23 @@
 | 
			
		|||
                            <Rows>
 | 
			
		||||
                                <f:FormRow ColumnWidths="10% 35% 35% 20%">
 | 
			
		||||
                                    <Items>
 | 
			
		||||
                                       <f:Label ID="lbPriceEvaluation" runat="server" Label="Price Evaluation 价格评估" LabelAlign="Right" LabelWidth="240px"></f:Label>
 | 
			
		||||
                                       <f:TextBox ID="txtPriceEvaluation1" runat="server" Label="Reference1 参照1" LabelWidth="140px"></f:TextBox>
 | 
			
		||||
                                       <f:TextBox ID="txtPriceEvaluation2" runat="server" Label="Reference1 参照2" LabelWidth="160px"></f:TextBox>
 | 
			
		||||
                                        <f:Label ID="lbPriceEvaluation" runat="server" Label="Price Evaluation 价格评估" LabelAlign="Right" LabelWidth="240px"></f:Label>
 | 
			
		||||
                                        <f:TextBox ID="txtPriceEvaluation1" runat="server" Label="Reference1 参照1" LabelWidth="140px"></f:TextBox>
 | 
			
		||||
                                        <f:TextBox ID="txtPriceEvaluation2" runat="server" Label="Reference1 参照2" LabelWidth="160px"></f:TextBox>
 | 
			
		||||
                                    </Items>
 | 
			
		||||
                                </f:FormRow>
 | 
			
		||||
                            </Rows>
 | 
			
		||||
 | 
			
		||||
                            <Rows>
 | 
			
		||||
                                <f:FormRow >
 | 
			
		||||
                                <f:FormRow>
 | 
			
		||||
                                    <Items>
 | 
			
		||||
                                        <f:CheckBoxList ID="cbPriceLevel" runat="server" Label="Price Level 价格水平" LabelWidth="240px">
 | 
			
		||||
                                            <Items>
 | 
			
		||||
                                                <f:CheckItem Text="很高 Very high" Value="1" />
 | 
			
		||||
                                                <f:CheckItem Text="较高 Higher" Value="2"/>
 | 
			
		||||
                                                <f:CheckItem Text="适宜 Moderate" Value="3"/>
 | 
			
		||||
                                                <f:CheckItem Text="较低 Lower" Value="4"/>
 | 
			
		||||
                                                <f:CheckItem Text="很低 Very low" Value="5"/>
 | 
			
		||||
                                                <f:CheckItem Text="较高 Higher" Value="2" />
 | 
			
		||||
                                                <f:CheckItem Text="适宜 Moderate" Value="3" />
 | 
			
		||||
                                                <f:CheckItem Text="较低 Lower" Value="4" />
 | 
			
		||||
                                                <f:CheckItem Text="很低 Very low" Value="5" />
 | 
			
		||||
                                            </Items>
 | 
			
		||||
                                            <Listeners>
 | 
			
		||||
                                                <f:Listener Event="change" Handler="onCheckBoxListChange" />
 | 
			
		||||
| 
						 | 
				
			
			@ -138,15 +148,15 @@
 | 
			
		|||
                </f:GroupPanel>
 | 
			
		||||
                <f:GroupPanel runat="server" Title="<strong>Technical Evaluation 技术评价</strong>">
 | 
			
		||||
                    <Items>
 | 
			
		||||
                        
 | 
			
		||||
 | 
			
		||||
                        <f:GroupPanel ID="GroupPanel2" Layout="Anchor" Title="<strong>Fill in by Contract Admin 由合同员填写</strong>" runat="server">
 | 
			
		||||
                            <Items>
 | 
			
		||||
                                <f:Form ShowBorder="false" ShowHeader="false" AutoScroll="true" runat="server"
 | 
			
		||||
                                    RedStarPosition="BeforeText" LabelAlign="Right">
 | 
			
		||||
                                    <Rows>
 | 
			
		||||
                                        <f:FormRow ColumnWidths="35% 25% 45%">
 | 
			
		||||
                                        <f:FormRow ColumnWidths="25% 25% 50%">
 | 
			
		||||
                                            <Items>
 | 
			
		||||
                                                <f:CheckBoxList ID="cbInquiry" runat="server" Label="Interview 约谈 " LabelWidth="240px">
 | 
			
		||||
                                                <%--<f:CheckBoxList ID="cbInquiry" runat="server" Label="Interview 约谈 " LabelWidth="240px">
 | 
			
		||||
                                                    <Items>
 | 
			
		||||
                                                        <f:CheckItem Text="无No" Value="False" />
 | 
			
		||||
                                                        <f:CheckItem Text="有Yes" Value="True" />
 | 
			
		||||
| 
						 | 
				
			
			@ -154,15 +164,16 @@
 | 
			
		|||
                                                    <Listeners>
 | 
			
		||||
                                                        <f:Listener Event="change" Handler="onCheckBoxListChange" />
 | 
			
		||||
                                                    </Listeners>
 | 
			
		||||
                                                </f:CheckBoxList>
 | 
			
		||||
                                                <f:NumberBox ID="numInquiryTime" runat="server" Label="次数Times" NoDecimal="true" NoNegative="true"></f:NumberBox>
 | 
			
		||||
                                                </f:CheckBoxList>--%>
 | 
			
		||||
                                                <f:Label ID="lblInterview" runat="server" Text="Interview 约谈 "></f:Label>
 | 
			
		||||
                                                <f:NumberBox ID="numInquiryTime" runat="server" Label="次数Times" NoDecimal="true" NoNegative="true" Readonly="true"></f:NumberBox>
 | 
			
		||||
                                            </Items>
 | 
			
		||||
                                        </f:FormRow>
 | 
			
		||||
                                    </Rows>
 | 
			
		||||
                                    <Rows>
 | 
			
		||||
                                        <f:FormRow ColumnWidths="35% 25% 45%">
 | 
			
		||||
                                        <f:FormRow ColumnWidths="25% 25% 50%">
 | 
			
		||||
                                            <Items>
 | 
			
		||||
                                                <f:CheckBoxList ID="cbNCR" runat="server" Label="NCR review NCR回顾 " LabelWidth="240px">
 | 
			
		||||
                                                <%--<f:CheckBoxList ID="cbNCR" runat="server" Label="NCR review NCR回顾 " LabelWidth="240px">
 | 
			
		||||
                                                    <Items>
 | 
			
		||||
                                                        <f:CheckItem Text="无No" Value="False" />
 | 
			
		||||
                                                        <f:CheckItem Text="有Yes" Value="True" />
 | 
			
		||||
| 
						 | 
				
			
			@ -170,15 +181,25 @@
 | 
			
		|||
                                                    <Listeners>
 | 
			
		||||
                                                        <f:Listener Event="change" Handler="onCheckBoxListChange" />
 | 
			
		||||
                                                    </Listeners>
 | 
			
		||||
                                                </f:CheckBoxList>
 | 
			
		||||
                                                <f:NumberBox ID="numNCRTime" runat="server" Label="次数Times" NoDecimal="true" NoNegative="true"></f:NumberBox>
 | 
			
		||||
                                                </f:CheckBoxList>--%>
 | 
			
		||||
                                                <f:Label ID="Label1" runat="server" Text="NCR review NCR回顾"></f:Label>
 | 
			
		||||
                                                <f:NumberBox ID="numNCRTime" runat="server" Label="次数Times" NoDecimal="true" NoNegative="true" Readonly="true"></f:NumberBox>
 | 
			
		||||
                                            </Items>
 | 
			
		||||
                                        </f:FormRow>
 | 
			
		||||
                                    </Rows>
 | 
			
		||||
                                    <Rows>
 | 
			
		||||
                                        <f:FormRow ColumnWidths="90% 10%">
 | 
			
		||||
                                        <f:FormRow ColumnWidths="25% 25% 50%">
 | 
			
		||||
                                            <Items>
 | 
			
		||||
                                                <f:CheckBoxList ID="cbAuditResult" runat="server" Label="FC EHSQ Audit result</br>框架合同EHSQ审计结果" LabelWidth="240px">
 | 
			
		||||
                                                <f:Label ID="Label2" runat="server" Text="Work suspension for rectification 停工整改"></f:Label>
 | 
			
		||||
                                                <f:NumberBox ID="numWorkRe" runat="server" Label="次数Times" NoDecimal="true" NoNegative="true" Readonly="true"></f:NumberBox>
 | 
			
		||||
                                            </Items>
 | 
			
		||||
                                        </f:FormRow>
 | 
			
		||||
                                    </Rows>
 | 
			
		||||
                                    <Rows>
 | 
			
		||||
                                        <f:FormRow>
 | 
			
		||||
                                            <Items>
 | 
			
		||||
                                                <f:Label ID="Label3" runat="server" Text="FC EHSQ Audit result 框架合同EHSQ审计结果"></f:Label>
 | 
			
		||||
                                                <%--<f:CheckBoxList ID="cbAuditResult" runat="server" Label="FC EHSQ Audit result</br>框架合同EHSQ审计结果" LabelWidth="240px">
 | 
			
		||||
                                                    <Items>
 | 
			
		||||
                                                        <f:CheckItem Text="绿区" Value="1" />
 | 
			
		||||
                                                        <f:CheckItem Text="黄绿区" Value="2" />
 | 
			
		||||
| 
						 | 
				
			
			@ -190,14 +211,32 @@
 | 
			
		|||
                                                    <Listeners>
 | 
			
		||||
                                                        <f:Listener Event="change" Handler="onCheckBoxListChange" />
 | 
			
		||||
                                                    </Listeners>
 | 
			
		||||
                                                </f:CheckBoxList>
 | 
			
		||||
                                                </f:CheckBoxList>--%>
 | 
			
		||||
                                            </Items>
 | 
			
		||||
                                        </f:FormRow>
 | 
			
		||||
                                    </Rows>
 | 
			
		||||
                                    <Rows>
 | 
			
		||||
                                        <f:FormRow>
 | 
			
		||||
                                            <Items>
 | 
			
		||||
                                                <f:TextBox ID="txtGreenTimes" runat="server" Label="Times of Green</br>绿区次数" LabelWidth="150px" Readonly="true"></f:TextBox>
 | 
			
		||||
                                                <f:TextBox ID="txtYellowGreenTimes" runat="server" Label="Times of Yellow-Green </br>黄绿区次数" LabelWidth="150px" Readonly="true"></f:TextBox>
 | 
			
		||||
                                                <f:TextBox ID="txtYellowTimes" runat="server" Label="Times of Yellow </br>黄区次数" LabelWidth="150px" Readonly="true"></f:TextBox>
 | 
			
		||||
                                            </Items>
 | 
			
		||||
                                        </f:FormRow>
 | 
			
		||||
                                    </Rows>
 | 
			
		||||
                                    <Rows>
 | 
			
		||||
                                        <f:FormRow>
 | 
			
		||||
                                            <Items>
 | 
			
		||||
                                                <f:TextBox ID="txtRedYellowTimes" runat="server" Label="Times of Red-Yellow </br>红黄区次数" LabelWidth="150px" Readonly="true"></f:TextBox>
 | 
			
		||||
                                                <f:TextBox ID="txtRedTimes" runat="server" Label="Times of Red</br>红区次数" LabelWidth="150px" Readonly="true"></f:TextBox>
 | 
			
		||||
                                                <f:CheckBox ID="cbNotAudit" runat="server" Label="Not in Audit List</br>不在审计清单" LabelWidth="150px" Readonly="true"></f:CheckBox>
 | 
			
		||||
                                            </Items>
 | 
			
		||||
                                        </f:FormRow>
 | 
			
		||||
                                    </Rows>
 | 
			
		||||
                                </f:Form>
 | 
			
		||||
                            </Items>
 | 
			
		||||
                        </f:GroupPanel>
 | 
			
		||||
                       <%-- <f:GroupPanel ID="GroupPanel4" Layout="Anchor" Title="<strong>Fill in by CT/K Representative 由CT/K代表填写</strong>" runat="server">
 | 
			
		||||
                        <%-- <f:GroupPanel ID="GroupPanel4" Layout="Anchor" Title="<strong>Fill in by CT/K Representative 由CT/K代表填写</strong>" runat="server">
 | 
			
		||||
                            <Items>
 | 
			
		||||
                                <f:Form ShowBorder="false" ShowHeader="false" AutoScroll="true" runat="server"
 | 
			
		||||
                                    RedStarPosition="BeforeText" LabelAlign="Right">
 | 
			
		||||
| 
						 | 
				
			
			@ -221,27 +260,27 @@
 | 
			
		|||
                            </Items>
 | 
			
		||||
                        </f:GroupPanel>--%>
 | 
			
		||||
                        <f:GroupPanel ID="GroupPanel5" Layout="Anchor" Title="<strong>Fill in by CTS Representative 由CTS代表填写</strong>" runat="server">
 | 
			
		||||
                             <Items>
 | 
			
		||||
                            <Items>
 | 
			
		||||
                                <f:Form ShowBorder="false" ShowHeader="false" AutoScroll="true" runat="server"
 | 
			
		||||
                                    RedStarPosition="BeforeText" LabelAlign="Right">
 | 
			
		||||
                                    <Rows>
 | 
			
		||||
                                        <f:FormRow >
 | 
			
		||||
                                        <f:FormRow>
 | 
			
		||||
                                            <Items>
 | 
			
		||||
                                               <f:TextBox ID="txtSafetyBonus" runat="server" Label="Bonus of Safety Performance</br>安全业绩加分值" LabelWidth="240px"></f:TextBox>
 | 
			
		||||
                                                <f:TextBox ID="txtSafetyBonus" runat="server" Label="Bonus of Safety Performance</br>安全业绩加分值" LabelWidth="240px"></f:TextBox>
 | 
			
		||||
                                            </Items>
 | 
			
		||||
                                        </f:FormRow>
 | 
			
		||||
                                    </Rows>
 | 
			
		||||
                                </f:Form>
 | 
			
		||||
                            </Items>
 | 
			
		||||
                       </f:GroupPanel>
 | 
			
		||||
                       <f:GroupPanel ID="GroupPanel6" Layout="Anchor" Title="<strong>Fill in by Main Coordinator 由主协调员填写</strong>" runat="server">
 | 
			
		||||
                          <Items>
 | 
			
		||||
                               <f:Form ShowBorder="false" ShowHeader="false" AutoScroll="true" runat="server"
 | 
			
		||||
                        </f:GroupPanel>
 | 
			
		||||
                        <f:GroupPanel ID="GroupPanel6" Layout="Anchor" Title="<strong>Fill in by Main Coordinator 由主协调员填写</strong>" runat="server">
 | 
			
		||||
                            <Items>
 | 
			
		||||
                                <f:Form ShowBorder="false" ShowHeader="false" AutoScroll="true" runat="server"
 | 
			
		||||
                                    RedStarPosition="BeforeText" LabelAlign="Right">
 | 
			
		||||
                                    <Rows>
 | 
			
		||||
                                        <f:FormRow ColumnWidths="35% 25% 45%">
 | 
			
		||||
                                            <Items>
 | 
			
		||||
                                                <f:CheckBoxList ID="cbIsOthers" runat="server" Label=" Others(e.g. major incident)</br>其他(如:重大事件)" LabelWidth="240px">
 | 
			
		||||
                                                <%-- <f:CheckBoxList ID="cbIsOthers" runat="server" Label=" Others(e.g. major incident)</br>其他(如:重大事件)" LabelWidth="240px">
 | 
			
		||||
                                                    <Items>
 | 
			
		||||
                                                        <f:CheckItem Text="无No" Value="False" />
 | 
			
		||||
                                                        <f:CheckItem Text="有Yes" Value="True" />
 | 
			
		||||
| 
						 | 
				
			
			@ -250,15 +289,16 @@
 | 
			
		|||
                                                        <f:Listener Event="change" Handler="onCheckBoxListChange" />
 | 
			
		||||
                                                    </Listeners>
 | 
			
		||||
                                                </f:CheckBoxList>
 | 
			
		||||
                                                <f:TextBox  ID="txtOtherDef" runat="server" Label="描述"></f:TextBox>
 | 
			
		||||
                                               <%-- <f:NumberBox ID="numOthers" runat="server" Label="次数Times" NoDecimal="true" NoNegative="true"></f:NumberBox>--%>
 | 
			
		||||
                                                <f:TextBox ID="txtOtherDef" runat="server" Label="描述"></f:TextBox>--%>
 | 
			
		||||
                                                <f:Label ID="lblOther" runat="server" Text="Others(e.g. major incident) 其他(如:重大事件)"></f:Label>
 | 
			
		||||
                                                <f:NumberBox ID="numOthers" runat="server" Label="次数Times" NoDecimal="true" NoNegative="true"></f:NumberBox>
 | 
			
		||||
                                            </Items>
 | 
			
		||||
                                        </f:FormRow>
 | 
			
		||||
                                    </Rows>
 | 
			
		||||
                                    <Rows>
 | 
			
		||||
                                        <f:FormRow>
 | 
			
		||||
                                            <Items>
 | 
			
		||||
                                                <f:TextBox ID="txtTechnicalBonus" runat="server" Label="Technical Bonus and Malus</br>技术加值及减值" LabelWidth="240px"></f:TextBox>
 | 
			
		||||
                                                <f:TextBox ID="txtTechnicalBonus" runat="server" Label="Technical Bonus and Malus</br>技术加值及减值" LabelWidth="240px" Readonly="true"></f:TextBox>
 | 
			
		||||
                                            </Items>
 | 
			
		||||
                                        </f:FormRow>
 | 
			
		||||
                                    </Rows>
 | 
			
		||||
| 
						 | 
				
			
			@ -270,16 +310,16 @@
 | 
			
		|||
                                        </f:FormRow>
 | 
			
		||||
                                    </Rows>
 | 
			
		||||
                                </f:Form>
 | 
			
		||||
                          </Items>
 | 
			
		||||
                       </f:GroupPanel>
 | 
			
		||||
                            </Items>
 | 
			
		||||
                        </f:GroupPanel>
 | 
			
		||||
                    </Items>
 | 
			
		||||
                </f:GroupPanel>
 | 
			
		||||
            </Items>
 | 
			
		||||
            <Toolbars>
 | 
			
		||||
                <f:Toolbar ID="Toolbar1" runat="server" ToolbarAlign="Right" Position="Bottom">
 | 
			
		||||
                     <Items>
 | 
			
		||||
                    <Items>
 | 
			
		||||
                        <f:Button ID="btnSave" Icon="SystemSave" Text="Save" runat="server" ToolTip="Save" ValidateForms="SimpleForm1"
 | 
			
		||||
                            OnClick="btnSave_Click" >
 | 
			
		||||
                            OnClick="btnSave_Click">
 | 
			
		||||
                        </f:Button>
 | 
			
		||||
                        <f:Button ID="btnClose" EnablePostBack="false" Text="Close" ToolTip="Close" runat="server" Icon="SystemClose">
 | 
			
		||||
                        </f:Button>
 | 
			
		||||
| 
						 | 
				
			
			@ -299,7 +339,7 @@
 | 
			
		|||
            }
 | 
			
		||||
            __doPostBack('', 'CheckBoxList1Change');
 | 
			
		||||
        }
 | 
			
		||||
       </script> 
 | 
			
		||||
    </script>
 | 
			
		||||
</body>
 | 
			
		||||
</html>
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -26,7 +26,7 @@ namespace FineUIPro.Web.Evaluation
 | 
			
		|||
                    // 权限
 | 
			
		||||
                    if (CurrUser.UserId != Const.GlyId)
 | 
			
		||||
                    {
 | 
			
		||||
                        
 | 
			
		||||
 | 
			
		||||
                        txtReviewOfFC.Enabled = false;
 | 
			
		||||
                        lbPriceEvaluation.Enabled = false;
 | 
			
		||||
                        txtPriceEvaluation1.Enabled = false;
 | 
			
		||||
| 
						 | 
				
			
			@ -35,16 +35,22 @@ namespace FineUIPro.Web.Evaluation
 | 
			
		|||
                        txtEnumeration.Enabled = false;
 | 
			
		||||
 | 
			
		||||
                        txtForecasted.Enabled = false;
 | 
			
		||||
                        cbNCR.Enabled = false;
 | 
			
		||||
                        //cbNCR.Enabled = false;
 | 
			
		||||
                        numNCRTime.Enabled = false;
 | 
			
		||||
                        cbInquiry.Enabled = false;
 | 
			
		||||
                        //cbInquiry.Enabled = false;
 | 
			
		||||
                        numInquiryTime.Enabled = false;
 | 
			
		||||
                        cbAuditResult.Enabled = false;
 | 
			
		||||
                        numWorkRe.Enabled = false;
 | 
			
		||||
                        txtGreenTimes.Enabled = false;
 | 
			
		||||
                        txtYellowGreenTimes.Enabled = false;
 | 
			
		||||
                        txtYellowTimes.Enabled = false;
 | 
			
		||||
                        txtRedYellowTimes.Enabled = false;
 | 
			
		||||
                        txtRedTimes.Enabled = false;
 | 
			
		||||
                        //cbAuditResult.Enabled = false;
 | 
			
		||||
                        //cbBoQIsAudit.Enabled = false;
 | 
			
		||||
                        //txtBoQ.Enabled = false;
 | 
			
		||||
                        cbIsOthers.Enabled = false;
 | 
			
		||||
                        txtOtherDef.Enabled = false;
 | 
			
		||||
                        //numOthers.Enabled = false;
 | 
			
		||||
                        //cbIsOthers.Enabled = false;
 | 
			
		||||
                        //txtOtherDef.Enabled = false;
 | 
			
		||||
                        numOthers.Enabled = false;
 | 
			
		||||
                        txtProposed.Enabled = false;
 | 
			
		||||
 | 
			
		||||
                        txtTechnicalBonus.Enabled = false;
 | 
			
		||||
| 
						 | 
				
			
			@ -62,16 +68,23 @@ namespace FineUIPro.Web.Evaluation
 | 
			
		|||
                            cbPriceLevel.Enabled = true;
 | 
			
		||||
                            txtEnumeration.Enabled = true;
 | 
			
		||||
                            btnSave.Hidden = false;
 | 
			
		||||
                        } 
 | 
			
		||||
                        
 | 
			
		||||
                        }
 | 
			
		||||
 | 
			
		||||
                        // 合同员
 | 
			
		||||
                        if (foview.First().Contract_Admin == CurrUser.UserId)
 | 
			
		||||
                        {
 | 
			
		||||
                            cbNCR.Enabled = true;
 | 
			
		||||
                            //cbNCR.Enabled = true;
 | 
			
		||||
                            numNCRTime.Enabled = true;
 | 
			
		||||
                            cbInquiry.Enabled = true;
 | 
			
		||||
                            //cbInquiry.Enabled = true;
 | 
			
		||||
                            numInquiryTime.Enabled = true;
 | 
			
		||||
                            cbAuditResult.Enabled = true;
 | 
			
		||||
                            numWorkRe.Enabled = true;
 | 
			
		||||
                            txtGreenTimes.Enabled = true;
 | 
			
		||||
                            txtYellowGreenTimes.Enabled = true;
 | 
			
		||||
                            txtYellowTimes.Enabled = true;
 | 
			
		||||
                            txtRedYellowTimes.Enabled = true;
 | 
			
		||||
                            txtRedTimes.Enabled = true;
 | 
			
		||||
                            numOthers.Enabled = true;
 | 
			
		||||
                            //cbAuditResult.Enabled = true;
 | 
			
		||||
                            btnSave.Hidden = false;
 | 
			
		||||
                        }
 | 
			
		||||
                        // 主协调员
 | 
			
		||||
| 
						 | 
				
			
			@ -79,9 +92,9 @@ namespace FineUIPro.Web.Evaluation
 | 
			
		|||
                        {
 | 
			
		||||
                            txtForecasted.Enabled = true;
 | 
			
		||||
                            txtTechnicalBonus.Enabled = true;
 | 
			
		||||
                            cbIsOthers.Enabled = true;
 | 
			
		||||
                            //numOthers.Enabled = true;
 | 
			
		||||
                            txtOtherDef.Enabled= true;
 | 
			
		||||
                            //cbIsOthers.Enabled = true;
 | 
			
		||||
                            numOthers.Enabled = true;
 | 
			
		||||
                            //txtOtherDef.Enabled= true;
 | 
			
		||||
                            txtProposed.Enabled = true;
 | 
			
		||||
                            btnSave.Hidden = false;
 | 
			
		||||
                        }
 | 
			
		||||
| 
						 | 
				
			
			@ -103,7 +116,7 @@ namespace FineUIPro.Web.Evaluation
 | 
			
		|||
                            btnSave.Hidden = false;
 | 
			
		||||
                        }
 | 
			
		||||
                    }
 | 
			
		||||
                    
 | 
			
		||||
 | 
			
		||||
                    // 框架合同信息
 | 
			
		||||
                    txtSpending_commitment.Text = foview.First().Spending_commitment.ToString();
 | 
			
		||||
                    if (foview.First().Forecasted.HasValue)
 | 
			
		||||
| 
						 | 
				
			
			@ -119,6 +132,24 @@ namespace FineUIPro.Web.Evaluation
 | 
			
		|||
                    txtExpire_Date.Text = foview.First().Expire_Date.HasValue ? foview.First().Expire_Date.Value.ToString("yyyy-MM-dd") : "";
 | 
			
		||||
                    txtPercentage.Text = foview.First().VolumeAllocation;
 | 
			
		||||
                    txtYearDiff.Text = foview.First().YearDiff.ToString();
 | 
			
		||||
                    if (foview.First().IfExtend == "Y")
 | 
			
		||||
                    {
 | 
			
		||||
                        cbIfExtend.Checked = true;
 | 
			
		||||
                    }
 | 
			
		||||
                    else
 | 
			
		||||
                    {
 | 
			
		||||
                        cbIfExtend.Checked = false;
 | 
			
		||||
                    }
 | 
			
		||||
                    if (!string.IsNullOrEmpty(foview.First().PreviousFO))
 | 
			
		||||
                    {
 | 
			
		||||
                        txtPreviousFO.Text = foview.First().PreviousFO.ToString();
 | 
			
		||||
                    }
 | 
			
		||||
                    var d = BLL.SESRelatedDataService.GetSESRelatedDataByFoNo(txtPreviousFO.Text.Trim());
 | 
			
		||||
                    if (d != null)
 | 
			
		||||
                    {
 | 
			
		||||
                        txtFoValidateDate.Text = d.Validate_Date.HasValue ? string.Format("{0:yyyy-MM-dd}", d.Validate_Date) : "";
 | 
			
		||||
                        txtFoExpiryDate.Text = d.Expire_Date.HasValue ? string.Format("{0:yyyy-MM-dd}", d.Expire_Date) : "";
 | 
			
		||||
                    }
 | 
			
		||||
 | 
			
		||||
                    // 采购
 | 
			
		||||
                    txtReviewOfFC.Text = foview.First().ReviewOfFC;
 | 
			
		||||
| 
						 | 
				
			
			@ -129,45 +160,57 @@ namespace FineUIPro.Web.Evaluation
 | 
			
		|||
                        cbPriceLevel.SelectedValueArray = new string[] { foview.First().PriceLevel };
 | 
			
		||||
                    }
 | 
			
		||||
                    txtEnumeration.Text = foview.First().Enumeration;
 | 
			
		||||
 | 
			
		||||
                    numInquiryTime.Text = foview.First().InterviewTimes.ToString();
 | 
			
		||||
                    numNCRTime.Text = foview.First().NCRTimes.ToString();
 | 
			
		||||
                    numWorkRe.Text = foview.First().RectificationTimes.ToString();
 | 
			
		||||
                    txtGreenTimes.Text = foview.First().GreenTimes.ToString();
 | 
			
		||||
                    txtYellowGreenTimes.Text = foview.First().YellowGreenTimes.ToString();
 | 
			
		||||
                    txtYellowTimes.Text = foview.First().YellowTimes.ToString();
 | 
			
		||||
                    txtRedYellowTimes.Text = foview.First().RedYellowTimes.ToString();
 | 
			
		||||
                    txtRedTimes.Text = foview.First().RedTimes.ToString();
 | 
			
		||||
                    if (txtGreenTimes.Text.Trim() == "0" && txtYellowGreenTimes.Text.Trim() == "0" && txtYellowTimes.Text.Trim() == "0" && txtRedYellowTimes.Text.Trim() == "0" && txtRedTimes.Text.Trim() == "0")
 | 
			
		||||
                    {
 | 
			
		||||
                        cbNotAudit.Checked = true;
 | 
			
		||||
                    }
 | 
			
		||||
                    // 主协调人
 | 
			
		||||
                    if (foview.First().IsInquiry.HasValue)
 | 
			
		||||
                    {
 | 
			
		||||
                        if (foview.First().IsInquiry == true)
 | 
			
		||||
                        {
 | 
			
		||||
                            cbInquiry.SelectedValueArray = new string[] { "True" };
 | 
			
		||||
                        }
 | 
			
		||||
                        else
 | 
			
		||||
                        {
 | 
			
		||||
                            cbInquiry.SelectedValueArray = new string[] { "False" };
 | 
			
		||||
                        }
 | 
			
		||||
                    }
 | 
			
		||||
                    //if (foview.First().IsInquiry.HasValue)
 | 
			
		||||
                    //{
 | 
			
		||||
                    //    if (foview.First().IsInquiry == true)
 | 
			
		||||
                    //    {
 | 
			
		||||
                    //        cbInquiry.SelectedValueArray = new string[] { "True" };
 | 
			
		||||
                    //    }
 | 
			
		||||
                    //    else
 | 
			
		||||
                    //    {
 | 
			
		||||
                    //        cbInquiry.SelectedValueArray = new string[] { "False" };
 | 
			
		||||
                    //    }
 | 
			
		||||
                    //}
 | 
			
		||||
 | 
			
		||||
                    if (foview.First().InquiryNum.HasValue)
 | 
			
		||||
                    {
 | 
			
		||||
                        numInquiryTime.Text = foview.First().InquiryNum.ToString();
 | 
			
		||||
                    }
 | 
			
		||||
                    //if (foview.First().InquiryNum.HasValue)
 | 
			
		||||
                    //{
 | 
			
		||||
                    //    numInquiryTime.Text = foview.First().InquiryNum.ToString();
 | 
			
		||||
                    //}
 | 
			
		||||
 | 
			
		||||
                    if (foview.First().NCRIsReview.HasValue)
 | 
			
		||||
                    {
 | 
			
		||||
                        if (foview.First().NCRIsReview == true)
 | 
			
		||||
                        {
 | 
			
		||||
                            cbNCR.SelectedValueArray = new string[] { "True" };
 | 
			
		||||
                        }
 | 
			
		||||
                        else
 | 
			
		||||
                        {
 | 
			
		||||
                            cbNCR.SelectedValueArray = new string[] { "False" };
 | 
			
		||||
                        }
 | 
			
		||||
                    }
 | 
			
		||||
                    //if (foview.First().NCRIsReview.HasValue)
 | 
			
		||||
                    //{
 | 
			
		||||
                    //    if (foview.First().NCRIsReview == true)
 | 
			
		||||
                    //    {
 | 
			
		||||
                    //        cbNCR.SelectedValueArray = new string[] { "True" };
 | 
			
		||||
                    //    }
 | 
			
		||||
                    //    else
 | 
			
		||||
                    //    {
 | 
			
		||||
                    //        cbNCR.SelectedValueArray = new string[] { "False" };
 | 
			
		||||
                    //    }
 | 
			
		||||
                    //}
 | 
			
		||||
 | 
			
		||||
                    if (foview.First().NCRReviewNum.HasValue)
 | 
			
		||||
                    {
 | 
			
		||||
                        numNCRTime.Text = foview.First().NCRReviewNum.ToString();
 | 
			
		||||
                    }
 | 
			
		||||
                    if (!string.IsNullOrEmpty(foview.First().AuditResult))
 | 
			
		||||
                    {
 | 
			
		||||
                        cbAuditResult.SelectedValueArray = new string[] { foview.First().AuditResult };
 | 
			
		||||
                    }
 | 
			
		||||
                    //if (foview.First().NCRReviewNum.HasValue)
 | 
			
		||||
                    //{
 | 
			
		||||
                    //    numNCRTime.Text = foview.First().NCRReviewNum.ToString();
 | 
			
		||||
                    //}
 | 
			
		||||
 | 
			
		||||
                    //if (!string.IsNullOrEmpty(foview.First().AuditResult))
 | 
			
		||||
                    //{
 | 
			
		||||
                    //    cbAuditResult.SelectedValueArray = new string[] { foview.First().AuditResult };
 | 
			
		||||
                    //}
 | 
			
		||||
 | 
			
		||||
                    //if (foview.First().BoQIsAudit.HasValue)
 | 
			
		||||
                    //{
 | 
			
		||||
| 
						 | 
				
			
			@ -182,25 +225,26 @@ namespace FineUIPro.Web.Evaluation
 | 
			
		|||
                    //}
 | 
			
		||||
                    //txtBoQ.Text = foview.First().BoQAuditComments;
 | 
			
		||||
 | 
			
		||||
                    if (foview.First().IsOthers.HasValue)
 | 
			
		||||
                    {
 | 
			
		||||
                        if (foview.First().IsOthers == true)
 | 
			
		||||
                        {
 | 
			
		||||
                            cbIsOthers.SelectedValueArray = new string[] { "True" };
 | 
			
		||||
                        }
 | 
			
		||||
                        else
 | 
			
		||||
                        {
 | 
			
		||||
                            cbIsOthers.SelectedValueArray = new string[] { "False" };
 | 
			
		||||
                        }
 | 
			
		||||
                    }
 | 
			
		||||
                    //if (foview.First().IsOthers.HasValue)
 | 
			
		||||
                    //{
 | 
			
		||||
                    //    if (foview.First().IsOthers == true)
 | 
			
		||||
                    //    {
 | 
			
		||||
                    //        cbIsOthers.SelectedValueArray = new string[] { "True" };
 | 
			
		||||
                    //    }
 | 
			
		||||
                    //    else
 | 
			
		||||
                    //    {
 | 
			
		||||
                    //        cbIsOthers.SelectedValueArray = new string[] { "False" };
 | 
			
		||||
                    //    }
 | 
			
		||||
                    //}
 | 
			
		||||
                    //if (foview.First().OthersNum.HasValue)
 | 
			
		||||
                    //{
 | 
			
		||||
                    //    numOthers.Text = foview.First().OthersNum.ToString();
 | 
			
		||||
                    numOthers.Text = foview.First().OthersNum.ToString();
 | 
			
		||||
                    //}
 | 
			
		||||
                    txtOtherDef.Text = foview.First().OtherDef;
 | 
			
		||||
                    txtTechnicalBonus.Text = foview.First().TechnicalBonus;
 | 
			
		||||
                    ////txtOtherDef.Text = foview.First().OtherDef;
 | 
			
		||||
                    txtTechnicalBonus.Text = foview.First().TechnicalBonusMalus;
 | 
			
		||||
                    txtSafetyBonus.Text = foview.First().SafetyBonus;
 | 
			
		||||
                    txtProposed.Text = foview.First().Proposed;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
                }
 | 
			
		||||
                else
 | 
			
		||||
                {
 | 
			
		||||
| 
						 | 
				
			
			@ -225,7 +269,7 @@ namespace FineUIPro.Web.Evaluation
 | 
			
		|||
                DataTable dt = SQLHelper.GetDataTableRunText(strSql, null);
 | 
			
		||||
                Grid1.DataSource = dt;
 | 
			
		||||
                Grid1.DataBind();
 | 
			
		||||
 | 
			
		||||
                int s = 0;
 | 
			
		||||
                for (int j = 0; j < 24; j++)
 | 
			
		||||
                {
 | 
			
		||||
                    var curDate = DateTime.Parse("" + startDate.Year + "-" + startDate.Month + "-01").AddMonths(j);
 | 
			
		||||
| 
						 | 
				
			
			@ -246,6 +290,10 @@ namespace FineUIPro.Web.Evaluation
 | 
			
		|||
                            {
 | 
			
		||||
                                var yearNums = float.Parse(sesDataScore.FirstOrDefault(p => p.dataMonth == curDate.ToString("yyyy-MM")).SumScore).ToString("0.##");
 | 
			
		||||
                                Grid1.Rows[1].Values[j + 1] = yearNums;
 | 
			
		||||
                                if (Funs.GetNewDecimalOrZero(yearNums) < 60)
 | 
			
		||||
                                {
 | 
			
		||||
                                    s++;
 | 
			
		||||
                                }
 | 
			
		||||
                            }
 | 
			
		||||
                            else
 | 
			
		||||
                            {
 | 
			
		||||
| 
						 | 
				
			
			@ -261,6 +309,10 @@ namespace FineUIPro.Web.Evaluation
 | 
			
		|||
                        {
 | 
			
		||||
                            var yearNums = float.Parse(sesDataScore.FirstOrDefault(p => p.dataMonth == curDate.ToString("yyyy-MM")).SumScore).ToString("0.##");
 | 
			
		||||
                            Grid1.Rows[3].Values[j - 11] = yearNums;
 | 
			
		||||
                            if (Funs.GetNewDecimalOrZero(yearNums) < 60)
 | 
			
		||||
                            {
 | 
			
		||||
                                s++;
 | 
			
		||||
                            }
 | 
			
		||||
                        }
 | 
			
		||||
                        else
 | 
			
		||||
                        {
 | 
			
		||||
| 
						 | 
				
			
			@ -268,6 +320,20 @@ namespace FineUIPro.Web.Evaluation
 | 
			
		|||
                        }
 | 
			
		||||
                    }
 | 
			
		||||
                }
 | 
			
		||||
                string rs = string.Empty;
 | 
			
		||||
                if (s >= 3 && foview.First().NCRTimes >= 3)
 | 
			
		||||
                {
 | 
			
		||||
                    rs = "序号1:该合同累计3次月度评估低于60分, 不得参与下轮合同</br>序号2:该合同累计三个NCR提前终止合同且不得参与下轮合同";
 | 
			
		||||
                }
 | 
			
		||||
                else if (s >= 3)
 | 
			
		||||
                {
 | 
			
		||||
                    rs = "序号1:该合同累计3次月度评估低于60分, 不得参与下轮合同";
 | 
			
		||||
                }
 | 
			
		||||
                else if (foview.First().NCRTimes >= 3)
 | 
			
		||||
                {
 | 
			
		||||
                    rs = "序号1:该合同累计三个NCR提前终止合同且不得参与下轮合同";
 | 
			
		||||
                }
 | 
			
		||||
                txtProposed.Text = rs;//foview.First().Proposed;
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -291,68 +357,68 @@ namespace FineUIPro.Web.Evaluation
 | 
			
		|||
                newFo.Enumeration= txtEnumeration.Text.Trim();
 | 
			
		||||
 | 
			
		||||
                // 合同员
 | 
			
		||||
                if (cbInquiry.SelectedValueArray.Length > 0)
 | 
			
		||||
                {
 | 
			
		||||
                    newFo.IsInquiry = Convert.ToBoolean(cbInquiry.SelectedValueArray[0].ToString());
 | 
			
		||||
                }
 | 
			
		||||
                else if (newFo.Contract_Admin == CurrUser.UserId)
 | 
			
		||||
                {
 | 
			
		||||
                    Alert.ShowInTop("若无Interview,请勾选无No!", MessageBoxIcon.Warning);
 | 
			
		||||
                    return;
 | 
			
		||||
                }
 | 
			
		||||
                //if (cbInquiry.SelectedValueArray.Length > 0)
 | 
			
		||||
                //{
 | 
			
		||||
                //    newFo.IsInquiry = Convert.ToBoolean(cbInquiry.SelectedValueArray[0].ToString());
 | 
			
		||||
                //}
 | 
			
		||||
                //else if (newFo.Contract_Admin == CurrUser.UserId)
 | 
			
		||||
                //{
 | 
			
		||||
                //    Alert.ShowInTop("若无Interview,请勾选无No!", MessageBoxIcon.Warning);
 | 
			
		||||
                //    return;
 | 
			
		||||
                //}
 | 
			
		||||
 | 
			
		||||
                if (!string.IsNullOrEmpty(numInquiryTime.Text))
 | 
			
		||||
                {
 | 
			
		||||
                    newFo.InquiryNum = Convert.ToInt32(numInquiryTime.Text);
 | 
			
		||||
                }
 | 
			
		||||
 | 
			
		||||
                if (cbNCR.SelectedValueArray.Length>0)
 | 
			
		||||
                {
 | 
			
		||||
                    newFo.NCRIsReview = Convert.ToBoolean(cbNCR.SelectedValueArray[0].ToString());
 | 
			
		||||
                }
 | 
			
		||||
                else if (newFo.Contract_Admin == CurrUser.UserId)
 | 
			
		||||
                {
 | 
			
		||||
                    Alert.ShowInTop("若无Review,请勾选无No!", MessageBoxIcon.Warning);
 | 
			
		||||
                    return;
 | 
			
		||||
                }
 | 
			
		||||
                //if (cbNCR.SelectedValueArray.Length>0)
 | 
			
		||||
                //{
 | 
			
		||||
                //    newFo.NCRIsReview = Convert.ToBoolean(cbNCR.SelectedValueArray[0].ToString());
 | 
			
		||||
                //}
 | 
			
		||||
                //else if (newFo.Contract_Admin == CurrUser.UserId)
 | 
			
		||||
                //{
 | 
			
		||||
                //    Alert.ShowInTop("若无Review,请勾选无No!", MessageBoxIcon.Warning);
 | 
			
		||||
                //    return;
 | 
			
		||||
                //}
 | 
			
		||||
 | 
			
		||||
                if (!string.IsNullOrEmpty(numNCRTime.Text))
 | 
			
		||||
                {
 | 
			
		||||
                    newFo.NCRReviewNum = Convert.ToInt32(numNCRTime.Text);
 | 
			
		||||
                }
 | 
			
		||||
 | 
			
		||||
                if (cbAuditResult.SelectedValueArray.Length>0)
 | 
			
		||||
                {
 | 
			
		||||
                    newFo.AuditResult = cbAuditResult.SelectedValueArray[0].ToString();
 | 
			
		||||
                }
 | 
			
		||||
                else if (newFo.Contract_Admin == CurrUser.UserId)
 | 
			
		||||
                {
 | 
			
		||||
                    Alert.ShowInTop("若无FC EHSQ Audit result ,请勾选无不适用!", MessageBoxIcon.Warning);
 | 
			
		||||
                    return;
 | 
			
		||||
                }
 | 
			
		||||
                //if (cbAuditResult.SelectedValueArray.Length>0)
 | 
			
		||||
                //{
 | 
			
		||||
                //    newFo.AuditResult = cbAuditResult.SelectedValueArray[0].ToString();
 | 
			
		||||
                //}
 | 
			
		||||
                //else if (newFo.Contract_Admin == CurrUser.UserId)
 | 
			
		||||
                //{
 | 
			
		||||
                //    Alert.ShowInTop("若无FC EHSQ Audit result ,请勾选无不适用!", MessageBoxIcon.Warning);
 | 
			
		||||
                //    return;
 | 
			
		||||
                //}
 | 
			
		||||
 | 
			
		||||
                //if (cbBoQIsAudit.SelectedValueArray.Length>0)
 | 
			
		||||
                //{
 | 
			
		||||
                //    newFo.BoQIsAudit = Convert.ToBoolean(cbBoQIsAudit.SelectedValueArray[0].ToString());
 | 
			
		||||
                //}
 | 
			
		||||
               
 | 
			
		||||
 | 
			
		||||
                //newFo.BoQAuditComments= txtBoQ.Text.Trim();
 | 
			
		||||
 | 
			
		||||
                if (cbIsOthers.SelectedValueArray.Length>0)
 | 
			
		||||
                {
 | 
			
		||||
                    newFo.IsOthers = Convert.ToBoolean(cbIsOthers.SelectedValueArray[0].ToString());
 | 
			
		||||
                }
 | 
			
		||||
                else if (newFo.Main_Coordinator == CurrUser.UserId)
 | 
			
		||||
                {
 | 
			
		||||
                    Alert.ShowInTop("若无Others ,请勾选无No!", MessageBoxIcon.Warning);
 | 
			
		||||
                    return;
 | 
			
		||||
                }
 | 
			
		||||
 | 
			
		||||
                //if (!string.IsNullOrEmpty(numOthers.Text))
 | 
			
		||||
                //if (cbIsOthers.SelectedValueArray.Length>0)
 | 
			
		||||
                //{
 | 
			
		||||
                //    newFo.OthersNum = Convert.ToInt32(numOthers.Text);
 | 
			
		||||
                //    newFo.IsOthers = Convert.ToBoolean(cbIsOthers.SelectedValueArray[0].ToString());
 | 
			
		||||
                //}
 | 
			
		||||
                newFo.OtherDef=txtOtherDef.Text.Trim();
 | 
			
		||||
                //else if (newFo.Main_Coordinator == CurrUser.UserId)
 | 
			
		||||
                //{
 | 
			
		||||
                //    Alert.ShowInTop("若无Others ,请勾选无No!", MessageBoxIcon.Warning);
 | 
			
		||||
                //    return;
 | 
			
		||||
                //}
 | 
			
		||||
 | 
			
		||||
                if (!string.IsNullOrEmpty(numOthers.Text))
 | 
			
		||||
                {
 | 
			
		||||
                    newFo.OthersNum = Convert.ToInt32(numOthers.Text);
 | 
			
		||||
                }
 | 
			
		||||
                //newFo.OtherDef = txtOtherDef.Text.Trim();
 | 
			
		||||
                newFo.TechnicalBonus = txtTechnicalBonus.Text.Trim();
 | 
			
		||||
 | 
			
		||||
                var role = BLL.Sys_RoleService.GetRole(CurrUser.RoleId);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -167,6 +167,42 @@ namespace FineUIPro.Web.Evaluation
 | 
			
		|||
        /// </remarks>
 | 
			
		||||
        protected global::FineUIPro.TextBox txtYearAvg;
 | 
			
		||||
 | 
			
		||||
        /// <summary>
 | 
			
		||||
        /// cbIfExtend 控件。
 | 
			
		||||
        /// </summary>
 | 
			
		||||
        /// <remarks>
 | 
			
		||||
        /// 自动生成的字段。
 | 
			
		||||
        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
 | 
			
		||||
        /// </remarks>
 | 
			
		||||
        protected global::FineUIPro.CheckBox cbIfExtend;
 | 
			
		||||
 | 
			
		||||
        /// <summary>
 | 
			
		||||
        /// txtPreviousFO 控件。
 | 
			
		||||
        /// </summary>
 | 
			
		||||
        /// <remarks>
 | 
			
		||||
        /// 自动生成的字段。
 | 
			
		||||
        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
 | 
			
		||||
        /// </remarks>
 | 
			
		||||
        protected global::FineUIPro.TextBox txtPreviousFO;
 | 
			
		||||
 | 
			
		||||
        /// <summary>
 | 
			
		||||
        /// txtFoValidateDate 控件。
 | 
			
		||||
        /// </summary>
 | 
			
		||||
        /// <remarks>
 | 
			
		||||
        /// 自动生成的字段。
 | 
			
		||||
        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
 | 
			
		||||
        /// </remarks>
 | 
			
		||||
        protected global::FineUIPro.TextBox txtFoValidateDate;
 | 
			
		||||
 | 
			
		||||
        /// <summary>
 | 
			
		||||
        /// txtFoExpiryDate 控件。
 | 
			
		||||
        /// </summary>
 | 
			
		||||
        /// <remarks>
 | 
			
		||||
        /// 自动生成的字段。
 | 
			
		||||
        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
 | 
			
		||||
        /// </remarks>
 | 
			
		||||
        protected global::FineUIPro.TextBox txtFoExpiryDate;
 | 
			
		||||
 | 
			
		||||
        /// <summary>
 | 
			
		||||
        /// gpMonthEva 控件。
 | 
			
		||||
        /// </summary>
 | 
			
		||||
| 
						 | 
				
			
			@ -267,13 +303,13 @@ namespace FineUIPro.Web.Evaluation
 | 
			
		|||
        protected global::FineUIPro.GroupPanel GroupPanel2;
 | 
			
		||||
 | 
			
		||||
        /// <summary>
 | 
			
		||||
        /// cbInquiry 控件。
 | 
			
		||||
        /// lblInterview 控件。
 | 
			
		||||
        /// </summary>
 | 
			
		||||
        /// <remarks>
 | 
			
		||||
        /// 自动生成的字段。
 | 
			
		||||
        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
 | 
			
		||||
        /// </remarks>
 | 
			
		||||
        protected global::FineUIPro.CheckBoxList cbInquiry;
 | 
			
		||||
        protected global::FineUIPro.Label lblInterview;
 | 
			
		||||
 | 
			
		||||
        /// <summary>
 | 
			
		||||
        /// numInquiryTime 控件。
 | 
			
		||||
| 
						 | 
				
			
			@ -285,13 +321,13 @@ namespace FineUIPro.Web.Evaluation
 | 
			
		|||
        protected global::FineUIPro.NumberBox numInquiryTime;
 | 
			
		||||
 | 
			
		||||
        /// <summary>
 | 
			
		||||
        /// cbNCR 控件。
 | 
			
		||||
        /// Label1 控件。
 | 
			
		||||
        /// </summary>
 | 
			
		||||
        /// <remarks>
 | 
			
		||||
        /// 自动生成的字段。
 | 
			
		||||
        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
 | 
			
		||||
        /// </remarks>
 | 
			
		||||
        protected global::FineUIPro.CheckBoxList cbNCR;
 | 
			
		||||
        protected global::FineUIPro.Label Label1;
 | 
			
		||||
 | 
			
		||||
        /// <summary>
 | 
			
		||||
        /// numNCRTime 控件。
 | 
			
		||||
| 
						 | 
				
			
			@ -303,13 +339,85 @@ namespace FineUIPro.Web.Evaluation
 | 
			
		|||
        protected global::FineUIPro.NumberBox numNCRTime;
 | 
			
		||||
 | 
			
		||||
        /// <summary>
 | 
			
		||||
        /// cbAuditResult 控件。
 | 
			
		||||
        /// Label2 控件。
 | 
			
		||||
        /// </summary>
 | 
			
		||||
        /// <remarks>
 | 
			
		||||
        /// 自动生成的字段。
 | 
			
		||||
        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
 | 
			
		||||
        /// </remarks>
 | 
			
		||||
        protected global::FineUIPro.CheckBoxList cbAuditResult;
 | 
			
		||||
        protected global::FineUIPro.Label Label2;
 | 
			
		||||
 | 
			
		||||
        /// <summary>
 | 
			
		||||
        /// numWorkRe 控件。
 | 
			
		||||
        /// </summary>
 | 
			
		||||
        /// <remarks>
 | 
			
		||||
        /// 自动生成的字段。
 | 
			
		||||
        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
 | 
			
		||||
        /// </remarks>
 | 
			
		||||
        protected global::FineUIPro.NumberBox numWorkRe;
 | 
			
		||||
 | 
			
		||||
        /// <summary>
 | 
			
		||||
        /// Label3 控件。
 | 
			
		||||
        /// </summary>
 | 
			
		||||
        /// <remarks>
 | 
			
		||||
        /// 自动生成的字段。
 | 
			
		||||
        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
 | 
			
		||||
        /// </remarks>
 | 
			
		||||
        protected global::FineUIPro.Label Label3;
 | 
			
		||||
 | 
			
		||||
        /// <summary>
 | 
			
		||||
        /// txtGreenTimes 控件。
 | 
			
		||||
        /// </summary>
 | 
			
		||||
        /// <remarks>
 | 
			
		||||
        /// 自动生成的字段。
 | 
			
		||||
        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
 | 
			
		||||
        /// </remarks>
 | 
			
		||||
        protected global::FineUIPro.TextBox txtGreenTimes;
 | 
			
		||||
 | 
			
		||||
        /// <summary>
 | 
			
		||||
        /// txtYellowGreenTimes 控件。
 | 
			
		||||
        /// </summary>
 | 
			
		||||
        /// <remarks>
 | 
			
		||||
        /// 自动生成的字段。
 | 
			
		||||
        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
 | 
			
		||||
        /// </remarks>
 | 
			
		||||
        protected global::FineUIPro.TextBox txtYellowGreenTimes;
 | 
			
		||||
 | 
			
		||||
        /// <summary>
 | 
			
		||||
        /// txtYellowTimes 控件。
 | 
			
		||||
        /// </summary>
 | 
			
		||||
        /// <remarks>
 | 
			
		||||
        /// 自动生成的字段。
 | 
			
		||||
        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
 | 
			
		||||
        /// </remarks>
 | 
			
		||||
        protected global::FineUIPro.TextBox txtYellowTimes;
 | 
			
		||||
 | 
			
		||||
        /// <summary>
 | 
			
		||||
        /// txtRedYellowTimes 控件。
 | 
			
		||||
        /// </summary>
 | 
			
		||||
        /// <remarks>
 | 
			
		||||
        /// 自动生成的字段。
 | 
			
		||||
        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
 | 
			
		||||
        /// </remarks>
 | 
			
		||||
        protected global::FineUIPro.TextBox txtRedYellowTimes;
 | 
			
		||||
 | 
			
		||||
        /// <summary>
 | 
			
		||||
        /// txtRedTimes 控件。
 | 
			
		||||
        /// </summary>
 | 
			
		||||
        /// <remarks>
 | 
			
		||||
        /// 自动生成的字段。
 | 
			
		||||
        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
 | 
			
		||||
        /// </remarks>
 | 
			
		||||
        protected global::FineUIPro.TextBox txtRedTimes;
 | 
			
		||||
 | 
			
		||||
        /// <summary>
 | 
			
		||||
        /// cbNotAudit 控件。
 | 
			
		||||
        /// </summary>
 | 
			
		||||
        /// <remarks>
 | 
			
		||||
        /// 自动生成的字段。
 | 
			
		||||
        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
 | 
			
		||||
        /// </remarks>
 | 
			
		||||
        protected global::FineUIPro.CheckBox cbNotAudit;
 | 
			
		||||
 | 
			
		||||
        /// <summary>
 | 
			
		||||
        /// GroupPanel5 控件。
 | 
			
		||||
| 
						 | 
				
			
			@ -339,22 +447,22 @@ namespace FineUIPro.Web.Evaluation
 | 
			
		|||
        protected global::FineUIPro.GroupPanel GroupPanel6;
 | 
			
		||||
 | 
			
		||||
        /// <summary>
 | 
			
		||||
        /// cbIsOthers 控件。
 | 
			
		||||
        /// lblOther 控件。
 | 
			
		||||
        /// </summary>
 | 
			
		||||
        /// <remarks>
 | 
			
		||||
        /// 自动生成的字段。
 | 
			
		||||
        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
 | 
			
		||||
        /// </remarks>
 | 
			
		||||
        protected global::FineUIPro.CheckBoxList cbIsOthers;
 | 
			
		||||
        protected global::FineUIPro.Label lblOther;
 | 
			
		||||
 | 
			
		||||
        /// <summary>
 | 
			
		||||
        /// txtOtherDef 控件。
 | 
			
		||||
        /// numOthers 控件。
 | 
			
		||||
        /// </summary>
 | 
			
		||||
        /// <remarks>
 | 
			
		||||
        /// 自动生成的字段。
 | 
			
		||||
        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
 | 
			
		||||
        /// </remarks>
 | 
			
		||||
        protected global::FineUIPro.TextBox txtOtherDef;
 | 
			
		||||
        protected global::FineUIPro.NumberBox numOthers;
 | 
			
		||||
 | 
			
		||||
        /// <summary>
 | 
			
		||||
        /// txtTechnicalBonus 控件。
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -994,16 +994,16 @@ namespace FineUIPro.Web.Evaluation
 | 
			
		|||
                var setList = Funs.DB.Sys_User.Where(p => new string[] { Const.Role_CTSSId, Const.Role_CTSCId, Const.Role_CTMTId }.Contains(p.RoleId) && p.UserId == CurrUser.UserId).ToList();
 | 
			
		||||
                if (setList.Count > 0)
 | 
			
		||||
                {
 | 
			
		||||
                    sesList = Funs.DB.FC_SESReportView.Where(p => p.FO_NO == FoNo &&  p.Requisitioner != "" && p.Requisitioner != null).ToList();
 | 
			
		||||
                    sesList = Funs.DB.FC_SESReportView.Where(p => p.FO_NO == FoNo && p.Requisitioner != "" && p.Requisitioner != null && (p.Blocked == null || p.Blocked == "") && (p.Deleted == null || p.Deleted == "")).ToList();
 | 
			
		||||
                }
 | 
			
		||||
                else
 | 
			
		||||
                {
 | 
			
		||||
                    sesList = Funs.DB.FC_SESReportView.Where(p => p.FO_NO == FoNo && (p.MainCoordinatorUser == CurrUser.Account || p.ContractAdminUser == CurrUser.Account || p.UserRepresentativeUser == CurrUser.Account)).ToList();
 | 
			
		||||
                    sesList = Funs.DB.FC_SESReportView.Where(p => p.FO_NO == FoNo && (p.MainCoordinatorUser == CurrUser.Account || p.ContractAdminUser == CurrUser.Account || p.UserRepresentativeUser == CurrUser.Account) && (p.Blocked == null || p.Blocked == "") && (p.Deleted == null || p.Deleted == "")).ToList();
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
            else
 | 
			
		||||
            {
 | 
			
		||||
                sesList = Funs.DB.FC_SESReportView.Where(p => p.FO_NO == FoNo && p.Requisitioner == CurrUser.Account).ToList();
 | 
			
		||||
                sesList = Funs.DB.FC_SESReportView.Where(p => p.FO_NO == FoNo && p.Requisitioner == CurrUser.Account && (p.Blocked == null || p.Blocked == "") && (p.Deleted == null || p.Deleted == "")).ToList();
 | 
			
		||||
            }
 | 
			
		||||
            Grid2.DataSource = sesList.OrderByDescending(x=>x.ShowViolationDegree);
 | 
			
		||||
            Grid2.DataBind();
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
										
											Binary file not shown.
										
									
								
							| 
						 | 
				
			
			@ -706,13 +706,13 @@
 | 
			
		|||
        }
 | 
			
		||||
 | 
			
		||||
        private void aTimer_AutoSend(object sender, System.Timers.ElapsedEventArgs e)
 | 
			
		||||
        {
 | 
			
		||||
           {
 | 
			
		||||
            // 过期提示,30天范围
 | 
			
		||||
            var foList = from x in Funs.DB.FC_SESRelatedData where x.Expire_Date != null 
 | 
			
		||||
                         && x.Expire_Date.Value.AddMonths(-6).AddDays(-7).Date <= DateTime.Now.Date
 | 
			
		||||
                         && x.Expire_Date.Value.AddMonths(-5).AddDays(-7).Date >= DateTime.Now.Date
 | 
			
		||||
                         select x;
 | 
			
		||||
            if (foList.Count() > 0)
 | 
			
		||||
            if (foList.Count() > 0)  
 | 
			
		||||
            {
 | 
			
		||||
                foreach (var fo in foList)
 | 
			
		||||
                {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -870,6 +870,14 @@ namespace Model
 | 
			
		|||
			}
 | 
			
		||||
		}
 | 
			
		||||
		
 | 
			
		||||
		public System.Data.Linq.Table<View_EMC_PunishmentNew> View_EMC_PunishmentNew
 | 
			
		||||
		{
 | 
			
		||||
			get
 | 
			
		||||
			{
 | 
			
		||||
				return this.GetTable<View_EMC_PunishmentNew>();
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		
 | 
			
		||||
		public System.Data.Linq.Table<View_EMC_Que_Punishment> View_EMC_Que_Punishment
 | 
			
		||||
		{
 | 
			
		||||
			get
 | 
			
		||||
| 
						 | 
				
			
			@ -20537,6 +20545,10 @@ namespace Model
 | 
			
		|||
		
 | 
			
		||||
		private string _ShowViolationDegree;
 | 
			
		||||
		
 | 
			
		||||
		private string _Deleted;
 | 
			
		||||
		
 | 
			
		||||
		private string _Blocked;
 | 
			
		||||
		
 | 
			
		||||
		public FC_SESReportView()
 | 
			
		||||
		{
 | 
			
		||||
		}
 | 
			
		||||
| 
						 | 
				
			
			@ -20876,6 +20888,38 @@ namespace Model
 | 
			
		|||
				}
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		
 | 
			
		||||
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Deleted", DbType="VarChar(10)")]
 | 
			
		||||
		public string Deleted
 | 
			
		||||
		{
 | 
			
		||||
			get
 | 
			
		||||
			{
 | 
			
		||||
				return this._Deleted;
 | 
			
		||||
			}
 | 
			
		||||
			set
 | 
			
		||||
			{
 | 
			
		||||
				if ((this._Deleted != value))
 | 
			
		||||
				{
 | 
			
		||||
					this._Deleted = value;
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		
 | 
			
		||||
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Blocked", DbType="VarChar(10)")]
 | 
			
		||||
		public string Blocked
 | 
			
		||||
		{
 | 
			
		||||
			get
 | 
			
		||||
			{
 | 
			
		||||
				return this._Blocked;
 | 
			
		||||
			}
 | 
			
		||||
			set
 | 
			
		||||
			{
 | 
			
		||||
				if ((this._Blocked != value))
 | 
			
		||||
				{
 | 
			
		||||
					this._Blocked = value;
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
	
 | 
			
		||||
	[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.FC_SignedContracts")]
 | 
			
		||||
| 
						 | 
				
			
			@ -27702,12 +27746,36 @@ namespace Model
 | 
			
		|||
		
 | 
			
		||||
		private System.Nullable<bool> _IsOthers;
 | 
			
		||||
		
 | 
			
		||||
		private System.Nullable<int> _OthersNum;
 | 
			
		||||
		private int _OthersNum;
 | 
			
		||||
		
 | 
			
		||||
		private string _OtherDef;
 | 
			
		||||
		
 | 
			
		||||
		private string _Proposed;
 | 
			
		||||
		
 | 
			
		||||
		private int _InterviewTimes;
 | 
			
		||||
		
 | 
			
		||||
		private int _NCRTimes;
 | 
			
		||||
		
 | 
			
		||||
		private int _RectificationTimes;
 | 
			
		||||
		
 | 
			
		||||
		private int _GreenTimes;
 | 
			
		||||
		
 | 
			
		||||
		private int _YellowGreenTimes;
 | 
			
		||||
		
 | 
			
		||||
		private int _YellowTimes;
 | 
			
		||||
		
 | 
			
		||||
		private int _RedYellowTimes;
 | 
			
		||||
		
 | 
			
		||||
		private int _RedTimes;
 | 
			
		||||
		
 | 
			
		||||
		private string _NotAudit;
 | 
			
		||||
		
 | 
			
		||||
		private string _IfExtend;
 | 
			
		||||
		
 | 
			
		||||
		private string _PreviousFO;
 | 
			
		||||
		
 | 
			
		||||
		private string _TechnicalBonusMalus;
 | 
			
		||||
		
 | 
			
		||||
		private System.Nullable<decimal> _Total;
 | 
			
		||||
		
 | 
			
		||||
		private System.Nullable<decimal> _YearAvg;
 | 
			
		||||
| 
						 | 
				
			
			@ -28212,8 +28280,8 @@ namespace Model
 | 
			
		|||
			}
 | 
			
		||||
		}
 | 
			
		||||
		
 | 
			
		||||
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OthersNum", DbType="Int")]
 | 
			
		||||
		public System.Nullable<int> OthersNum
 | 
			
		||||
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OthersNum", DbType="Int NOT NULL")]
 | 
			
		||||
		public int OthersNum
 | 
			
		||||
		{
 | 
			
		||||
			get
 | 
			
		||||
			{
 | 
			
		||||
| 
						 | 
				
			
			@ -28260,6 +28328,198 @@ namespace Model
 | 
			
		|||
			}
 | 
			
		||||
		}
 | 
			
		||||
		
 | 
			
		||||
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InterviewTimes", DbType="Int NOT NULL")]
 | 
			
		||||
		public int InterviewTimes
 | 
			
		||||
		{
 | 
			
		||||
			get
 | 
			
		||||
			{
 | 
			
		||||
				return this._InterviewTimes;
 | 
			
		||||
			}
 | 
			
		||||
			set
 | 
			
		||||
			{
 | 
			
		||||
				if ((this._InterviewTimes != value))
 | 
			
		||||
				{
 | 
			
		||||
					this._InterviewTimes = value;
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		
 | 
			
		||||
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NCRTimes", DbType="Int NOT NULL")]
 | 
			
		||||
		public int NCRTimes
 | 
			
		||||
		{
 | 
			
		||||
			get
 | 
			
		||||
			{
 | 
			
		||||
				return this._NCRTimes;
 | 
			
		||||
			}
 | 
			
		||||
			set
 | 
			
		||||
			{
 | 
			
		||||
				if ((this._NCRTimes != value))
 | 
			
		||||
				{
 | 
			
		||||
					this._NCRTimes = value;
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		
 | 
			
		||||
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RectificationTimes", DbType="Int NOT NULL")]
 | 
			
		||||
		public int RectificationTimes
 | 
			
		||||
		{
 | 
			
		||||
			get
 | 
			
		||||
			{
 | 
			
		||||
				return this._RectificationTimes;
 | 
			
		||||
			}
 | 
			
		||||
			set
 | 
			
		||||
			{
 | 
			
		||||
				if ((this._RectificationTimes != value))
 | 
			
		||||
				{
 | 
			
		||||
					this._RectificationTimes = value;
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		
 | 
			
		||||
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_GreenTimes", DbType="Int NOT NULL")]
 | 
			
		||||
		public int GreenTimes
 | 
			
		||||
		{
 | 
			
		||||
			get
 | 
			
		||||
			{
 | 
			
		||||
				return this._GreenTimes;
 | 
			
		||||
			}
 | 
			
		||||
			set
 | 
			
		||||
			{
 | 
			
		||||
				if ((this._GreenTimes != value))
 | 
			
		||||
				{
 | 
			
		||||
					this._GreenTimes = value;
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		
 | 
			
		||||
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_YellowGreenTimes", DbType="Int NOT NULL")]
 | 
			
		||||
		public int YellowGreenTimes
 | 
			
		||||
		{
 | 
			
		||||
			get
 | 
			
		||||
			{
 | 
			
		||||
				return this._YellowGreenTimes;
 | 
			
		||||
			}
 | 
			
		||||
			set
 | 
			
		||||
			{
 | 
			
		||||
				if ((this._YellowGreenTimes != value))
 | 
			
		||||
				{
 | 
			
		||||
					this._YellowGreenTimes = value;
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		
 | 
			
		||||
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_YellowTimes", DbType="Int NOT NULL")]
 | 
			
		||||
		public int YellowTimes
 | 
			
		||||
		{
 | 
			
		||||
			get
 | 
			
		||||
			{
 | 
			
		||||
				return this._YellowTimes;
 | 
			
		||||
			}
 | 
			
		||||
			set
 | 
			
		||||
			{
 | 
			
		||||
				if ((this._YellowTimes != value))
 | 
			
		||||
				{
 | 
			
		||||
					this._YellowTimes = value;
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		
 | 
			
		||||
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RedYellowTimes", DbType="Int NOT NULL")]
 | 
			
		||||
		public int RedYellowTimes
 | 
			
		||||
		{
 | 
			
		||||
			get
 | 
			
		||||
			{
 | 
			
		||||
				return this._RedYellowTimes;
 | 
			
		||||
			}
 | 
			
		||||
			set
 | 
			
		||||
			{
 | 
			
		||||
				if ((this._RedYellowTimes != value))
 | 
			
		||||
				{
 | 
			
		||||
					this._RedYellowTimes = value;
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		
 | 
			
		||||
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RedTimes", DbType="Int NOT NULL")]
 | 
			
		||||
		public int RedTimes
 | 
			
		||||
		{
 | 
			
		||||
			get
 | 
			
		||||
			{
 | 
			
		||||
				return this._RedTimes;
 | 
			
		||||
			}
 | 
			
		||||
			set
 | 
			
		||||
			{
 | 
			
		||||
				if ((this._RedTimes != value))
 | 
			
		||||
				{
 | 
			
		||||
					this._RedTimes = value;
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		
 | 
			
		||||
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NotAudit", DbType="VarChar(2) NOT NULL", CanBeNull=false)]
 | 
			
		||||
		public string NotAudit
 | 
			
		||||
		{
 | 
			
		||||
			get
 | 
			
		||||
			{
 | 
			
		||||
				return this._NotAudit;
 | 
			
		||||
			}
 | 
			
		||||
			set
 | 
			
		||||
			{
 | 
			
		||||
				if ((this._NotAudit != value))
 | 
			
		||||
				{
 | 
			
		||||
					this._NotAudit = value;
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		
 | 
			
		||||
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IfExtend", DbType="VarChar(1) NOT NULL", CanBeNull=false)]
 | 
			
		||||
		public string IfExtend
 | 
			
		||||
		{
 | 
			
		||||
			get
 | 
			
		||||
			{
 | 
			
		||||
				return this._IfExtend;
 | 
			
		||||
			}
 | 
			
		||||
			set
 | 
			
		||||
			{
 | 
			
		||||
				if ((this._IfExtend != value))
 | 
			
		||||
				{
 | 
			
		||||
					this._IfExtend = value;
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		
 | 
			
		||||
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PreviousFO", DbType="NVarChar(50)")]
 | 
			
		||||
		public string PreviousFO
 | 
			
		||||
		{
 | 
			
		||||
			get
 | 
			
		||||
			{
 | 
			
		||||
				return this._PreviousFO;
 | 
			
		||||
			}
 | 
			
		||||
			set
 | 
			
		||||
			{
 | 
			
		||||
				if ((this._PreviousFO != value))
 | 
			
		||||
				{
 | 
			
		||||
					this._PreviousFO = value;
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		
 | 
			
		||||
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TechnicalBonusMalus", DbType="VarChar(51)")]
 | 
			
		||||
		public string TechnicalBonusMalus
 | 
			
		||||
		{
 | 
			
		||||
			get
 | 
			
		||||
			{
 | 
			
		||||
				return this._TechnicalBonusMalus;
 | 
			
		||||
			}
 | 
			
		||||
			set
 | 
			
		||||
			{
 | 
			
		||||
				if ((this._TechnicalBonusMalus != value))
 | 
			
		||||
				{
 | 
			
		||||
					this._TechnicalBonusMalus = value;
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		
 | 
			
		||||
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Total", DbType="Decimal(20,2)")]
 | 
			
		||||
		public System.Nullable<decimal> Total
 | 
			
		||||
		{
 | 
			
		||||
| 
						 | 
				
			
			@ -30966,6 +31226,519 @@ namespace Model
 | 
			
		|||
		}
 | 
			
		||||
	}
 | 
			
		||||
	
 | 
			
		||||
	[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_EMC_PunishmentNew")]
 | 
			
		||||
	public partial class View_EMC_PunishmentNew
 | 
			
		||||
	{
 | 
			
		||||
		
 | 
			
		||||
		private string _PunishmentId;
 | 
			
		||||
		
 | 
			
		||||
		private System.Nullable<System.DateTime> _PunishDate;
 | 
			
		||||
		
 | 
			
		||||
		private string _Location;
 | 
			
		||||
		
 | 
			
		||||
		private string _Description;
 | 
			
		||||
		
 | 
			
		||||
		private string _Contractor;
 | 
			
		||||
		
 | 
			
		||||
		private string _FO_NO;
 | 
			
		||||
		
 | 
			
		||||
		private string _Main_Coordinator;
 | 
			
		||||
		
 | 
			
		||||
		private string _MainCoordinatorName;
 | 
			
		||||
		
 | 
			
		||||
		private string _MCDepName;
 | 
			
		||||
		
 | 
			
		||||
		private string _ContractRequester;
 | 
			
		||||
		
 | 
			
		||||
		private string _ContractRequesterName;
 | 
			
		||||
		
 | 
			
		||||
		private string _ContractRequesterDep;
 | 
			
		||||
		
 | 
			
		||||
		private string _UserRepresentativeName;
 | 
			
		||||
		
 | 
			
		||||
		private string _ContractAdminName;
 | 
			
		||||
		
 | 
			
		||||
		private string _ItemNo;
 | 
			
		||||
		
 | 
			
		||||
		private string _ViolationClauseId;
 | 
			
		||||
		
 | 
			
		||||
		private string _ClauseDef;
 | 
			
		||||
		
 | 
			
		||||
		private string _ViolationDegree;
 | 
			
		||||
		
 | 
			
		||||
		private System.Nullable<decimal> _Company;
 | 
			
		||||
		
 | 
			
		||||
		private string _IndividualPerson;
 | 
			
		||||
		
 | 
			
		||||
		private System.Nullable<decimal> _Individual;
 | 
			
		||||
		
 | 
			
		||||
		private string _UserDepName;
 | 
			
		||||
		
 | 
			
		||||
		private string _ViolationRelatedSes;
 | 
			
		||||
		
 | 
			
		||||
		private string _SES_No;
 | 
			
		||||
		
 | 
			
		||||
		private System.Nullable<System.DateTime> _CompletionDate;
 | 
			
		||||
		
 | 
			
		||||
		private System.Nullable<bool> _IsFrame;
 | 
			
		||||
		
 | 
			
		||||
		private string _IsFrameName;
 | 
			
		||||
		
 | 
			
		||||
		private string _Flag;
 | 
			
		||||
		
 | 
			
		||||
		public View_EMC_PunishmentNew()
 | 
			
		||||
		{
 | 
			
		||||
		}
 | 
			
		||||
		
 | 
			
		||||
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PunishmentId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
 | 
			
		||||
		public string PunishmentId
 | 
			
		||||
		{
 | 
			
		||||
			get
 | 
			
		||||
			{
 | 
			
		||||
				return this._PunishmentId;
 | 
			
		||||
			}
 | 
			
		||||
			set
 | 
			
		||||
			{
 | 
			
		||||
				if ((this._PunishmentId != value))
 | 
			
		||||
				{
 | 
			
		||||
					this._PunishmentId = value;
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		
 | 
			
		||||
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PunishDate", DbType="DateTime")]
 | 
			
		||||
		public System.Nullable<System.DateTime> PunishDate
 | 
			
		||||
		{
 | 
			
		||||
			get
 | 
			
		||||
			{
 | 
			
		||||
				return this._PunishDate;
 | 
			
		||||
			}
 | 
			
		||||
			set
 | 
			
		||||
			{
 | 
			
		||||
				if ((this._PunishDate != value))
 | 
			
		||||
				{
 | 
			
		||||
					this._PunishDate = value;
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		
 | 
			
		||||
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Location", DbType="NVarChar(100)")]
 | 
			
		||||
		public string Location
 | 
			
		||||
		{
 | 
			
		||||
			get
 | 
			
		||||
			{
 | 
			
		||||
				return this._Location;
 | 
			
		||||
			}
 | 
			
		||||
			set
 | 
			
		||||
			{
 | 
			
		||||
				if ((this._Location != value))
 | 
			
		||||
				{
 | 
			
		||||
					this._Location = value;
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		
 | 
			
		||||
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Description", DbType="NVarChar(500)")]
 | 
			
		||||
		public string Description
 | 
			
		||||
		{
 | 
			
		||||
			get
 | 
			
		||||
			{
 | 
			
		||||
				return this._Description;
 | 
			
		||||
			}
 | 
			
		||||
			set
 | 
			
		||||
			{
 | 
			
		||||
				if ((this._Description != value))
 | 
			
		||||
				{
 | 
			
		||||
					this._Description = value;
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		
 | 
			
		||||
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Contractor", DbType="NVarChar(150)")]
 | 
			
		||||
		public string Contractor
 | 
			
		||||
		{
 | 
			
		||||
			get
 | 
			
		||||
			{
 | 
			
		||||
				return this._Contractor;
 | 
			
		||||
			}
 | 
			
		||||
			set
 | 
			
		||||
			{
 | 
			
		||||
				if ((this._Contractor != value))
 | 
			
		||||
				{
 | 
			
		||||
					this._Contractor = value;
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		
 | 
			
		||||
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FO_NO", DbType="NVarChar(50)")]
 | 
			
		||||
		public string FO_NO
 | 
			
		||||
		{
 | 
			
		||||
			get
 | 
			
		||||
			{
 | 
			
		||||
				return this._FO_NO;
 | 
			
		||||
			}
 | 
			
		||||
			set
 | 
			
		||||
			{
 | 
			
		||||
				if ((this._FO_NO != value))
 | 
			
		||||
				{
 | 
			
		||||
					this._FO_NO = value;
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		
 | 
			
		||||
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Main_Coordinator", DbType="NVarChar(50)")]
 | 
			
		||||
		public string Main_Coordinator
 | 
			
		||||
		{
 | 
			
		||||
			get
 | 
			
		||||
			{
 | 
			
		||||
				return this._Main_Coordinator;
 | 
			
		||||
			}
 | 
			
		||||
			set
 | 
			
		||||
			{
 | 
			
		||||
				if ((this._Main_Coordinator != value))
 | 
			
		||||
				{
 | 
			
		||||
					this._Main_Coordinator = value;
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		
 | 
			
		||||
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MainCoordinatorName", DbType="NVarChar(50)")]
 | 
			
		||||
		public string MainCoordinatorName
 | 
			
		||||
		{
 | 
			
		||||
			get
 | 
			
		||||
			{
 | 
			
		||||
				return this._MainCoordinatorName;
 | 
			
		||||
			}
 | 
			
		||||
			set
 | 
			
		||||
			{
 | 
			
		||||
				if ((this._MainCoordinatorName != value))
 | 
			
		||||
				{
 | 
			
		||||
					this._MainCoordinatorName = value;
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		
 | 
			
		||||
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MCDepName", DbType="NVarChar(50)")]
 | 
			
		||||
		public string MCDepName
 | 
			
		||||
		{
 | 
			
		||||
			get
 | 
			
		||||
			{
 | 
			
		||||
				return this._MCDepName;
 | 
			
		||||
			}
 | 
			
		||||
			set
 | 
			
		||||
			{
 | 
			
		||||
				if ((this._MCDepName != value))
 | 
			
		||||
				{
 | 
			
		||||
					this._MCDepName = value;
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		
 | 
			
		||||
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContractRequester", DbType="NVarChar(50)")]
 | 
			
		||||
		public string ContractRequester
 | 
			
		||||
		{
 | 
			
		||||
			get
 | 
			
		||||
			{
 | 
			
		||||
				return this._ContractRequester;
 | 
			
		||||
			}
 | 
			
		||||
			set
 | 
			
		||||
			{
 | 
			
		||||
				if ((this._ContractRequester != value))
 | 
			
		||||
				{
 | 
			
		||||
					this._ContractRequester = value;
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		
 | 
			
		||||
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContractRequesterName", DbType="NVarChar(50)")]
 | 
			
		||||
		public string ContractRequesterName
 | 
			
		||||
		{
 | 
			
		||||
			get
 | 
			
		||||
			{
 | 
			
		||||
				return this._ContractRequesterName;
 | 
			
		||||
			}
 | 
			
		||||
			set
 | 
			
		||||
			{
 | 
			
		||||
				if ((this._ContractRequesterName != value))
 | 
			
		||||
				{
 | 
			
		||||
					this._ContractRequesterName = value;
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		
 | 
			
		||||
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContractRequesterDep", DbType="NVarChar(50)")]
 | 
			
		||||
		public string ContractRequesterDep
 | 
			
		||||
		{
 | 
			
		||||
			get
 | 
			
		||||
			{
 | 
			
		||||
				return this._ContractRequesterDep;
 | 
			
		||||
			}
 | 
			
		||||
			set
 | 
			
		||||
			{
 | 
			
		||||
				if ((this._ContractRequesterDep != value))
 | 
			
		||||
				{
 | 
			
		||||
					this._ContractRequesterDep = value;
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		
 | 
			
		||||
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserRepresentativeName", DbType="NVarChar(50)")]
 | 
			
		||||
		public string UserRepresentativeName
 | 
			
		||||
		{
 | 
			
		||||
			get
 | 
			
		||||
			{
 | 
			
		||||
				return this._UserRepresentativeName;
 | 
			
		||||
			}
 | 
			
		||||
			set
 | 
			
		||||
			{
 | 
			
		||||
				if ((this._UserRepresentativeName != value))
 | 
			
		||||
				{
 | 
			
		||||
					this._UserRepresentativeName = value;
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		
 | 
			
		||||
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContractAdminName", DbType="NVarChar(50)")]
 | 
			
		||||
		public string ContractAdminName
 | 
			
		||||
		{
 | 
			
		||||
			get
 | 
			
		||||
			{
 | 
			
		||||
				return this._ContractAdminName;
 | 
			
		||||
			}
 | 
			
		||||
			set
 | 
			
		||||
			{
 | 
			
		||||
				if ((this._ContractAdminName != value))
 | 
			
		||||
				{
 | 
			
		||||
					this._ContractAdminName = value;
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		
 | 
			
		||||
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ItemNo", DbType="NVarChar(10)")]
 | 
			
		||||
		public string ItemNo
 | 
			
		||||
		{
 | 
			
		||||
			get
 | 
			
		||||
			{
 | 
			
		||||
				return this._ItemNo;
 | 
			
		||||
			}
 | 
			
		||||
			set
 | 
			
		||||
			{
 | 
			
		||||
				if ((this._ItemNo != value))
 | 
			
		||||
				{
 | 
			
		||||
					this._ItemNo = value;
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		
 | 
			
		||||
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ViolationClauseId", DbType="NVarChar(50)")]
 | 
			
		||||
		public string ViolationClauseId
 | 
			
		||||
		{
 | 
			
		||||
			get
 | 
			
		||||
			{
 | 
			
		||||
				return this._ViolationClauseId;
 | 
			
		||||
			}
 | 
			
		||||
			set
 | 
			
		||||
			{
 | 
			
		||||
				if ((this._ViolationClauseId != value))
 | 
			
		||||
				{
 | 
			
		||||
					this._ViolationClauseId = value;
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		
 | 
			
		||||
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ClauseDef", DbType="NVarChar(500)")]
 | 
			
		||||
		public string ClauseDef
 | 
			
		||||
		{
 | 
			
		||||
			get
 | 
			
		||||
			{
 | 
			
		||||
				return this._ClauseDef;
 | 
			
		||||
			}
 | 
			
		||||
			set
 | 
			
		||||
			{
 | 
			
		||||
				if ((this._ClauseDef != value))
 | 
			
		||||
				{
 | 
			
		||||
					this._ClauseDef = value;
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		
 | 
			
		||||
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ViolationDegree", DbType="VarChar(10)")]
 | 
			
		||||
		public string ViolationDegree
 | 
			
		||||
		{
 | 
			
		||||
			get
 | 
			
		||||
			{
 | 
			
		||||
				return this._ViolationDegree;
 | 
			
		||||
			}
 | 
			
		||||
			set
 | 
			
		||||
			{
 | 
			
		||||
				if ((this._ViolationDegree != value))
 | 
			
		||||
				{
 | 
			
		||||
					this._ViolationDegree = value;
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		
 | 
			
		||||
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Company", DbType="Money")]
 | 
			
		||||
		public System.Nullable<decimal> Company
 | 
			
		||||
		{
 | 
			
		||||
			get
 | 
			
		||||
			{
 | 
			
		||||
				return this._Company;
 | 
			
		||||
			}
 | 
			
		||||
			set
 | 
			
		||||
			{
 | 
			
		||||
				if ((this._Company != value))
 | 
			
		||||
				{
 | 
			
		||||
					this._Company = value;
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		
 | 
			
		||||
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IndividualPerson", DbType="NVarChar(50)")]
 | 
			
		||||
		public string IndividualPerson
 | 
			
		||||
		{
 | 
			
		||||
			get
 | 
			
		||||
			{
 | 
			
		||||
				return this._IndividualPerson;
 | 
			
		||||
			}
 | 
			
		||||
			set
 | 
			
		||||
			{
 | 
			
		||||
				if ((this._IndividualPerson != value))
 | 
			
		||||
				{
 | 
			
		||||
					this._IndividualPerson = value;
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		
 | 
			
		||||
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Individual", DbType="Money")]
 | 
			
		||||
		public System.Nullable<decimal> Individual
 | 
			
		||||
		{
 | 
			
		||||
			get
 | 
			
		||||
			{
 | 
			
		||||
				return this._Individual;
 | 
			
		||||
			}
 | 
			
		||||
			set
 | 
			
		||||
			{
 | 
			
		||||
				if ((this._Individual != value))
 | 
			
		||||
				{
 | 
			
		||||
					this._Individual = value;
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		
 | 
			
		||||
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserDepName", DbType="NVarChar(50)")]
 | 
			
		||||
		public string UserDepName
 | 
			
		||||
		{
 | 
			
		||||
			get
 | 
			
		||||
			{
 | 
			
		||||
				return this._UserDepName;
 | 
			
		||||
			}
 | 
			
		||||
			set
 | 
			
		||||
			{
 | 
			
		||||
				if ((this._UserDepName != value))
 | 
			
		||||
				{
 | 
			
		||||
					this._UserDepName = value;
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		
 | 
			
		||||
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ViolationRelatedSes", DbType="NVarChar(50)")]
 | 
			
		||||
		public string ViolationRelatedSes
 | 
			
		||||
		{
 | 
			
		||||
			get
 | 
			
		||||
			{
 | 
			
		||||
				return this._ViolationRelatedSes;
 | 
			
		||||
			}
 | 
			
		||||
			set
 | 
			
		||||
			{
 | 
			
		||||
				if ((this._ViolationRelatedSes != value))
 | 
			
		||||
				{
 | 
			
		||||
					this._ViolationRelatedSes = value;
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		
 | 
			
		||||
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SES_No", DbType="NVarChar(20)")]
 | 
			
		||||
		public string SES_No
 | 
			
		||||
		{
 | 
			
		||||
			get
 | 
			
		||||
			{
 | 
			
		||||
				return this._SES_No;
 | 
			
		||||
			}
 | 
			
		||||
			set
 | 
			
		||||
			{
 | 
			
		||||
				if ((this._SES_No != value))
 | 
			
		||||
				{
 | 
			
		||||
					this._SES_No = value;
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		
 | 
			
		||||
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompletionDate", DbType="DateTime")]
 | 
			
		||||
		public System.Nullable<System.DateTime> CompletionDate
 | 
			
		||||
		{
 | 
			
		||||
			get
 | 
			
		||||
			{
 | 
			
		||||
				return this._CompletionDate;
 | 
			
		||||
			}
 | 
			
		||||
			set
 | 
			
		||||
			{
 | 
			
		||||
				if ((this._CompletionDate != value))
 | 
			
		||||
				{
 | 
			
		||||
					this._CompletionDate = value;
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		
 | 
			
		||||
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsFrame", DbType="Bit")]
 | 
			
		||||
		public System.Nullable<bool> IsFrame
 | 
			
		||||
		{
 | 
			
		||||
			get
 | 
			
		||||
			{
 | 
			
		||||
				return this._IsFrame;
 | 
			
		||||
			}
 | 
			
		||||
			set
 | 
			
		||||
			{
 | 
			
		||||
				if ((this._IsFrame != value))
 | 
			
		||||
				{
 | 
			
		||||
					this._IsFrame = value;
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		
 | 
			
		||||
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsFrameName", DbType="VarChar(2) NOT NULL", CanBeNull=false)]
 | 
			
		||||
		public string IsFrameName
 | 
			
		||||
		{
 | 
			
		||||
			get
 | 
			
		||||
			{
 | 
			
		||||
				return this._IsFrameName;
 | 
			
		||||
			}
 | 
			
		||||
			set
 | 
			
		||||
			{
 | 
			
		||||
				if ((this._IsFrameName != value))
 | 
			
		||||
				{
 | 
			
		||||
					this._IsFrameName = value;
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		
 | 
			
		||||
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Flag", DbType="NChar(1)")]
 | 
			
		||||
		public string Flag
 | 
			
		||||
		{
 | 
			
		||||
			get
 | 
			
		||||
			{
 | 
			
		||||
				return this._Flag;
 | 
			
		||||
			}
 | 
			
		||||
			set
 | 
			
		||||
			{
 | 
			
		||||
				if ((this._Flag != value))
 | 
			
		||||
				{
 | 
			
		||||
					this._Flag = value;
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
	
 | 
			
		||||
	[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_EMC_Que_Punishment")]
 | 
			
		||||
	public partial class View_EMC_Que_Punishment
 | 
			
		||||
	{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue