{"hidden":false,"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列表发送到客户端以同步到表格\n//app.send({create:createRows,update:updatedRows,otherParams:params});//如果需要同时同步新建和修改的记录以及其他参数","itemId":"module"},"expanded":true,"children":[],"type":"module"}],"roles":{},"title":"保存","iconCls":"","inframe":false,"pageLink":""}