付款申请单 候补发票

This commit is contained in:
程小伟 2025-05-12 17:11:38 +08:00
parent 66b9623cf5
commit cf4e617c4d
1 changed files with 3 additions and 3 deletions

View File

@ -77,9 +77,9 @@ public class SupplementInvoiceBillPlugin extends PaymentApplyEditUI {
DynamicObjectCollection subentryentitys = rowEntity.getDynamicObjectCollection("subentryentity");
for (int i = 0; i < subentryentitys.size(); i++) {
Object pkValue = subentryentitys.get(i).getPkValue();
log.info("SupplementInvoiceBillPlugin:获取第"+(i+1)+"主键值"+pkValue.toString());
DynamicObject invoice = BusinessDataServiceHelper.loadSingle(pkValue, "ec_in_invoice");
Object invoiceNum = subentryentitys.get(i).get("invoice");
log.info("SupplementInvoiceBillPlugin:获取第"+(i+1)+"发票号"+invoiceNum.toString());
DynamicObject invoice = BusinessDataServiceHelper.loadSingle(invoiceNum, "ec_in_invoice");
log.info("SupplementInvoiceBillPlugin:数据库搜索进项发票"+invoice.getPkValue().toString());
BigDecimal applyinvoftaxamt = (BigDecimal)this.getModel().getValue("applyinvoftaxamt", i);//获取申请金额
log.info("SupplementInvoiceBillPlugin:本次申请金额"+applyinvoftaxamt);