GoldenME V10 单据联查回写配置

GoldenME V10 单据联查回写配置


删除

删除方法的调用回写

/**
 * 封装说明:
 * infoValue.billcode 单据号
 * infoValue.billtype 单据类型
 * infoValue.billInfo 单据结构
 * infoValue.logType 操作类型
 * infoValue.oldBean 修改前(oldBean.main 主表;oldBean.detailList 明细;otherMap<billtype, otherBean> 其他单据信息数据,otherBean结构同oldBean...);
 * infoValue.newBean 修改后(结构同oldBean);
 */
#set($billInfo=$vs.proc.invoke('com.golden.bdp.sdp.billtypeInfo','getInfoByBilltype',$form.BILLTYPE_CODE));
#set($infoValue=$vs.util.newMap());
#set($infoValue.billcode=$form.get($billInfo.maintable.billcodecolumn));
#set($infoValue.billtype=$form.BILLTYPE_CODE);
#set($infoValue.billInfo=$billInfo);
#set($infoValue.logType='delete');

#set($oldBean=$vs.proc.invoke('com.golden.bdp.sdp.billtypeInfo','getInfoValue',$infoValue));
#set($infoValue.oldBean=$oldBean);

#set($oldMod=$oldBean.main);
#set($detailList=$oldBean.detailList);
#set($oldDetailMap = $oldBean.detailMap);
//回写
#set($backProc = $vs.proc.find('com.golden.bdp.sdp.billBack'))
$backProc.executeBack($infoValue,null)

页面列表

ITEM_HTML