提交当前本机整理版本
This commit is contained in:
@@ -89,4 +89,24 @@ namespace Lskj.Model
|
||||
// 设置打印文本
|
||||
if (columns.Contains(prefix + "printCount"))
|
||||
{
|
||||
this.Print = "打印" + (string.IsNullOrEmpty(rowItem[prefix + "printCount"] + "") ? "0次" : rowItem[prefix + "printCount"] + "
|
||||
this.Print = "打印" + (string.IsNullOrEmpty(rowItem[prefix + "printCount"] + "") ? "0次" : rowItem[prefix + "printCount"] + "次");
|
||||
if (ERPInfo.Instance.Translatable)
|
||||
{
|
||||
string quantity = string.IsNullOrEmpty(rowItem[prefix + "printCount"] + "") ? "0" : rowItem[prefix + "printCount"]+"";
|
||||
this.Print = ERPInfo.Instance.GetTranslatedText("打印") + quantity + ERPInfo.Instance.GetTranslatedText("次");
|
||||
}
|
||||
}
|
||||
// 设置收款文本
|
||||
if (columns.Contains(prefix + "collectMoneyFlag") && "1".Equals(rowItem[prefix + "collectMoneyFlag"] + ""))
|
||||
{
|
||||
this.Collect = "已收款";
|
||||
}
|
||||
}
|
||||
if (ERPInfo.Instance.Translatable)
|
||||
{
|
||||
if(!string.IsNullOrWhiteSpace(this.Text))this.Text = ERPInfo.Instance.GetTranslatedText(this.Text);
|
||||
if (!string.IsNullOrWhiteSpace(this.Collect)) this.Collect = ERPInfo.Instance.GetTranslatedText(this.Collect);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user