This commit is contained in:
2023-09-22 17:36:00 +08:00
parent dece3781ec
commit 9942cdcf6f
49 changed files with 2907 additions and 2375 deletions
@@ -43,6 +43,9 @@
<asp:Label ID="lblNumber" runat="server" Text='<%# Grid1.PageIndex * Grid1.PageSize + Container.DataItemIndex + 1 %>'></asp:Label>
</ItemTemplate>
</f:TemplateField>
<f:RenderField Width="200px" ColumnID="SpecialEquipmentName" DataField="SpecialEquipmentName" SortField="SpecialEquipmentName"
FieldType="String" HeaderText="设备名称" HeaderTextAlign="Center" TextAlign="Left">
</f:RenderField>
<f:TemplateField ColumnID="tfSpecialEquipmentId" HeaderText="设备" Width="150px" HeaderTextAlign="Center">
<ItemTemplate>
<asp:Label ID="lblSpecialEquipmentId" runat="server" Text='<%# ConvertEqiupment(Eval("SpecialEquipmentId")) %>'></asp:Label>
@@ -63,8 +63,8 @@ namespace FineUIPro.Web.HSSE.InApproveManager
{
string strSql = "SELECT GeneralEquipmentIn.GeneralEquipmentInId,"
+ @"GeneralEquipmentIn.ProjectId,"
+ @"GeneralEquipmentInItem.GeneralEquipmentInItemId,GeneralEquipmentInItem.SpecialEquipmentId,GeneralEquipmentInItem.SizeModel,GeneralEquipmentInItem.OwnerCheck,GeneralEquipmentInItem.CertificateNum,GeneralEquipmentInItem.IsUsed,"
+ @"CodeRecords.Code AS GeneralEquipmentInCode,"
+ @"GeneralEquipmentInItem.GeneralEquipmentInItemId,GeneralEquipmentInItem.SpecialEquipmentId,GeneralEquipmentInItem.SpecialEquipmentName,GeneralEquipmentInItem.SizeModel,GeneralEquipmentInItem.OwnerCheck,GeneralEquipmentInItem.CertificateNum,GeneralEquipmentInItem.IsUsed,"
+ @"CodeRecords.Code AS GeneralEquipmentInCode,"
+ @"GeneralEquipmentIn.UnitId,"
+ @"GeneralEquipmentIn.CarNumber,"
+ @"GeneralEquipmentIn.SubProjectName,"
@@ -28,12 +28,18 @@
<f:DropDownList ID="drpUnitId" runat="server" Label="单位名称" Required="true" ShowRedStar="true" LabelWidth="90px"
LabelAlign="Right">
</f:DropDownList>
<f:TextBox ID="txtCarNumber" runat="server" Label="车牌号" LabelAlign="Right" MaxLength="50" LabelWidth="80px">
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtCarNumber" runat="server" Label="车牌号" LabelAlign="Right" MaxLength="50" LabelWidth="80px">
</f:TextBox>
<f:TextBox ID="txtSubProjectName" runat="server" Label="分包工程" LabelAlign="Right" LabelWidth="80px"
MaxLength="50">
</f:TextBox>
</Items>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
@@ -75,6 +81,9 @@
<asp:Label ID="lblNumber" runat="server" Text='<%# Grid1.PageIndex * Grid1.PageSize + Container.DataItemIndex + 1 %>'></asp:Label>
</ItemTemplate>
</f:TemplateField>
<f:RenderField Width="200px" ColumnID="SpecialEquipmentName" DataField="SpecialEquipmentName" SortField="SpecialEquipmentName"
FieldType="String" HeaderText="名称" HeaderTextAlign="Center" TextAlign="Left">
</f:RenderField>
<f:TemplateField ColumnID="tfSpecialEquipmentId" HeaderText="设备" Width="150px" HeaderTextAlign="Center">
<ItemTemplate>
<asp:Label ID="lblSpecialEquipmentId" runat="server" Text='<%# ConvertEqiupment(Eval("SpecialEquipmentId")) %>'></asp:Label>
@@ -83,6 +92,7 @@
<f:RenderField Width="200px" ColumnID="SizeModel" DataField="SizeModel" SortField="SizeModel"
FieldType="String" HeaderText="规格型号" HeaderTextAlign="Center" TextAlign="Left">
</f:RenderField>
<f:RenderField Width="300px" ColumnID="OwnerCheck" DataField="OwnerCheck" SortField="OwnerCheck"
FieldType="String" HeaderText="进场前自查自检情况" HeaderTextAlign="Center" TextAlign="Left">
</f:RenderField>
@@ -20,6 +20,12 @@
ShowRedStar="true" LabelAlign="Right" LabelWidth="150px">
</f:DropDownList>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtSpecialEquipmentName" runat="server" Label="名称" LabelAlign="Right" MaxLength="50" LabelWidth="150px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
@@ -92,8 +92,9 @@ namespace FineUIPro.Web.HSSE.InApproveManager
{
generalEquipmentInItem.SpecialEquipmentId = this.drpSpecialEquipmentId.SelectedValue;
}
generalEquipmentInItem.SizeModel = this.txtSizeModel.Text.Trim();
generalEquipmentInItem.OwnerCheck = this.txtOwnerCheck.Text.Trim();
generalEquipmentInItem.SpecialEquipmentName = this.txtSpecialEquipmentName.Text.Trim();
generalEquipmentInItem.SizeModel = this.txtSizeModel.Text.Trim();
generalEquipmentInItem.OwnerCheck = this.txtOwnerCheck.Text.Trim();
generalEquipmentInItem.CertificateNum = this.txtCertificateNum.Text.Trim();
generalEquipmentInItem.IsUsed = Convert.ToBoolean(this.cbIsUsed.Checked);
if (!string.IsNullOrEmpty(this.GeneralEquipmentInItemId))
@@ -7,117 +7,128 @@
// </自动生成>
//------------------------------------------------------------------------------
namespace FineUIPro.Web.HSSE.InApproveManager {
public partial class GeneralEquipmentInItemEdit {
/// <summary>
/// form1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary>
/// PageManager1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.PageManager PageManager1;
/// <summary>
/// SimpleForm1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form SimpleForm1;
/// <summary>
/// drpSpecialEquipmentId 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList drpSpecialEquipmentId;
/// <summary>
/// txtSizeModel 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtSizeModel;
/// <summary>
/// txtOwnerCheck 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtOwnerCheck;
/// <summary>
/// txtCertificateNum 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtCertificateNum;
/// <summary>
/// cbIsUsed 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.CheckBox cbIsUsed;
/// <summary>
/// Toolbar1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Toolbar Toolbar1;
/// <summary>
/// ToolbarFill1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.ToolbarFill ToolbarFill1;
/// <summary>
/// btnSave 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnSave;
/// <summary>
/// btnClose 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnClose;
}
namespace FineUIPro.Web.HSSE.InApproveManager
{
public partial class GeneralEquipmentInItemEdit
{
/// <summary>
/// form1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary>
/// PageManager1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.PageManager PageManager1;
/// <summary>
/// SimpleForm1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form SimpleForm1;
/// <summary>
/// drpSpecialEquipmentId 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList drpSpecialEquipmentId;
/// <summary>
/// txtSpecialEquipmentName 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtSpecialEquipmentName;
/// <summary>
/// txtSizeModel 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtSizeModel;
/// <summary>
/// txtOwnerCheck 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtOwnerCheck;
/// <summary>
/// txtCertificateNum 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtCertificateNum;
/// <summary>
/// cbIsUsed 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.CheckBox cbIsUsed;
/// <summary>
/// Toolbar1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Toolbar Toolbar1;
/// <summary>
/// ToolbarFill1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.ToolbarFill ToolbarFill1;
/// <summary>
/// btnSave 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnSave;
/// <summary>
/// btnClose 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnClose;
}
}