SVN r1148

SVN-Revision: r1148
This commit is contained in:
cyf
2026-03-23 01:47:22 +00:00
parent eb0522e144
commit d8ac361255
14 changed files with 188 additions and 116 deletions
+1 -2
View File
@@ -4979,7 +4979,7 @@ namespace Lskj.PubBill
/// <returns>System.String.</returns>
private string GetAddRecord(ref string parmaryValue)
{
if (BillModel.NewVer == 0)
if (BillModel.NewVer == 0|| BillModel.SaveVerifyBillNo)
{
// 检查当前的单据号是否已被占用.
string newBillNo = BillImpl.GetBillNo(this.BillModel.BillSeq);
@@ -5421,7 +5421,6 @@ namespace Lskj.PubBill
string masterSql = BillModel.SaveState ? GetUpdateRecord(billNo) : GetAddRecord(ref billNo);
string detailSql = GetDetailRecord(detailGuid, billNo, addRowList).ToString();
// 检查单据头数据合法性
if (string.IsNullOrEmpty(masterSql)) return false;