SVN-Revision: r792
This commit is contained in:
cyf
2025-06-26 10:28:53 +00:00
parent 33dc032844
commit 3b5c814bef
4 changed files with 35 additions and 65 deletions
+6 -22
View File
@@ -13,6 +13,7 @@ using System.Linq;
using System.Text;
using System.Data;
namespace Lskj.Model
{
/// <summary>
@@ -44,6 +45,10 @@ namespace Lskj.Model
{
// 设置为草稿
this.Text = "草 稿";
if (!string.IsNullOrWhiteSpace(ERPInfo.Instance.DraftReplacementValue))
{
this.Text = ERPInfo.Instance.DraftReplacementValue;
}
}
else
{
@@ -69,25 +74,4 @@ namespace Lskj.Model
{
this.Text = "在 审";
}
else if (columns.Contains(prefix + "affirmer") && ("0" != rowItem[prefix + "affirmer"] + "" && !string.IsNullOrEmpty(rowItem[prefix + "affirmer"] + "")))
{
this.Text = "待 审";
}
else
{
this.Text = "草 稿";
}
// 设置打印文本
if (columns.Contains(prefix + "printCount"))
{
this.Print = "打印" + (string.IsNullOrEmpty(rowItem[prefix + "printCount"] + "") ? "0次" : rowItem[prefix + "printCount"] + "次");
}
// 设置收款文本
if (columns.Contains(prefix + "collectMoneyFlag") && "1".Equals(rowItem[prefix + "collectMoneyFlag"] + ""))
{
this.Collect = "已收款";
}
}
}
}
}
else if (columns.Contains(prefix + "affirmer") && ("0" != rowItem[prefix + "affirmer"] + "" && !string.IsNullOrEmpt