From b25e11bb1e76255b4c05e10022e1ca9be5c7cc99 Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期四, 19 三月 2026 16:53:56 +0800
Subject: [PATCH] 库存报表加日期选择

---
 src/pages/consumablesLogistics/dispatchLog/Record.vue |    9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/src/pages/consumablesLogistics/dispatchLog/Record.vue b/src/pages/consumablesLogistics/dispatchLog/Record.vue
index a4afc5e..868f7ed 100644
--- a/src/pages/consumablesLogistics/dispatchLog/Record.vue
+++ b/src/pages/consumablesLogistics/dispatchLog/Record.vue
@@ -86,7 +86,6 @@
 } from "@/api/consumablesLogistics/consumablesOutRecord.js";
 import {
   findAllQualifiedStockOutRecordTypeOptions,
-  findAllUnQualifiedStockOutRecordTypeOptions,
 } from "@/api/basicData/enum.js";
 
 const props = defineProps({
@@ -122,11 +121,7 @@
 };
 
 const fetchStockRecordTypeOptions = () => {
-  const api =
-    props.type === "1"
-      ? findAllUnQualifiedStockOutRecordTypeOptions
-      : findAllQualifiedStockOutRecordTypeOptions;
-  api()
+  findAllQualifiedStockOutRecordTypeOptions()
     .then((res) => {
       stockRecordTypeOptions.value = res.data || [];
     })
@@ -148,7 +143,7 @@
 
 const getList = () => {
   tableLoading.value = true;
-  getConsumablesOutRecordPage({ ...searchForm.value, ...page, type: props.type })
+  getConsumablesOutRecordPage({ ...searchForm.value, ...page, type: "0" })
     .then(res => {
       tableData.value = res?.data?.records || [];
       total.value = res?.data?.total || 0;

--
Gitblit v1.9.3