通用费用项目插件提示代码更新
This commit is contained in:
parent
f8f644c88e
commit
d2ca88bd8f
|
@ -19,7 +19,7 @@ import java.util.*;
|
|||
/**
|
||||
* 单据界面插件
|
||||
* 付款事项根据费用项目关联付款事项约束费用项目
|
||||
* 根据付款事项编码查询对于的费用项目(级次大于1的付款事项按它的1级编码查询)
|
||||
* 根据界面上流程事项编码查询对于的费用项目(级次大于1的付款事项按它的1级编码查询)
|
||||
*/
|
||||
public class CommonExpenseItemBillFormPlugin extends AbstractBillPlugIn implements BeforeF7SelectListener,Plugin {
|
||||
String entityId;
|
||||
|
@ -55,7 +55,7 @@ public class CommonExpenseItemBillFormPlugin extends AbstractBillPlugIn implemen
|
|||
payment = BusinessDataServiceHelper.loadSingle(payID,"bos_assistantdata_detail");
|
||||
}else {
|
||||
beforeF7SelectEvent.setCancel(true);
|
||||
this.getView().showTipNotification("请先选择付款事项");
|
||||
this.getView().showTipNotification("请先选择流程事项");
|
||||
}
|
||||
}else if (paymentItemList.contains(entityId)){
|
||||
DynamicObject shkd_paymentitem = dataEntity.getDynamicObject("shkd_paymentitem");
|
||||
|
@ -64,7 +64,7 @@ public class CommonExpenseItemBillFormPlugin extends AbstractBillPlugIn implemen
|
|||
payment = BusinessDataServiceHelper.loadSingle(payID,"bos_assistantdata_detail");
|
||||
}else {
|
||||
beforeF7SelectEvent.setCancel(true);
|
||||
this.getView().showTipNotification("请先选择付款事项");
|
||||
this.getView().showTipNotification("请先选择流程事项");
|
||||
}
|
||||
}
|
||||
if (payment != null){
|
||||
|
@ -101,7 +101,7 @@ public class CommonExpenseItemBillFormPlugin extends AbstractBillPlugIn implemen
|
|||
formShowParameter.getListFilterParameter().setFilter(qF);
|
||||
}else {
|
||||
beforeF7SelectEvent.setCancel(true);
|
||||
this.getView().showTipNotification("该付款事项未关联费用项目");
|
||||
this.getView().showTipNotification("该流程事项未关联费用项目");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue