付款申请单 候补发票
This commit is contained in:
parent
07e0a66d1c
commit
c33a4023e2
|
@ -55,6 +55,13 @@ public class SupplementInvoiceBillPlugin extends PaymentApplyEditUI {
|
|||
}
|
||||
|
||||
private void unapplyInvoftaxamtRevise(BeforeDoOperationEventArgs args) {
|
||||
int Count = this.getModel().getEntryRowCount("subentryentity");
|
||||
log.info("SupplementInvoiceBillPlugin:子单据体行数:"+Count);
|
||||
if (Count <= 0) {
|
||||
this.getView().showTipNotification("请先后补发票");
|
||||
args.setCancel(true);
|
||||
return;
|
||||
}
|
||||
int rowIndex = this.getModel().getEntryCurrentRowIndex("entryentity");
|
||||
DynamicObject rowEntity = this.getModel().getEntryRowEntity("entryentity", rowIndex);//获取对应行的单据体
|
||||
BigDecimal applyoftaxamount = rowEntity.getBigDecimal("thisapplyoftax");//获取单据体对应的 本次申请金额⑫
|
||||
|
|
Loading…
Reference in New Issue