This commit is contained in:
linfso 2024-07-20 16:30:50 +08:00
parent 5b063c81ea
commit a6ca0d8350
2 changed files with 9 additions and 1 deletions

View File

@ -1059,7 +1059,8 @@ public class EmisBaseService {
if(querySubBill!=null) {
if (!"0".equals(querySubBill.getBlConfirmCenter())) {
log.error("===>账单财务确认不允许出账!");
throw new EmisBizError(EmisBizErrorType.FAIL, "账单财务确认不允许出账");
return;
// throw new EmisBizError(EmisBizErrorType.FAIL, "账单财务确认不允许出账");
}
}

View File

@ -1567,6 +1567,13 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
// 占用进仓单号
useWarehouseInNo(emisWaybillSave.getBillCode(),oldEmisWaybill.getWarehouseInNo(),emisWaybillSave.getWarehouseInNo());
// 运单修改需要重新出账
try {
redoGenerateBill(emisWaybillSave.getBillCode());
}catch (Exception ex){
ex.printStackTrace();
}
}
/**