20250410
This commit is contained in:
@@ -226,11 +226,11 @@ namespace FineUIPro.Web.SES
|
||||
PunishmentId = string.Empty;
|
||||
}
|
||||
|
||||
if (BLL.PunishmentService.IsExistSES_NO(PunishmentId, this.txtSESNo.Text.Trim(), "1"))
|
||||
{
|
||||
Alert.ShowInTop("The Backcharge SES NO. already exists!");
|
||||
return;
|
||||
}
|
||||
//if (BLL.PunishmentService.IsExistSES_NO(PunishmentId, this.txtSESNo.Text.Trim(), "1"))
|
||||
//{
|
||||
// Alert.ShowInTop("The Backcharge SES NO. already exists!");
|
||||
// return;
|
||||
//}
|
||||
|
||||
if (txtViolationRelatedSes.Text != string.Empty && drpFO_No.SelectedValue != Const._Null)
|
||||
{
|
||||
|
||||
@@ -6,6 +6,18 @@ namespace FineUIPro.Web.SES
|
||||
{
|
||||
public partial class SESRelatedDataContractManage1 : PageBase
|
||||
{
|
||||
public string FC_ID
|
||||
{
|
||||
get
|
||||
{
|
||||
return (string)ViewState["FC_ID"];
|
||||
}
|
||||
set
|
||||
{
|
||||
ViewState["FC_ID"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
#region 加载
|
||||
/// <summary>
|
||||
/// 加载页面
|
||||
@@ -36,6 +48,7 @@ namespace FineUIPro.Web.SES
|
||||
Model.FC_ContractManagement file = BLL.ContractManagementService.GetContractManagementById(fileId);
|
||||
if (file != null)
|
||||
{
|
||||
this.FC_ID = file.FC_ID.ToString();
|
||||
this.hdId.Text = file.FileId;
|
||||
this.txtFileName.Text = file.FileName;
|
||||
if (!string.IsNullOrEmpty(file.UploadMan))
|
||||
@@ -78,6 +91,7 @@ namespace FineUIPro.Web.SES
|
||||
string id = Request.Params["id"];
|
||||
if (!string.IsNullOrEmpty(id))
|
||||
{
|
||||
this.FC_ID = id;
|
||||
var data = BLL.SESRelatedDataService.GetSESRelatedDataById(id);
|
||||
if (data != null)
|
||||
{
|
||||
@@ -180,7 +194,7 @@ namespace FineUIPro.Web.SES
|
||||
{
|
||||
this.hdId.Text = SQLHelper.GetNewID(typeof(Model.FC_ContractManagement));
|
||||
}
|
||||
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../AttachFile/webuploader2.aspx?type=0&toKeyId={0}&path=FileUpload/SES/SESRelatedData/ContractManagement&menuId={1}", this.hdId.Text, BLL.Const.SESRelatedDateMenuId)));
|
||||
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../AttachFile/webuploader2.aspx?type=0&toKeyId={0}&path=FileUpload/SES/SESRelatedData/ContractManagement&menuId={1}&fcid={2}&fileTypeId={3}", this.hdId.Text, BLL.Const.SESRelatedDateMenuId, this.FC_ID, "1")));
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
|
||||
@@ -10,6 +10,18 @@ namespace FineUIPro.Web.SES
|
||||
{
|
||||
public partial class SESRelatedDataContractManage10 : PageBase
|
||||
{
|
||||
public string FC_ID
|
||||
{
|
||||
get
|
||||
{
|
||||
return (string)ViewState["FC_ID"];
|
||||
}
|
||||
set
|
||||
{
|
||||
ViewState["FC_ID"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
#region 加载
|
||||
/// <summary>
|
||||
/// 加载页面
|
||||
@@ -42,6 +54,7 @@ namespace FineUIPro.Web.SES
|
||||
Model.FC_ContractManagement file = BLL.ContractManagementService.GetContractManagementById(fileId);
|
||||
if (file != null)
|
||||
{
|
||||
this.FC_ID = file.FC_ID.ToString();
|
||||
this.hdId.Text = file.FileId;
|
||||
//if (!string.IsNullOrEmpty(file.FileTypeId))
|
||||
//{
|
||||
@@ -93,6 +106,7 @@ namespace FineUIPro.Web.SES
|
||||
string id = Request.Params["id"];
|
||||
if (!string.IsNullOrEmpty(id))
|
||||
{
|
||||
this.FC_ID = id;
|
||||
var data = BLL.SESRelatedDataService.GetSESRelatedDataById(id);
|
||||
if (data != null)
|
||||
{
|
||||
@@ -205,7 +219,7 @@ namespace FineUIPro.Web.SES
|
||||
{
|
||||
this.hdId.Text = SQLHelper.GetNewID(typeof(Model.FC_ContractManagement));
|
||||
}
|
||||
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../AttachFile/webuploader2.aspx?type=0&toKeyId={0}&path=FileUpload/SES/SESRelatedData/ContractManagement&menuId={1}", this.hdId.Text, BLL.Const.SESRelatedDateMenuId)));
|
||||
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../AttachFile/webuploader2.aspx?type=0&toKeyId={0}&path=FileUpload/SES/SESRelatedData/ContractManagement&menuId={1}&fcid={2}&fileTypeId={3}", this.hdId.Text, BLL.Const.SESRelatedDateMenuId, this.FC_ID, "10")));
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
|
||||
@@ -10,6 +10,18 @@ namespace FineUIPro.Web.SES
|
||||
{
|
||||
public partial class SESRelatedDataContractManage11 : PageBase
|
||||
{
|
||||
public string FC_ID
|
||||
{
|
||||
get
|
||||
{
|
||||
return (string)ViewState["FC_ID"];
|
||||
}
|
||||
set
|
||||
{
|
||||
ViewState["FC_ID"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
#region 加载
|
||||
/// <summary>
|
||||
/// 加载页面
|
||||
@@ -42,6 +54,7 @@ namespace FineUIPro.Web.SES
|
||||
Model.FC_ContractManagement file = BLL.ContractManagementService.GetContractManagementById(fileId);
|
||||
if (file != null)
|
||||
{
|
||||
this.FC_ID = file.FC_ID.ToString();
|
||||
this.hdId.Text = file.FileId;
|
||||
//if (!string.IsNullOrEmpty(file.FileTypeId))
|
||||
//{
|
||||
@@ -93,6 +106,7 @@ namespace FineUIPro.Web.SES
|
||||
string id = Request.Params["id"];
|
||||
if (!string.IsNullOrEmpty(id))
|
||||
{
|
||||
this.FC_ID = id;
|
||||
var data = BLL.SESRelatedDataService.GetSESRelatedDataById(id);
|
||||
if (data != null)
|
||||
{
|
||||
@@ -205,7 +219,7 @@ namespace FineUIPro.Web.SES
|
||||
{
|
||||
this.hdId.Text = SQLHelper.GetNewID(typeof(Model.FC_ContractManagement));
|
||||
}
|
||||
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../AttachFile/webuploader2.aspx?type=0&toKeyId={0}&path=FileUpload/SES/SESRelatedData/ContractManagement&menuId={1}", this.hdId.Text, BLL.Const.SESRelatedDateMenuId)));
|
||||
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../AttachFile/webuploader2.aspx?type=0&toKeyId={0}&path=FileUpload/SES/SESRelatedData/ContractManagement&menuId={1}&fcid={2}&fileTypeId={3}", this.hdId.Text, BLL.Const.SESRelatedDateMenuId, this.FC_ID, "11")));
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
|
||||
@@ -10,6 +10,18 @@ namespace FineUIPro.Web.SES
|
||||
{
|
||||
public partial class SESRelatedDataContractManage12 : PageBase
|
||||
{
|
||||
public string FC_ID
|
||||
{
|
||||
get
|
||||
{
|
||||
return (string)ViewState["FC_ID"];
|
||||
}
|
||||
set
|
||||
{
|
||||
ViewState["FC_ID"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
#region 加载
|
||||
/// <summary>
|
||||
/// 加载页面
|
||||
@@ -42,6 +54,7 @@ namespace FineUIPro.Web.SES
|
||||
Model.FC_ContractManagement file = BLL.ContractManagementService.GetContractManagementById(fileId);
|
||||
if (file != null)
|
||||
{
|
||||
this.FC_ID = file.FC_ID.ToString();
|
||||
this.hdId.Text = file.FileId;
|
||||
//if (!string.IsNullOrEmpty(file.FileTypeId))
|
||||
//{
|
||||
@@ -93,6 +106,7 @@ namespace FineUIPro.Web.SES
|
||||
string id = Request.Params["id"];
|
||||
if (!string.IsNullOrEmpty(id))
|
||||
{
|
||||
this.FC_ID = id;
|
||||
var data = BLL.SESRelatedDataService.GetSESRelatedDataById(id);
|
||||
if (data != null)
|
||||
{
|
||||
@@ -205,7 +219,7 @@ namespace FineUIPro.Web.SES
|
||||
{
|
||||
this.hdId.Text = SQLHelper.GetNewID(typeof(Model.FC_ContractManagement));
|
||||
}
|
||||
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../AttachFile/webuploader2.aspx?type=0&toKeyId={0}&path=FileUpload/SES/SESRelatedData/ContractManagement&menuId={1}", this.hdId.Text, BLL.Const.SESRelatedDateMenuId)));
|
||||
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../AttachFile/webuploader2.aspx?type=0&toKeyId={0}&path=FileUpload/SES/SESRelatedData/ContractManagement&menuId={1}&fcid={2}&fileTypeId={3}", this.hdId.Text, BLL.Const.SESRelatedDateMenuId, this.FC_ID, "12")));
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
|
||||
@@ -10,6 +10,18 @@ namespace FineUIPro.Web.SES
|
||||
{
|
||||
public partial class SESRelatedDataContractManage13 : PageBase
|
||||
{
|
||||
public string FC_ID
|
||||
{
|
||||
get
|
||||
{
|
||||
return (string)ViewState["FC_ID"];
|
||||
}
|
||||
set
|
||||
{
|
||||
ViewState["FC_ID"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
#region 加载
|
||||
/// <summary>
|
||||
/// 加载页面
|
||||
@@ -42,6 +54,7 @@ namespace FineUIPro.Web.SES
|
||||
Model.FC_ContractManagement file = BLL.ContractManagementService.GetContractManagementById(fileId);
|
||||
if (file != null)
|
||||
{
|
||||
this.FC_ID = file.FC_ID.ToString();
|
||||
this.hdId.Text = file.FileId;
|
||||
//if (!string.IsNullOrEmpty(file.FileTypeId))
|
||||
//{
|
||||
@@ -93,6 +106,7 @@ namespace FineUIPro.Web.SES
|
||||
string id = Request.Params["id"];
|
||||
if (!string.IsNullOrEmpty(id))
|
||||
{
|
||||
this.FC_ID = id;
|
||||
var data = BLL.SESRelatedDataService.GetSESRelatedDataById(id);
|
||||
if (data != null)
|
||||
{
|
||||
@@ -205,7 +219,7 @@ namespace FineUIPro.Web.SES
|
||||
{
|
||||
this.hdId.Text = SQLHelper.GetNewID(typeof(Model.FC_ContractManagement));
|
||||
}
|
||||
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../AttachFile/webuploader2.aspx?type=0&toKeyId={0}&path=FileUpload/SES/SESRelatedData/ContractManagement&menuId={1}", this.hdId.Text, BLL.Const.SESRelatedDateMenuId)));
|
||||
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../AttachFile/webuploader2.aspx?type=0&toKeyId={0}&path=FileUpload/SES/SESRelatedData/ContractManagement&menuId={1}&fcid={2}&fileTypeId={3}", this.hdId.Text, BLL.Const.SESRelatedDateMenuId, this.FC_ID, "13")));
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
|
||||
@@ -11,6 +11,18 @@ namespace FineUIPro.Web.SES
|
||||
{
|
||||
public partial class SESRelatedDataContractManage2 : PageBase
|
||||
{
|
||||
public string FC_ID
|
||||
{
|
||||
get
|
||||
{
|
||||
return (string)ViewState["FC_ID"];
|
||||
}
|
||||
set
|
||||
{
|
||||
ViewState["FC_ID"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
#region 加载
|
||||
/// <summary>
|
||||
/// 加载页面
|
||||
@@ -41,6 +53,7 @@ namespace FineUIPro.Web.SES
|
||||
Model.FC_ContractManagement file = BLL.ContractManagementService.GetContractManagementById(fileId);
|
||||
if (file != null)
|
||||
{
|
||||
this.FC_ID = file.FC_ID.ToString();
|
||||
this.hdId.Text = file.FileId;
|
||||
this.txtFileName.Text = file.FileName;
|
||||
if (!string.IsNullOrEmpty(file.UploadMan))
|
||||
@@ -85,6 +98,7 @@ namespace FineUIPro.Web.SES
|
||||
string id = Request.Params["id"];
|
||||
if (!string.IsNullOrEmpty(id))
|
||||
{
|
||||
this.FC_ID = id;
|
||||
var data = BLL.SESRelatedDataService.GetSESRelatedDataById(id);
|
||||
if (data != null)
|
||||
{
|
||||
@@ -203,7 +217,7 @@ namespace FineUIPro.Web.SES
|
||||
{
|
||||
this.hdId.Text = SQLHelper.GetNewID(typeof(Model.FC_ContractManagement));
|
||||
}
|
||||
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../AttachFile/webuploader2.aspx?type=0&toKeyId={0}&path=FileUpload/SES/SESRelatedData/ContractManagement&menuId={1}", this.hdId.Text, BLL.Const.SESRelatedDateMenuId)));
|
||||
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../AttachFile/webuploader2.aspx?type=0&toKeyId={0}&path=FileUpload/SES/SESRelatedData/ContractManagement&menuId={1}&fcid={2}&fileTypeId={3}", this.hdId.Text, BLL.Const.SESRelatedDateMenuId, this.FC_ID, "2")));
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
@@ -10,6 +10,18 @@ namespace FineUIPro.Web.SES
|
||||
{
|
||||
public partial class SESRelatedDataContractManage3 : PageBase
|
||||
{
|
||||
public string FC_ID
|
||||
{
|
||||
get
|
||||
{
|
||||
return (string)ViewState["FC_ID"];
|
||||
}
|
||||
set
|
||||
{
|
||||
ViewState["FC_ID"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
#region 加载
|
||||
/// <summary>
|
||||
/// 加载页面
|
||||
@@ -40,6 +52,7 @@ namespace FineUIPro.Web.SES
|
||||
Model.FC_ContractManagement file = BLL.ContractManagementService.GetContractManagementById(fileId);
|
||||
if (file != null)
|
||||
{
|
||||
this.FC_ID = file.FC_ID.ToString();
|
||||
this.hdId.Text = file.FileId;
|
||||
this.txtFileName.Text = file.FileName;
|
||||
if (!string.IsNullOrEmpty(file.UploadMan))
|
||||
@@ -83,6 +96,7 @@ namespace FineUIPro.Web.SES
|
||||
string id = Request.Params["id"];
|
||||
if (!string.IsNullOrEmpty(id))
|
||||
{
|
||||
this.FC_ID = id;
|
||||
var data = BLL.SESRelatedDataService.GetSESRelatedDataById(id);
|
||||
if (data != null)
|
||||
{
|
||||
@@ -197,7 +211,7 @@ namespace FineUIPro.Web.SES
|
||||
{
|
||||
this.hdId.Text = SQLHelper.GetNewID(typeof(Model.FC_ContractManagement));
|
||||
}
|
||||
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../AttachFile/webuploader2.aspx?type=0&toKeyId={0}&path=FileUpload/SES/SESRelatedData/ContractManagement&menuId={1}", this.hdId.Text, BLL.Const.SESRelatedDateMenuId)));
|
||||
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../AttachFile/webuploader2.aspx?type=0&toKeyId={0}&path=FileUpload/SES/SESRelatedData/ContractManagement&menuId={1}&fcid={2}&fileTypeId={3}", this.hdId.Text, BLL.Const.SESRelatedDateMenuId, this.FC_ID, "3")));
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
|
||||
@@ -11,6 +11,18 @@ namespace FineUIPro.Web.SES
|
||||
{
|
||||
public partial class SESRelatedDataContractManage4 : PageBase
|
||||
{
|
||||
public string FC_ID
|
||||
{
|
||||
get
|
||||
{
|
||||
return (string)ViewState["FC_ID"];
|
||||
}
|
||||
set
|
||||
{
|
||||
ViewState["FC_ID"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
#region 加载
|
||||
/// <summary>
|
||||
/// 加载页面
|
||||
@@ -41,6 +53,7 @@ namespace FineUIPro.Web.SES
|
||||
Model.FC_ContractManagement file = BLL.ContractManagementService.GetContractManagementById(fileId);
|
||||
if (file != null)
|
||||
{
|
||||
this.FC_ID = file.FC_ID.ToString();
|
||||
this.hdId.Text = file.FileId;
|
||||
this.txtFileName.Text = file.FileName;
|
||||
if (!string.IsNullOrEmpty(file.UploadMan))
|
||||
@@ -84,6 +97,7 @@ namespace FineUIPro.Web.SES
|
||||
string id = Request.Params["id"];
|
||||
if (!string.IsNullOrEmpty(id))
|
||||
{
|
||||
this.FC_ID = id;
|
||||
var data = BLL.SESRelatedDataService.GetSESRelatedDataById(id);
|
||||
if (data != null)
|
||||
{
|
||||
@@ -197,7 +211,7 @@ namespace FineUIPro.Web.SES
|
||||
{
|
||||
this.hdId.Text = SQLHelper.GetNewID(typeof(Model.FC_ContractManagement));
|
||||
}
|
||||
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../AttachFile/webuploader2.aspx?type=0&toKeyId={0}&path=FileUpload/SES/SESRelatedData/ContractManagement&menuId={1}", this.hdId.Text, BLL.Const.SESRelatedDateMenuId)));
|
||||
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../AttachFile/webuploader2.aspx?type=0&toKeyId={0}&path=FileUpload/SES/SESRelatedData/ContractManagement&menuId={1}&fcid={2}&fileTypeId={3}", this.hdId.Text, BLL.Const.SESRelatedDateMenuId, this.FC_ID, "4")));
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
|
||||
@@ -11,6 +11,18 @@ namespace FineUIPro.Web.SES
|
||||
{
|
||||
public partial class SESRelatedDataContractManage5 : PageBase
|
||||
{
|
||||
public string FC_ID
|
||||
{
|
||||
get
|
||||
{
|
||||
return (string)ViewState["FC_ID"];
|
||||
}
|
||||
set
|
||||
{
|
||||
ViewState["FC_ID"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
#region 加载
|
||||
/// <summary>
|
||||
/// 加载页面
|
||||
@@ -46,6 +58,7 @@ namespace FineUIPro.Web.SES
|
||||
Model.FC_ContractManagement file = BLL.ContractManagementService.GetContractManagementById(fileId);
|
||||
if (file != null)
|
||||
{
|
||||
this.FC_ID = file.FC_ID.ToString();
|
||||
this.hdId.Text = file.FileId;
|
||||
this.txtFileName.Text = file.FileName;
|
||||
if (!string.IsNullOrEmpty(file.UploadMan))
|
||||
@@ -99,6 +112,7 @@ namespace FineUIPro.Web.SES
|
||||
string id = Request.Params["id"];
|
||||
if (!string.IsNullOrEmpty(id))
|
||||
{
|
||||
this.FC_ID = id;
|
||||
var data = BLL.SESRelatedDataService.GetSESRelatedDataById(id);
|
||||
if (data != null)
|
||||
{
|
||||
@@ -228,7 +242,7 @@ namespace FineUIPro.Web.SES
|
||||
{
|
||||
this.hdId.Text = SQLHelper.GetNewID(typeof(Model.FC_ContractManagement));
|
||||
}
|
||||
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../AttachFile/webuploader2.aspx?type=0&toKeyId={0}&path=FileUpload/SES/SESRelatedData/ContractManagement&menuId={1}", this.hdId.Text, BLL.Const.SESRelatedDateMenuId)));
|
||||
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../AttachFile/webuploader2.aspx?type=0&toKeyId={0}&path=FileUpload/SES/SESRelatedData/ContractManagement&menuId={1}&fcid={2}&fileTypeId={3}", this.hdId.Text, BLL.Const.SESRelatedDateMenuId, this.FC_ID, "5")));
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
|
||||
@@ -10,6 +10,18 @@ namespace FineUIPro.Web.SES
|
||||
{
|
||||
public partial class SESRelatedDataContractManage6 : PageBase
|
||||
{
|
||||
public string FC_ID
|
||||
{
|
||||
get
|
||||
{
|
||||
return (string)ViewState["FC_ID"];
|
||||
}
|
||||
set
|
||||
{
|
||||
ViewState["FC_ID"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
#region 加载
|
||||
/// <summary>
|
||||
/// 加载页面
|
||||
@@ -42,6 +54,7 @@ namespace FineUIPro.Web.SES
|
||||
Model.FC_ContractManagement file = BLL.ContractManagementService.GetContractManagementById(fileId);
|
||||
if (file != null)
|
||||
{
|
||||
this.FC_ID = file.FC_ID.ToString();
|
||||
this.hdId.Text = file.FileId;
|
||||
//if (!string.IsNullOrEmpty(file.FileTypeId))
|
||||
//{
|
||||
@@ -93,6 +106,7 @@ namespace FineUIPro.Web.SES
|
||||
string id = Request.Params["id"];
|
||||
if (!string.IsNullOrEmpty(id))
|
||||
{
|
||||
this.FC_ID = id;
|
||||
var data = BLL.SESRelatedDataService.GetSESRelatedDataById(id);
|
||||
if (data != null)
|
||||
{
|
||||
@@ -205,7 +219,7 @@ namespace FineUIPro.Web.SES
|
||||
{
|
||||
this.hdId.Text = SQLHelper.GetNewID(typeof(Model.FC_ContractManagement));
|
||||
}
|
||||
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../AttachFile/webuploader2.aspx?type=0&toKeyId={0}&path=FileUpload/SES/SESRelatedData/ContractManagement&menuId={1}", this.hdId.Text, BLL.Const.SESRelatedDateMenuId)));
|
||||
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../AttachFile/webuploader2.aspx?type=0&toKeyId={0}&path=FileUpload/SES/SESRelatedData/ContractManagement&menuId={1}&fcid={2}&fileTypeId={3}", this.hdId.Text, BLL.Const.SESRelatedDateMenuId, this.FC_ID, "6")));
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
@@ -10,6 +10,18 @@ namespace FineUIPro.Web.SES
|
||||
{
|
||||
public partial class SESRelatedDataContractManage7 : PageBase
|
||||
{
|
||||
public string FC_ID
|
||||
{
|
||||
get
|
||||
{
|
||||
return (string)ViewState["FC_ID"];
|
||||
}
|
||||
set
|
||||
{
|
||||
ViewState["FC_ID"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
#region 加载
|
||||
/// <summary>
|
||||
/// 加载页面
|
||||
@@ -42,6 +54,7 @@ namespace FineUIPro.Web.SES
|
||||
Model.FC_ContractManagement file = BLL.ContractManagementService.GetContractManagementById(fileId);
|
||||
if (file != null)
|
||||
{
|
||||
this.FC_ID = file.FC_ID.ToString();
|
||||
this.hdId.Text = file.FileId;
|
||||
//if (!string.IsNullOrEmpty(file.FileTypeId))
|
||||
//{
|
||||
@@ -93,6 +106,7 @@ namespace FineUIPro.Web.SES
|
||||
string id = Request.Params["id"];
|
||||
if (!string.IsNullOrEmpty(id))
|
||||
{
|
||||
this.FC_ID = id;
|
||||
var data = BLL.SESRelatedDataService.GetSESRelatedDataById(id);
|
||||
if (data != null)
|
||||
{
|
||||
@@ -205,7 +219,7 @@ namespace FineUIPro.Web.SES
|
||||
{
|
||||
this.hdId.Text = SQLHelper.GetNewID(typeof(Model.FC_ContractManagement));
|
||||
}
|
||||
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../AttachFile/webuploader2.aspx?type=0&toKeyId={0}&path=FileUpload/SES/SESRelatedData/ContractManagement&menuId={1}", this.hdId.Text, BLL.Const.SESRelatedDateMenuId)));
|
||||
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../AttachFile/webuploader2.aspx?type=0&toKeyId={0}&path=FileUpload/SES/SESRelatedData/ContractManagement&menuId={1}&fcid={2}&fileTypeId={3}", this.hdId.Text, BLL.Const.SESRelatedDateMenuId, this.FC_ID, "7")));
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
|
||||
@@ -10,6 +10,18 @@ namespace FineUIPro.Web.SES
|
||||
{
|
||||
public partial class SESRelatedDataContractManage8 :PageBase
|
||||
{
|
||||
public string FC_ID
|
||||
{
|
||||
get
|
||||
{
|
||||
return (string)ViewState["FC_ID"];
|
||||
}
|
||||
set
|
||||
{
|
||||
ViewState["FC_ID"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
#region 加载
|
||||
/// <summary>
|
||||
/// 加载页面
|
||||
@@ -42,6 +54,7 @@ namespace FineUIPro.Web.SES
|
||||
Model.FC_ContractManagement file = BLL.ContractManagementService.GetContractManagementById(fileId);
|
||||
if (file != null)
|
||||
{
|
||||
this.FC_ID = file.FC_ID.ToString();
|
||||
this.hdId.Text = file.FileId;
|
||||
//if (!string.IsNullOrEmpty(file.FileTypeId))
|
||||
//{
|
||||
@@ -93,6 +106,7 @@ namespace FineUIPro.Web.SES
|
||||
string id = Request.Params["id"];
|
||||
if (!string.IsNullOrEmpty(id))
|
||||
{
|
||||
this.FC_ID = id;
|
||||
var data = BLL.SESRelatedDataService.GetSESRelatedDataById(id);
|
||||
if (data != null)
|
||||
{
|
||||
@@ -205,7 +219,7 @@ namespace FineUIPro.Web.SES
|
||||
{
|
||||
this.hdId.Text = SQLHelper.GetNewID(typeof(Model.FC_ContractManagement));
|
||||
}
|
||||
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../AttachFile/webuploader2.aspx?type=0&toKeyId={0}&path=FileUpload/SES/SESRelatedData/ContractManagement&menuId={1}", this.hdId.Text, BLL.Const.SESRelatedDateMenuId)));
|
||||
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../AttachFile/webuploader2.aspx?type=0&toKeyId={0}&path=FileUpload/SES/SESRelatedData/ContractManagement&menuId={1}&fcid={2}&fileTypeId={3}", this.hdId.Text, BLL.Const.SESRelatedDateMenuId, this.FC_ID, "8")));
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
|
||||
@@ -10,6 +10,18 @@ namespace FineUIPro.Web.SES
|
||||
{
|
||||
public partial class SESRelatedDataContractManage9 : PageBase
|
||||
{
|
||||
public string FC_ID
|
||||
{
|
||||
get
|
||||
{
|
||||
return (string)ViewState["FC_ID"];
|
||||
}
|
||||
set
|
||||
{
|
||||
ViewState["FC_ID"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
#region 加载
|
||||
/// <summary>
|
||||
/// 加载页面
|
||||
@@ -42,6 +54,7 @@ namespace FineUIPro.Web.SES
|
||||
Model.FC_ContractManagement file = BLL.ContractManagementService.GetContractManagementById(fileId);
|
||||
if (file != null)
|
||||
{
|
||||
this.FC_ID = file.FC_ID.ToString();
|
||||
this.hdId.Text = file.FileId;
|
||||
//if (!string.IsNullOrEmpty(file.FileTypeId))
|
||||
//{
|
||||
@@ -93,6 +106,7 @@ namespace FineUIPro.Web.SES
|
||||
string id = Request.Params["id"];
|
||||
if (!string.IsNullOrEmpty(id))
|
||||
{
|
||||
this.FC_ID = id;
|
||||
var data = BLL.SESRelatedDataService.GetSESRelatedDataById(id);
|
||||
if (data != null)
|
||||
{
|
||||
@@ -205,7 +219,7 @@ namespace FineUIPro.Web.SES
|
||||
{
|
||||
this.hdId.Text = SQLHelper.GetNewID(typeof(Model.FC_ContractManagement));
|
||||
}
|
||||
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../AttachFile/webuploader2.aspx?type=0&toKeyId={0}&path=FileUpload/SES/SESRelatedData/ContractManagement&menuId={1}", this.hdId.Text, BLL.Const.SESRelatedDateMenuId)));
|
||||
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../AttachFile/webuploader2.aspx?type=0&toKeyId={0}&path=FileUpload/SES/SESRelatedData/ContractManagement&menuId={1}&fcid={2}&fileTypeId={3}", this.hdId.Text, BLL.Const.SESRelatedDateMenuId, this.FC_ID, "9")));
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
|
||||
@@ -104,7 +104,7 @@
|
||||
<Items>
|
||||
<f:NumberBox ID="numProportion_of_FC_Definition" runat="server" Label="Current Allocation%" LabelWidth="160px" DecimalPrecision="2"></f:NumberBox>
|
||||
|
||||
<f:NumberBox ID="txtInitial_Budget" runat="server" Label="Initial Budget" LabelWidth="160px" NoNegative="true" EnableCommas="true">
|
||||
<f:NumberBox ID="txtInitial_Budget" runat="server" Label="Initial Budget" LabelWidth="160px" NoNegative="true" EnableCommas="true" AutoPostBack="true" OnTextChanged="txtInitial_Budget_TextChanged">
|
||||
</f:NumberBox>
|
||||
<f:NumberBox ID="txtActual_Budget" runat="server" Label="Contract Budget" LabelWidth="160px" NoNegative="true" EnableCommas="true" Readonly="true">
|
||||
</f:NumberBox>
|
||||
|
||||
@@ -361,7 +361,7 @@ namespace FineUIPro.Web.SES
|
||||
this.numProportion_of_FC_Definition.Text = "";
|
||||
}
|
||||
this.txtInitial_Budget.Text = data.InitialBudget.HasValue ? data.InitialBudget.Value.ToString() : "";
|
||||
this.txtActual_Budget.Text = data.Actual_Budget.HasValue ? data.Actual_Budget.Value.ToString() : "";
|
||||
this.txtActual_Budget.Text = this.txtInitial_Budget.Text;//data.Actual_Budget.HasValue ? data.Actual_Budget.Value.ToString() : "";
|
||||
this.txtRemark.Text = data.Remark;
|
||||
if (!string.IsNullOrEmpty(data.ConstRecords))
|
||||
{
|
||||
@@ -741,5 +741,13 @@ namespace FineUIPro.Web.SES
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
protected void txtInitial_Budget_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (!string.IsNullOrEmpty(this.txtInitial_Budget.Text.Trim()))
|
||||
{
|
||||
this.txtActual_Budget.Text = this.txtInitial_Budget.Text.Trim();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user