F7控件

//动态给F7加过滤
waf("#costSubject").wafPromptStandard("option", "filteritem", "states in (1,2)"); 

//分录F7加过滤
waf("#editGrid").wafGrid("getColumnConfig", "detailProject");
waf("#editGrid").wafGrid("setCellEditorAllConfig","detailProject","filteritem"," id in("+data.map.detailFilterFid+")","promptQuick",null); 
//获取值
waf("f7").wafPromptBox("getValue");

 

posted @ 2016-10-18 20:18  suruozhong  阅读(428)  评论(1编辑  收藏  举报