升级
This commit is contained in:
@@ -73,9 +73,12 @@
|
||||
FieldType="String" HeaderText="课题" TextAlign="Center"
|
||||
HeaderTextAlign="Center">
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="180px" ColumnID="Process" DataField="Process"
|
||||
FieldType="String" HeaderText="颁奖年份" TextAlign="Center"
|
||||
HeaderTextAlign="Center">
|
||||
<%-- <f:RenderField Width="180px" ColumnID="Process" DataField="Process" --%>
|
||||
<%-- FieldType="String" HeaderText="颁奖年份" TextAlign="Center" --%>
|
||||
<%-- HeaderTextAlign="Center"> --%>
|
||||
<%-- </f:RenderField> --%>
|
||||
<f:RenderField Width="120px" ColumnID="AwardYear" DataField="AwardYear" SortField="AwardYear"
|
||||
FieldType="Date" Renderer="Date" RendererArgument="yyyy" HeaderText="颁奖年份" TextAlign="Center" HeaderTextAlign="Center">
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="150px" ColumnID="Achievement" DataField="Achievement"
|
||||
FieldType="String" HeaderText="成果" TextAlign="Center"
|
||||
|
||||
@@ -51,9 +51,12 @@
|
||||
<Items>
|
||||
<%-- <f:TextBox ID="txtProcess" runat="server" LabelWidth="100px" Label="过程" LabelAlign="Right"> --%>
|
||||
<%-- </f:TextBox> --%>
|
||||
<f:NumberBox ID="txtProcess" runat="server" Label="颁奖年份" NoDecimal="true" NoNegative="true"
|
||||
LabelAlign="Right" LabelWidth="100px">
|
||||
</f:NumberBox>
|
||||
<%-- <f:NumberBox ID="txtProcess" runat="server" Label="颁奖年份" NoDecimal="true" NoNegative="true" --%>
|
||||
<%-- LabelAlign="Right" LabelWidth="100px"> --%>
|
||||
<%-- </f:NumberBox> --%>
|
||||
<f:DatePicker runat="server" Required="true" DateFormatString="yyyy" Label="颁奖年份" EmptyText="请选择颁奖年份"
|
||||
ID="txtAwardYear" ShowRedStar="true" DisplayType="Year" ShowTodayButton="false">
|
||||
</f:DatePicker>
|
||||
<f:TextBox ID="txtAchievement" runat="server" LabelWidth="120px" Label="成果" LabelAlign="Right">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
|
||||
@@ -53,7 +53,8 @@ namespace FineUIPro.Web.CQMS.QualityActivity.QCManage
|
||||
this.drpUnitId.SelectedValue = QCGroupRegistration.UnitId;
|
||||
}
|
||||
txtSubjects.Text = QCGroupRegistration.Subjects;
|
||||
txtProcess.Text = QCGroupRegistration.Process;
|
||||
// txtProcess.Text = QCGroupRegistration.Process;
|
||||
txtAwardYear.Text = string.Format("{0:yyyy}", QCGroupRegistration.AwardYear);
|
||||
txtAchievement.Text = QCGroupRegistration.Achievement;
|
||||
txtAwardName.Text = QCGroupRegistration.AwardName;
|
||||
if (!string.IsNullOrEmpty(QCGroupRegistration.AwardType))
|
||||
@@ -125,7 +126,12 @@ namespace FineUIPro.Web.CQMS.QualityActivity.QCManage
|
||||
QCGroupRegistration.UnitId = this.drpUnitId.SelectedValue;
|
||||
}
|
||||
QCGroupRegistration.Subjects = txtSubjects.Text.Trim();
|
||||
QCGroupRegistration.Process = txtProcess.Text.Trim();
|
||||
// QCGroupRegistration.Process = txtProcess.Text.Trim();
|
||||
var awardYearText = this.txtAwardYear.Text.Trim();
|
||||
if (!string.IsNullOrEmpty(awardYearText))
|
||||
{
|
||||
QCGroupRegistration.AwardYear = DateTime.ParseExact(awardYearText, "yyyy", null);
|
||||
}
|
||||
QCGroupRegistration.Achievement = txtAchievement.Text.Trim();
|
||||
QCGroupRegistration.AwardName = txtAwardName.Text.Trim();
|
||||
if (!string.IsNullOrEmpty(this.drpAwardType.SelectedValue))
|
||||
|
||||
Generated
+2
-2
@@ -96,13 +96,13 @@ namespace FineUIPro.Web.CQMS.QualityActivity.QCManage
|
||||
protected global::FineUIPro.TextBox txtSubjects;
|
||||
|
||||
/// <summary>
|
||||
/// txtProcess 控件。
|
||||
/// txtAwardYear 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.NumberBox txtProcess;
|
||||
protected global::FineUIPro.DatePicker txtAwardYear;
|
||||
|
||||
/// <summary>
|
||||
/// txtAchievement 控件。
|
||||
|
||||
Reference in New Issue
Block a user