摘要: 1 BigDecimal bignum1 = new BigDecimal("10"); 2 BigDecimal bignum2 = new BigDecimal("5"); 3 BigDecimal bignum3 = null; 4 5 //加法 6 bignum3 = bignum1.add(bignum2); 7 System.out... 阅读全文
posted @ 2016-10-31 20:22 suruozhong 阅读(67155) 评论(1) 推荐(0) 编辑
摘要: 1,实现以下两个接口, (1)IDAPTransformAdapter和IPCATransformAdapter, (2)前台注册dapadaptor, (3)查询表格的每一行数据必须有company.id的值 前台页面加载后注册这两个类 2,代码弹出凭证多规则选择界面(或者直接按钮绑定生成凭证功能 阅读全文
posted @ 2016-10-31 20:01 suruozhong 阅读(617) 评论(0) 推荐(0) 编辑
摘要: 功能名称:modelCreateAction 切入类型:after 事件名称:com.kingdee.bos.eventbus.event.model.ModelCreateEvent 阅读全文
posted @ 2016-10-31 19:49 suruozhong 阅读(810) 评论(0) 推荐(0) 编辑
摘要: 1 _saveActionEventHandler:function(event,value){ 2 if (!_self.fireEvent("saveBefore")) return; 3 var option = _self.getOptionFromArguments(arguments); 4 _self.... 阅读全文
posted @ 2016-10-31 19:45 suruozhong 阅读(1181) 评论(0) 推荐(0) 编辑
摘要: 1,隐藏某列之后,获取该列的值为空,将绑定属性加到其它未隐藏字段的关联query字段,以逗号隔开 2,当使用到标准产品功能,选中某一行,提示未选中,需要用默认的表格名称queryGrid 例:生成凭证选中行提示未选中,要使用默认id(queryGrid) 阅读全文
posted @ 2016-10-31 19:39 suruozhong 阅读(231) 评论(0) 推荐(0) 编辑
摘要: 1、web server端获取上下文:Context ctx = WafContext.getInstance().getContext();上下文中包含当前登录组织、当前登录用户、语种、数据库、客户端地址等信息 2、web 浏览器端获取上下文:var ctx =waf.getContext(); 阅读全文
posted @ 2016-10-31 19:33 suruozhong 阅读(856) 评论(0) 推荐(0) 编辑
摘要: 1 waf("分录id").wafGrid("setCellEditorAllConfig", "字段名", "filteritem", "过滤条件", 2 "wafPromptStandard", null); 3 或 4 waf("分录id").wafGrid("getColumnConfig", "city").editoptions.subTagJson.filteritem... 阅读全文
posted @ 2016-10-31 18:59 suruozhong 阅读(960) 评论(0) 推荐(0) 编辑