20251028
This commit is contained in:
parent
1680def4f4
commit
345c376343
|
|
@ -0,0 +1,90 @@
|
|||
|
||||
ALTER VIEW [dbo].[V_JOINTVIEW]
|
||||
|
||||
AS
|
||||
|
||||
SELECT jot.JOT_ID,
|
||||
jot.ProjectId,
|
||||
WorkArea.WorkAreaId,
|
||||
WorkArea.WorkAreaCode,
|
||||
IsoInfo.ISO_ISONO,
|
||||
jot.JOT_BelongPipe,
|
||||
jot.JOT_JointNo,
|
||||
jot.JOT_Dia,
|
||||
jot.JOT_Sch,
|
||||
jot.JOT_FactSch,
|
||||
Steel.MaterialType as MetalType,
|
||||
cw.wed_code AS JOT_CellWelder,
|
||||
fw.wed_code AS JOT_FloorWelder,
|
||||
WeldMethod.WeldingMethodName,
|
||||
NDTRate.DetectionRate,
|
||||
(NDTRate.DetectionRate+'%') AS NDTR,
|
||||
bService.MediumName AS SER_NAME,
|
||||
WeldReportMain.JOT_WeldDate,
|
||||
WeldReportMain.JOT_DailyReportNo,
|
||||
trust.CH_TrustCode AS CH_TRUSTCODE1,
|
||||
jot.IS_Proess,
|
||||
trust.CHT_CheckDate AS CHT_CHECKDATE,
|
||||
CAST(ISNULL(jot.JOT_Size,0) AS DECIMAL(19,2)) AS JOT_Size,
|
||||
WeldMaterialMat.ConsumablesCode AS WMT_MatCode,
|
||||
WeldMaterialMat.ConsumablesName AS WMT_Matname,
|
||||
WeldMaterialSilk.ConsumablesCode AS hsCode,
|
||||
WeldMaterialSilk.ConsumablesName AS hsname,
|
||||
jot.JOT_JointDesc,
|
||||
jot.PW_PointID,
|
||||
Steel.MaterialCode as STE_Name1,--材质1
|
||||
(CASE WHEN jot.PW_PointID IS NULL THEN '0' ELSE '1' END) AS if_dk,
|
||||
(CASE WHEN jot.IS_Proess ='1' THEN '是' ELSE '否' END) AS ProessName,
|
||||
(CASE WHEN jot.PW_PointID IS NULL THEN '否' ELSE '是' END) AS if_dkName,
|
||||
WorkArea.SupervisorUnitId,
|
||||
jot.JOT_JointStatus,
|
||||
jot.JOT_ProessDate,
|
||||
HJGL_Hard_Trust.HardTrustNo HotHardCode,--硬度委托编号
|
||||
HJGL_Hard_Trust.HardTrustDate HotHardDate, --硬度委托日期
|
||||
HOTTrust.HotProessTrustNo JOT_HotRpt,--热处理编号
|
||||
HOTTrust.ProessDate --热处理委托日期
|
||||
,IsoInfo.UnitId
|
||||
,trust.CH_TrustType
|
||||
,trust.CH_TrustDate
|
||||
,trust.CH_TrustCode
|
||||
,TPPackage.PTP_TestPackageNo
|
||||
,jot.ISO_Type
|
||||
,jot.JOTY_ID
|
||||
,WeldType.WeldTypeCode
|
||||
,jot.JOT_Location
|
||||
,jot.JOT_PrepareTemp
|
||||
FROM PW_JointInfo AS jot
|
||||
LEFT JOIN PW_IsoInfo AS IsoInfo ON IsoInfo.ISO_ID = jot.ISO_ID
|
||||
LEFT JOIN ProjectData_WorkArea AS WorkArea ON WorkArea.WorkAreaId = IsoInfo.WorkAreaId
|
||||
LEFT JOIN Base_Material AS Steel ON Steel.MaterialId = jot.MaterialId
|
||||
LEFT JOIN Base_WeldingMethod AS WeldMethod ON WeldMethod.WeldingMethodId = jot.WME_ID
|
||||
LEFT JOIN Base_DetectionRate AS NDTRate ON NDTRate.DetectionRateId = IsoInfo.DetectionRateId
|
||||
LEFT JOIN Base_TestMedium AS bService ON bService.TestMediumId = IsoInfo.TestMediumId
|
||||
LEFT JOIN BO_WeldReportMain AS WeldReportMain ON WeldReportMain.DReportID = jot.DReportID
|
||||
LEFT JOIN bs_welder AS fw ON jot.JOT_FloorWelder = fw.wed_id
|
||||
LEFT JOIN bs_welder AS cw ON jot.JOT_CellWelder = cw.wed_id
|
||||
LEFT JOIN Base_Consumables AS WeldMaterialMat ON WeldMaterialMat.ConsumablesId =jot.JOT_WeldMat
|
||||
LEFT JOIN Base_Consumables AS WeldMaterialSilk ON WeldMaterialSilk.ConsumablesId =jot.JOT_WeldSilk
|
||||
LEFT JOIN (SELECT DISTINCT JOT_ID, CH_TrustCode,CH_TrustDate ,Checks.CHT_CheckDate,CH_TrustType FROM CH_TrustItem AS TrustItem
|
||||
LEFT JOIN CH_Trust AS CH_Trust ON TrustItem.CH_TrustID = CH_Trust.CH_TrustID
|
||||
LEFT JOIN CH_Check AS Checks ON Checks.CH_TrustID=CH_Trust.CH_TrustID
|
||||
) AS trust ON trust.JOT_ID = jot.JOT_ID
|
||||
LEFT JOIN HJGL_Hard_TrustItem ON HJGL_Hard_TrustItem.WeldJointId=jot.JOT_ID
|
||||
LEFT JOIN HJGL_Hard_Trust ON HJGL_Hard_Trust.HardTrustID = HJGL_Hard_TrustItem.HardTrustID
|
||||
LEFT JOIN TP_IsoList TPIso ON IsoInfo.ISO_ID = TPIso.ISO_ID
|
||||
LEFT JOIN TP_TestPackage TPPackage ON TPPackage.PTP_ID = TPIso.PTP_ID
|
||||
LEFT JOIN HJGL_HotProess_TrustItem AS HotTrustItem ON jot.JOT_ID=HotTrustItem.WeldJointId
|
||||
LEFT JOIN HJGL_HotProess_Trust AS HOTTrust ON HOTTrust.HotProessTrustId=HotTrustItem.HotProessTrustId
|
||||
LEFT JOIN Base_WeldType AS WeldType ON WeldType.WeldTypeId=jot.JOTY_ID
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
GO
|
||||
|
||||
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Report ScriptLanguage="CSharp" ReportInfo.Created="12/29/2021 10:56:08" ReportInfo.Modified="05/17/2023 20:18:45" ReportInfo.CreatorVersion="2017.1.16.0">
|
||||
<Report ScriptLanguage="CSharp" ReportInfo.Created="12/29/2021 10:56:08" ReportInfo.Modified="10/28/2025 10:46:59" ReportInfo.CreatorVersion="2017.1.16.0">
|
||||
<ScriptText>using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
|
|
@ -57,70 +57,18 @@ namespace FastReport
|
|||
}
|
||||
</ScriptText>
|
||||
<Dictionary>
|
||||
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqvJIqZbrmqGn7L0P56UFhadlz3NC872689s+IIjEVKRMWAnGUHqCC/lthXB9Rh4m8+wBWAwJuyC3mmUP83vc3wJy+gmjZ+OjywnOZuiuxP7Ovp5QY648QqVO9ScWvVtkMNmDdUD+HqNdZhQzFn/I4RkA5GmMG5M8v66V8ZtqkCFxSHor3gugv57K3Y+Z+LnA2"/>
|
||||
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYvzscndNGRoabJ+tLUBfN56/+upK8eI2z+FFz2TV0BvfCPIrrecTI1WE1J0UMSjSjvhoZ/SJB8zLjnrDcev5Adnm0GhWIvg0IcIjPJBo7ptsNJKTsIQQ1Dkz3uwKwS2GbquZdXlLZO+YZCy7pTJgrmwQPhIGt8Ed1vH6JLWfgHql"/>
|
||||
<TableDataSource Name="Table1" ReferenceName="Table1" DataType="System.Int32" Enabled="true">
|
||||
<Column Name="CH_TrustCode" Enabled="false" DataType="System.String"/>
|
||||
<Column Name="WorkAreaCode" Enabled="false" DataType="System.String" PropName="Column"/>
|
||||
<Column Name="WED_Name" DataType="System.String" PropName="Column"/>
|
||||
<Column Name="ISO_IsoNo" DataType="System.String" PropName="Column1"/>
|
||||
<Column Name="JOT_JointNo" DataType="System.String" PropName="Column"/>
|
||||
<Column Name="JOT_JointDesc" DataType="System.String" PropName="Column1"/>
|
||||
<Column Name="STE_Name1" DataType="System.String" PropName="Column2"/>
|
||||
<Column Name="ISO_IsoNumber" DataType="System.String" PropName="Column3"/>
|
||||
<Column Name="JOT_HotRpt" DataType="System.String" PropName="Column4"/>
|
||||
<Column Name="WeldingMethodName" DataType="System.String" PropName="Column5"/>
|
||||
<Column Name="JOT_Location" DataType="System.String" PropName="Column6"/>
|
||||
<Column Name="JOT_WeldDate_Month" DataType="System.String" PropName="Column7"/>
|
||||
<Column Name="JOT_WeldDate_Day" DataType="System.String" PropName="Column8"/>
|
||||
<Column Name="JOT_ID" DataType="System.String"/>
|
||||
<Column Name="ProjectId" DataType="System.String"/>
|
||||
<Column Name="is_hj" DataType="System.String"/>
|
||||
<Column Name="JointStatusName" DataType="System.String"/>
|
||||
<Column Name="JOT_TrustFlagName" DataType="System.String"/>
|
||||
<Column Name="JOT_CheckFlagName" DataType="System.String"/>
|
||||
<Column Name="ISO_ID" DataType="System.String"/>
|
||||
<Column Name="WorkAreaId" DataType="System.String"/>
|
||||
<Column Name="JOT_WeldDate" DataType="System.DateTime"/>
|
||||
<Column Name="JOT_DailyReportNo" DataType="System.String"/>
|
||||
<Column Name="STE_Name2" DataType="System.String"/>
|
||||
<Column Name="Component1" DataType="System.String"/>
|
||||
<Column Name="Component2" DataType="System.String"/>
|
||||
<Column Name="WED_Code1" DataType="System.String"/>
|
||||
<Column Name="WED_Name1" DataType="System.String"/>
|
||||
<Column Name="WED_Code2" DataType="System.String"/>
|
||||
<Column Name="WED_Name2" DataType="System.String"/>
|
||||
<Column Name="JOT_Dia" DataType="System.Decimal"/>
|
||||
<Column Name="JOT_Size" DataType="System.Decimal"/>
|
||||
<Column Name="JOT_Sch" DataType="System.String"/>
|
||||
<Column Name="JOT_FactSch" DataType="System.Decimal"/>
|
||||
<Column Name="GrooveTypeName" DataType="System.String"/>
|
||||
<Column Name="JOTY_ID" DataType="System.String"/>
|
||||
<Column Name="WeldTypeName" DataType="System.String"/>
|
||||
<Column Name="WME_ID" DataType="System.String"/>
|
||||
<Column Name="WeldSilk" DataType="System.String"/>
|
||||
<Column Name="WeldMat" DataType="System.String"/>
|
||||
<Column Name="WLO_Code" DataType="System.String"/>
|
||||
<Column Name="WeldingLocationName" DataType="System.String"/>
|
||||
<Column Name="JOT_DoneDin" DataType="System.Decimal"/>
|
||||
<Column Name="JOT_PrepareTemp" DataType="System.Decimal"/>
|
||||
<Column Name="JOT_JointAttribute" DataType="System.String"/>
|
||||
<Column Name="JOT_CellTemp" DataType="System.Decimal"/>
|
||||
<Column Name="JOT_LastTemp" DataType="System.Decimal"/>
|
||||
<Column Name="JOT_HeartNo1" DataType="System.String"/>
|
||||
<Column Name="JOT_HeartNo2" DataType="System.String"/>
|
||||
<Column Name="PointDate" DataType="System.DateTime"/>
|
||||
<Column Name="PointNo" DataType="System.String"/>
|
||||
<Column Name="CH_TrustDate" DataType="System.DateTime"/>
|
||||
<Column Name="JOT_FaceCheckResult" DataType="System.String"/>
|
||||
<Column Name="JOT_FaceCheckDate" DataType="System.DateTime"/>
|
||||
<Column Name="JOT_FaceChecker" DataType="System.String"/>
|
||||
<Column Name="IS_Proess" DataType="System.String"/>
|
||||
<Column Name="JOT_BelongPipe" DataType="System.String"/>
|
||||
<Column Name="JOT_Electricity" DataType="System.String"/>
|
||||
<Column Name="JOT_Voltage" DataType="System.String"/>
|
||||
<Column Name="JOT_ProessDate" DataType="System.DateTime"/>
|
||||
<Column Name="JOT_Remark" DataType="System.String"/>
|
||||
<Column Name="index" DataType="System.Int16"/>
|
||||
</TableDataSource>
|
||||
<TableDataSource Name="Data" ReferenceName="Data.Data" DataType="System.Int32" Enabled="true">
|
||||
<Column Name="CH_TrustID" DataType="System.String"/>
|
||||
|
|
@ -154,8 +102,8 @@ namespace FastReport
|
|||
<Parameter Name="WorkAreaName" DataType="System.String"/>
|
||||
<Parameter Name="InstallationName" DataType="System.String"/>
|
||||
</Dictionary>
|
||||
<ReportPage Name="Page1" Landscape="true" PaperWidth="297" PaperHeight="210" RawPaperSize="9" LeftMargin="20" TopMargin="25" RightMargin="20" BottomMargin="20">
|
||||
<PageHeaderBand Name="PageHeader1" Width="971.46" Height="179.55">
|
||||
<ReportPage Name="Page1" Landscape="true" PaperWidth="297" PaperHeight="210" RawPaperSize="9" LeftMargin="20" TopMargin="25" RightMargin="20" BottomMargin="20" Guides="0,971.49,266.97,138.21,730.98,128.76,96.63,134.43,109.86,106.08,18.9,141.75,971.13,124.03,211.51,336.63,441.56,510.14,588.17,691.04,769.0699,853.03,78.03,87.48,125.12,104.93,68.58,102.87,83.96,40.07,971.47,348.19,659.83">
|
||||
<PageHeaderBand Name="PageHeader1" Width="971.46" Height="179.55" Guides="18.9,122.84,0,103.94,60.47,43.47,179.55,56.7,37.8">
|
||||
<TableObject Name="Table4" Top="18.9" Width="971.49" Height="103.94">
|
||||
<TableColumn Name="Column13" Width="128.76"/>
|
||||
<TableColumn Name="Column14" Width="138.21"/>
|
||||
|
|
@ -227,7 +175,7 @@ namespace FastReport
|
|||
</TableRow>
|
||||
</TableObject>
|
||||
</PageHeaderBand>
|
||||
<DataBand Name="Data1" Top="183" Width="971.46" Height="45.36">
|
||||
<DataBand Name="Data1" Top="183.55" Width="971.46" Height="45.36" Guides="0,45.36">
|
||||
<TableObject Name="Tabel_Data" Width="971.13" Height="45.36" Border.Lines="Top" ManualBuildEvent="Tabel_Data_ManualBuild">
|
||||
<TableColumn Name="Column71" Width="124.03"/>
|
||||
<TableColumn Name="Column72" Width="87.48"/>
|
||||
|
|
@ -243,19 +191,19 @@ namespace FastReport
|
|||
<TableRow Name="Row39" Height="45.36">
|
||||
<TableCell Name="Cell318" Border.Lines="All" Text="[Table1.ISO_IsoNo]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10pt"/>
|
||||
<TableCell Name="Cell319" Border.Lines="All" Text="[Table1.JOT_JointNo]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10pt"/>
|
||||
<TableCell Name="Cell317" Border.Lines="All" Text=" [Table1.WED_Code1]/[Table1.WED_Code2]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10pt"/>
|
||||
<TableCell Name="Cell317" Border.Lines="All" Text="[Table1.WED_Code2]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10pt"/>
|
||||
<TableCell Name="Cell320" Border.Lines="All" Text="[Table1.JOT_JointDesc]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10pt"/>
|
||||
<TableCell Name="Cell321" Border.Lines="All" Text="[Table1.STE_Name1]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10pt"/>
|
||||
<TableCell Name="Cell323" Border.Lines="All" Text="[Table1.JOT_Location]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10pt"/>
|
||||
<TableCell Name="Cell324" Border.Lines="All" Text="[Table1.WeldingMethodName]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10pt"/>
|
||||
<TableCell Name="Cell325" Border.Lines="All" Text="[Table1.WeldMat] " HorzAlign="Center" VertAlign="Center" Font="楷体, 10pt"/>
|
||||
<TableCell Name="Cell326" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10pt"/>
|
||||
<TableCell Name="Cell327" Border.Lines="All" Text="[IIf((Year([Table1.JOT_WeldDate]) < 1900),"",FormatDateTime([Table1.JOT_WeldDate],"yyyy-MM-dd "))]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10pt" ColSpan="2"/>
|
||||
<TableCell Name="Cell325" Border.Lines="All" Text="[Table1.WeldMat]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10pt"/>
|
||||
<TableCell Name="Cell326" Border.Lines="All" Text="[Table1.JOT_PrepareTemp]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10pt"/>
|
||||
<TableCell Name="Cell327" Border.Lines="All" Text="[Table1.JOT_WeldDate]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10pt" ColSpan="2"/>
|
||||
<TableCell Name="Cell328" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10pt"/>
|
||||
</TableRow>
|
||||
</TableObject>
|
||||
<DataFooterBand Name="DataFooter1" Top="280.61" Width="971.46">
|
||||
<ChildBand Name="Child2" Top="231.81" Width="971.46" Height="45.36" FillUnusedSpace="true">
|
||||
<DataFooterBand Name="DataFooter1" Top="282.27" Width="971.46">
|
||||
<ChildBand Name="Child2" Top="232.91" Width="971.46" Height="45.36" Guides="0,45.36" FillUnusedSpace="true">
|
||||
<TableObject Name="Table12" Width="971.13" Height="45.36" Border.Lines="Top">
|
||||
<TableColumn Name="Column112" Width="124.03"/>
|
||||
<TableColumn Name="Column113" Width="87.48"/>
|
||||
|
|
@ -285,7 +233,7 @@ namespace FastReport
|
|||
</ChildBand>
|
||||
</DataFooterBand>
|
||||
</DataBand>
|
||||
<PageFooterBand Name="PageFooter1" Top="284.06" Width="971.46" Height="115.29" PrintOn="FirstPage, SinglePage">
|
||||
<PageFooterBand Name="PageFooter1" Top="286.27" Width="971.46" Height="115.29" PrintOn="FirstPage, SinglePage" Guides="0,115.29,30.24">
|
||||
<TableObject Name="Table14" Width="971.47" Height="115.29" Border.Lines="Top">
|
||||
<TableColumn Name="Column126" Width="348.19"/>
|
||||
<TableColumn Name="Column127" Width="311.64"/>
|
||||
|
|
@ -301,7 +249,7 @@ namespace FastReport
|
|||
<TableCell Name="Cell421" Border.Lines="All" Text="记录人: 质量工程师: 焊接责任工程师: 日期: 年 月 日"/>
|
||||
</TableRow>
|
||||
</TableObject>
|
||||
<ChildBand Name="Child1" Top="402.8" Width="971.46" Height="10.4" PrintOnBottom="true"/>
|
||||
<ChildBand Name="Child1" Top="405.56" Width="971.46" Height="10.4" PrintOnBottom="true"/>
|
||||
</PageFooterBand>
|
||||
</ReportPage>
|
||||
</Report>
|
||||
|
|
|
|||
|
|
@ -59,8 +59,9 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
|||
//this.SetDailyReportNo(null, null);
|
||||
|
||||
List<Model.View_JointInfo> GetWeldReportItem = BLL.WeldReportService.GetDistinctWeldReportItem(this.DReportID);
|
||||
|
||||
this.PageInfoLoad(); // 加载页面
|
||||
this.BindGrid(GetWeldReportItem); // 初始化页面
|
||||
this.PageInfoLoad(); // 加载页面
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
|
@ -101,6 +102,40 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
|||
}
|
||||
BLL.Project_InstallationService.InitInstallationListDownList(this.drpInstallation, this.CurrUser.LoginProjectId, this.drpUnit.SelectedValue, true);
|
||||
this.drpInstallation.SelectedValue = BLL.Const._Null;
|
||||
|
||||
var report = BLL.WeldReportService.GetWeldReportByDReportID(this.DReportID);
|
||||
if (report != null)
|
||||
{
|
||||
//this.txtDailyReportNo.Text = report.JOT_DailyReportNo;
|
||||
if (!string.IsNullOrEmpty(report.UnitId))
|
||||
{
|
||||
this.drpUnit.SelectedValue = report.UnitId;
|
||||
this.hdUnitId.Text = report.UnitId;
|
||||
//this.txtUnitName.Text = BLL.UnitService.GetUnitNameByUnitId(report.UnitId);
|
||||
}
|
||||
if (!string.IsNullOrEmpty(report.CHT_Tabler))
|
||||
{
|
||||
this.hdUserId.Text = report.CHT_Tabler;
|
||||
this.txtUserName.Text = BLL.UserService.GetUserNameByUserId(report.CHT_Tabler);
|
||||
}
|
||||
if (!string.IsNullOrEmpty(report.InstallationId))
|
||||
{
|
||||
this.drpInstallation.Items.Clear();
|
||||
BLL.Project_InstallationService.InitInstallationListDownList(this.drpInstallation, this.CurrUser.LoginProjectId, this.drpUnit.SelectedValue, true);
|
||||
this.drpInstallation.SelectedValue = report.InstallationId;
|
||||
}
|
||||
this.hdDailyReportNo.Text = report.JOT_DailyReportNo;
|
||||
this.txtJOT_WeldDate.Text = string.Format("{0:yyyy-MM-dd}", report.JOT_WeldDate);
|
||||
this.txtCHT_TableDate.Text = string.Format("{0:yyyy-MM-dd}", report.CHT_TableDate);
|
||||
this.txtJOT_Remark.Text = report.JOT_Remark;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.SimpleForm1.Reset(); ///重置所有字段
|
||||
this.txtJOT_WeldDate.Text = string.Format("{0:yyyy-MM-dd}", System.DateTime.Now);
|
||||
this.txtCHT_TableDate.Text = string.Format("{0:yyyy-MM-dd}", System.DateTime.Now);
|
||||
}
|
||||
|
||||
///盖面焊工
|
||||
this.drpCellWelderCode.Items.Clear();
|
||||
///打底焊工
|
||||
|
|
@ -119,36 +154,6 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
|||
drpFloorWelderCode.DataSource = BLL.WelderService.GetWelderCodeListByProjectIdAndUnitId(this.CurrUser.LoginProjectId, this.drpUnit.SelectedValue);
|
||||
drpFloorWelderCode.DataBind();
|
||||
}
|
||||
var report = BLL.WeldReportService.GetWeldReportByDReportID(this.DReportID);
|
||||
if (report != null)
|
||||
{
|
||||
//this.txtDailyReportNo.Text = report.JOT_DailyReportNo;
|
||||
if (!string.IsNullOrEmpty(report.UnitId))
|
||||
{
|
||||
|
||||
this.hdUnitId.Text = report.UnitId;
|
||||
//this.txtUnitName.Text = BLL.UnitService.GetUnitNameByUnitId(report.UnitId);
|
||||
}
|
||||
if (!string.IsNullOrEmpty(report.CHT_Tabler))
|
||||
{
|
||||
this.hdUserId.Text = report.CHT_Tabler;
|
||||
this.txtUserName.Text = BLL.UserService.GetUserNameByUserId(report.CHT_Tabler);
|
||||
}
|
||||
if (!string.IsNullOrEmpty(report.InstallationId))
|
||||
{
|
||||
this.drpInstallation.SelectedValue = report.InstallationId;
|
||||
}
|
||||
this.hdDailyReportNo.Text = report.JOT_DailyReportNo;
|
||||
this.txtJOT_WeldDate.Text = string.Format("{0:yyyy-MM-dd}", report.JOT_WeldDate);
|
||||
this.txtCHT_TableDate.Text = string.Format("{0:yyyy-MM-dd}", report.CHT_TableDate);
|
||||
this.txtJOT_Remark.Text = report.JOT_Remark;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.SimpleForm1.Reset(); ///重置所有字段
|
||||
this.txtJOT_WeldDate.Text = string.Format("{0:yyyy-MM-dd}", System.DateTime.Now);
|
||||
this.txtCHT_TableDate.Text = string.Format("{0:yyyy-MM-dd}", System.DateTime.Now);
|
||||
}
|
||||
|
||||
/////制单人
|
||||
//this.drpCHT_Tabler.DataTextField = "UserName";
|
||||
|
|
@ -161,9 +166,9 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
|||
// this.drpCHT_Tabler.SelectedValue = this.CurrUser.UserId;
|
||||
//}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//BLL.Project_InstallationService.InitInstallationsDropDownList(this.drpInstallation, this.CurrUser.LoginProjectId, true);
|
||||
|
|
@ -207,7 +212,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
|||
// 2.获取当前分页数据
|
||||
//var table = this.GetPagedDataTable(GridNewDynamic, tb1);
|
||||
Grid1.RecordCount = tb.Rows.Count;
|
||||
tb = GetFilteredTable(Grid1.FilteredData, tb);
|
||||
//tb = GetFilteredTable(Grid1.FilteredData, tb);
|
||||
var table = this.GetPagedDataTable(Grid1, tb);
|
||||
|
||||
Grid1.DataSource = table;
|
||||
|
|
@ -250,108 +255,111 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
|||
}
|
||||
List<Model.View_JointInfo> GetWeldReportItem = this.CollectGridJointInfo();
|
||||
|
||||
Model.BO_WeldReportMain newWeldReportMain = new Model.BO_WeldReportMain();
|
||||
newWeldReportMain.ProjectId = this.CurrUser.LoginProjectId;
|
||||
//newWeldReportMain.JOT_DailyReportNo = this.txtDailyReportNo.Text.Trim();
|
||||
if (this.drpUnit.SelectedValue != BLL.Const._Null)
|
||||
if (GetWeldReportItem.Count > 0)
|
||||
{
|
||||
newWeldReportMain.UnitId = this.drpUnit.SelectedValue;
|
||||
}
|
||||
//if (!string.IsNullOrEmpty(this.CurrUser.UnitId))
|
||||
//{
|
||||
// newWeldReportMain.UnitId = this.CurrUser.UnitId;
|
||||
//}
|
||||
if (this.drpInstallation.SelectedValue != BLL.Const._Null&&!string.IsNullOrEmpty(this.drpInstallation.SelectedValue))
|
||||
{
|
||||
newWeldReportMain.InstallationId = this.drpInstallation.SelectedValue;
|
||||
}
|
||||
DateTime? weldDate = Funs.GetNewDateTime(this.txtJOT_WeldDate.Text);
|
||||
if (weldDate.HasValue)
|
||||
{
|
||||
newWeldReportMain.JOT_WeldDate = weldDate.Value;
|
||||
}
|
||||
else
|
||||
{
|
||||
newWeldReportMain.JOT_WeldDate = System.DateTime.Now;
|
||||
}
|
||||
//if (this.drpCHT_Tabler.SelectedValue != BLL.Const._Null)
|
||||
//{
|
||||
// newWeldReportMain.CHT_Tabler = this.drpCHT_Tabler.SelectedValue;
|
||||
//}
|
||||
if (!string.IsNullOrEmpty(this.CurrUser.UserId))
|
||||
{
|
||||
newWeldReportMain.CHT_Tabler = this.CurrUser.UserId;
|
||||
}
|
||||
newWeldReportMain.CHT_TableDate = Funs.GetNewDateTime(this.txtCHT_TableDate.Text);
|
||||
newWeldReportMain.JOT_Remark = this.txtJOT_Remark.Text.Trim();
|
||||
|
||||
if (!string.IsNullOrEmpty(this.DReportID))
|
||||
{
|
||||
newWeldReportMain.JOT_DailyReportNo = this.hdDailyReportNo.Text.Trim();
|
||||
newWeldReportMain.DReportID = this.DReportID;
|
||||
BLL.WeldReportService.UpdateWeldReport(newWeldReportMain);
|
||||
BLL.LogService.AddSys_Log(this.CurrUser, newWeldReportMain.JOT_DailyReportNo, this.DReportID, BLL.Const.HJGL_WeldReportMenuId, "修改焊接日报信息");
|
||||
}
|
||||
else
|
||||
{
|
||||
#region 自动生成日报告号
|
||||
var workAreaCode = string.Empty;
|
||||
var welderCode = string.Empty;
|
||||
string jotId = GetWeldReportItem.FirstOrDefault().JOT_ID;
|
||||
if (!string.IsNullOrEmpty(jotId))
|
||||
Model.BO_WeldReportMain newWeldReportMain = new Model.BO_WeldReportMain();
|
||||
newWeldReportMain.ProjectId = this.CurrUser.LoginProjectId;
|
||||
//newWeldReportMain.JOT_DailyReportNo = this.txtDailyReportNo.Text.Trim();
|
||||
if (this.drpUnit.SelectedValue != BLL.Const._Null)
|
||||
{
|
||||
var jotInfo = BLL.PW_JointInfoService.GetJointInfoByJotID(jotId);
|
||||
if (jotInfo != null)
|
||||
newWeldReportMain.UnitId = this.drpUnit.SelectedValue;
|
||||
}
|
||||
//if (!string.IsNullOrEmpty(this.CurrUser.UnitId))
|
||||
//{
|
||||
// newWeldReportMain.UnitId = this.CurrUser.UnitId;
|
||||
//}
|
||||
if (this.drpInstallation.SelectedValue != BLL.Const._Null && !string.IsNullOrEmpty(this.drpInstallation.SelectedValue))
|
||||
{
|
||||
newWeldReportMain.InstallationId = this.drpInstallation.SelectedValue;
|
||||
}
|
||||
DateTime? weldDate = Funs.GetNewDateTime(this.txtJOT_WeldDate.Text);
|
||||
if (weldDate.HasValue)
|
||||
{
|
||||
newWeldReportMain.JOT_WeldDate = weldDate.Value;
|
||||
}
|
||||
else
|
||||
{
|
||||
newWeldReportMain.JOT_WeldDate = System.DateTime.Now;
|
||||
}
|
||||
//if (this.drpCHT_Tabler.SelectedValue != BLL.Const._Null)
|
||||
//{
|
||||
// newWeldReportMain.CHT_Tabler = this.drpCHT_Tabler.SelectedValue;
|
||||
//}
|
||||
if (!string.IsNullOrEmpty(this.CurrUser.UserId))
|
||||
{
|
||||
newWeldReportMain.CHT_Tabler = this.CurrUser.UserId;
|
||||
}
|
||||
newWeldReportMain.CHT_TableDate = Funs.GetNewDateTime(this.txtCHT_TableDate.Text);
|
||||
newWeldReportMain.JOT_Remark = this.txtJOT_Remark.Text.Trim();
|
||||
|
||||
if (!string.IsNullOrEmpty(this.DReportID))
|
||||
{
|
||||
newWeldReportMain.JOT_DailyReportNo = this.hdDailyReportNo.Text.Trim();
|
||||
newWeldReportMain.DReportID = this.DReportID;
|
||||
BLL.WeldReportService.UpdateWeldReport(newWeldReportMain);
|
||||
BLL.LogService.AddSys_Log(this.CurrUser, newWeldReportMain.JOT_DailyReportNo, this.DReportID, BLL.Const.HJGL_WeldReportMenuId, "修改焊接日报信息");
|
||||
}
|
||||
else
|
||||
{
|
||||
#region 自动生成日报告号
|
||||
var workAreaCode = string.Empty;
|
||||
var welderCode = string.Empty;
|
||||
string jotId = GetWeldReportItem.FirstOrDefault().JOT_ID;
|
||||
if (!string.IsNullOrEmpty(jotId))
|
||||
{
|
||||
if (!string.IsNullOrEmpty(jotInfo.ISO_ID))
|
||||
var jotInfo = BLL.PW_JointInfoService.GetJointInfoByJotID(jotId);
|
||||
if (jotInfo != null)
|
||||
{
|
||||
var isoInfo = BLL.PW_IsoInfoService.GetIsoInfoByIsoInfoId(jotInfo.ISO_ID);
|
||||
if (isoInfo != null)
|
||||
if (!string.IsNullOrEmpty(jotInfo.ISO_ID))
|
||||
{
|
||||
workAreaCode = BLL.WorkAreaService.GetWorkAreaCodeByWorkAreaId(isoInfo.WorkAreaId);
|
||||
var isoInfo = BLL.PW_IsoInfoService.GetIsoInfoByIsoInfoId(jotInfo.ISO_ID);
|
||||
if (isoInfo != null)
|
||||
{
|
||||
workAreaCode = BLL.WorkAreaService.GetWorkAreaCodeByWorkAreaId(isoInfo.WorkAreaId);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
string welderId = GetWeldReportItem.FirstOrDefault().JOT_CellWelder;
|
||||
if (!string.IsNullOrEmpty(welderId))
|
||||
{
|
||||
welderCode = BLL.WelderService.GetWelderById(welderId).WED_Code;
|
||||
}
|
||||
string perfix = workAreaCode + "-" + welderCode + "-";
|
||||
newWeldReportMain.JOT_DailyReportNo = BLL.SQLHelper.RunProcNewId("SpGetNewCode5ByProjectId", "dbo.BO_WeldReportMain", "JOT_DailyReportNo", this.CurrUser.LoginProjectId, perfix);
|
||||
#endregion
|
||||
|
||||
this.DReportID = SQLHelper.GetNewID(typeof(Model.BO_WeldReportMain));
|
||||
newWeldReportMain.DReportID = this.DReportID;
|
||||
BLL.WeldReportService.AddWeldReport(newWeldReportMain);
|
||||
BLL.LogService.AddSys_Log(this.CurrUser, newWeldReportMain.JOT_DailyReportNo, this.DReportID, BLL.Const.HJGL_WeldReportMenuId, "添加焊接日报信息");
|
||||
}
|
||||
string welderId = GetWeldReportItem.FirstOrDefault().JOT_CellWelder;
|
||||
if (!string.IsNullOrEmpty(welderId))
|
||||
|
||||
foreach (var item in GetWeldReportItem)
|
||||
{
|
||||
welderCode = BLL.WelderService.GetWelderById(welderId).WED_Code;
|
||||
Model.PW_JointInfo jot = BLL.PW_JointInfoService.GetJointInfoByJotID(item.JOT_ID);
|
||||
jot.DReportID = newWeldReportMain.DReportID;
|
||||
jot.JOT_CellWelder = item.JOT_CellWelder;
|
||||
jot.JOT_FloorWelder = item.JOT_FloorWelder;
|
||||
jot.WLO_Code = item.WLO_Code == "安装" ? "F" : "S";
|
||||
jot.JOT_JointAttribute = item.JOT_JointAttribute;
|
||||
jot.JOT_Location = item.JOT_Location;
|
||||
jot.JOT_DoneDin = item.JOT_DoneDin;
|
||||
jot.JOT_Electricity = item.JOT_Electricity;
|
||||
jot.JOT_Voltage = item.JOT_Voltage;
|
||||
jot.JOT_JointStatus = "100";
|
||||
jot.WeldingSpeed = item.WeldingSpeed;
|
||||
jot.JOT_PrepareTemp = item.JOT_PrepareTemp;
|
||||
jot.ActualPrepareTemp = item.ActualPrepareTemp;
|
||||
jot.JOT_CellTemp = item.JOT_CellTemp;
|
||||
jot.JOT_LastTemp = item.JOT_LastTemp;
|
||||
BLL.PW_JointInfoService.UpdateJointInfoByDReport(jot);
|
||||
//更新焊口号 修改固定焊口号后 +G
|
||||
BLL.PW_JointInfoService.UpdateJointNoAddG(item.JOT_ID, item.JOT_JointAttribute, "Add");
|
||||
}
|
||||
string perfix = workAreaCode + "-" + welderCode + "-";
|
||||
newWeldReportMain.JOT_DailyReportNo = BLL.SQLHelper.RunProcNewId("SpGetNewCode5ByProjectId", "dbo.BO_WeldReportMain", "JOT_DailyReportNo", this.CurrUser.LoginProjectId, perfix);
|
||||
#endregion
|
||||
|
||||
this.DReportID = SQLHelper.GetNewID(typeof(Model.BO_WeldReportMain));
|
||||
newWeldReportMain.DReportID = this.DReportID;
|
||||
BLL.WeldReportService.AddWeldReport(newWeldReportMain);
|
||||
BLL.LogService.AddSys_Log(this.CurrUser, newWeldReportMain.JOT_DailyReportNo, this.DReportID, BLL.Const.HJGL_WeldReportMenuId, "添加焊接日报信息");
|
||||
ShowNotify("提交成功!", MessageBoxIcon.Success);
|
||||
PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
|
||||
}
|
||||
|
||||
foreach (var item in GetWeldReportItem)
|
||||
{
|
||||
Model.PW_JointInfo jot = BLL.PW_JointInfoService.GetJointInfoByJotID(item.JOT_ID);
|
||||
jot.DReportID = newWeldReportMain.DReportID;
|
||||
jot.JOT_CellWelder = item.JOT_CellWelder;
|
||||
jot.JOT_FloorWelder = item.JOT_FloorWelder;
|
||||
jot.WLO_Code = item.WLO_Code == "安装" ? "F" : "S";
|
||||
jot.JOT_JointAttribute = item.JOT_JointAttribute;
|
||||
jot.JOT_Location = item.JOT_Location;
|
||||
jot.JOT_DoneDin = item.JOT_DoneDin;
|
||||
jot.JOT_Electricity = item.JOT_Electricity;
|
||||
jot.JOT_Voltage = item.JOT_Voltage;
|
||||
jot.JOT_JointStatus = "100";
|
||||
jot.WeldingSpeed = item.WeldingSpeed;
|
||||
jot.JOT_PrepareTemp = item.JOT_PrepareTemp;
|
||||
jot.ActualPrepareTemp = item.ActualPrepareTemp;
|
||||
jot.JOT_CellTemp = item.JOT_CellTemp;
|
||||
jot.JOT_LastTemp = item.JOT_LastTemp;
|
||||
BLL.PW_JointInfoService.UpdateJointInfoByDReport(jot);
|
||||
//更新焊口号 修改固定焊口号后 +G
|
||||
BLL.PW_JointInfoService.UpdateJointNoAddG(item.JOT_ID, item.JOT_JointAttribute, "Add");
|
||||
}
|
||||
ShowNotify("提交成功!", MessageBoxIcon.Success);
|
||||
PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
|
|
@ -7,47 +7,55 @@
|
|||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>焊口综合信息</title>
|
||||
<style>
|
||||
/*定义父容器*/
|
||||
.content{
|
||||
width: 550px;
|
||||
height: 30px;
|
||||
background: #E4F1FB;
|
||||
margin:0 auto;
|
||||
}
|
||||
/*定义进度条*/
|
||||
.box{
|
||||
width: 0px;
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
text-align: center;
|
||||
background: #3BAAE3;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
</style>
|
||||
/*定义父容器*/
|
||||
.content {
|
||||
width: 550px;
|
||||
height: 30px;
|
||||
background: #E4F1FB;
|
||||
margin: 0 auto;
|
||||
}
|
||||
/*定义进度条*/
|
||||
.box {
|
||||
width: 0px;
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
text-align: center;
|
||||
background: #3BAAE3;
|
||||
color: #fff;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server" >
|
||||
<form id="form1" runat="server">
|
||||
<f:PageManager ID="PageManager1" runat="server" AutoSizePanelID="RegionPanel1" />
|
||||
<f:RegionPanel ID="RegionPanel1" ShowBorder="false" runat="server" Margin="5px">
|
||||
<Regions>
|
||||
<f:Region ID="Region1" ShowBorder="false" ShowHeader="false" RegionPosition="Top"
|
||||
BodyPadding="0 5 0 0" Layout="VBox" runat="server" EnableCollapse="true">
|
||||
<Items>
|
||||
<f:Form ID="Form2" ShowHeader="false" ShowBorder="false" runat="server" LabelAlign="Right" >
|
||||
<f:Form ID="Form2" ShowHeader="false" ShowBorder="false" runat="server" LabelAlign="Right">
|
||||
<Toolbars>
|
||||
<f:Toolbar ID="Toolbar1" Position="Bottom" runat="server" ToolbarAlign="Right">
|
||||
<Items>
|
||||
<f:DropDownList ID="printType" runat="server" Label="打印报表" LabelAlign="Right" LabelWidth="100px" Hidden="true">
|
||||
<f:ListItem Value="0" Text="管道焊接工作记录" Selected="true" />
|
||||
<f:ListItem Value="1" Text="管道焊接工艺检查记录" />
|
||||
<f:ListItem Value="2" Text="设备焊接工作记录" />
|
||||
<f:ListItem Value="3" Text="管道对接焊接接头报检/检查记录" />
|
||||
<f:ListItem Value="4" Text="管道焊接接头热处理报告" />
|
||||
</f:DropDownList>
|
||||
<f:Button ID="Button1" Text="打印" Icon="Printer" runat="server" EnableAjax="false" OnClick="btnPrint_Click" DisableControlBeforePostBack="false">
|
||||
</f:Button>
|
||||
<f:Button ID="BtnAnalyse" Text="统计" Icon="ChartPie" runat="server" OnClick="BtnAnalyse_Click"></f:Button>
|
||||
<f:Button ID="btnPrint" runat="server" Icon="TableGo" EnablePostBack="true" Text="导出" OnClick="btnOut_Click" DisableControlBeforePostBack="true"></f:Button>
|
||||
|
||||
<f:Button ID="btnPrint" runat="server" Icon="TableGo" EnablePostBack="true" Text="导出" OnClick="btnOut_Click" DisableControlBeforePostBack="true"></f:Button>
|
||||
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
</Toolbars>
|
||||
<Rows>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<%--<f:DropDownList ID="drpUnit" runat="server" LabelWidth="80px" Label="单位名称" EnableEdit="true"
|
||||
<%--<f:DropDownList ID="drpUnit" runat="server" LabelWidth="80px" Label="单位名称" EnableEdit="true"
|
||||
AutoPostBack="true" OnSelectedIndexChanged="drpUnit_SelectedIndexChanged">
|
||||
</f:DropDownList>--%>
|
||||
<f:DropDownList ID="drpWorkArea" runat="server" LabelWidth="80px" Label="施工区域" EnableEdit="true">
|
||||
|
|
@ -123,7 +131,7 @@ color: #fff;
|
|||
<f:RenderField HeaderText="委托单号" ColumnID="CH_TRUSTCODE1" DataField="CH_TRUSTCODE1"
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="220px">
|
||||
</f:RenderField>
|
||||
<f:RenderField HeaderText="委托日期" ColumnID="CH_TrustDate" DataField="CH_TrustDate"
|
||||
<f:RenderField HeaderText="委托日期" ColumnID="CH_TrustDate" DataField="CH_TrustDate"
|
||||
FieldType="Date" Renderer="Date" HeaderTextAlign="Center" TextAlign="Left" Width="100px">
|
||||
</f:RenderField>
|
||||
<f:RenderField HeaderText="是否需要热处理" ColumnID="ProessName" DataField="ProessName"
|
||||
|
|
@ -133,7 +141,7 @@ color: #fff;
|
|||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="260px">
|
||||
</f:RenderField>
|
||||
<f:RenderField HeaderText="热处理委托日期" ColumnID="ProessDate" DataField="ProessDate"
|
||||
FieldType="Date" Renderer="Date" HeaderTextAlign="Center" TextAlign="Left" Width="100px">
|
||||
FieldType="Date" Renderer="Date" HeaderTextAlign="Center" TextAlign="Left" Width="100px">
|
||||
</f:RenderField>
|
||||
<f:RenderField HeaderText="检测日期" ColumnID="CHT_CHECKDATE" DataField="CHT_CHECKDATE"
|
||||
FieldType="Date" Renderer="Date" HeaderTextAlign="Center" TextAlign="Left" Width="100px">
|
||||
|
|
@ -172,7 +180,7 @@ color: #fff;
|
|||
<f:RenderField HeaderText="检测单号" ColumnID="CHT_CheckCode" DataField="CHT_CheckCode" SortField="CHT_CheckCode"
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="110px">
|
||||
</f:RenderField>
|
||||
<f:RenderField HeaderText="管道类别号" ColumnID="ISO_Type" DataField="ISO_Type" SortField="ISO_Type"
|
||||
<f:RenderField HeaderText="管道类别号" ColumnID="ISO_Type" DataField="ISO_Type" SortField="ISO_Type"
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="110px">
|
||||
</f:RenderField>
|
||||
</Columns>
|
||||
|
|
@ -190,25 +198,30 @@ color: #fff;
|
|||
</f:Region>
|
||||
</Regions>
|
||||
</f:RegionPanel>
|
||||
<f:Window ID="Window1" Hidden="true" runat="server" MinHeight="30px"
|
||||
Target="Parent" ShowHeader="false" BodyPadding="0" Margin="0"
|
||||
IsModal="true" Width="550px" Height="32px" >
|
||||
<Items >
|
||||
<f:ContentPanel ShowBorder="false" Height="30px" ShowHeader="false" ID="ContentPanel3" runat ="server">
|
||||
<div class="content" id="content"> <div class="box" id = "box" ></div > </div >
|
||||
</f:ContentPanel>
|
||||
<f:Window ID="Window1" Hidden="true" runat="server" MinHeight="30px"
|
||||
Target="Parent" ShowHeader="false" BodyPadding="0" Margin="0"
|
||||
IsModal="true" Width="550px" Height="32px">
|
||||
<Items>
|
||||
<f:ContentPanel ShowBorder="false" Height="30px" ShowHeader="false" ID="ContentPanel3" runat="server">
|
||||
<div class="content" id="content">
|
||||
<div class="box" id="box"></div>
|
||||
</div>
|
||||
</f:ContentPanel>
|
||||
</Items>
|
||||
|
||||
</f:Window>
|
||||
<f:Window ID="Window2" Title="打印" Hidden="true" EnableIFrame="true" EnableMaximize="true"
|
||||
Target="Top" EnableResize="true" runat="server" IsModal="true" Width="1200px"
|
||||
Height="620px">
|
||||
</f:Window>
|
||||
<asp:ScriptManager ID="ScriptManager2" runat="server" EnablePageMethods="true">
|
||||
<Scripts>
|
||||
<Scripts>
|
||||
|
||||
<asp:ScriptReference Path="~/res/JointComprehensive.js"/>
|
||||
</Scripts>
|
||||
<asp:ScriptReference Path="~/res/JointComprehensive.js" />
|
||||
</Scripts>
|
||||
|
||||
</asp:ScriptManager>
|
||||
</asp:ScriptManager>
|
||||
</form>
|
||||
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@ using System.IO;
|
|||
using NPOI.XSSF.UserModel;
|
||||
using NPOI.SS.UserModel;
|
||||
using System.Threading;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
{
|
||||
|
|
@ -37,7 +38,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
|||
//单位
|
||||
// var unit = BLL.UnitService.GetUnitByUnitId(this.CurrUser.UnitId);
|
||||
// if (unit != null && unit.UnitTypeId == BLL.Const.ProjectUnitType_2)
|
||||
if (this.CurrUser.UnitId != Const.UnitId_TCC && this.CurrUser.UnitId != Const.hfnbdId)
|
||||
if (this.CurrUser.UnitId != Const.UnitId_TCC && this.CurrUser.UserId != Const.hfnbdId)
|
||||
{
|
||||
//BLL.UnitService.InitSubUnitNameDownList(this.drpUnit, this.CurrUser.LoginProjectId, this.CurrUser.UnitId, true);
|
||||
//this.drpUnit.SelectedValue = this.CurrUser.UnitId;
|
||||
|
|
@ -118,6 +119,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
|||
Grid1.DataBind();
|
||||
}
|
||||
|
||||
#region 分页、排序
|
||||
/// <summary>
|
||||
/// 改变索引事件
|
||||
/// </summary>
|
||||
|
|
@ -149,6 +151,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
|||
this.BindGrid();
|
||||
}
|
||||
#endregion
|
||||
#endregion
|
||||
|
||||
#region 统计按钮事件
|
||||
/// <summary>
|
||||
|
|
@ -449,5 +452,631 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
|||
//}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 报表打印
|
||||
/// <summary>
|
||||
/// 报表打印
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnPrint_Click(object sender, EventArgs e)
|
||||
{
|
||||
//string isoId = this.tvControlItem.SelectedNodeID;
|
||||
//var q = BLL.PW_IsoInfoService.GetIsoInfoByIsoInfoId(isoId);
|
||||
|
||||
//if (q != null)
|
||||
//{
|
||||
if (this.drpWorkArea.SelectedValue != BLL.Const._Null && this.drpWorkArea.SelectedValue != "")
|
||||
{
|
||||
if (printType.SelectedValue == "0") //焊接工作记录
|
||||
{
|
||||
BLL.Common.FastReportService.ResetData();
|
||||
Dictionary<string, string> keyValuePairs = new Dictionary<string, string>();
|
||||
var workArea = BLL.WorkAreaService.getWorkAreaByWorkAreaId(this.drpWorkArea.SelectedValue);
|
||||
keyValuePairs.Add("WorkAreaName", workArea.WorkAreaName);
|
||||
keyValuePairs.Add("ProjectName", ProjectService.GetProjectNameByProjectId(this.CurrUser.LoginProjectId));
|
||||
BLL.Common.FastReportService.AddFastreportParameter(keyValuePairs);
|
||||
|
||||
string strSql = @"SELECT v.*,"
|
||||
+ @" ci.CHT_FilmDate as CHT_CheckDate,"
|
||||
+ @" c.CHT_CheckCode CHT_CheckCode,c.CHT_CheckID"
|
||||
+ @" FROM V_JOINTVIEW v left join CH_CheckItem ci on ci.JOT_ID=v.JOT_ID left join CH_Check c on ci.CHT_CheckID = c.CHT_CheckID WHERE 1=1 ";
|
||||
List<SqlParameter> listStr = new List<SqlParameter>
|
||||
{
|
||||
new SqlParameter("@projectId", this.CurrUser.LoginProjectId),
|
||||
};
|
||||
if (this.drpWorkArea.SelectedValue != BLL.Const._Null && !string.IsNullOrEmpty(this.drpWorkArea.SelectedValue))
|
||||
{
|
||||
strSql += " AND v.WorkAreaId =@workareaId";
|
||||
listStr.Add(new SqlParameter("@workareaId", this.drpWorkArea.SelectedValue));
|
||||
}
|
||||
|
||||
if (this.CurrUser.UnitId != Const.UnitId_TCC && this.CurrUser.UserId != Const.hfnbdId)
|
||||
{
|
||||
strSql += " AND v.UnitId = @UnitId";
|
||||
listStr.Add(new SqlParameter("@UnitId", this.CurrUser.UnitId));
|
||||
}
|
||||
if (!string.IsNullOrEmpty(this.txtJointDesc.Text.Trim()))
|
||||
{
|
||||
strSql += " AND v.JOT_JointDesc LIKE @JOT_JointDesc";
|
||||
listStr.Add(new SqlParameter("@JOT_JointDesc", "%" + this.txtJointDesc.Text.Trim() + "%"));
|
||||
}
|
||||
if (!string.IsNullOrEmpty(this.txtIsoNo.Text.Trim()))
|
||||
{
|
||||
strSql += " AND v.ISO_ISONO LIKE @isoNo";
|
||||
listStr.Add(new SqlParameter("@isoNo", "%" + this.txtIsoNo.Text.Trim() + "%"));
|
||||
}
|
||||
SqlParameter[] parameter = listStr.ToArray();
|
||||
DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
|
||||
DataView dv = tb.DefaultView;//获取表视图
|
||||
dv.Sort = "WorkAreaCode,ISO_ISONO,JOT_JointNo ASC";
|
||||
tb = dv.ToTable();//转为表
|
||||
if (tb != null)
|
||||
{
|
||||
DataTable dt = new DataTable();
|
||||
dt.TableName = "Table1";
|
||||
dt.Columns.Add("ISO_IsoNo");
|
||||
dt.Columns.Add("JOT_JointNo");
|
||||
dt.Columns.Add("WED_Code2");
|
||||
dt.Columns.Add("JOT_JointDesc");
|
||||
dt.Columns.Add("STE_Name1");
|
||||
dt.Columns.Add("JOT_Location");
|
||||
dt.Columns.Add("WeldingMethodName");
|
||||
dt.Columns.Add("WeldMat");
|
||||
dt.Columns.Add("JOT_PrepareTemp");
|
||||
dt.Columns.Add("JOT_WeldDate");
|
||||
|
||||
DataRow[] rows = tb.DefaultView.ToTable().Select();
|
||||
foreach (var row in rows)
|
||||
{
|
||||
var newRow = dt.NewRow();
|
||||
newRow["ISO_IsoNo"] = row["ISO_ISONO"].ToString();
|
||||
newRow["JOT_JointNo"] = row["JOT_JointNo"].ToString();
|
||||
newRow["WED_Code2"] = row["JOT_FloorWelder"].ToString();
|
||||
newRow["JOT_JointDesc"] = row["JOT_JointDesc"].ToString();
|
||||
newRow["STE_Name1"] = row["STE_Name1"].ToString();
|
||||
newRow["JOT_Location"] = row["JOT_Location"].ToString();
|
||||
newRow["WeldingMethodName"] = row["WeldingMethodName"].ToString();
|
||||
newRow["WeldMat"] = row["WMT_Matname"].ToString();
|
||||
newRow["JOT_PrepareTemp"] = row["JOT_PrepareTemp"].ToString();
|
||||
newRow["JOT_WeldDate"] = string.Format("{0:yyyy-MM-dd}", row["JOT_WeldDate"]);
|
||||
dt.Rows.Add(newRow);
|
||||
}
|
||||
BLL.Common.FastReportService.AddFastreportTable(dt);
|
||||
}
|
||||
|
||||
|
||||
string initTemplatePath = "";
|
||||
string rootPath = Server.MapPath("~/");
|
||||
|
||||
initTemplatePath = "File\\Fastreport\\管道焊接工作记录.frx";
|
||||
|
||||
if (File.Exists(rootPath + initTemplatePath))
|
||||
{
|
||||
PageContext.RegisterStartupScript(Window2.GetShowReference(String.Format("../TrustManage/Fastreport.aspx?ReportPath={0}", rootPath + initTemplatePath)));
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
//else if (printType.SelectedValue == "1")// 焊接工艺评定
|
||||
//{
|
||||
// var workArea = BLL.WorkAreaService.getWorkAreaByWorkAreaId(q.WorkAreaId);
|
||||
// var install = BLL.Project_InstallationService.GetInstallationByInstallationId(workArea.InstallationId);
|
||||
// Dictionary<string, string> keyValuePairs = new Dictionary<string, string>();
|
||||
// keyValuePairs.Add("ISO_IsoNo", q.ISO_IsoNo);
|
||||
// keyValuePairs.Add("install", install.InstallationName);
|
||||
// keyValuePairs.Add("workarea", workArea.WorkAreaName);
|
||||
// BLL.Common.FastReportService.ResetData();
|
||||
// BLL.Common.FastReportService.AddFastreportParameter(keyValuePairs);
|
||||
|
||||
|
||||
// string strSql = @"SELECT '' WED_Code,jointInfo.JOT_ID,
|
||||
// jointInfo.ProjectId,
|
||||
// jointInfo.JOT_JointNo,
|
||||
// jointInfo.is_hj,
|
||||
// jointInfo.JointStatusName,
|
||||
// jointInfo.JOT_TrustFlagName,
|
||||
// jointInfo.JOT_CheckFlagName,
|
||||
// jointInfo.ISO_ID,
|
||||
// jointInfo.ISO_IsoNo,
|
||||
// jointInfo.ISO_IsoNumber,
|
||||
// jointInfo.WorkAreaId,
|
||||
// jointInfo.WorkAreaCode,
|
||||
// jointInfo.JOT_WeldDate,
|
||||
// jointInfo.JOT_DailyReportNo,
|
||||
// jointInfo.STE_Name1,
|
||||
// jointInfo.STE_Name2,
|
||||
// jointInfo.Component1,
|
||||
// jointInfo.Component2,
|
||||
// jointInfo.WED_Code1,
|
||||
// jointInfo.WED_Name1,
|
||||
// jointInfo.WED_Code2,
|
||||
// jointInfo.WED_Name2,
|
||||
// jointInfo.JOT_JointDesc,
|
||||
// jointInfo.JOT_Dia,
|
||||
// jointInfo.JOT_Size,
|
||||
// jointInfo.JOT_Sch,
|
||||
// jointInfo.JOT_FactSch,
|
||||
// jointInfo.GrooveTypeName,
|
||||
// jointInfo.JOTY_ID,
|
||||
// jointInfo.WeldTypeName,
|
||||
// jointInfo.WME_ID,
|
||||
// jointInfo.WeldingMethodName,
|
||||
// jointInfo.WeldSilk,
|
||||
// jointInfo.WeldMat,
|
||||
// jointInfo.WLO_Code,
|
||||
// jointInfo.WeldingLocationName,
|
||||
// jointInfo.JOT_DoneDin,
|
||||
// jointInfo.JOT_PrepareTemp,
|
||||
// jointInfo.JOT_JointAttribute,
|
||||
// jointInfo.JOT_CellTemp,
|
||||
// jointInfo.JOT_LastTemp,
|
||||
// jointInfo.JOT_HeartNo1,
|
||||
// jointInfo.JOT_HeartNo2,
|
||||
// jointInfo.PointDate,
|
||||
// jointInfo.PointNo,
|
||||
// jointInfo.CH_TrustCode,
|
||||
// jointInfo.CH_TrustDate,
|
||||
// jointInfo.JOT_FaceCheckResult,
|
||||
// jointInfo.JOT_FaceCheckDate,
|
||||
// jointInfo.JOT_FaceChecker,
|
||||
// jointInfo.IS_Proess,
|
||||
// jointInfo.JOT_BelongPipe,
|
||||
// jointInfo.JOT_Electricity,
|
||||
// jointInfo.JOT_Voltage,
|
||||
// jointInfo.JOT_ProessDate,
|
||||
// jointInfo.JOT_HotRpt,
|
||||
// jointInfo.JOT_Remark,jointInfo.JOT_Location"
|
||||
// + @" from View_JointInfo as jointInfo "
|
||||
// + @" WHERE jointInfo.ProjectId= @projectId AND jointInfo.ISO_ID=@isoId ";
|
||||
// List<SqlParameter> listStr = new List<SqlParameter>
|
||||
//{
|
||||
// new SqlParameter("@projectId", this.CurrUser.LoginProjectId),
|
||||
// new SqlParameter("@isoId", this.tvControlItem.SelectedNodeID),
|
||||
//};
|
||||
// if (!string.IsNullOrEmpty(this.txtJOT_JointNo.Text.Trim()))
|
||||
// {
|
||||
// strSql += " AND jointInfo.JOT_JointNo LIKE @JOT_JointNo";
|
||||
// listStr.Add(new SqlParameter("@JOT_JointNo", "%" + this.txtJOT_JointNo.Text.Trim() + "%"));
|
||||
// }
|
||||
// if (!string.IsNullOrEmpty(this.dpIsHj.SelectedValue))
|
||||
// {
|
||||
// strSql += " AND jointInfo.is_hj = @is_hj";
|
||||
// listStr.Add(new SqlParameter("@is_hj", this.dpIsHj.SelectedValue));
|
||||
// }
|
||||
// strSql += " order by JOT_JointNo ";
|
||||
// SqlParameter[] parameter = listStr.ToArray();
|
||||
// DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
|
||||
// //if (tb.Rows.Count > 27)
|
||||
// //{
|
||||
// // // for (int i = 0; i < (tb.Rows.Count - 24) % 30; i++)
|
||||
// // for (int j = 0; j < tb.Rows.Count - 27; j++)
|
||||
// // {
|
||||
// // recordSheet.GetRow(6).CopyRowTo(7 + j);
|
||||
// // }
|
||||
// //}
|
||||
|
||||
// //if (tb.Rows.Count > 12)
|
||||
// //{
|
||||
// // recordSheet.ShiftRows(7, 34, tb.Rows.Count - 12);
|
||||
// // for (int j = 0; j < tb.Rows.Count - 12; j++)
|
||||
// // {
|
||||
// // recordSheet.CopyRow(6 + j, 7 + j);
|
||||
// // }
|
||||
// //}
|
||||
// for (int i = 0; i < tb.Rows.Count; i++)
|
||||
// {
|
||||
// try
|
||||
// {
|
||||
// string WED_Code = "";
|
||||
// if (!string.IsNullOrEmpty(tb.Rows[i]["WED_Code1"].ToString()))
|
||||
// WED_Code += tb.Rows[i]["WED_Code1"].ToString();
|
||||
|
||||
// if (!string.IsNullOrEmpty(tb.Rows[i]["WED_Code2"].ToString()))
|
||||
// WED_Code += " " + tb.Rows[i]["WED_Code2"].ToString();
|
||||
// tb.Rows[i]["WED_Code"] = WED_Code;
|
||||
// //recordSheet.GetRow(5 + i).GetCell(0).SetCellValue(tb.Rows[i]["ISO_IsoNo"].ToString());
|
||||
// //recordSheet.GetRow(5 + i).GetCell(1).SetCellValue("");
|
||||
// //recordSheet.GetRow(5 + i).GetCell(2).SetCellValue(tb.Rows[i]["JOT_JointNo"].ToString());
|
||||
// //recordSheet.GetRow(5 + i).GetCell(4).SetCellValue(WED_Code);
|
||||
// //recordSheet.GetRow(5 + i).GetCell(5).SetCellValue("");
|
||||
// //recordSheet.GetRow(5 + i).GetCell(6).SetCellValue("");
|
||||
// //recordSheet.GetRow(5 + i).GetCell(7).SetCellValue("");
|
||||
// //recordSheet.GetRow(5 + i).GetCell(8).SetCellValue(tb.Rows[i]["WeldingMethodName"].ToString());
|
||||
// //recordSheet.GetRow(5 + i).GetCell(9).SetCellValue(tb.Rows[i]["JOT_Electricity"].ToString());
|
||||
// //recordSheet.GetRow(5 + i).GetCell(10).SetCellValue(tb.Rows[i]["JOT_Voltage"].ToString());
|
||||
// //recordSheet.GetRow(5 + i).GetCell(11).SetCellValue("");
|
||||
// //recordSheet.GetRow(5 + i).GetCell(13).SetCellValue(tb.Rows[i]["JOT_PrepareTemp"].ToString());
|
||||
// //recordSheet.GetRow(5 + i).GetCell(14).SetCellValue(tb.Rows[i]["JOT_CellTemp"].ToString());
|
||||
// //recordSheet.GetRow(5 + i).GetCell(15).SetCellValue(tb.Rows[i]["JOT_LastTemp"].ToString());
|
||||
// //if (!string.IsNullOrEmpty(tb.Rows[i]["JOT_FaceCheckDate"].ToString()))
|
||||
// //{
|
||||
// // DateTimeFormat dateTimeFormat = new DateTimeFormat("yyyy-MM-DD HH:mm:ss.000");
|
||||
// // DateTime dateTime = DateTime.Parse(tb.Rows[i]["JOT_FaceCheckDate"].ToString());
|
||||
|
||||
// // recordSheet.GetRow(5 + i).GetCell(16).SetCellValue(dateTime.ToShortDateString());
|
||||
// //}
|
||||
// }
|
||||
// catch (Exception)
|
||||
// {
|
||||
|
||||
// }
|
||||
|
||||
// }
|
||||
// tb.TableName = "Table1";
|
||||
// BLL.Common.FastReportService.AddFastreportTable(tb);
|
||||
|
||||
// string initTemplatePath = "";
|
||||
// string rootPath = Server.MapPath("~/");
|
||||
|
||||
// initTemplatePath = "File\\Fastreport\\管道焊接工艺检查记录.frx";
|
||||
|
||||
// if (File.Exists(rootPath + initTemplatePath))
|
||||
// {
|
||||
// PageContext.RegisterStartupScript(Window2.GetShowReference(String.Format("../TrustManage/Fastreport.aspx?ReportPath={0}", rootPath + initTemplatePath)));
|
||||
|
||||
// }
|
||||
//}
|
||||
|
||||
//else if (printType.SelectedValue == "2")// 焊接工艺评定
|
||||
//{
|
||||
// Dictionary<string, string> keyValuePairs = new Dictionary<string, string>();
|
||||
// keyValuePairs.Add("ISO_IsoNo", q.ISO_IsoNo);
|
||||
// var workArea = BLL.WorkAreaService.getWorkAreaByWorkAreaId(q.WorkAreaId);
|
||||
// var install = BLL.Project_InstallationService.GetInstallationByInstallationId(workArea.InstallationId);
|
||||
// var project = BLL.ProjectService.GetProjectByProjectId(q.ProjectId);
|
||||
// keyValuePairs.Add("ProjecctName", project.ProjectName);//工程名称
|
||||
// keyValuePairs.Add("InstallationName", install.InstallationName);
|
||||
// keyValuePairs.Add("WorkAreaName", workArea.WorkAreaName);//单位工程名称
|
||||
// keyValuePairs.Add("ISOName", q.ISO_IsoNumber);//设备名称
|
||||
// keyValuePairs.Add("ISO_Specification", q.ISO_Specification);//设备规格
|
||||
// var material = Base_MaterialService.GetMaterialByMaterialId(q.MaterialId);
|
||||
// keyValuePairs.Add("MaterialCode", material.MaterialCode);//设备材质
|
||||
|
||||
// String strSql1 = @"SELECT '' WED_Code, jointInfo.JOT_JointNo,--焊缝位置/焊缝编号
|
||||
// '' WED_Name,--焊工姓名 或钢印号
|
||||
// jointInfo.JOT_JointDesc,--焊缝规格mm
|
||||
// jointInfo.JOT_PrepareTemp, --预热温度 ℃
|
||||
// jointInfo.JOT_Electricity, --焊接电流 A
|
||||
// jointInfo.JOT_Voltage, --焊接电压 V
|
||||
// jointInfo.JOT_ID,
|
||||
// jointInfo.ProjectId,
|
||||
// jointInfo.JOT_WeldDate, -- 焊接日期
|
||||
// jointInfo.WeldingMethodName,
|
||||
// jointInfo.WeldSilk,
|
||||
// WED_Name1,WED_Name2,WED_Code1,WED_Code2
|
||||
// from View_JointInfo as jointInfo WHERE jointInfo.ProjectId= @projectId AND jointInfo.ISO_ID=@isoId ";
|
||||
|
||||
|
||||
// List<SqlParameter> listStr1 = new List<SqlParameter>
|
||||
//{
|
||||
// new SqlParameter("@projectId", this.CurrUser.LoginProjectId),
|
||||
// new SqlParameter("@isoId", this.tvControlItem.SelectedNodeID),
|
||||
//};
|
||||
// if (!string.IsNullOrEmpty(this.txtJOT_JointNo.Text.Trim()))
|
||||
// {
|
||||
// strSql1 += " AND jointInfo.JOT_JointNo LIKE @JOT_JointNo";
|
||||
// listStr1.Add(new SqlParameter("@JOT_JointNo", "%" + this.txtJOT_JointNo.Text.Trim() + "%"));
|
||||
// }
|
||||
// if (!string.IsNullOrEmpty(this.dpIsHj.SelectedValue))
|
||||
// {
|
||||
// strSql1 += " AND jointInfo.is_hj = @is_hj";
|
||||
// listStr1.Add(new SqlParameter("@is_hj", this.dpIsHj.SelectedValue));
|
||||
// }
|
||||
// strSql1 += " order by JOT_JointNo ";
|
||||
|
||||
// SqlParameter[] parameter1 = listStr1.ToArray();
|
||||
// DataTable tb = SQLHelper.GetDataTableRunText(strSql1, parameter1);
|
||||
// if (tb.Rows.Count > 0)
|
||||
// {
|
||||
|
||||
// keyValuePairs.Add("WeldingMethodName", tb.Rows[0]["WeldingMethodName"].ToString());//焊接方法
|
||||
// keyValuePairs.Add("WeldSilk", tb.Rows[0]["WeldSilk"].ToString());//焊接材料
|
||||
// }
|
||||
// for (int i = 0; i < tb.Rows.Count; i++)
|
||||
// {
|
||||
// try
|
||||
// {
|
||||
// string WED_Name = "";
|
||||
// string WED_Code = "";
|
||||
// if (!string.IsNullOrEmpty(tb.Rows[i]["WED_Name1"].ToString()))
|
||||
// {
|
||||
// WED_Name += tb.Rows[i]["WED_Name1"].ToString();
|
||||
// WED_Code += tb.Rows[i]["WED_Code1"].ToString();
|
||||
|
||||
// }
|
||||
// if (!string.IsNullOrEmpty(tb.Rows[i]["WED_Name2"].ToString()))
|
||||
// {
|
||||
// WED_Name += "," + tb.Rows[i]["WED_Name2"].ToString();
|
||||
// WED_Code += "," + tb.Rows[i]["WED_Code2"].ToString();
|
||||
|
||||
// }
|
||||
// tb.Rows[i]["WED_Name"] = WED_Name;
|
||||
// tb.Rows[i]["WED_Code"] = WED_Code;
|
||||
// }
|
||||
// catch (Exception)
|
||||
// {
|
||||
|
||||
// }
|
||||
// }
|
||||
// BLL.Common.FastReportService.ResetData();
|
||||
// BLL.Common.FastReportService.AddFastreportParameter(keyValuePairs);
|
||||
|
||||
// tb.TableName = "Table1";
|
||||
// BLL.Common.FastReportService.AddFastreportTable(tb);
|
||||
|
||||
// string initTemplatePath = "";
|
||||
// string rootPath = Server.MapPath("~/");
|
||||
|
||||
// initTemplatePath = "File\\Fastreport\\设备焊接工作记录.frx";
|
||||
|
||||
// if (File.Exists(rootPath + initTemplatePath))
|
||||
// {
|
||||
// PageContext.RegisterStartupScript(Window2.GetShowReference(String.Format("../TrustManage/Fastreport.aspx?ReportPath={0}", rootPath + initTemplatePath)));
|
||||
|
||||
// }
|
||||
|
||||
|
||||
//}
|
||||
|
||||
//else if (printType.SelectedValue == "3")
|
||||
//{
|
||||
|
||||
// string varValue = string.Empty;
|
||||
// var projectName = BLL.ProjectService.GetProjectNameByProjectId(this.CurrUser.LoginProjectId);
|
||||
// var workarea = BLL.WorkAreaService.getWorkAreaByWorkAreaId(q.WorkAreaId);
|
||||
// var installationName = BLL.Project_InstallationService.GetInstallationByInstallationId(workarea.InstallationId).InstallationName;
|
||||
// var unitName = BLL.UnitService.GetUnitNameByUnitId(q.UnitId);
|
||||
// string rootPath = Server.MapPath("~/") + Const.ExcelUrl;
|
||||
// //模板文件
|
||||
// string TempletFileName = Server.MapPath("~/") + "File/Excel/HJGL_DataOut/管道焊接接头报检检查记录.xlsx";
|
||||
// //导出文件
|
||||
// string filePath = rootPath + DateTime.Now.ToString("yyyyMMddhhmmss") + "\\";
|
||||
// if (!Directory.Exists(filePath))
|
||||
// {
|
||||
// Directory.CreateDirectory(filePath);
|
||||
// }
|
||||
// string ReportFileName = filePath + "out.xlsx";
|
||||
|
||||
// FileStream file = new FileStream(TempletFileName, FileMode.Open, FileAccess.Read);
|
||||
// XSSFWorkbook hssfworkbook = new XSSFWorkbook(file);
|
||||
|
||||
// ICellStyle styleCenter = hssfworkbook.CreateCellStyle();
|
||||
// styleCenter.VerticalAlignment = VerticalAlignment.Center;
|
||||
// styleCenter.Alignment = HorizontalAlignment.Center;
|
||||
// styleCenter.BorderLeft = BorderStyle.Thin;
|
||||
// styleCenter.BorderTop = BorderStyle.Thin;
|
||||
// styleCenter.BorderRight = BorderStyle.Thin;
|
||||
// styleCenter.BorderBottom = BorderStyle.Thin;
|
||||
// styleCenter.WrapText = true;
|
||||
// IFont font = styleCenter.GetFont(hssfworkbook);
|
||||
// // font.Color = 10;//颜色
|
||||
// font.FontHeightInPoints = 10;//字体高度(与excel中的字号一致)
|
||||
// styleCenter.SetFont(font);
|
||||
// XSSFSheet recordSheet = (XSSFSheet)hssfworkbook.GetSheet("管道焊接接头报检检查记录");
|
||||
|
||||
// // recordSheet.AddMergedRegion(new CellRangeAddress(0, 0, 8, 9));
|
||||
// var workArea = BLL.WorkAreaService.getWorkAreaByWorkAreaId(q.WorkAreaId);
|
||||
|
||||
|
||||
// //recordSheet.GetRow(0).CreateCell(14).SetCellValue(projectName.ToString());
|
||||
// recordSheet.GetRow(0).CreateCell(14).SetCellValue(installationName);
|
||||
// recordSheet.GetRow(0).GetCell(14).CellStyle = styleCenter;
|
||||
// recordSheet.GetRow(2).CreateCell(14).SetCellValue(workarea.WorkAreaName);
|
||||
// recordSheet.GetRow(2).GetCell(14).CellStyle = styleCenter;
|
||||
// recordSheet.GetRow(2).CreateCell(1).SetCellValue(unitName);
|
||||
// recordSheet.GetRow(2).GetCell(1).CellStyle = styleCenter;
|
||||
// recordSheet.GetRow(3).GetCell(8).CellStyle = styleCenter;
|
||||
// //recordSheet.GetRow(2).CreateCell(7).SetCellValue(q.CHT_CheckCode);
|
||||
// recordSheet.GetRow(2).GetCell(7).CellStyle = styleCenter;
|
||||
// int i = 0;
|
||||
// List<Model.View_JointInfo> items = Funs.DB.View_JointInfo.Where(x => x.ISO_ID == q.ISO_ID).ToList();
|
||||
// var ndtt = BLL.Base_DetectionTypeService.GetDetectionTypeByDetectionTypeId(items[0].DetectionTypeId);
|
||||
// if (ndtt != null)
|
||||
// {
|
||||
// recordSheet.GetRow(3).CreateCell(8).SetCellValue(ndtt.DetectionTypeCode);
|
||||
|
||||
// }
|
||||
// recordSheet.GetRow(3).CreateCell(14).SetCellValue(items.Count + "个");
|
||||
// recordSheet.GetRow(3).GetCell(14).CellStyle = styleCenter;
|
||||
// if (items.Count > 11)
|
||||
// {
|
||||
// recordSheet.ShiftRows(17, 19, items.Count - 11);
|
||||
// for (int j = 0; j < items.Count - 11; j++)
|
||||
// {
|
||||
// recordSheet.CopyRow(16 + j, 17 + j);
|
||||
// }
|
||||
// recordSheet.GetRow(items.Count + 7).Height = recordSheet.GetRow(items.Count + 5).Height;
|
||||
// recordSheet.GetRow(items.Count + 6).Height = recordSheet.GetRow(items.Count + 5).Height;
|
||||
|
||||
// }
|
||||
|
||||
// foreach (var t in items)
|
||||
// {
|
||||
|
||||
|
||||
// if (q != null)
|
||||
// {
|
||||
// var dDetectionRate = Funs.DB.Base_DetectionRate.FirstOrDefault(x => x.DetectionRateId == q.DetectionRateId);
|
||||
// if (dDetectionRate != null)
|
||||
// {
|
||||
// recordSheet.GetRow(3).CreateCell(18).SetCellValue(dDetectionRate.DetectionRateValue + "%");
|
||||
// recordSheet.GetRow(3).GetCell(18).CellStyle = styleCenter;
|
||||
// }
|
||||
// }
|
||||
|
||||
|
||||
// recordSheet.GetRow(i + 6).CreateCell(0).SetCellValue((i + 1) + "");
|
||||
// recordSheet.GetRow(i + 6).GetCell(0).CellStyle = styleCenter;
|
||||
// recordSheet.GetRow(i + 6).CreateCell(1).SetCellValue(q.ISO_IsoNo);
|
||||
// recordSheet.GetRow(i + 6).GetCell(1).CellStyle = styleCenter;
|
||||
// recordSheet.GetRow(i + 6).CreateCell(3).SetCellValue(t.JOT_JointNo);
|
||||
// recordSheet.GetRow(i + 6).GetCell(3).CellStyle = styleCenter;
|
||||
// string welderCode = t.WED_Code1;
|
||||
// if (!string.IsNullOrEmpty(t.WED_Code2))
|
||||
// {
|
||||
// if (!string.IsNullOrEmpty(welderCode))
|
||||
// {
|
||||
// if (welderCode != t.WED_Code2)
|
||||
// {
|
||||
// welderCode += "," + t.WED_Code2;
|
||||
// }
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// welderCode = t.WED_Code2;
|
||||
// }
|
||||
// }
|
||||
// recordSheet.GetRow(i + 6).CreateCell(4).SetCellValue(welderCode);
|
||||
// recordSheet.GetRow(i + 6).GetCell(4).CellStyle = styleCenter;
|
||||
// #region 查找委托中的检测类型并赋给检测类型变量
|
||||
|
||||
|
||||
|
||||
// recordSheet.GetRow(i + 6).CreateCell(6).SetCellValue(t.JOT_JointDesc);
|
||||
// recordSheet.GetRow(i + 6).GetCell(6).CellStyle = styleCenter;
|
||||
// recordSheet.GetRow(i + 6).CreateCell(7).SetCellValue(t.STE_Name1);
|
||||
// recordSheet.GetRow(i + 6).GetCell(7).CellStyle = styleCenter;
|
||||
|
||||
// recordSheet.GetRow(i + 6).CreateCell(10).SetCellValue(t.JOT_Location);
|
||||
// recordSheet.GetRow(i + 6).GetCell(10).CellStyle = styleCenter;
|
||||
|
||||
// recordSheet.GetRow(i + 6).CreateCell(11).SetCellValue(t.WeldingMethodName);
|
||||
// recordSheet.GetRow(i + 6).GetCell(11).CellStyle = styleCenter;
|
||||
|
||||
// string weldMat = "";
|
||||
// if (!string.IsNullOrEmpty(t.JOT_WeldSilk))
|
||||
// {
|
||||
// var consumables = Funs.DB.Base_Consumables.FirstOrDefault(x => x.ConsumablesId == t.JOT_WeldSilk);
|
||||
// if (consumables != null)
|
||||
// {
|
||||
// weldMat = consumables.ConsumablesName;
|
||||
// }
|
||||
// }
|
||||
// if (!string.IsNullOrEmpty(t.JOT_WeldMat))
|
||||
// {
|
||||
// var consumables = Funs.DB.Base_Consumables.FirstOrDefault(x => x.ConsumablesId == t.JOT_WeldMat);
|
||||
// if (consumables != null)
|
||||
// {
|
||||
// if (!string.IsNullOrEmpty(weldMat))
|
||||
// {
|
||||
// weldMat += "," + consumables.ConsumablesName;
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// weldMat = consumables.ConsumablesName;
|
||||
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// recordSheet.GetRow(i + 6).CreateCell(12).SetCellValue(weldMat);
|
||||
// recordSheet.GetRow(i + 6).GetCell(12).CellStyle = styleCenter;
|
||||
|
||||
// if (t.JOT_PrepareTemp.HasValue)
|
||||
// {
|
||||
// recordSheet.GetRow(i + 6).CreateCell(14).SetCellValue(t.JOT_PrepareTemp.Value.ToString("##.#"));
|
||||
// recordSheet.GetRow(i + 6).GetCell(14).CellStyle = styleCenter;
|
||||
|
||||
// }
|
||||
// recordSheet.GetRow(i + 6).CreateCell(16).SetCellValue("合格");
|
||||
// recordSheet.GetRow(i + 6).GetCell(16).CellStyle = styleCenter;
|
||||
// #endregion
|
||||
// // checkItems.Add(checkItem);
|
||||
// i++;
|
||||
|
||||
// }
|
||||
// using (FileStream filess = File.OpenWrite(ReportFileName))
|
||||
// {
|
||||
// hssfworkbook.Write(filess);
|
||||
// }
|
||||
// //PageContext.RegisterStartupScript(Window5.GetShowReference(String.Format("../../ReportPrint/ExReportPrint.aspx?ispop=1&reportId={0}&replaceParameter={1}&varValue={2}&projectId={3}", BLL.Const.HJGL_JointInfoReportId, isoId, varValue, this.CurrUser.LoginProjectId)));
|
||||
|
||||
// FileInfo filet = new FileInfo(ReportFileName);
|
||||
// Response.Clear();
|
||||
// Response.Charset = "GB2312";
|
||||
// Response.ContentEncoding = System.Text.Encoding.UTF8;
|
||||
// // 添加头信息,为"文件下载/另存为"对话框指定默认文件名
|
||||
// Response.AddHeader("Content-Disposition", "attachment; filename=管道焊接接头报检检查记录_" + Server.UrlEncode(DateTime.Now.ToString("yyyyMMddhhmmss") + ".xlsx"));
|
||||
// // 添加头信息,指定文件大小,让浏览器能够显示下载进度
|
||||
// Response.AddHeader("Content-Length", filet.Length.ToString());
|
||||
// // 指定返回的是一个不能被客户端读取的流,必须被下载
|
||||
// Response.ContentType = "application/ms-excel";
|
||||
// // 把文件流发送到客户端
|
||||
// Response.WriteFile(filet.FullName);
|
||||
// // 停止页面的执行
|
||||
// Response.End();
|
||||
//}
|
||||
|
||||
//else if (printType.SelectedValue == "4")
|
||||
//{
|
||||
|
||||
// Dictionary<string, string> keyValuePairs = new Dictionary<string, string>();
|
||||
// var workArea = BLL.WorkAreaService.getWorkAreaByWorkAreaId(q.WorkAreaId);
|
||||
// var install = BLL.Project_InstallationService.GetInstallationByInstallationId(workArea.InstallationId);
|
||||
// var project = BLL.ProjectService.GetProjectByProjectId(q.ProjectId);
|
||||
// keyValuePairs.Add("ProjecctName", project.ProjectName);//工程名称
|
||||
// keyValuePairs.Add("WorkAreaName", workArea.WorkAreaName);//单位工程名称
|
||||
|
||||
|
||||
// String strSql1 = @" select iso.ISO_IsoNo,jot.JOT_JointNo,PointCount,RequiredT,ActualT,RequestTime,ActualTime,ProessDate,RecordChartNo ,m.MaterialCode,JOT_JointDesc
|
||||
// from PW_JointInfo jot left join PW_IsoInfo iso on jot.ISO_ID=iso.ISO_ID
|
||||
// left join HJGL_HotProess_Report hot on jot.JOT_ID = hot.WeldJointId
|
||||
// left join Base_Material m on jot.MaterialId=m.MaterialId WHERE hot.WeldJointId is not null and jot.ProjectId= @projectId AND jot.ISO_ID=@isoId ";
|
||||
|
||||
|
||||
// List<SqlParameter> listStr1 = new List<SqlParameter>
|
||||
// {
|
||||
// new SqlParameter("@projectId", this.CurrUser.LoginProjectId),
|
||||
// new SqlParameter("@isoId", this.tvControlItem.SelectedNodeID),
|
||||
// };
|
||||
// if (!string.IsNullOrEmpty(this.txtJOT_JointNo.Text.Trim()))
|
||||
// {
|
||||
// strSql1 += " AND jot.JOT_JointNo LIKE @JOT_JointNo";
|
||||
// listStr1.Add(new SqlParameter("@JOT_JointNo", "%" + this.txtJOT_JointNo.Text.Trim() + "%"));
|
||||
// }
|
||||
// if (!string.IsNullOrEmpty(this.dpIsHj.SelectedValue))
|
||||
// {
|
||||
// strSql1 += " AND jot.is_hj = @is_hj";
|
||||
// listStr1.Add(new SqlParameter("@is_hj", this.dpIsHj.SelectedValue));
|
||||
// }
|
||||
// strSql1 += " order by JOT_JointNo ";
|
||||
|
||||
// SqlParameter[] parameter1 = listStr1.ToArray();
|
||||
// DataTable tb = SQLHelper.GetDataTableRunText(strSql1, parameter1);
|
||||
|
||||
// BLL.Common.FastReportService.ResetData();
|
||||
// BLL.Common.FastReportService.AddFastreportParameter(keyValuePairs);
|
||||
|
||||
// tb.TableName = "Table1";
|
||||
// BLL.Common.FastReportService.AddFastreportTable(tb);
|
||||
|
||||
// string initTemplatePath = "";
|
||||
// string rootPath = Server.MapPath("~/");
|
||||
|
||||
// initTemplatePath = "File\\Fastreport\\管道焊接接头热处理报告.frx";
|
||||
|
||||
// if (File.Exists(rootPath + initTemplatePath))
|
||||
// {
|
||||
// PageContext.RegisterStartupScript(Window2.GetShowReference(String.Format("../TrustManage/Fastreport.aspx?ReportPath={0}", rootPath + initTemplatePath)));
|
||||
|
||||
// }
|
||||
|
||||
//}
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
// Alert.ShowInTop("请选择管线!", MessageBoxIcon.Warning);
|
||||
// return;
|
||||
//}
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop("请选择施工区域!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
|
@ -7,11 +7,13 @@
|
|||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace FineUIPro.Web.HJGL.WeldingReport {
|
||||
|
||||
|
||||
public partial class JointComprehensive {
|
||||
|
||||
namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
{
|
||||
|
||||
|
||||
public partial class JointComprehensive
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// form1 控件。
|
||||
/// </summary>
|
||||
|
|
@ -20,7 +22,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// PageManager1 控件。
|
||||
/// </summary>
|
||||
|
|
@ -29,7 +31,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.PageManager PageManager1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// RegionPanel1 控件。
|
||||
/// </summary>
|
||||
|
|
@ -38,7 +40,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.RegionPanel RegionPanel1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Region1 控件。
|
||||
/// </summary>
|
||||
|
|
@ -47,7 +49,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Region Region1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Form2 控件。
|
||||
/// </summary>
|
||||
|
|
@ -56,7 +58,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Form Form2;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Toolbar1 控件。
|
||||
/// </summary>
|
||||
|
|
@ -65,7 +67,25 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Toolbar Toolbar1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// printType 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList printType;
|
||||
|
||||
/// <summary>
|
||||
/// Button1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button Button1;
|
||||
|
||||
/// <summary>
|
||||
/// BtnAnalyse 控件。
|
||||
/// </summary>
|
||||
|
|
@ -74,7 +94,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button BtnAnalyse;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnPrint 控件。
|
||||
/// </summary>
|
||||
|
|
@ -83,7 +103,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnPrint;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// drpWorkArea 控件。
|
||||
/// </summary>
|
||||
|
|
@ -92,7 +112,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpWorkArea;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtJointDesc 控件。
|
||||
/// </summary>
|
||||
|
|
@ -101,7 +121,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtJointDesc;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtIsoNo 控件。
|
||||
/// </summary>
|
||||
|
|
@ -110,7 +130,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtIsoNo;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Label1 控件。
|
||||
/// </summary>
|
||||
|
|
@ -119,7 +139,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Label Label1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Region2 控件。
|
||||
/// </summary>
|
||||
|
|
@ -128,7 +148,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Region Region2;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Grid1 控件。
|
||||
/// </summary>
|
||||
|
|
@ -137,7 +157,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Grid Grid1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// labNumber 控件。
|
||||
/// </summary>
|
||||
|
|
@ -146,7 +166,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label labNumber;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarSeparator1 控件。
|
||||
/// </summary>
|
||||
|
|
@ -155,7 +175,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarText1 控件。
|
||||
/// </summary>
|
||||
|
|
@ -164,7 +184,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ToolbarText ToolbarText1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// ddlPageSize 控件。
|
||||
/// </summary>
|
||||
|
|
@ -173,7 +193,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList ddlPageSize;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Window1 控件。
|
||||
/// </summary>
|
||||
|
|
@ -182,7 +202,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Window Window1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// ContentPanel3 控件。
|
||||
/// </summary>
|
||||
|
|
@ -191,7 +211,16 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ContentPanel ContentPanel3;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Window2 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Window Window2;
|
||||
|
||||
/// <summary>
|
||||
/// ScriptManager2 控件。
|
||||
/// </summary>
|
||||
|
|
|
|||
Loading…
Reference in New Issue