付款申请单 发票处理

This commit is contained in:
程小伟 2025-05-13 15:50:26 +08:00
parent 2796d76cea
commit c235166ffe
1 changed files with 4 additions and 5 deletions

View File

@ -36,11 +36,10 @@ public class CustomInvoiceBillPlugin extends PaymentApplyEditUI {
public void beforeDoOperation(BeforeDoOperationEventArgs args) { public void beforeDoOperation(BeforeDoOperationEventArgs args) {
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 (!"C".equals(this.getModel().getValue("billstatus"))){
// log.info("SupplementInvoiceBillPlugin:单据暂存,走父类方法"); log.info("SupplementInvoiceBillPlugin:单据不是审核,走父类方法");
// super.beforeDoOperation(args); super.beforeDoOperation(args);
// } else } else if (!billId.equals("0") &&"C".equals(this.getModel().getValue("billstatus"))){
if (!billId.equals("0") &&"C".equals(this.getModel().getValue("billstatus"))){
log.info("SupplementInvoiceBillPlugin:单据已审核,走子类方法"); log.info("SupplementInvoiceBillPlugin:单据已审核,走子类方法");
FormOperate operate = (FormOperate)args.getSource(); FormOperate operate = (FormOperate)args.getSource();
String key = operate.getOperateKey();//获取操作码 String key = operate.getOperateKey();//获取操作码