发票选择校验提示
This commit is contained in:
parent
44bec6eaf2
commit
3fd6ebabf0
|
|
@ -203,7 +203,8 @@ public class MaintenanceAckBillPlugin extends AbstractBillPlugIn implements Plug
|
||||||
for (DynamicObject newInvoice : newInvoices) {
|
for (DynamicObject newInvoice : newInvoices) {
|
||||||
DynamicObject buyerOrg = newInvoice.getDynamicObject("buyer");
|
DynamicObject buyerOrg = newInvoice.getDynamicObject("buyer");
|
||||||
if (buyerOrg != null && buyerOrg.getLong("id") != orgId) {
|
if (buyerOrg != null && buyerOrg.getLong("id") != orgId) {
|
||||||
this.getView().showErrorNotification(ResManager.loadKDString("导入失败:当前发票购买方不为当前财务记账组织,请确认信息。", "PaymentApplyEditUI_20", "ec-contract-formplugin", new Object[0]));
|
this.getView().showTipNotification(ResManager.loadKDString("导入失败:当前发票购买方不为当前财务记账组织,请确认信息。", "PaymentApplyEditUI_20", "ec-contract-formplugin", new Object[0]));
|
||||||
|
//this.getView().showErrorNotification(ResManager.loadKDString("导入失败:当前发票购买方不为当前财务记账组织,请确认信息。", "PaymentApplyEditUI_20", "ec-contract-formplugin", new Object[0]));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue