feat: 更新业务、控件及单据功能
This commit is contained in:
@@ -571,22 +571,23 @@ namespace Lskj.Main.Model
|
||||
form.Show();
|
||||
if (args != null && !string.IsNullOrEmpty(args[4] + ""))
|
||||
{
|
||||
ModuleModel moduleModel = new ModuleModel(MainImpl.GetSystemdllTab(args[4] + ""));
|
||||
if (!string.IsNullOrEmpty(moduleModel.SearchCondFormModuleCode))
|
||||
{
|
||||
ModuleConditionsPanelEx mcpex = new ModuleConditionsPanelEx();
|
||||
mcpex.InitializeControl(new ModuleModel(MainImpl.GetSystemdllTab(moduleModel.SearchCondFormModuleCode)), null, null, true);
|
||||
if (StaticControl.ConditionsPanelDic.ContainsKey(args[4] + ""))
|
||||
{
|
||||
StaticControl.ConditionsPanelDic[args[4] + ""].Dispose();
|
||||
StaticControl.ConditionsPanelDic[args[4] + ""] = mcpex;
|
||||
}
|
||||
else
|
||||
{
|
||||
StaticControl.ConditionsPanelDic.Add(args[4] + "", mcpex);
|
||||
}
|
||||
DialogResult dialogResult = mcpex.ShowDialog();
|
||||
}
|
||||
//2026-08-08 pz说把SearchCondFormModuleCode判断去掉,不要这个功能
|
||||
//ModuleModel moduleModel = new ModuleModel(MainImpl.GetSystemdllTab(args[4] + ""));
|
||||
//if (!string.IsNullOrEmpty(moduleModel.SearchCondFormModuleCode))
|
||||
//{
|
||||
// ModuleConditionsPanelEx mcpex = new ModuleConditionsPanelEx();
|
||||
// mcpex.InitializeControl(new ModuleModel(MainImpl.GetSystemdllTab(moduleModel.SearchCondFormModuleCode)), null, null, true);
|
||||
// if (StaticControl.ConditionsPanelDic.ContainsKey(args[4] + ""))
|
||||
// {
|
||||
// StaticControl.ConditionsPanelDic[args[4] + ""].Dispose();
|
||||
// StaticControl.ConditionsPanelDic[args[4] + ""] = mcpex;
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// StaticControl.ConditionsPanelDic.Add(args[4] + "", mcpex);
|
||||
// }
|
||||
// DialogResult dialogResult = mcpex.ShowDialog();
|
||||
//}
|
||||
}
|
||||
|
||||
TabMain.TabPages.Add(tp);
|
||||
|
||||
Reference in New Issue
Block a user