feat: 更新业务、控件及单据功能
This commit is contained in:
@@ -1110,6 +1110,7 @@ namespace Lskj.Control.Model
|
||||
gridControl.gridViewRightMenu = rightMenu;
|
||||
rightMenu.InitRightMenus(gridControl, table, model, control, menu);
|
||||
rightMenu.SetRightCallback(handler);
|
||||
gridControl.SetRightMenuButtonTable(table);
|
||||
}
|
||||
/// <summary>
|
||||
/// <para>说明:设置表格右键菜单</para>
|
||||
|
||||
@@ -1063,7 +1063,7 @@ namespace Lskj.Control.Model
|
||||
DataTable rightDt = null;
|
||||
if (dynamicModel != null)
|
||||
{
|
||||
if (!dataCaches.GetValue(parent, "RightDtGridRightMenus", out rightDt))
|
||||
if (!dataCaches.GetValue(this, "RightDtGridRightMenus", out rightDt))
|
||||
{
|
||||
rightDt = BaseModuleImpl.GetBaseGridRightMenus(dynamicModel.ModuleCode, ModuleType.MrpClickBtn);
|
||||
}
|
||||
@@ -1223,7 +1223,7 @@ namespace Lskj.Control.Model
|
||||
DataTable rightDt = null;
|
||||
if (dynamicModel != null)
|
||||
{
|
||||
if (!dynamicModel.DataCaches.GetValue(parent, "RightDtGridRightMenus", out rightDt))
|
||||
if (!dynamicModel.DataCaches.GetValue(this, "RightDtGridRightMenus", out rightDt))
|
||||
{
|
||||
rightDt = BaseModuleImpl.GetBaseGridRightMenus(dynamicModel.ModuleCode, ModuleType.MrpClickBtn);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user