提交单据管理和修改密码功能
This commit is contained in:
@@ -173,6 +173,11 @@ namespace Lskj.Control.Model
|
||||
cmsMenu.Items.Add(menuItem);
|
||||
RightMenuItems.Add(menuItem);
|
||||
}
|
||||
if (menuModel.FontSize != 0)
|
||||
{
|
||||
menuItem.Font = new Font(menuItem.Font.FontFamily, menuModel.FontSize);
|
||||
}
|
||||
|
||||
}
|
||||
if (!string.IsNullOrWhiteSpace(menuModel.ExecuteFirstCode))
|
||||
{
|
||||
@@ -304,7 +309,7 @@ namespace Lskj.Control.Model
|
||||
return;
|
||||
}
|
||||
|
||||
if (model.VerifyUpdate && BaseGridView!=null)
|
||||
if (model.VerifyUpdate && BaseGridView != null)
|
||||
{
|
||||
for (int i = 0; i < BaseGridView.DataRowCount; i++)
|
||||
{
|
||||
@@ -502,7 +507,7 @@ namespace Lskj.Control.Model
|
||||
{
|
||||
tipOnlyOne = false;
|
||||
string prompt = ReplaceHelper.ReplaceRowParam(rowData, model.BeforeMsg);
|
||||
if (model.Mergeexec)
|
||||
if (model.Mergeexec)
|
||||
{
|
||||
//替换[],替换的是多选行中的数据
|
||||
prompt = ReplaceHelper.ReplaceRowParam(rows, prompt.Replace("[", "{").Replace("]", "}"), "", "");
|
||||
@@ -977,7 +982,7 @@ namespace Lskj.Control.Model
|
||||
case -1:
|
||||
if (rValue == -1)
|
||||
{
|
||||
if (SqlHelper.ConnectionType == ConnectionType.SqlServer)
|
||||
if (SqlHelper.ConnectionType == ConnectionType.SqlServer)
|
||||
{
|
||||
SqlStoredProcedurepPrompt.GenerateProcedureExecutionScript(procName, paramList, isFirstFlag, comfirmFlag);
|
||||
}
|
||||
@@ -1811,7 +1816,7 @@ namespace Lskj.Control.Model
|
||||
paramList[2] = ReplaceHelper.ReplaceRowParam(rows, url) + "";
|
||||
}
|
||||
}
|
||||
if (model.DllName.ToLower().Contains("p_PubPrint.lsp".ToLower())&& !model.CancelDefaultReplace)
|
||||
if (model.DllName.ToLower().Contains("p_PubPrint.lsp".ToLower()) && !model.CancelDefaultReplace)
|
||||
{
|
||||
string paramsql1 = paramList[2];
|
||||
paramList[2] = ReplaceHelper.ReplaceRowParam(rows, paramsql1, "'", "'");
|
||||
|
||||
@@ -346,6 +346,10 @@ namespace Lskj.Control.Model
|
||||
/// 右键多选合并不走默认替换(p_PubPrint.lsp)
|
||||
/// </summary>
|
||||
public bool CancelDefaultReplace;
|
||||
/// <summary>
|
||||
/// 右键字体大小
|
||||
/// </summary>
|
||||
public int FontSize;
|
||||
|
||||
|
||||
/// <summary>
|
||||
@@ -485,6 +489,8 @@ namespace Lskj.Control.Model
|
||||
this.VerifyUpdate = string.IsNullOrWhiteSpace(item["VerifyUpdate"] + "") ? false : "1".Equals(item["VerifyUpdate"] + "");
|
||||
if (item.Table.Columns.Contains("CancelDefaultReplace"))
|
||||
this.CancelDefaultReplace = string.IsNullOrWhiteSpace(item["CancelDefaultReplace"] + "") ? false : "1".Equals(item["CancelDefaultReplace"] + "");
|
||||
|
||||
this.FontSize = item.Table.Columns.Contains("FontSize") && !string.IsNullOrEmpty(item["FontSize"] + "") ? Convert.ToInt32(item["FontSize"] + "") : 0;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user