无法删除错误录入的装置/单元 做一个 删除装置提示有对应工区、单位工程如果挂着就提示一下
本部用户信息维护 部门不必填
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
</f:FormRow>
|
||||
<f:FormRow runat="server" ID="trServer">
|
||||
<Items>
|
||||
<f:DropDownList ID="drpDepart" runat="server" Label="部门" ShowRedStar="true" Required="true"
|
||||
<f:DropDownList ID="drpDepart" runat="server" Label="部门"
|
||||
EnableEdit="true" ForceSelection="false" LabelWidth="90px">
|
||||
</f:DropDownList>
|
||||
<f:DropDownList ID="drpIsOffice" runat="server" Label="本部人员"
|
||||
|
||||
@@ -163,11 +163,11 @@ namespace FineUIPro.Web.SysManage
|
||||
Alert.ShowInParent("请选择单位!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
if (this.drpDepart.SelectedValue == Const._Null && !this.trServer.Hidden)
|
||||
{
|
||||
Alert.ShowInParent("请选择部门!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
//if (this.drpDepart.SelectedValue == Const._Null && !this.trServer.Hidden)
|
||||
//{
|
||||
// Alert.ShowInParent("请选择部门!", MessageBoxIcon.Warning);
|
||||
// return;
|
||||
//}
|
||||
var q = Funs.DB.Sys_User.FirstOrDefault(x => x.Account == this.txtAccount.Text.Trim() && (x.UserId != this.UserId || (this.UserId == null && x.UserId != null)));
|
||||
if (q != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user