|
@@ -1935,7 +1935,7 @@ namespace OASystem.API.Controllers
|
|
|
decimal sumAll_fr = 0M; //应收
|
|
|
decimal sumAll_pr = 0M; //已收
|
|
|
decimal sumAll_balance = 0M; //尾款
|
|
|
-
|
|
|
+ var result = new PostSyntheticalReceivableByDateRangeResultView();
|
|
|
if (list_rst.Count > 0)
|
|
|
{
|
|
|
int rowNumber = 1;
|
|
@@ -2069,7 +2069,7 @@ namespace OASystem.API.Controllers
|
|
|
#endregion
|
|
|
}
|
|
|
|
|
|
- PostSyntheticalReceivableByDateRangeResultView result = new PostSyntheticalReceivableByDateRangeResultView();
|
|
|
+
|
|
|
result.total_fr = sumAll_fr.ToString("#0.00");
|
|
|
result.total_pr = sumAll_pr.ToString("#0.00");
|
|
|
result.total_balance = sumAll_balance.ToString("#0.00");
|
|
@@ -2137,7 +2137,7 @@ namespace OASystem.API.Controllers
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- return Ok(JsonView(true, "获取成功", "", list_rst.Count));
|
|
|
+ return Ok(JsonView(true, "暂无数据", result, list_rst.Count));
|
|
|
}
|
|
|
|
|
|
#endregion
|