|
|
@ -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; |
|
|
|
} |
|
|
|