Hermes Agent
|
bfc50f2364
|
feat: 补充供销协议和协议产品明细折扣CRUD管理
- 新增 json/supply_contracts_list.json CRUD定义(供销协议管理)
- 新增 json/supply_contract_items_list.json CRUD定义(协议产品明细折扣)
- 修复 json/suppliers_list.json JSON语法错误(缺少逗号)
- 修复6个API dspy文件违规(移除import/print,改用return)
- 新增4个搜索API(供应商/合同/产品分类/产品下拉数据)
- 新增 supplychain/__init__.py 导出所有公共函数
- 重新生成CRUD UI文件并修正editable URL指向自定义API
- 更新load_path.py注册新路径
- 添加.gitignore排除自动生成文件
|
2026-06-17 15:03:46 +08:00 |
|
Hermes Agent
|
d26bb4cd0c
|
bugfix
|
2026-06-17 14:38:50 +08:00 |
|
|
|
8766afa8c0
|
fix(supplychain): 规范修复 + P0函数注册 + 文档完善
- 修复12个.dspy文件: 移除import/print, 改用return
- init.py: 添加9个P0 CRUD函数 + 单复数兼容注册
- load_path.py: 补充15个CRUD子目录路径
- README.md: 添加P0表说明 + 业务API + 部署清单
- global_menu.ui: 已有supplychain入口(验证通过)
|
2026-06-05 22:34:09 +08:00 |
|
|
|
dff8b0de2a
|
feat(supplychain): P0 平台内供应链 - 供销关系/产品映射/跨组织引入
新增3张核心表:
- platform_supply_relations: 平台内org-to-org供销关系(分销/代理/直供)
- platform_supply_products: 供销产品明细(供货价/折扣/佣金)
- product_supplier_mapping: 统一产品供应映射(内部+外部)
新增3个业务API:
- query_platform_suppliers: 查询平台可用供应方机构
- query_platform_products: 查询供应方产品目录
- import_supplier_product: 引入供应方产品到需求方
更新: init/data.json(6组appcodes), load_path.py(RBAC权限), menu.ui(分组菜单)
|
2026-06-05 22:11:33 +08:00 |
|
|
|
b8f361af41
|
fix: wrap Tabular in VBox with cheight for proper scrolling
|
2026-05-29 22:09:58 +08:00 |
|
|
|
5942e78968
|
feat: add DDL, CRUD dspy and list pages for all supplychain tables
|
2026-05-28 11:43:45 +08:00 |
|
|
|
74579d115c
|
Remove backup file
|
2026-05-26 14:21:40 +08:00 |
|
|
|
ed9c96d719
|
Initial commit: supplychain module - supplier, sub-reseller, contract, agreement, and sales ledger management
|
2026-05-26 14:21:31 +08:00 |
|
|
|
58f427d530
|
refactor: dark theme 3-part layout with filler scrollable content
|
2026-05-26 14:07:19 +08:00 |
|
|
|
55b84f5fe8
|
docs: 恢复README.md完整内容, 更新集成步骤引用scripts/load_path.py
|
2026-05-25 15:39:10 +08:00 |
|
|
|
092d74133e
|
fix: 添加product引用, 创建scripts/load_path.py, 修复.dspy代码生成逻辑
- models/*.json: 在supply_contract_items, distribution_agreement_items,
supplychain_accounting的codes段添加products/product_types引用
- scripts/load_path.py: 模块RBAC权限管理脚本, 包含any/logined/operator/sale四类权限
- supplychain/init.py: 重命名get_module_dbname为_get_dbname避免覆盖全局函数
- wwwroot/api/*_create.dspy: 修复自动编号生成逻辑(移除死代码条件判断)
|
2026-05-25 15:37:06 +08:00 |
|
|
|
da32159ad9
|
feat: 供应商和分销商管理模块 (supplychain)
- 7个数据库表: suppliers, supply_contracts, supply_contract_items,
sub_distributors, distribution_agreements, distribution_agreement_items,
supplychain_accounting
- CRUD JSON配置 (7个列表 + editable段)
- API端点: create/update/delete (21个) + calculate_accounting + query_discount (2个)
- 前端页面: index.ui + 5个功能页 + menu.ui
- 记账计算: 自动查找有效合同/协议折扣,计算进货金额、分销金额、利润
- 折扣查找优先级: 精确产品 > 产品分类 > 默认折扣
- productid/prodtypeid引用product模块(即将开发)
|
2026-05-25 15:37:06 +08:00 |
|
|
|
4c1efe56a8
|
Initial commit
|
2026-05-25 15:23:45 +08:00 |
|