付款申请单 发票处理
This commit is contained in:
parent
2796d76cea
commit
c235166ffe
|
@ -36,11 +36,10 @@ public class CustomInvoiceBillPlugin extends PaymentApplyEditUI {
|
|||
public void beforeDoOperation(BeforeDoOperationEventArgs args) {
|
||||
String billId = this.getModel().getDataEntity().getPkValue().toString();
|
||||
log.info("SupplementInvoiceBillPlugin:主键值:"+billId);
|
||||
// if (!billId.equals("0") && "A".equals(this.getModel().getValue("billstatus"))){
|
||||
// log.info("SupplementInvoiceBillPlugin:单据暂存,走父类方法");
|
||||
// super.beforeDoOperation(args);
|
||||
// } else
|
||||
if (!billId.equals("0") &&"C".equals(this.getModel().getValue("billstatus"))){
|
||||
if (!"C".equals(this.getModel().getValue("billstatus"))){
|
||||
log.info("SupplementInvoiceBillPlugin:单据不是审核,走父类方法");
|
||||
super.beforeDoOperation(args);
|
||||
} else if (!billId.equals("0") &&"C".equals(this.getModel().getValue("billstatus"))){
|
||||
log.info("SupplementInvoiceBillPlugin:单据已审核,走子类方法");
|
||||
FormOperate operate = (FormOperate)args.getSource();
|
||||
String key = operate.getOperateKey();//获取操作码
|
||||
|
|
Loading…
Reference in New Issue