From 3ea1ff641e1c680a5a1727fb4034797bfe65d93e Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期三, 18 三月 2026 15:29:17 +0800
Subject: [PATCH] fix: 质量、耗材物流
---
src/pages/consumablesLogistics/receiptManagement/Record.vue | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
diff --git a/src/pages/consumablesLogistics/receiptManagement/Record.vue b/src/pages/consumablesLogistics/receiptManagement/Record.vue
index 9770be2..29cce52 100644
--- a/src/pages/consumablesLogistics/receiptManagement/Record.vue
+++ b/src/pages/consumablesLogistics/receiptManagement/Record.vue
@@ -86,7 +86,6 @@
} from "@/api/consumablesLogistics/consumablesInRecord.js";
import {
findAllQualifiedStockInRecordTypeOptions,
- findAllUnQualifiedStockInRecordTypeOptions,
} from "@/api/basicData/enum.js";
const props = defineProps({
@@ -122,11 +121,7 @@
};
const fetchStockRecordTypeOptions = () => {
- const api =
- props.type === "1"
- ? findAllUnQualifiedStockInRecordTypeOptions
- : findAllQualifiedStockInRecordTypeOptions;
- api()
+ findAllQualifiedStockInRecordTypeOptions()
.then((res) => {
stockRecordTypeOptions.value = res.data || [];
})
@@ -148,7 +143,7 @@
const getList = () => {
tableLoading.value = true;
- getConsumablesInRecordListPage({ ...searchForm.value, ...page, type: props.type })
+ getConsumablesInRecordListPage({ ...searchForm.value, ...page, type: "0" })
.then(res => {
tableData.value = res?.data?.records || [];
total.value = res?.data?.total || 0;
--
Gitblit v1.9.3