//获取字段
BillItem bi = getBillListPanel().getBodyBillModel().getItemByKey(
"notenumber");
//判断空并且该字段是参照字段
if ((bi != null) && (bi.getComponent() != null)
&& (bi.getComponent() instanceof UIRefPane)) {
//new 参照面板
UIRefPane noteRefPane = new UIRefPane();
//设置参照
noteRefPane.setRefModel((AbstractRefModel) CmpUtils .reflectClass("nc.ui.fbm.pub.outerrefmodel.Bill4CmpArApReceiveRefModel"));
noteRefPane.setButtonVisible(true);
noteRefPane.setPk_org(getModel().getContext().getPk_org());
//设置参照
bi.setComponent(noteRefPane);
}