demand: TMS系统 - 客户账单管理 - 业务销账申请 - 申请校验运单累计销账金额不能超过账单金额 TMS系统 - 客户账单管理 - 财务中心销账审核 - 财务审核通过后生成运单、账单收款明细 TMS系统 - 客户账单管理 - 现金账单核销/月结账单核销增加校验业务销账申请收款金额不允许撤销收款

committer: heyu
This commit is contained in:
aike 2025-10-11 13:31:31 +08:00
parent 9bc1450f3a
commit e557b0747d
2 changed files with 1 additions and 2 deletions

View File

@ -451,7 +451,7 @@ public class EmisWriteoffApplyController extends EmisBaseController {
for (EmisWriteoffApplyDetail detail : list) {
// 1. 验证用户权限:检查是否是运单的销售联系人/回款联系人/销售联系人关联的助理
if (!hasPermissionToViewBill(detail, currentEmpName)) {
// return error("您没有权限查看运单 " + detail.getBillCode() + " 的信息");
return error("您没有权限查看运单 " + detail.getBillCode() + " 的信息");
}
// 2. 验证账单确认状态:检查账单是否已确认

View File

@ -1522,7 +1522,6 @@ public class EmisWriteoffApplyServiceImpl extends EmisBaseService implements IEm
payRecord.setPayMoney(totalApplyMoney);
payRecord.setPayStatus("2"); // 支付成功
payRecord.setPayStatusDesc("销账收款成功");
payRecord.setSettleType("1"); // 现金结算
payRecord.setTradeDate(new Date());
payRecord.setRecManCode(currentUser.getEmpCode());