付款申请单 候补发票

This commit is contained in:
程小伟 2025-05-09 15:16:31 +08:00
parent 12b005dda5
commit 07aa9ae043
1 changed files with 11 additions and 10 deletions

View File

@ -59,18 +59,19 @@ public class SupplementInvoiceBillPlugin extends PaymentApplyEditUI {
public void propertyChanged(PropertyChangedArgs e) { public void propertyChanged(PropertyChangedArgs e) {
log.info("SupplementInvoiceBillPlugin:发生变动的字段:"+e.getProperty().getName()); log.info("SupplementInvoiceBillPlugin:发生变动的字段:"+e.getProperty().getName());
String billId = this.getModel().getDataEntity().getPkValue().toString(); String billId = this.getModel().getDataEntity().getPkValue().toString();
log.info("SupplementInvoiceBillPlugin:主键值:"+billId); // log.info("SupplementInvoiceBillPlugin:主键值:"+billId);
if (!billId.equals("0") && "A".equals(this.getModel().getValue("billstatus"))){ // if (!billId.equals("0") && "A".equals(this.getModel().getValue("billstatus"))){
super.propertyChanged(e); // super.propertyChanged(e);
} else if (!billId.equals("0") &&"C".equals(this.getModel().getValue("billstatus"))){ // } else
String key = e.getProperty().getName(); if (!billId.equals("0") &&"C".equals(this.getModel().getValue("billstatus"))){
String key = e.getProperty().getName();
// int rowIndex = e.getChangeSet()[0].getRowIndex(); // int rowIndex = e.getChangeSet()[0].getRowIndex();
log.info("SupplementInvoiceBillPlugin:发生变动的字段:"+key); log.info("SupplementInvoiceBillPlugin:发生变动的字段:"+key);
if(StringUtil.equals("applyinvoftaxamt", key)) { if(StringUtil.equals("applyinvoftaxamt", key)) {
log.info("SupplementInvoiceBillPlugin:发票申请金额发生变动,与合同的申请金额进行比较"); log.info("SupplementInvoiceBillPlugin:发票申请金额发生变动,与合同的申请金额进行比较");
this.compareApplyInvoftaxamt1(); this.compareApplyInvoftaxamt1();
}
} }
}
} }