From eae12ffeaa667f271a2c548b5e16557cac3686e3 Mon Sep 17 00:00:00 2001
From: yyb <995253665@qq.com>
Date: 星期三, 18 三月 2026 20:35:46 +0800
Subject: [PATCH] 能耗成本核算图表相关优化

---
 src/views/productionPlan/productionPlan/index.vue |   22 +++++++++++++++++++++-
 1 files changed, 21 insertions(+), 1 deletions(-)

diff --git a/src/views/productionPlan/productionPlan/index.vue b/src/views/productionPlan/productionPlan/index.vue
index e6f209b..649d991 100644
--- a/src/views/productionPlan/productionPlan/index.vue
+++ b/src/views/productionPlan/productionPlan/index.vue
@@ -48,6 +48,20 @@
                           style="width: 240px;"
                           @change="handleQuery" />
         </el-form-item>
+        <el-form-item label="涓嬪彂鐘舵��:">
+          <el-select v-model="searchForm.status"
+                     placeholder="璇烽�夋嫨鐘舵��" 
+                     clearable
+                     filterable
+                     style="width: 100px">
+            <el-option label="寰呬笅鍙�"
+                       value="0" />
+            <el-option label="閮ㄥ垎涓嬪彂"
+                       value="1" />
+            <el-option label="宸蹭笅鍙�"
+                       value="2" />
+          </el-select>
+        </el-form-item>
         <el-form-item>
           <el-button type="primary"
                      @click="handleQuery">鎼滅储</el-button>
@@ -668,6 +682,7 @@
     height: 0,
     startDate: "",
     endDate: "",
+    status: "",
     strength: "",
     remarkOne: "",
     remarkTwo: "",
@@ -1072,7 +1087,12 @@
     }
 
     console.log(mergeForm, "mergeForm");
-    productionPlanCombine(mergeForm)
+    const strengthItem = block_strength.value.find(item => item.id === mergeForm.strength);
+    const payload = {
+      ...mergeForm,
+      strength: strengthItem ? strengthItem.label : mergeForm.strength
+    };
+    productionPlanCombine(payload)
       .then(res => {
         if (res.code === 200) {
           ElMessage.success("涓嬪彂鎴愬姛");

--
Gitblit v1.9.3