From e4b6ded6b9b6bdd492c1629fc2661a88abda9e1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AC=94=E8=AE=B0=E6=9C=AC=E9=87=8C=E7=9A=84=E6=B0=B8?= =?UTF-8?q?=E5=B9=B3?= Date: Wed, 23 Jul 2025 19:44:50 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9C=AC=E6=AC=A1=E6=8F=90=E4=BA=A4?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=86=85=E5=AE=B9=E5=A6=82=E4=B8=8B=20?= =?UTF-8?q?=E5=9C=BA=E6=99=AF=E8=AE=A1=E5=88=92=E7=B2=97=E7=95=A5=E5=AE=8C?= =?UTF-8?q?=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nkebao/src/pages/scenarios/plan/new/index.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nkebao/src/pages/scenarios/plan/new/index.tsx b/nkebao/src/pages/scenarios/plan/new/index.tsx index cc981115..dc1362d0 100644 --- a/nkebao/src/pages/scenarios/plan/new/index.tsx +++ b/nkebao/src/pages/scenarios/plan/new/index.tsx @@ -123,6 +123,7 @@ export default function NewPlan() { // 编辑:拼接后端需要的完整参数 const editData = { ...formData, + ...{ sceneId: Number(formData.scenario) }, id: Number(planId), planId: Number(planId), // 兼容后端需要的字段 @@ -131,6 +132,7 @@ export default function NewPlan() { result = await updatePlan(planId, editData); } else { // 新建 + formData.sceneId = Number(formData.scenario); result = await createPlan(formData); } message.success(isEdit ? "计划已更新" : "获客计划已创建");