supplychain/supplychain/__init__.py
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

35 lines
1.0 KiB
Python

from .init import (
create_supplier,
update_supplier,
delete_supplier,
create_supply_contract,
update_supply_contract,
delete_supply_contract,
create_supply_contract_item,
update_supply_contract_item,
delete_supply_contract_item,
create_sub_reseller,
update_sub_reseller,
delete_sub_reseller,
create_distribution_agreement,
update_distribution_agreement,
delete_distribution_agreement,
create_distribution_agreement_item,
update_distribution_agreement_item,
delete_distribution_agreement_item,
create_sales_ledger,
update_sales_ledger,
delete_sales_ledger,
calculate_sale_amounts,
create_platform_supply_relations,
update_platform_supply_relations,
delete_platform_supply_relations,
create_platform_supply_products,
update_platform_supply_products,
delete_platform_supply_products,
create_product_supplier_mapping,
update_product_supplier_mapping,
delete_product_supplier_mapping,
load_supplychain,
)