                       form.on('submit(LAY-app-SysMenu-editForm-submit)',
                                            function(data) {
                                                var field = data.field; //获取提交的字段
                                                if (!field.parentId) {
                                                    field.parentId = 0;
                                                }
                                                field.hide = field.hide == 1;
          