|
@@ -161,7 +161,9 @@ public class BizWorkOrderController extends BaseController {
|
|
|
|
|
|
//且收款金额为0
|
|
|
detailList.get(0).setTotalityMoney(detailList.get(0).getTotalityMoney() == null ? new BigDecimal(0) : detailList.get(0).getTotalityMoney());
|
|
|
- if (detailList.get(0).getTotalityMoney().compareTo(new BigDecimal(0)) == 0) {
|
|
|
+ if(detailList.get(0).getAccountsReceivable().compareTo(new BigDecimal(0)) == 0){
|
|
|
+ v.setClosingMonth("已收款");
|
|
|
+ } else if (detailList.get(0).getTotalityMoney().compareTo(new BigDecimal(0)) == 0) {
|
|
|
v.setClosingMonth("未收款");
|
|
|
} else if (detailList.get(0).getTotalityMoney().compareTo(detailList.get(0).getAccountsReceivable()) >= 0) {
|
|
|
v.setClosingMonth("已收款");
|