|
@@ -336,12 +336,12 @@ const SEED = {
|
|
|
自定义式 {type:"自定义", accounts, bwDown, bwUp, bwSym?, exits, ips}——不指定固定套餐,直接录账号数与上/下行带宽(只填单值时 bwSym 标注对称)。
|
|
自定义式 {type:"自定义", accounts, bwDown, bwUp, bwSym?, exits, ips}——不指定固定套餐,直接录账号数与上/下行带宽(只填单值时 bwSym 标注对称)。
|
|
|
条目内 exits 为线路出口(国家/地区,从下拉选取):套餐式单选一条(要换出口另建一条合同),自定义式可选多条;ips 为需分配 IP 条目(出口 + 带宽档位 + 数量,与 7.2 交接单同口径);
|
|
条目内 exits 为线路出口(国家/地区,从下拉选取):套餐式单选一条(要换出口另建一条合同),自定义式可选多条;ips 为需分配 IP 条目(出口 + 带宽档位 + 数量,与 7.2 交接单同口径);
|
|
|
列表与详情的带宽 / 出口 / 账号数 / IP 条目均按条目汇总派生。agent 三件套为运营商经办人(姓名、电话、交接单日期,均必填);
|
|
列表与详情的带宽 / 出口 / 账号数 / IP 条目均按条目汇总派生。agent 三件套为运营商经办人(姓名、电话、交接单日期,均必填);
|
|
|
- source 记合同进入系统的途径(联通同步 / 界面录入 / 批量导入)。状态按起止日与 TODAY 派生:待生效 / 生效中 / 已到期。 */
|
|
|
|
|
|
|
+ source 记合同进入系统的途径(运营商同步 / 界面录入 / 批量导入)。状态按起止日与 TODAY 派生:待生效 / 生效中 / 已到期。 */
|
|
|
contracts: [
|
|
contracts: [
|
|
|
/* 一份订单出多份订阅的落点:这一单(联通订单 CU-SH-20250315-011)里带两个服务构成条目——基础档与 1 个单独境外 IP,
|
|
/* 一份订单出多份订阅的落点:这一单(联通订单 CU-SH-20250315-011)里带两个服务构成条目——基础档与 1 个单独境外 IP,
|
|
|
分别成两条订阅(见 subs 首条与末条),两条订阅记同一个订单号;合同总额含叠加档 960 元 */
|
|
分别成两条订阅(见 subs 首条与末条),两条订阅记同一个订单号;合同总额含叠加档 960 元 */
|
|
|
- { no: "HT-CL-20250318", enterprise: 0, extNo: "CU-SH-20250315-011", amount: 2040, payCycle: "按年", start: "2025-03-18", end: "2026-03-17", items: [{ type: "套餐", pkg: "跨境办公 · 基础档", qty: 1, exits: ["中国香港"], ipCount: 0 }, { type: "套餐", pkg: "单独境外 IP(按个叠加)", qty: 1, exits: ["中国香港"], ipCount: 1 }], agent: "上海联通 · 王经理", agentPhone: "13601700101", handoverOn: "2025-03-15", source: "联通同步", files: ["oss://contracts/HT-CL-20250318.pdf"] },
|
|
|
|
|
- { no: "HT-CL-20260318", enterprise: 0, extNo: "CU-SH-20260316-023", amount: 1440, payCycle: "按年", start: "2026-03-18", end: "2027-03-17", items: [{ type: "套餐", pkg: "跨境办公 · 标准档", qty: 1, exits: ["中国香港"], ipCount: 0 }], agent: "上海联通 · 王经理", agentPhone: "13601700101", handoverOn: "2026-03-16", source: "联通同步", files: ["oss://contracts/HT-CL-20260318.pdf"] },
|
|
|
|
|
|
|
+ { no: "HT-CL-20250318", enterprise: 0, extNo: "CU-SH-20250315-011", amount: 2040, payCycle: "按年", start: "2025-03-18", end: "2026-03-17", items: [{ type: "套餐", pkg: "跨境办公 · 基础档", qty: 1, exits: ["中国香港"], ipCount: 0 }, { type: "套餐", pkg: "单独境外 IP(按个叠加)", qty: 1, exits: ["中国香港"], ipCount: 1 }], agent: "上海联通 · 王经理", agentPhone: "13601700101", handoverOn: "2025-03-15", source: "运营商同步", files: ["oss://contracts/HT-CL-20250318.pdf"] },
|
|
|
|
|
+ { no: "HT-CL-20260318", enterprise: 0, extNo: "CU-SH-20260316-023", amount: 1440, payCycle: "按年", start: "2026-03-18", end: "2027-03-17", items: [{ type: "套餐", pkg: "跨境办公 · 标准档", qty: 1, exits: ["中国香港"], ipCount: 0 }], agent: "上海联通 · 王经理", agentPhone: "13601700101", handoverOn: "2026-03-16", source: "运营商同步", files: ["oss://contracts/HT-CL-20260318.pdf"] },
|
|
|
/* 套餐式 + 自定义式混用示例:临港 ICT 定制套餐 ×1,另有一笔不指定套餐的自定义服务(账号 4、对称 30M、美国出口 + IP) */
|
|
/* 套餐式 + 自定义式混用示例:临港 ICT 定制套餐 ×1,另有一笔不指定套餐的自定义服务(账号 4、对称 30M、美国出口 + IP) */
|
|
|
{ no: "ICT-LG-20260902", enterprise: 1, extNo: "CU-SH-20261006-077", amount: 24000, payCycle: "按年", start: "2026-09-02", end: "2027-09-01", items: [
|
|
{ no: "ICT-LG-20260902", enterprise: 1, extNo: "CU-SH-20261006-077", amount: 24000, payCycle: "按年", start: "2026-09-02", end: "2027-09-01", items: [
|
|
|
{ type: "套餐", pkg: "临港 ICT 定制套餐", qty: 1, exits: ["中国香港"], ipCount: 2 },
|
|
{ type: "套餐", pkg: "临港 ICT 定制套餐", qty: 1, exits: ["中国香港"], ipCount: 2 },
|
|
@@ -353,8 +353,8 @@ const SEED = {
|
|
|
{ no: "HT-WM-20260801", enterprise: 3, extNo: "", amount: 1920, payCycle: "按年", start: "2026-08-01", end: "2027-07-31", items: [{ type: "自定义", accounts: 2, bwDown: 5, bwUp: 5, bwSym: true, exits: ["日本"], ipCount: 2, annualPrice: 600, monthlyPrice: 50 }], agent: "上海移动 · 高经理", agentPhone: "13900003301", handoverOn: "2026-07-29", source: "界面录入", files: ["oss://contracts/HT-WM-20260801.pdf"] },
|
|
{ no: "HT-WM-20260801", enterprise: 3, extNo: "", amount: 1920, payCycle: "按年", start: "2026-08-01", end: "2027-07-31", items: [{ type: "自定义", accounts: 2, bwDown: 5, bwUp: 5, bwSym: true, exits: ["日本"], ipCount: 2, annualPrice: 600, monthlyPrice: 50 }], agent: "上海移动 · 高经理", agentPhone: "13900003301", handoverOn: "2026-07-29", source: "界面录入", files: ["oss://contracts/HT-WM-20260801.pdf"] },
|
|
|
/* 叠加档示例:单独境外 IP ×2 个,档位额度为 0,不新增账号数 */
|
|
/* 叠加档示例:单独境外 IP ×2 个,档位额度为 0,不新增账号数 */
|
|
|
{ no: "HT-WM-20261008", enterprise: 3, extNo: "", amount: 1920, payCycle: "按年", start: "2026-10-08", end: "2027-10-07", items: [{ type: "套餐", pkg: "单独境外 IP(按个叠加)", qty: 2, exits: ["中国香港"], ipCount: 2 }], agent: "上海移动 · 高经理", agentPhone: "13900003301", handoverOn: "2026-10-06", source: "界面录入", files: ["oss://contracts/HT-WM-20261008.pdf"] },
|
|
{ no: "HT-WM-20261008", enterprise: 3, extNo: "", amount: 1920, payCycle: "按年", start: "2026-10-08", end: "2027-10-07", items: [{ type: "套餐", pkg: "单独境外 IP(按个叠加)", qty: 2, exits: ["中国香港"], ipCount: 2 }], agent: "上海移动 · 高经理", agentPhone: "13900003301", handoverOn: "2026-10-06", source: "界面录入", files: ["oss://contracts/HT-WM-20261008.pdf"] },
|
|
|
- { no: "HT-HL-20251001", enterprise: 4, extNo: "CU-SH-20250925-090", amount: 1920, payCycle: "按年", start: "2025-10-01", end: "2026-09-30", items: [{ type: "套餐", pkg: "跨境办公 · 独立 IP 档", qty: 1, exits: ["新加坡"], ipCount: 1 }], agent: "上海联通 · 王经理", agentPhone: "13601700101", handoverOn: "2025-09-26", source: "联通同步", files: ["oss://contracts/HT-HL-20251001.pdf"] },
|
|
|
|
|
- { no: "HT-HL-20261101", enterprise: 4, extNo: "CU-SH-20261009-115", amount: 1920, payCycle: "按年", start: "2026-11-01", end: "2027-10-31", items: [{ type: "套餐", pkg: "跨境办公 · 独立 IP 档", qty: 1, exits: ["新加坡"], ipCount: 1 }], agent: "上海联通 · 王经理", agentPhone: "13601700101", handoverOn: "2026-10-10", source: "联通同步", files: ["oss://contracts/HT-HL-20261101.pdf"] },
|
|
|
|
|
|
|
+ { no: "HT-HL-20251001", enterprise: 4, extNo: "CU-SH-20250925-090", amount: 1920, payCycle: "按年", start: "2025-10-01", end: "2026-09-30", items: [{ type: "套餐", pkg: "跨境办公 · 独立 IP 档", qty: 1, exits: ["新加坡"], ipCount: 1 }], agent: "上海联通 · 王经理", agentPhone: "13601700101", handoverOn: "2025-09-26", source: "运营商同步", files: ["oss://contracts/HT-HL-20251001.pdf"] },
|
|
|
|
|
+ { no: "HT-HL-20261101", enterprise: 4, extNo: "CU-SH-20261009-115", amount: 1920, payCycle: "按年", start: "2026-11-01", end: "2027-10-31", items: [{ type: "套餐", pkg: "跨境办公 · 独立 IP 档", qty: 1, exits: ["新加坡"], ipCount: 1 }], agent: "上海联通 · 王经理", agentPhone: "13601700101", handoverOn: "2026-10-10", source: "运营商同步", files: ["oss://contracts/HT-HL-20261101.pdf"] },
|
|
|
/* 不同出口并存演示合同:与客户 0 的中国香港标准档(HT-CL-20260318)同套餐不同出口,两份额度累加、各自出账 */
|
|
/* 不同出口并存演示合同:与客户 0 的中国香港标准档(HT-CL-20260318)同套餐不同出口,两份额度累加、各自出账 */
|
|
|
{ no: "HT-CL-20260901", enterprise: 0, extNo: "", amount: 1440, payCycle: "按年", start: "2026-09-01", end: "2027-08-31", items: [{ type: "套餐", pkg: "跨境办公 · 标准档", qty: 1, exits: ["美国"], ipCount: 1 }], agent: "上海联通 · 王经理", agentPhone: "13601700101", handoverOn: "2026-08-28", source: "界面录入", files: ["oss://contracts/HT-CL-20260901.pdf"] },
|
|
{ no: "HT-CL-20260901", enterprise: 0, extNo: "", amount: 1440, payCycle: "按年", start: "2026-09-01", end: "2027-08-31", items: [{ type: "套餐", pkg: "跨境办公 · 标准档", qty: 1, exits: ["美国"], ipCount: 1 }], agent: "上海联通 · 王经理", agentPhone: "13601700101", handoverOn: "2026-08-28", source: "界面录入", files: ["oss://contracts/HT-CL-20260901.pdf"] },
|
|
|
/* 广州天河北商贸(客户 6)的合同:广州移动政企单,2026-06-18 交接、2026-07-01 生效,
|
|
/* 广州天河北商贸(客户 6)的合同:广州移动政企单,2026-06-18 交接、2026-07-01 生效,
|
|
@@ -363,9 +363,9 @@ const SEED = {
|
|
|
/* 覆盖工单全组合的补充合同:客户 6 叠加订阅(生成待派单服务开通工单)、客户 7 一年期一档(到期停机)、
|
|
/* 覆盖工单全组合的补充合同:客户 6 叠加订阅(生成待派单服务开通工单)、客户 7 一年期一档(到期停机)、
|
|
|
客户 8 新旧两份(旧订阅停机单被续费承接关闭,新订阅停机单回执闭环) */
|
|
客户 8 新旧两份(旧订阅停机单被续费承接关闭,新订阅停机单回执闭环) */
|
|
|
{ no: "HT-GZ-20261013", enterprise: 6, extNo: "", amount: 960, payCycle: "按年", start: "2026-10-13", end: "2027-10-12", items: [{ type: "套餐", pkg: "单独境外 IP(按个叠加)", qty: 1, exits: ["新加坡"], ipCount: 1 }], agent: "广州移动 · 区经理", agentPhone: "13800004401", handoverOn: "2026-10-12", source: "界面录入", files: ["oss://contracts/HT-GZ-20261013.pdf"] },
|
|
{ no: "HT-GZ-20261013", enterprise: 6, extNo: "", amount: 960, payCycle: "按年", start: "2026-10-13", end: "2027-10-12", items: [{ type: "套餐", pkg: "单独境外 IP(按个叠加)", qty: 1, exits: ["新加坡"], ipCount: 1 }], agent: "广州移动 · 区经理", agentPhone: "13800004401", handoverOn: "2026-10-12", source: "界面录入", files: ["oss://contracts/HT-GZ-20261013.pdf"] },
|
|
|
- { no: "HT-QH-20250921", enterprise: 7, extNo: "CU-SZ-20250918-055", amount: 1080, payCycle: "按年", start: "2025-09-21", end: "2026-09-20", items: [{ type: "套餐", pkg: "跨境办公 · 基础档", qty: 1, exits: ["中国香港"], ipCount: 0 }], agent: "江苏联通 · 黄经理", agentPhone: "13601900502", handoverOn: "2025-09-18", source: "联通同步", files: ["oss://contracts/HT-QH-20250921.pdf"] },
|
|
|
|
|
- { no: "HT-JT-20250701", enterprise: 8, extNo: "CU-SH-20250626-018", amount: 1440, payCycle: "按年", start: "2025-07-01", end: "2026-06-30", items: [{ type: "套餐", pkg: "跨境办公 · 标准档", qty: 1, exits: ["中国香港"], ipCount: 0 }], agent: "上海联通 · 王经理", agentPhone: "13601700101", handoverOn: "2025-06-26", source: "联通同步", files: ["oss://contracts/HT-JT-20250701.pdf"] },
|
|
|
|
|
- { no: "HT-JT-20260705", enterprise: 8, extNo: "CU-SH-20260702-024", amount: 360, payCycle: "按月", start: "2026-07-05", end: "2026-08-31", items: [{ type: "套餐", pkg: "跨境办公 · 标准档", qty: 1, exits: ["中国香港"], ipCount: 0 }], agent: "上海联通 · 王经理", agentPhone: "13601700101", handoverOn: "2026-07-02", source: "联通同步", files: ["oss://contracts/HT-JT-20260705.pdf"] },
|
|
|
|
|
|
|
+ { no: "HT-QH-20250921", enterprise: 7, extNo: "CU-SZ-20250918-055", amount: 1080, payCycle: "按年", start: "2025-09-21", end: "2026-09-20", items: [{ type: "套餐", pkg: "跨境办公 · 基础档", qty: 1, exits: ["中国香港"], ipCount: 0 }], agent: "江苏联通 · 黄经理", agentPhone: "13601900502", handoverOn: "2025-09-18", source: "运营商同步", files: ["oss://contracts/HT-QH-20250921.pdf"] },
|
|
|
|
|
+ { no: "HT-JT-20250701", enterprise: 8, extNo: "CU-SH-20250626-018", amount: 1440, payCycle: "按年", start: "2025-07-01", end: "2026-06-30", items: [{ type: "套餐", pkg: "跨境办公 · 标准档", qty: 1, exits: ["中国香港"], ipCount: 0 }], agent: "上海联通 · 王经理", agentPhone: "13601700101", handoverOn: "2025-06-26", source: "运营商同步", files: ["oss://contracts/HT-JT-20250701.pdf"] },
|
|
|
|
|
+ { no: "HT-JT-20260705", enterprise: 8, extNo: "CU-SH-20260702-024", amount: 360, payCycle: "按月", start: "2026-07-05", end: "2026-08-31", items: [{ type: "套餐", pkg: "跨境办公 · 标准档", qty: 1, exits: ["中国香港"], ipCount: 0 }], agent: "上海联通 · 王经理", agentPhone: "13601700101", handoverOn: "2026-07-02", source: "运营商同步", files: ["oss://contracts/HT-JT-20260705.pdf"] },
|
|
|
],
|
|
],
|
|
|
/* 下属分账号:login 为账号名,规则是「客户主账号登录名-n」,n 为该客户的分账号序号,从 1 起,
|
|
/* 下属分账号:login 为账号名,规则是「客户主账号登录名-n」,n 为该客户的分账号序号,从 1 起,
|
|
|
同一客户共用一个序号池;netLogin 为零信任客户端上的账号名,选填、可改、不校验唯一。
|
|
同一客户共用一个序号池;netLogin 为零信任客户端上的账号名,选填、可改、不校验唯一。
|