付款申请单已审核 重新添加发票
This commit is contained in:
parent
d303624622
commit
bc2b6bc036
|
@ -35,10 +35,11 @@ public class SupplementInvoiceBillPlugin 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 (!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"))){
|
||||
log.info("SupplementInvoiceBillPlugin:单据已审核,走子类方法");
|
||||
FormOperate operate = (FormOperate)args.getSource();
|
||||
String key = operate.getOperateKey();//获取操作码
|
||||
|
|
Loading…
Reference in New Issue