From 1582e79af8cf96905c545328e7d4d60c74310bc9 Mon Sep 17 00:00:00 2001 From: yanzai Date: Wed, 5 Mar 2025 18:23:49 +0800 Subject: [PATCH] =?UTF-8?q?bug=E3=80=81=E4=B8=93=E5=AE=B6=E5=AE=9A?= =?UTF-8?q?=E5=88=B6=E5=A5=97=E9=A4=90=E9=97=AE=E5=8F=B7=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../API/Admin/YeWu/PlanController.php | 2 +- h5/pages/main/combo/combo.vue | 27 ++++++++++++++++++- h5/pages/main/tj/tjxq.vue | 9 ++++++- 3 files changed, 35 insertions(+), 3 deletions(-) diff --git a/Laravel/app/Http/Controllers/API/Admin/YeWu/PlanController.php b/Laravel/app/Http/Controllers/API/Admin/YeWu/PlanController.php index 9c37ba2..fd5fb74 100644 --- a/Laravel/app/Http/Controllers/API/Admin/YeWu/PlanController.php +++ b/Laravel/app/Http/Controllers/API/Admin/YeWu/PlanController.php @@ -147,7 +147,7 @@ class PlanController extends Controller foreach ($list as $k => $v) { $list[$k]->plan_type_name = ''; foreach ($plan_model as $k1 => $v1) { - if ($v1->model_id == $v->model_id) { + if ($v1->model_id == $v->model_id and $v1->time == $v->time) { $list[$k]->plan_type_name = $v1->plan_type_name; break; } diff --git a/h5/pages/main/combo/combo.vue b/h5/pages/main/combo/combo.vue index 78f2da2..e32a0b5 100644 --- a/h5/pages/main/combo/combo.vue +++ b/h5/pages/main/combo/combo.vue @@ -498,6 +498,7 @@ } getComboList(); } +