提交集团数据穿透修改
This commit is contained in:
@@ -23,6 +23,7 @@ namespace FineUIPro.Web.BaseInfo
|
||||
////权限按钮方法
|
||||
this.GetButtonPower();
|
||||
Funs.DropDownPageSize(this.ddlPageSize);
|
||||
Funs.FineUIPleaseSelect(this.drpCertificateType);
|
||||
ddlPageSize.SelectedValue = Grid1.PageSize.ToString();
|
||||
// 绑定表格
|
||||
BindGrid();
|
||||
@@ -181,6 +182,14 @@ namespace FineUIPro.Web.BaseInfo
|
||||
{
|
||||
this.txtCertificateCode.Text = certificate.CertificateCode;
|
||||
this.txtCertificateName.Text = certificate.CertificateName;
|
||||
if (!string.IsNullOrEmpty(certificate.CertificateType))
|
||||
{
|
||||
this.drpCertificateType.SelectedValue = certificate.CertificateType;
|
||||
}
|
||||
if (certificate.IsRegisterHSSE == true)
|
||||
{
|
||||
this.ckbIsRegisterHSSE.Checked = true;
|
||||
}
|
||||
this.txtRemark.Text = certificate.Remark;
|
||||
hfFormID.Text = Id;
|
||||
this.btnDelete.Enabled = true;
|
||||
@@ -201,8 +210,13 @@ namespace FineUIPro.Web.BaseInfo
|
||||
{
|
||||
CertificateCode = this.txtCertificateCode.Text.Trim(),
|
||||
CertificateName = this.txtCertificateName.Text.Trim(),
|
||||
IsRegisterHSSE = Convert.ToBoolean(this.ckbIsRegisterHSSE.Checked),
|
||||
Remark = txtRemark.Text.Trim()
|
||||
};
|
||||
if (this.drpCertificateType.SelectedValue != BLL.Const._Null)
|
||||
{
|
||||
certificate.CertificateType = this.drpCertificateType.SelectedValue;
|
||||
}
|
||||
if (string.IsNullOrEmpty(strRowID))
|
||||
{
|
||||
certificate.CertificateId = SQLHelper.GetNewID(typeof(Model.Base_Certificate));
|
||||
|
||||
Reference in New Issue
Block a user