提交当前本机整理版本

This commit is contained in:
cyf
2026-07-02 10:11:39 +00:00
parent c10a5d64c7
commit aacefa24f8
822 changed files with 196665 additions and 14263 deletions
+21 -1
View File
@@ -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);
}
}
}
}