11
This commit is contained in:
@@ -234,7 +234,15 @@ namespace FineUIPro.Web.WeldMat.Stock
|
||||
var s = BLL.UnitStoreService.GetUnitStoreById(q.UnitStoreId);
|
||||
if (s != null && s.UnitId == CurrUser.UnitId)
|
||||
{
|
||||
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("StockInitEdit.aspx?StockInId={0}", id, "编辑 - ")));
|
||||
if (s.IsUse == true)
|
||||
{
|
||||
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("StockInitEdit.aspx?StockInId={0}", id, "编辑 - ")));
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop("该仓库已停用,不能修改!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user