{"title":"保存","inframe":false,"hidden":false,"roles":{"dev":1},"pageLink":"","children":[{"configs":{"serverScript":"var id, ids = [],\n  recs = Wb.decode(request.getParameter('create'));\nWb.each(recs, function(rec) {\n  id = SysUtil.getId();\n  rec.ID_FIELD = id;\n  ids.push({\n    ID_FIELD: id\n  });\n});\nrequest.setAttribute('create', Wb.encode(recs)); //重置create记录\napp.update({\n  tableName: 'WB_MISC'\n});\napp.send(ids); //把id列表发送到客户端以同步到表格","itemId":"module"},"children":[],"type":"module","expanded":true}],"iconCls":""}