diff --git a/src/views/erp/stock/overview/index.vue b/src/views/erp/stock/overview/index.vue
index c4fe89e6..206703bb 100644
--- a/src/views/erp/stock/overview/index.vue
+++ b/src/views/erp/stock/overview/index.vue
@@ -21,12 +21,6 @@
-
-
-
{{ t('common.query') }}
@@ -196,12 +190,10 @@ const queryParams = reactive<{
categoryType?: number
warehouseId?: number
areaId?: number
- dateRange: string[]
}>({
categoryType: undefined,
warehouseId: undefined,
- areaId: undefined,
- dateRange: []
+ areaId: undefined
})
const cardsLoading = ref(false)
@@ -285,9 +277,9 @@ const summaryCards = computed(() => {
lines: [
formatCardLine(t('ErpStock.Overview.cardLabels.outboundOrders'), todayOut.orderCount),
formatCardLine(t('ErpStock.Overview.cardLabels.detailLines'), todayOut.itemCount),
+ formatCardLine(t('ErpStock.Overview.cardLabels.productOut'), todayOut.productDisplay),
formatCardLine(t('ErpStock.Overview.cardLabels.materialOut'), todayOut.materialDisplay),
- formatCardLine(t('ErpStock.Overview.cardLabels.sparePartOut'), todayOut.sparePartDisplay),
- formatCardLine(t('ErpStock.Overview.cardLabels.productOut'), todayOut.productDisplay)
+ formatCardLine(t('ErpStock.Overview.cardLabels.sparePartOut'), todayOut.sparePartDisplay)
]
}
]
@@ -315,12 +307,10 @@ const filterEmptyParams = (params: Record) => {
}
const buildBaseQueryParams = () => {
- const [beginTime, endTime] = queryParams.dateRange || []
return filterEmptyParams({
categoryType: queryParams.categoryType,
warehouseId: queryParams.warehouseId,
- areaId: queryParams.areaId,
- createTime: beginTime && endTime ? [beginTime, endTime] : undefined
+ areaId: queryParams.areaId
})
}