Files
37duAutomation/plugins/XQ0001-0100/XQ0021 酒店报表导出/plugin.json
T
puddy 1664821117 restore: 恢复 11-06~11-09 本地未提交改动
- libs: 新增 hr_sdk / hotel_report / dingtalk,更新 desktopauto
- controlplane-next: SDK 管理模块(controller/entity/migrations)与前端视图
- electron-shell: 插件同步、注册表、runner 调整
- plugins: XQ0035/XQ0041/XQ0042/XQ0045_XQ0046/XQ0048/XQ0076/XQ0078 等版本更新
- tests/tools: 新增 SDK 兼容性检查与打包工具(sdk_pack.py、sdk_compat_check.py)
2026-11-09 17:27:10 +08:00

75 lines
1.9 KiB
JSON

{
"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": []
}
}