列表批量下推5.0原创
1人赞赏了该文章
229次浏览
编辑于2024年04月19日 15:47:05
@Override
public void afterDoOperation(AfterDoOperationEventArgs afterDoOperationEventArgs) {
super.afterDoOperation(afterDoOperationEventArgs);
String targetEntityNumber = ""; //目标单
public void afterDoOperation(AfterDoOperationEventArgs afterDoOperationEventArgs) {
super.afterDoOperation(afterDoOperationEventArgs);
String operateKey = afterDoOperationEventArgs.getOperateKey();
if (StringUtils.equals("selectinv", operateKey)) {
String sourceEntityNumber = "mxoc_pom_instocknew";//源单
String targetEntityNumber = ""; //目标单
XcBillList billlist = this.getView().getControl("billlistap");
List<ListSelectedRow> auditBills = com.jdy.cmbc.common.billtemplate.util.CustomizeConvertHelp.getAuditBills(billlist);
XcListUserOption XclistUserOption = (XcListUserOption) billlist.getListUserOption();
boolean isShowOne = XclistUserOption.isShowOne();
CustomizeConvertHelp.convert(this.getView(), auditBills, defRuleId, sourceEntityNumber, targetEntityNumber, isShowOne);
List<ListSelectedRow> auditBills = com.jdy.cmbc.common.billtemplate.util.CustomizeConvertHelp.getAuditBills(billlist);
XcListUserOption XclistUserOption = (XcListUserOption) billlist.getListUserOption();
boolean isShowOne = XclistUserOption.isShowOne();
CustomizeConvertHelp.convert(this.getView(), auditBills, defRuleId, sourceEntityNumber, targetEntityNumber, isShowOne);
}
}
赞 1
1人点赞
还没有人点赞,快来当第一个点赞的人吧!
打赏
0人打赏
还没有人打赏,快来当第一个打赏的人吧!
推荐阅读