From 87f4c728b79b6c4af4313052c5bed4db24382e5f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=99=88=E6=B2=85?= <907037276@qq.com>
Date: Mon, 31 Aug 2026 14:51:33 +0800
Subject: [PATCH] fix: align purchase forecast task toolbar
---
src/views/channel/index.vue | 37 +++++++++++++++++++++++++++++--------
1 file changed, 29 insertions(+), 8 deletions(-)
diff --git a/src/views/channel/index.vue b/src/views/channel/index.vue
index 0ee1b27..a5801c9 100644
--- a/src/views/channel/index.vue
+++ b/src/views/channel/index.vue
@@ -2,11 +2,11 @@
-
+
-
+ PURCHASE DEMAND FORECAST
{{ activeStepName }}
- Step {{ String(activeStep).padStart(2,'0') }}
{{ activeStepName }}
+
线性预测的核心是拟合趋势线(y=a+bt),是基于历史数据预测未来销量的有效方法。根据案例资料及数据,预测案例店铺产品未来 3 个月市场需求数据。
@@ -29,7 +29,7 @@
下载实训操作说明
- Step {{ String(activeStep).padStart(2,'0') }}
{{ activeStepName }}
+
计算未来 3 个月需求量后,使用散点图 + 趋势线绘制需求量预测趋势图,呈现已知的 12 个月销量以及预测数据的整体走势。
下载实训操作说明
- Step {{ String(activeStep).padStart(2,'0') }}
{{ activeStepName }}
+
基于步骤一预测的未来3个月销量,结合安全库存和期初库存,计算各月采购量,填报采购预测表。
采购规则
@@ -94,7 +94,7 @@
预测销量由第 1 步同步带入。提交时将按题设规则校验安全库存、期初库存和采购量。
- Step {{ String(activeStep).padStart(2,'0') }}
{{ activeStepName }}
+
未来需求预测,使用线性回归模型预测2025年采购量:
{
border-bottom: 0;
}
+.workbench-head h2 {
+ margin: 4px 0 0;
+ color: #fff;
+ font-size: 24px;
+ font-weight: 800;
+ line-height: 1.3;
+}
+
+.purchase-forecast-toolbar {
+ align-self: center;
+ justify-content: flex-end;
+ max-width: 100%;
+}
+
+@media (max-width:900px) {
+ .purchase-forecast-toolbar {
+ width: 100%;
+ justify-content: flex-start;
+ }
+}
+
.linear-forecast-intro {
margin: 0 0 22px;
color: #d7ecff;