20250226 硬度检测委托单

This commit is contained in:
毕文静 2025-02-26 12:42:11 +08:00
parent dc93671919
commit 70a6901519
9 changed files with 30 additions and 36 deletions

View File

@ -376,7 +376,7 @@ namespace FineUIPro.Web.ContinuousPrint
ws.GetRow(rowIndex + 6).GetCell(8).SetCellValue("合格值");
region = new CellRangeAddress(rowIndex + 6, rowIndex + 6, 11, 12);
ws.AddMergedRegion(region);
ws.GetRow(rowIndex + 6).GetCell(11).SetCellValue("≤200");
ws.GetRow(rowIndex + 6).GetCell(11).SetCellValue(tbTitle.Rows[0]["STE_Code"].ToString());
//行8
region = new CellRangeAddress(rowIndex + 7, rowIndex + 7, 0, 0);
@ -428,7 +428,28 @@ namespace FineUIPro.Web.ContinuousPrint
}
#endregion
rowIndex = tEnd + 2;
#region
//创建尾部行
ws = ExcelCreateRowTitle(ws, hssfworkbook, tEnd + 1, tEnd + 2, style, 0, 12);
ICellStyle endStyleOne = CommonPrint.SetExcelStyle(hssfworkbook, BorderStyle.Thin, BorderStyle.Thin, BorderStyle.Thin, BorderStyle.Thin, VerticalAlignment.Center, HorizontalAlignment.Left, 10);
//创建尾部列
region = new CellRangeAddress(tEnd + 1, tEnd + 2, 0, 5);
ws.AddMergedRegion(region);
ws.GetRow(tEnd + 1).GetCell(0).CellStyle = endStyleOne;
ws.GetRow(tEnd + 1).GetCell(0).SetCellValue("委托单位:镇海石化建安工程股份有限公司");
region = new CellRangeAddress(tEnd + 1, tEnd + 1, 6, 12);
ws.AddMergedRegion(region);
ws.GetRow(tEnd + 1).GetCell(6).CellStyle = endStyleOne;
ws.GetRow(tEnd + 1).GetCell(6).SetCellValue("委托人:");
region = new CellRangeAddress(tEnd + 2, tEnd + 2, 6, 12);
ws.AddMergedRegion(region);
ws.GetRow(tEnd + 2).GetCell(6).CellStyle = endStyleOne;
ws.GetRow(tEnd + 2).GetCell(6).SetCellValue("日期: 年 月 日");
#endregion
rowIndex = tEnd + 4;
}
}
}
@ -517,7 +538,6 @@ namespace FineUIPro.Web.ContinuousPrint
return ws;
}
/// <summary>
/// 查询指定条数分页
/// </summary>

View File

@ -1197,6 +1197,12 @@
<Content Include="Login.aspx" />
<Content Include="AttachFile\fileupload.ashx" />
<Content Include="Captcha\captcha.ashx" />
<Content Include="OfficeControl\ntkoofficecontrol.js" />
<Content Include="OfficeControl\ntkosigntool.cab" />
<Content Include="OfficeControl\OfficeControl.cab" />
<Content Include="OfficeControl\OfficeControl.ocx" />
<Content Include="OfficeControl\signtoolcontrol.js" />
<Content Include="OfficeControl\手工卸载安装NTKO OFFICE文档控件.txt" />
<Content Include="RLSB\CheckConfirm.aspx" />
<Content Include="RLSB\FaceConfirm.aspx" />
<Content Include="RLSB\UploadImageCheck.aspx" />
@ -1372,6 +1378,7 @@
<None Include="File\Word\Unqualified\工程复工报告.doc" />
<None Include="File\人脸扫描手动注册.rar" />
<Content Include="ModelPath.ini" />
<Content Include="OfficeControl\~%24KO_OFFICE文档控件开发接口参考V5002.doc" />
<None Include="res\extjs\res\images\access\form\clear-trigger.psd" />
<None Include="res\extjs\res\images\access\form\date-trigger.psd" />
<None Include="res\extjs\res\images\access\form\search-trigger.psd" />
@ -1401,12 +1408,6 @@
<None Include="res\images\Thumbs.db" />
<Content Include="LogOff.aspx" />
<Content Include="ntko.js" />
<Content Include="OfficeControl\ntkoofficecontrol.js" />
<Content Include="OfficeControl\ntkosigntool.cab" />
<Content Include="OfficeControl\OfficeControl.cab" />
<Content Include="OfficeControl\OfficeControl.ocx" />
<Content Include="OfficeControl\signtoolcontrol.js" />
<Content Include="OfficeControl\手工卸载安装NTKO OFFICE文档控件.txt" />
<Content Include="OperationError.aspx" />
<Content Include="APPDownload.aspx" />
<Content Include="res\css\common.css" />

View File

@ -794,32 +794,6 @@ namespace FineUIPro.Web.HJGL.HotHardManage
i = 1;
}
}
//var jotIdItems = (from x in hardTestReportItems
// join y in Funs.DB.HJGL_PW_JointInfo
// on x.JOT_ID equals y.JOT_ID
// //orderby y.Sort1,y.Sort2,y.Sort3,y.Sort4,y.Sort5
// select x.JOT_ID + "," + x.HotProessTrustId).Distinct();
//int i = 1;
//foreach (var jotIds in jotIdItems)
//{
// string jotId = jotIds.Split(',')[0];
// string hotProessTrustId = jotIds.Split(',')[1];
// var items = hardTestReportItems.Where(x => x.JOT_ID == jotId && x.HotProessTrustId == hotProessTrustId);
// foreach (var item in items)
// {
// item.Flag = i;
// BLL.HJGL_CH_HardTestReportService.UpdateCH_HardTestReportItem(item);
// }
// if (i == 1 || i == 2)
// {
// i++;
// }
// else
// {
// i = 1;
// }
//}
List<SqlParameter> listStr = new List<SqlParameter>();
listStr.Add(new SqlParameter("@HardTestReportId", this.HardTestReportId));
listStr.Add(new SqlParameter("@Flag", "0"));

Binary file not shown.

Binary file not shown.

View File

@ -198,4 +198,3 @@ E:\镇海\ZHJA_HJGL\HJGL_ZH\Model\bin\Debug\Model.pdb
E:\镇海\ZHJA_HJGL\HJGL_ZH\Model\obj\Debug\Model.csproj.CoreCompileInputs.cache
E:\镇海\ZHJA_HJGL\HJGL_ZH\Model\obj\Debug\Model.dll
E:\镇海\ZHJA_HJGL\HJGL_ZH\Model\obj\Debug\Model.pdb
E:\镇海\ZHJA_HJGL\HJGL_ZH\Model\obj\Debug\Model.csprojAssemblyReference.cache

Binary file not shown.

Binary file not shown.