{ "schema_version": 1, "id": "xq0021", "name": "酒店报表导出", "version": "0.2.0", "description": "金贵酒店系统报表导出(交班查询 / 销售明细 / 营业日报):通过 SDK hotel_report 走 WCF 只读通道取数,按客户端 65 列 / 35 列 / 12 区块格式输出 xlsx;支持离线演示数据验证挂载与格式", "category": "财务", "icon": "", "platform": "", "uses_month": false, "ui": false, "capabilities": [ "xq0021" ], "permissions": {}, "requires": { "sdks": { "hotel_report": { "compat": "^0.2" } } }, "fields": { "type": "object", "properties": { "ref_date": { "type": "string", "title": "营业日期", "default": "", "description": "留空=昨天;格式 YYYY-MM-DD" }, "reports": { "type": "array", "title": "报表(可多选)", "items": { "type": "string", "enum": [ "交班查询", "销售明细", "营业日报" ] }, "default": [ "交班查询", "销售明细" ], "description": "勾选要导出的报表;留空=全部" }, "save_dir": { "type": "string", "title": "输出目录", "default": "D:\\资料\\财务\\酒店报表", "description": "各报表 xlsx 统一输出目录" }, "wcf_url": { "type": "string", "title": "WCF 地址", "default": "", "description": "留空=SDK 默认地址/环境变量 HOTEL_WCF_URL" }, "data_source": { "type": "string", "title": "数据源", "enum": [ "WCF(现场)", "演示数据(离线)" ], "default": "WCF(现场)", "description": "演示数据不连生产,仅用于验证 SDK 挂载与报表格式" } }, "required": [] } }