20250902 接头报验检查记录
This commit is contained in:
parent
3272bee817
commit
e20cd5e761
|
@ -78,6 +78,7 @@
|
|||
<f:Toolbar ID="Toolbar3" Position="Top" runat="server">
|
||||
<Items>
|
||||
<f:Button ID="btnWeldingRecord" BoxConfigAlign="Center" Icon="Printer" runat="server" EnableAjax="false" DisableControlBeforePostBack="false" Text="焊接接头报检检查记录打印" ToolTip="焊接接头报检检查记录打印" OnClick="btnWeldingRecord_Click"></f:Button>
|
||||
<f:DropDownList ID="drpIsoId" runat="server" Label="管线号" LabelAlign="Right" AutoPostBack="true" OnSelectedIndexChanged="txtWeldingDate_TextChanged" EnableEdit="true"></f:DropDownList>
|
||||
<f:DatePicker ID="txtWeldingDate" runat="server" Label="焊接日期" LabelAlign="Right" AutoPostBack="true" OnTextChanged="txtWeldingDate_TextChanged" Width="220px"></f:DatePicker>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
|
|
|
@ -19,6 +19,11 @@ namespace FineUIPro.Web.ContinuousPrint
|
|||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
this.drpIsoId.DataTextField = "ISO_IsoNo";
|
||||
this.drpIsoId.DataValueField = "ISO_ID";
|
||||
Funs.FineUIPleaseSelect(this.drpIsoId);
|
||||
this.drpIsoId.SelectedValue = BLL.Const._Null;
|
||||
|
||||
BindGrid();
|
||||
}
|
||||
}
|
||||
|
@ -86,6 +91,11 @@ namespace FineUIPro.Web.ContinuousPrint
|
|||
LEFT JOIN dbo.HJGL_BS_NDTRate rate ON rate.NDTR_ID = batch.NDTR_ID where batch.ProjectId=@ProjectId ";
|
||||
List<SqlParameter> listStr = new List<SqlParameter>();
|
||||
listStr.Add(new SqlParameter("@ProjectId", ProjectId));
|
||||
if (this.drpIsoId.SelectedValue != BLL.Const._Null && !string.IsNullOrEmpty(this.drpIsoId.SelectedValue))
|
||||
{
|
||||
strSql += " AND isoInfo.ISO_ID=@isoId";
|
||||
listStr.Add(new SqlParameter("@isoId", this.drpIsoId.SelectedValue));
|
||||
}
|
||||
if (!string.IsNullOrEmpty(this.txtWeldingDate.Text.Trim()))
|
||||
{
|
||||
strSql += " AND weldReport.JOT_WeldDate=@weldingDate";
|
||||
|
@ -142,6 +152,12 @@ namespace FineUIPro.Web.ContinuousPrint
|
|||
/// <param name="e"></param>
|
||||
protected void Grid1_RowClick(object sender, GridRowClickEventArgs e)
|
||||
{
|
||||
this.drpIsoId.Items.Clear();
|
||||
this.drpIsoId.DataSource = from x in Funs.DB.HJGL_PW_IsoInfo where x.ProjectId == this.Grid1.SelectedRowID orderby x.ISO_IsoNo select x;
|
||||
this.drpIsoId.DataBind();
|
||||
Funs.FineUIPleaseSelect(this.drpIsoId);
|
||||
this.drpIsoId.SelectedValue = BLL.Const._Null;
|
||||
|
||||
BindGrid1(this.Grid1.SelectedRowID);
|
||||
}
|
||||
#endregion
|
||||
|
@ -270,7 +286,16 @@ namespace FineUIPro.Web.ContinuousPrint
|
|||
Dictionary<string, string> keyValuePairs = new Dictionary<string, string>();
|
||||
keyValuePairs.Add("ProjectName", hidProjectName.Value);
|
||||
keyValuePairs.Add("InspectionCount", tb.Rows.Count.ToString());
|
||||
keyValuePairs.Add("NDTRName", "100%");
|
||||
string nderName = string.Empty;
|
||||
if (!string.IsNullOrEmpty(hidNDTR_ID.Value))
|
||||
{
|
||||
var rate = BLL.HJGL_DetectionService.GetNDTRateByNDTRID(hidNDTR_ID.Value);
|
||||
if (rate != null)
|
||||
{
|
||||
nderName = rate.NDTR_Name;
|
||||
}
|
||||
}
|
||||
keyValuePairs.Add("NDTRName", nderName);
|
||||
if (hidJOTY_Group.Value=="1")
|
||||
{
|
||||
keyValuePairs.Add("NDTType", "RT");
|
||||
|
|
|
@ -7,12 +7,10 @@
|
|||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace FineUIPro.Web.ContinuousPrint
|
||||
{
|
||||
namespace FineUIPro.Web.ContinuousPrint {
|
||||
|
||||
|
||||
public partial class WeldingJointInspection
|
||||
{
|
||||
public partial class WeldingJointInspection {
|
||||
|
||||
/// <summary>
|
||||
/// form1 控件。
|
||||
|
@ -158,6 +156,15 @@ namespace FineUIPro.Web.ContinuousPrint
|
|||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnWeldingRecord;
|
||||
|
||||
/// <summary>
|
||||
/// drpIsoId 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpIsoId;
|
||||
|
||||
/// <summary>
|
||||
/// txtWeldingDate 控件。
|
||||
/// </summary>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Report ScriptLanguage="CSharp" ReportInfo.Created="11/23/2024 15:00:41" ReportInfo.Modified="08/26/2025 10:21:33" ReportInfo.CreatorVersion="2017.1.16.0">
|
||||
<Report ScriptLanguage="CSharp" ReportInfo.Created="11/23/2024 15:00:41" ReportInfo.Modified="09/02/2025 15:21:41" ReportInfo.CreatorVersion="2017.1.16.0">
|
||||
<ScriptText>using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
|
@ -42,7 +42,7 @@ namespace FastReport
|
|||
}
|
||||
</ScriptText>
|
||||
<Dictionary>
|
||||
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QF0vxnu5e02+t8IjlGkC6kBg==">
|
||||
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QFosjZ/ejXg9zfJILxJtNSOA==">
|
||||
<TableDataSource Name="Attach_Image" Alias="Data" DataType="System.Int32" Enabled="true" TableName="Attach_Image">
|
||||
<Column Name="Number" DataType="System.String" PropName="attach_image_id"/>
|
||||
<Column Name="ISO_IsoNo" DataType="System.String" PropName="image_series"/>
|
||||
|
|
Loading…
Reference in New Issue