提交
This commit is contained in:
1 parent
493f8d6756
commit
d84f4b944c
406 files changed
+58954
-10376
No files matched your search
@@ -61,11 +61,6 @@
|
||||
</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="stockAmount" label="库存金额" min-width="120" align="right">
|
||||
<template #default="{ row }">
|
||||
{{ formatAmount(row.stockAmount) }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="预警阈值" min-width="150" align="center">
|
||||
<template #default="{ row }">
|
||||
{{ row.lowStockWarning || '-' }} ~ {{ row.highStockWarning || '-' }}
|
||||
@@ -108,7 +103,6 @@
|
||||
import { RefreshLeft, Search } from '@element-plus/icons-vue'
|
||||
import { inventoryApi, type InventoryRecord } from '@/api/pl'
|
||||
import { useDbInstantSearch } from '@/composables/useDbInstantSearch'
|
||||
import { formatMoneyDisplay } from '@/utils/money-format'
|
||||
|
||||
const loading = ref(false)
|
||||
const inventoryList = ref<InventoryRecord[]>([])
|
||||
@@ -123,11 +117,6 @@ const pagination = reactive({
|
||||
total: 0
|
||||
})
|
||||
|
||||
function formatAmount(amount: number) {
|
||||
if (!amount) return '¥0.00'
|
||||
return formatMoneyDisplay(amount)
|
||||
}
|
||||
|
||||
async function fetchData() {
|
||||
loading.value = true
|
||||
try {
|
||||
|
||||
Reference in new issue
Block a user