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