2026.04.10
This commit is contained in:
@@ -51,20 +51,26 @@ namespace FineUIPro.Web.CQMS.QualityActivity.QCManage
|
||||
{
|
||||
this.drpUnitId.SelectedValue = QCGroupRegistration.UnitId;
|
||||
}
|
||||
if (QCGroupRegistration.AwardYear != null)
|
||||
{
|
||||
this.txtAwardYear.Text = string.Format("{0:yyyy}", QCGroupRegistration.AwardYear);
|
||||
}
|
||||
txtSubjects.Text = QCGroupRegistration.Subjects;
|
||||
txtProcess.Text = QCGroupRegistration.Process;
|
||||
//txtProcess.Text = QCGroupRegistration.Process;
|
||||
txtAchievement.Text = QCGroupRegistration.Achievement;
|
||||
txtAwardName.Text = QCGroupRegistration.AwardName;
|
||||
if (!string.IsNullOrEmpty(QCGroupRegistration.AwardType))
|
||||
{
|
||||
drpAwardType.SelectedValue = QCGroupRegistration.AwardType;
|
||||
if (QCGroupRegistration.AwardType == "1") {
|
||||
if (QCGroupRegistration.AwardType == "1")
|
||||
{
|
||||
drpAwardLevel.Items.Add(new ListItem("鲁班奖", "1"));
|
||||
drpAwardLevel.Items.Add(new ListItem("国优奖", "2"));
|
||||
drpAwardLevel.Items.Add(new ListItem("省部级", "3"));
|
||||
drpAwardLevel.Items.Add(new ListItem("市级", "4"));
|
||||
}
|
||||
else if (QCGroupRegistration.AwardType == "2") {
|
||||
else if (QCGroupRegistration.AwardType == "2")
|
||||
{
|
||||
drpAwardLevel.Items.Add(new ListItem("省部级", "5"));
|
||||
drpAwardLevel.Items.Add(new ListItem("集团级", "6"));
|
||||
drpAwardLevel.Items.Add(new ListItem("企业级", "7"));
|
||||
@@ -102,19 +108,21 @@ namespace FineUIPro.Web.CQMS.QualityActivity.QCManage
|
||||
}
|
||||
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../../../AttachFile/webuploader.aspx?type=-1&toKeyId={0}&path=FileUpload/QCGroupRegistration&menuId={1}", hdId.Text, BLL.Const.ProjectQCGroupRegistrationListMenuId)));
|
||||
}
|
||||
|
||||
|
||||
protected void Change_AwardType(object sender, EventArgs eventArgs)
|
||||
{
|
||||
|
||||
|
||||
drpAwardLevel.Items.Clear();
|
||||
drpAwardLevel.Items.Add(new ListItem("-请选择-", ""));
|
||||
|
||||
if (drpAwardType.SelectedValue == "1") {
|
||||
|
||||
if (drpAwardType.SelectedValue == "1")
|
||||
{
|
||||
drpAwardLevel.Items.Add(new ListItem("国家级", "1"));
|
||||
drpAwardLevel.Items.Add(new ListItem("省部级", "2"));
|
||||
drpAwardLevel.Items.Add(new ListItem("市级", "3"));
|
||||
}
|
||||
else if (drpAwardType.SelectedValue == "2") {
|
||||
else if (drpAwardType.SelectedValue == "2")
|
||||
{
|
||||
drpAwardLevel.Items.Add(new ListItem("省部级", "4"));
|
||||
drpAwardLevel.Items.Add(new ListItem("集团级", "5"));
|
||||
drpAwardLevel.Items.Add(new ListItem("企业级", "6"));
|
||||
@@ -124,7 +132,7 @@ namespace FineUIPro.Web.CQMS.QualityActivity.QCManage
|
||||
{
|
||||
drpAwardLevel.SelectedIndex = 0;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user