Browse Source

no message

master
Shaobin 6 days ago
parent
commit
d007db1b11
  1. 12
      ICSSoft.ToERP/SQL/GetPurchaseReturnInfo.cs

12
ICSSoft.ToERP/SQL/GetPurchaseReturnInfo.cs

@ -102,6 +102,7 @@ namespace ICSSoft.ERPWMS.SQL
{
foreach (DataRow dr in dt.Rows)
{
GetPurchaseReturnEntity entity = new GetPurchaseReturnEntity();
entity.ID = dr["ID"].ToString();
@ -125,21 +126,16 @@ namespace ICSSoft.ERPWMS.SQL
}
entity.WorkPoint = WorkPoint;
if (string.IsNullOrEmpty(dr["审核时间"].ToString()))
{
entity.Status = "1";//开立
}
else
if (!string.IsNullOrEmpty(dr["审核时间"].ToString()))
{
entity.Status = "2";//审核
entityList.Add(entity);
}
entityList.Add(entity);
}
res.IsSuccess = true;
res.Message = "执行成功!";
res.Message = "执行成功,无已审核单据!";
res.data = entityList;
return res;
}

Loading…
Cancel
Save