package nc.ui.so.m32.billui.editor.bodyevent;
import nc.ui.pub.beans.UIRefPane;
import nc.ui.pub.bill.BillCardPanel;
import nc.ui.pub.bill.BillItem;
import nc.ui.pubapp.uif2app.event.card.CardBodyBeforeEditEvent;
import nc.ui.so.m32.billref.pu.m25.SoM32rRefPuM25RefModel;
import nc.ui.so.pub.keyvalue.CardKeyValue;
import nc.vo.so.m32.entity.SaleInvoiceBVO;
import nc.vo.so.pub.keyvalue.IKeyValue;
/**(vbdef11)编辑前事件
*/
@SuppressWarnings("restriction")
public class Vbdef11EditHandler {
public void beforeEdit(CardBodyBeforeEditEvent e) {
BillCardPanel cardPanel = e.getBillCardPanel();
BillItem vbdef11_item = cardPanel.getBodyItem(SaleInvoiceBVO.VBDEF11);
if (null != vbdef11_item) {
// 获取 自定义项11 参照组件
UIRefPane uiRefPane = (UIRefPane) vbdef11_item.getComponent();
if (uiRefPane instanceof UIRefPane) {
SoM32rRefPuM25RefModel spRefModef = (SoM32rRefPuM25RefModel) uiRefPane.getRefModel();
// 物料编码
BillItem cmate
NC获取字段值的方法
最新推荐文章于 2024-01-17 10:24:13 发布