This commit is contained in:
parent
b1067792de
commit
8ce39f37ad
|
@ -2,7 +2,7 @@
|
|||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<UseIISExpress>true</UseIISExpress>
|
||||
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
|
||||
<LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig>
|
||||
<Use64BitIISExpress />
|
||||
<IISExpressSSLPort />
|
||||
<IISExpressAnonymousAuthentication />
|
||||
|
|
|
@ -210,10 +210,20 @@
|
|||
if ((batchDetail != null || hotItems.Count() > 0) && this.CurrUser.UserId != BLL.Const.GlyId)
|
||||
{
|
||||
this.TextIsReadOnly(true);
|
||||
if (this.CurrUser.UserId == BLL.Const.GlyId)
|
||||
var trustItem = (from x in Funs.DB.HJGL_CH_TrustItem
|
||||
where x.JOT_ID == JOT_ID
|
||||
select x).FirstOrDefault();
|
||||
if (trustItem == null) //未委托普通用户可修改焊缝类型
|
||||
{
|
||||
ddlJOTY_ID.Enabled = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (this.CurrUser.UserId == BLL.Const.GlyId) //已委托管理员可修改焊缝类型
|
||||
{
|
||||
ddlJOTY_ID.Enabled = true;
|
||||
}
|
||||
}
|
||||
if (batchDetail != null)
|
||||
{
|
||||
//var batch = BLL.HJGL_BO_BatchService.GetBatchById(batchDetail.BatchId);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
|
||||
<LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig>
|
||||
<NameOfLastUsedPublishProfile>FolderProfile</NameOfLastUsedPublishProfile>
|
||||
<UseIISExpress>true</UseIISExpress>
|
||||
<Use64BitIISExpress />
|
||||
|
|
Loading…
Reference in New Issue