付款申请单 候补发票

This commit is contained in:
程小伟 2025-05-12 18:08:47 +08:00
parent df607a24d3
commit 7e18636362
1 changed files with 2 additions and 1 deletions

View File

@ -93,6 +93,7 @@ public class SupplementInvoiceBillPlugin extends PaymentApplyEditUI {
this.getModel().setValue("unapplyinvoftaxamt", unapplyinvoftaxamt,i);
invoice.set("unapplyamount",unapplyinvoftaxamt);
invArr[i] = invoice;
SaveServiceHelper.save(new DynamicObject[]{invoice});
}else {
this.getView().showTipNotification("合同进项发票信息第"+(i+1)+"行的 本次申请金额不能大于未申请含税金额。",5000);
args.setCancel(true);
@ -102,7 +103,7 @@ public class SupplementInvoiceBillPlugin extends PaymentApplyEditUI {
}
if(invArr.length>0){
SaveServiceHelper.save(invArr);//发票保存
//SaveServiceHelper.save(invArr);//发票保存
log.info("SupplementInvoiceBillPlugin:发票保存");
this.getView().showTipNotification("保存成功");
}else{