From f5d05d68f7f507ae58c48b6a741b57dd50bcfe32 Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期三, 04 三月 2026 16:53:11 +0800
Subject: [PATCH] 备件管理:优化列表页展示,修复点击新增后,数量显示问题

---
 src/views/inventoryManagement/stockReport/index.vue |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/views/inventoryManagement/stockReport/index.vue b/src/views/inventoryManagement/stockReport/index.vue
index 9d3fc80..89773cf 100644
--- a/src/views/inventoryManagement/stockReport/index.vue
+++ b/src/views/inventoryManagement/stockReport/index.vue
@@ -252,7 +252,7 @@
   getStockInventoryReportList
 } from "@/api/inventoryManagement/stockInventory.js";
 import {
-  findAllQualifiedStockInRecordTypeOptions,
+  findAllQualifiedStockInRecordTypeOptions,findAllUnQualifiedStockInRecordTypeOptions,
 } from "@/api/basicData/enum.js";
 
 
@@ -293,6 +293,10 @@
   findAllQualifiedStockInRecordTypeOptions()
       .then(res => {
         stockRecordTypeOptions.value = res.data;
+        findAllUnQualifiedStockInRecordTypeOptions()
+          .then(res => {
+          stockRecordTypeOptions.value = [...stockRecordTypeOptions.value,...res.data];
+      })
       })
 }
 

--
Gitblit v1.9.3