This commit is contained in:
zlwu committed 2026-08-27 19:38:01 +08:00
1 parent 4611dbc2b2
commit ebf006eeff
46 files changed
+36802 -20974

No files matched your search

+5 -1
View File
@@ -27153,9 +27153,12 @@ CREATE TABLE `pl_plan_product_brand_qty` (
`id` varchar(64) NOT NULL,
`plan_id` varchar(64) NOT NULL,
`plan_product_id` varchar(64) NOT NULL,
`stop_type` varchar(20) DEFAULT NULL COMMENT 'load/delivery,空=计划级汇总',
`stop_product_id` varchar(64) DEFAULT NULL COMMENT '段产品行ID,空=计划级汇总',
`brand_id` varchar(64) NOT NULL DEFAULT '' COMMENT '空串=无品牌键',
`brand_name` varchar(100) DEFAULT NULL,
`qty` decimal(15,3) NOT NULL DEFAULT '0.000' COMMENT '本品牌归档实际数量',
`unit_price` decimal(15,4) DEFAULT NULL COMMENT '本品牌归档单价',
`tenant_no` varchar(64) NOT NULL DEFAULT 'shanxia2.0',
`order_num` int(11) DEFAULT NULL,
`remark` varchar(512) DEFAULT NULL,
@@ -27167,7 +27170,8 @@ CREATE TABLE `pl_plan_product_brand_qty` (
`del_flag` smallint(6) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`) USING BTREE,
KEY `idx_plan_product` (`plan_product_id`) USING BTREE,
KEY `idx_plan` (`plan_id`) USING BTREE
KEY `idx_plan` (`plan_id`) USING BTREE,
KEY `idx_stop_product` (`stop_product_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='计划产品归档品牌数量';
-- ----------------------------
@@ -25,7 +25,7 @@
| 项 | 结论 |
|---|---|
| 实现路径 | 独立菜单页 + 专用列表/保存 API(路径 1) |
| 交互 | 方案 B:行内展开补充合同 |
| 交互 | 列表「补充」打开弹窗关联本段合同(已由行内展开改为弹窗,见 `docs/fresh-mint-pl-plan-contract-supplement-dialog-demo.html`) |
| 计划范围 | 仅未作废(`follow_status != cancelled`),含待安排/已安排/运输中等;**已归档但未作废的计划仍入列**(未采用「排除归档」) |
| 合同数量 | 每侧可多选(与计划新增/编辑一致) |
| 保存方式 | 两侧各自「保存」;补完一侧即可落库 |