20250213 分包商报告
This commit is contained in:
@@ -23,16 +23,16 @@
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtType" runat="server" Label="承包商类型" LabelWidth="160px" Readonly="true">
|
||||
<f:TextBox ID="txtType" runat="server" Label="承包商类型" LabelWidth="160px" Readonly="true" Required="true" ShowRedStar="true">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtContractor" runat="server" Label="承包商名称" MaxLength="200" LabelWidth="160px" Readonly="true">
|
||||
<f:TextBox ID="txtContractor" runat="server" Label="承包商名称" MaxLength="200" LabelWidth="160px" Readonly="true" Required="true" ShowRedStar="true">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DatePicker ID="txtAuditDate" runat="server" Label="审计日期" LabelWidth="160px" EnableEdit="false"></f:DatePicker>
|
||||
<f:DropDownList ID="drpAuditResult" runat="server" Label="审计结果" LabelWidth="160px" EnableEdit="false"></f:DropDownList>
|
||||
<f:DatePicker ID="txtAuditDate" runat="server" Label="审计日期" LabelWidth="160px" EnableEdit="false" Required="true" ShowRedStar="true"></f:DatePicker>
|
||||
<f:DropDownList ID="drpAuditResult" runat="server" Label="审计结果" LabelWidth="160px" EnableEdit="false" Required="true" ShowRedStar="true"></f:DropDownList>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using BLL;
|
||||
using Org.BouncyCastle.Asn1.Cmp;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
@@ -87,9 +88,9 @@ namespace FineUIPro.Web.SES
|
||||
}
|
||||
}
|
||||
this.txtAuditDate.Text = file.AuditDate.HasValue ? string.Format("{0:yyyy-MM-dd}", file.AuditDate) : "";
|
||||
if (!string.IsNullOrEmpty(file.AuditResult))
|
||||
if (!string.IsNullOrEmpty(file.AuditResult.Trim()))
|
||||
{
|
||||
this.drpAuditResult.SelectedValue = file.AuditResult;
|
||||
this.drpAuditResult.SelectedValue = file.AuditResult.Trim();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -146,6 +147,11 @@ namespace FineUIPro.Web.SES
|
||||
/// <param name="e"></param>
|
||||
protected void btnSave_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (this.drpAuditResult.SelectedValue == BLL.Const._Null)
|
||||
{
|
||||
Alert.ShowInTop("请选择审计结果!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
string id = Request.Params["id"];
|
||||
string fileId = Request.Params["fileId"];
|
||||
Model.FC_ContractManagement newContract = new Model.FC_ContractManagement();
|
||||
|
||||
Reference in New Issue
Block a user