This commit is contained in:
zlwu committed 2026-08-17 09:22:31 +08:00
1 parent 42ad896456
commit 6b2147aa46
66 files changed
+617071 -28046

No files matched your search

@@ -69,15 +69,17 @@
</div>
<div class="list-body list-wrap">
<ListTable table-key="pl--shared-io-order-list-page"
class="list-table"
:data="rows"
v-loading="loading"
stripe
row-key="id"
@selection-change="(val: PlIoOrder[]) => (selectedRows = val)"
@row-dblclick="openEdit"
>
<div ref="ioOrderTableWrapRef" class="table-scroll bx-list-table-wrap">
<ListTable :table-key="`pl-${kind}-io-order-list`"
class="list-table"
:data="rows"
v-loading="loading"
stripe
row-key="id"
@selection-change="(val: PlIoOrder[]) => (selectedRows = val)"
@row-dblclick="openEdit"
@header-dragend="() => ioOrderStatsRowRef?.resync?.()"
>
<el-table-column type="selection" min-width="55" align="center" />
<el-table-column
type="index"
@@ -202,6 +204,15 @@
<el-table-column prop="actualQtyTotal" label="实际数量合计" min-width="120" align="right" />
<el-table-column prop="siteFeedbackTime" label="最近提交" min-width="160" show-overflow-tooltip />
</ListTable>
<ListColumnStatsRow
ref="ioOrderStatsRowRef"
:storage-key="`pl-${kind}-column-stats`"
:columns="ioOrderStatsRowColumns"
:data="rows"
:table-wrap-el="ioOrderTableWrapRef"
:get-cell-value="getIoOrderStatCellValue"
/>
</div>
<div class="pagination list-pager-bar">
<div class="list-pager-selected">
@@ -416,6 +427,8 @@
} from '@/components/business/brand-qty-chips-field/index.vue'
import ListQuickSearchInput from '@/components/business/list-quick-search-input/index.vue'
import ListToolbarDateShortcuts from '@/components/core/list-toolbar-date-shortcuts/index.vue'
import ListColumnStatsRow from '@/components/business/list-column-stats-row/index.vue'
import type { StatsRowColumn } from '@/utils/list-column-stats'
import ViewKvTable from '@/components/business/system-view-dialog/ViewKvTable.vue'
import type { ViewField } from '@/components/business/system-view-dialog/types'
import {
@@ -441,6 +454,61 @@
const api = props.kind === 'inbound' ? inboundOrderApi : outboundOrderApi
const ioOrderTableWrapRef = ref<HTMLElement | null>(null)
const ioOrderStatsRowRef = ref<{ resync?: () => void } | null>(null)
const ioOrderStatsRowColumns = computed((): StatsRowColumn[] => [
{ key: '__selection', interactive: false },
{ key: '__index', interactive: false },
{ key: 'orderNo', interactive: true, prop: 'orderNo' },
{ key: 'status', interactive: true, prop: 'status' },
{ key: 'planNo', interactive: true, prop: 'planNo' },
{ key: 'partnerCompany', interactive: true, prop: 'partnerCompany' },
{ key: 'vehicleNo', interactive: true, prop: 'vehicleNo' },
{ key: 'pickupAddress', interactive: true, prop: 'pickupAddress' },
{ key: '__destination', interactive: true, prop: '__destination' },
{ key: 'productName', interactive: true, prop: 'productName' },
{ key: 'brand', interactive: true, prop: 'brand' },
{ key: 'brandQty', interactive: true, prop: 'brandQty' },
{ key: 'productSpec', interactive: true, prop: 'productSpec' },
{ key: 'productUnit', interactive: true, prop: 'productUnit' },
{ key: 'packageSpec', interactive: true, prop: 'packageSpec' },
{ key: 'deliveryMethod', interactive: true, prop: 'deliveryMethod' },
{ key: 'actualQtyTotal', interactive: true, prop: 'actualQtyTotal' },
{ key: 'siteFeedbackTime', interactive: true, prop: 'siteFeedbackTime' }
])
function joinItemLines(row: PlIoOrder, mapper: (item: PlIoOrder['items'][number]) => string): string {
return (row.items || []).map(mapper).filter((s) => s && s !== '—').join('\n')
}
function getIoOrderStatCellValue(row: PlIoOrder, prop: string): unknown {
if (prop === 'status') return statusLabel(row.status)
if (prop === '__destination') return row.destinationAddress || row.destinationName || ''
if (prop === 'productName') {
return joinItemLines(row, (item) => item.productName || '')
}
if (prop === 'brand') {
return joinItemLines(row, (item) => brandConstraintLabel(item))
}
if (prop === 'brandQty') {
return joinItemLines(row, (item) => resolveIoBrandQtyDisplay(item))
}
if (prop === 'productSpec') {
return joinItemLines(row, (item) => item.specification || '')
}
if (prop === 'productUnit') {
return joinItemLines(row, (item) => item.unitLabel || item.unit || '')
}
if (prop === 'packageSpec') {
return joinItemLines(row, (item) => item.packageSpec || '')
}
if (prop === 'deliveryMethod') {
return joinItemLines(row, (item) => deliveryMethodLabel(item.deliveryMethod))
}
return (row as any)?.[prop]
}
type IoOrderEditItem = PlIoOrder['items'][number] & {
brandQtyRows?: BrandQtyRow[]
}
@@ -809,6 +877,10 @@
</style>
<style scoped lang="scss">
.bx-list-table-wrap {
min-width: 0;
}
.io-order-multi-cell {
display: flex;
flex-direction: column;
@@ -53,15 +53,17 @@
</div>
<div class="list-body list-wrap">
<ListTable table-key="pl-freight-components-approval-done-panel"
class="list-table"
:data="settlementList"
v-loading="loading"
stripe
row-key="id"
@row-dblclick="handleView"
@selection-change="handleSelectionChange"
>
<div ref="doneTableWrapRef" class="table-scroll bx-list-table-wrap">
<ListTable table-key="pl-freight-components-approval-done-panel"
class="list-table"
:data="settlementList"
v-loading="loading"
stripe
row-key="id"
@row-dblclick="handleView"
@selection-change="handleSelectionChange"
@header-dragend="() => doneStatsRowRef?.resync?.()"
>
<el-table-column type="selection" min-width="55" align="center" header-align="center" />
<el-table-column
type="index"
@@ -133,6 +135,15 @@
<template #default="{ row }">{{ row.submitterName || '—' }}</template>
</el-table-column>
</ListTable>
<ListColumnStatsRow
ref="doneStatsRowRef"
storage-key="pl-freight-approval-done-column-stats"
:columns="doneStatsRowColumns"
:data="settlementList"
:table-wrap-el="doneTableWrapRef"
:get-cell-value="getDoneStatCellValue"
/>
</div>
<div class="pagination list-pager-bar">
<div class="list-pager-selected">
@@ -158,6 +169,8 @@
<script setup lang="ts">
import ListQuickSearchInput from '@/components/business/list-quick-search-input/index.vue'
import ListToolbarEndActions from '@/components/business/list-toolbar-end-actions/index.vue'
import ListColumnStatsRow from '@/components/business/list-column-stats-row/index.vue'
import type { StatsRowColumn } from '@/utils/list-column-stats'
import { useDbInstantSearch } from '@/composables/useDbInstantSearch'
import { usePersistedListColumns } from '@/composables/usePersistedListColumns'
import { RefreshLeft, Search } from '@element-plus/icons-vue'
@@ -187,6 +200,36 @@ const {
resetToDefault
} = usePersistedListColumns('pl-freight-approval-done-columns', listColumnDefs)
const doneTableWrapRef = ref<HTMLElement | null>(null)
const doneStatsRowRef = ref<{ resync?: () => void } | null>(null)
const doneStatsRowColumns = computed((): StatsRowColumn[] => {
const cols: StatsRowColumn[] = [
{ key: '__selection', interactive: false },
{ key: '__index', interactive: false },
{ key: 'settlementNo', interactive: true, prop: 'settlementNo' }
]
for (const def of listColumnDefs) {
if (!isColumnVisible(def.prop)) continue
cols.push({
key: def.prop,
interactive: true,
prop: def.prop,
money: def.prop === 'totalFreight'
})
}
return cols
})
function getDoneStatCellValue(row: FreightSettlement, prop: string): unknown {
if (prop === 'settlementStatus') return getSettlementStatusLabel(row.settlementStatus)
if (prop === 'approvalFinishedTime') {
return row.approvalFinishedTime ? formatDateTime(row.approvalFinishedTime) : ''
}
if (prop === 'submitterName') return row.submitterName || ''
return (row as any)?.[prop]
}
const loading = ref(false)
const selectedRows = ref<FreightSettlement[]>([])
const settlementList = ref<FreightSettlement[]>([])
@@ -284,3 +327,9 @@ onMounted(() => {
defineExpose({ refresh })
</script>
<style scoped lang="scss">
.bx-list-table-wrap {
min-width: 0;
}
</style>
@@ -71,15 +71,17 @@
</div>
<div class="list-body list-wrap">
<ListTable table-key="pl-freight-components-approval-pending-panel"
class="list-table"
:data="settlementList"
v-loading="loading"
stripe
row-key="id"
@selection-change="handleSelectionChange"
@row-dblclick="handleView"
>
<div ref="pendingTableWrapRef" class="table-scroll bx-list-table-wrap">
<ListTable table-key="pl-freight-components-approval-pending-panel"
class="list-table"
:data="settlementList"
v-loading="loading"
stripe
row-key="id"
@selection-change="handleSelectionChange"
@row-dblclick="handleView"
@header-dragend="() => pendingStatsRowRef?.resync?.()"
>
<el-table-column type="selection" min-width="55" align="center" header-align="center" />
<el-table-column
type="index"
@@ -145,6 +147,15 @@
<template #default="{ row }">{{ formatDateTime(row.createTime) }}</template>
</el-table-column>
</ListTable>
<ListColumnStatsRow
ref="pendingStatsRowRef"
storage-key="pl-freight-approval-pending-column-stats"
:columns="pendingStatsRowColumns"
:data="settlementList"
:table-wrap-el="pendingTableWrapRef"
:get-cell-value="getPendingStatCellValue"
/>
</div>
<div class="pagination list-pager-bar">
<div class="list-pager-selected">
@@ -190,6 +201,8 @@
<script setup lang="ts">
import ListQuickSearchInput from '@/components/business/list-quick-search-input/index.vue'
import ListToolbarEndActions from '@/components/business/list-toolbar-end-actions/index.vue'
import ListColumnStatsRow from '@/components/business/list-column-stats-row/index.vue'
import type { StatsRowColumn } from '@/utils/list-column-stats'
import { useDbInstantSearch } from '@/composables/useDbInstantSearch'
import { usePersistedListColumns } from '@/composables/usePersistedListColumns'
import { CircleCheck, CircleClose, RefreshLeft, Search } from '@element-plus/icons-vue'
@@ -216,6 +229,36 @@ const {
resetToDefault
} = usePersistedListColumns('pl-freight-approval-pending-columns', listColumnDefs)
const pendingTableWrapRef = ref<HTMLElement | null>(null)
const pendingStatsRowRef = ref<{ resync?: () => void } | null>(null)
const pendingStatsRowColumns = computed((): StatsRowColumn[] => {
const cols: StatsRowColumn[] = [
{ key: '__selection', interactive: false },
{ key: '__index', interactive: false },
{ key: 'settlementNo', interactive: true, prop: 'settlementNo' }
]
for (const def of listColumnDefs) {
if (!isColumnVisible(def.prop)) continue
cols.push({
key: def.prop,
interactive: true,
prop: def.prop,
money: def.prop === 'totalFreight'
})
}
return cols
})
function getPendingStatCellValue(row: FreightSettlement, prop: string): unknown {
if (prop === 'currentApproverName') return row.currentApproverName || ''
if (prop === 'submitterName') return row.submitterName || ''
if (prop === 'createTime') {
return row.createTime ? formatDateTime(row.createTime) : ''
}
return (row as any)?.[prop]
}
const loading = ref(false)
const settlementList = ref<FreightSettlement[]>([])
const selectedRows = ref<FreightSettlement[]>([])
@@ -340,3 +383,9 @@ onMounted(() => {
defineExpose({ refresh })
</script>
<style scoped lang="scss">
.bx-list-table-wrap {
min-width: 0;
}
</style>
@@ -55,15 +55,17 @@
</div>
<div class="list-body list-wrap">
<ListTable table-key="pl-freight-components-disburse-panel"
class="list-table"
:data="settlementList"
v-loading="loading"
stripe
row-key="id"
@selection-change="handleSelectionChange"
@row-dblclick="handleView"
>
<div ref="disburseTableWrapRef" class="table-scroll bx-list-table-wrap">
<ListTable table-key="pl-freight-components-disburse-panel"
class="list-table"
:data="settlementList"
v-loading="loading"
stripe
row-key="id"
@selection-change="handleSelectionChange"
@row-dblclick="handleView"
@header-dragend="() => disburseStatsRowRef?.resync?.()"
>
<el-table-column type="selection" min-width="55" align="center" header-align="center" />
<el-table-column
type="index"
@@ -122,6 +124,15 @@
<template #default="{ row }">{{ row.submitterName || '—' }}</template>
</el-table-column>
</ListTable>
<ListColumnStatsRow
ref="disburseStatsRowRef"
storage-key="pl-freight-disburse-column-stats"
:columns="disburseStatsRowColumns"
:data="settlementList"
:table-wrap-el="disburseTableWrapRef"
:get-cell-value="getDisburseStatCellValue"
/>
</div>
<div class="pagination list-pager-bar">
<div class="list-pager-selected">
@@ -154,6 +165,8 @@
<script setup lang="ts">
import ListQuickSearchInput from '@/components/business/list-quick-search-input/index.vue'
import ListToolbarEndActions from '@/components/business/list-toolbar-end-actions/index.vue'
import ListColumnStatsRow from '@/components/business/list-column-stats-row/index.vue'
import type { StatsRowColumn } from '@/utils/list-column-stats'
import { useDbInstantSearch } from '@/composables/useDbInstantSearch'
import { usePersistedListColumns } from '@/composables/usePersistedListColumns'
import { Money, RefreshLeft, Search } from '@element-plus/icons-vue'
@@ -181,6 +194,35 @@ const {
const emit = defineEmits<{ disbursed: [] }>()
const disburseTableWrapRef = ref<HTMLElement | null>(null)
const disburseStatsRowRef = ref<{ resync?: () => void } | null>(null)
const disburseStatsRowColumns = computed((): StatsRowColumn[] => {
const cols: StatsRowColumn[] = [
{ key: '__selection', interactive: false },
{ key: '__index', interactive: false },
{ key: 'settlementNo', interactive: true, prop: 'settlementNo' }
]
for (const def of listColumnDefs) {
if (!isColumnVisible(def.prop)) continue
cols.push({
key: def.prop,
interactive: true,
prop: def.prop,
money: def.prop === 'totalFreight'
})
}
return cols
})
function getDisburseStatCellValue(row: FreightSettlement, prop: string): unknown {
if (prop === 'approvalFinishedTime') {
return row.approvalFinishedTime ? formatDateTime(row.approvalFinishedTime) : ''
}
if (prop === 'submitterName') return row.submitterName || ''
return (row as any)?.[prop]
}
const loading = ref(false)
const settlementList = ref<FreightSettlement[]>([])
const selectedRows = ref<FreightSettlement[]>([])
@@ -295,3 +337,9 @@ onMounted(() => {
defineExpose({ refresh })
</script>
<style scoped lang="scss">
.bx-list-table-wrap {
min-width: 0;
}
</style>
@@ -47,15 +47,17 @@
</div>
<div class="list-body list-wrap">
<ListTable table-key="pl-freight-components-settled-panel"
class="list-table"
:data="settlementList"
v-loading="loading"
stripe
row-key="id"
@row-dblclick="handleView"
@selection-change="handleSelectionChange"
>
<div ref="settledTableWrapRef" class="table-scroll bx-list-table-wrap">
<ListTable table-key="pl-freight-components-settled-panel"
class="list-table"
:data="settlementList"
v-loading="loading"
stripe
row-key="id"
@row-dblclick="handleView"
@selection-change="handleSelectionChange"
@header-dragend="() => settledStatsRowRef?.resync?.()"
>
<el-table-column type="selection" min-width="55" align="center" header-align="center" />
<el-table-column
type="index"
@@ -115,6 +117,15 @@
</template>
</el-table-column>
</ListTable>
<ListColumnStatsRow
ref="settledStatsRowRef"
storage-key="pl-freight-settled-column-stats"
:columns="settledStatsRowColumns"
:data="settlementList"
:table-wrap-el="settledTableWrapRef"
:get-cell-value="getSettledStatCellValue"
/>
</div>
<div class="pagination list-pager-bar">
<div class="list-pager-selected">
@@ -140,6 +151,8 @@
<script setup lang="ts">
import ListQuickSearchInput from '@/components/business/list-quick-search-input/index.vue'
import ListToolbarEndActions from '@/components/business/list-toolbar-end-actions/index.vue'
import ListColumnStatsRow from '@/components/business/list-column-stats-row/index.vue'
import type { StatsRowColumn } from '@/utils/list-column-stats'
import { useDbInstantSearch } from '@/composables/useDbInstantSearch'
import { usePersistedListColumns } from '@/composables/usePersistedListColumns'
import { RefreshLeft, Search } from '@element-plus/icons-vue'
@@ -167,6 +180,36 @@ const {
resetToDefault
} = usePersistedListColumns('pl-freight-settled-columns', listColumnDefs)
const settledTableWrapRef = ref<HTMLElement | null>(null)
const settledStatsRowRef = ref<{ resync?: () => void } | null>(null)
const settledStatsRowColumns = computed((): StatsRowColumn[] => {
const cols: StatsRowColumn[] = [
{ key: '__selection', interactive: false },
{ key: '__index', interactive: false },
{ key: 'settlementNo', interactive: true, prop: 'settlementNo' }
]
for (const def of listColumnDefs) {
if (!isColumnVisible(def.prop)) continue
cols.push({
key: def.prop,
interactive: true,
prop: def.prop,
money: def.prop === 'totalFreight' || def.prop === 'disburseAmount'
})
}
return cols
})
function getSettledStatCellValue(row: FreightSettlement, prop: string): unknown {
if (prop === 'disburseAmount') return row.disburseAmount || 0
if (prop === 'disburseTime') {
return row.disburseTime ? formatDateTime(row.disburseTime) : ''
}
if (prop === 'settlementStatus') return getSettlementStatusLabel(row.settlementStatus)
return (row as any)?.[prop]
}
const loading = ref(false)
const selectedRows = ref<FreightSettlement[]>([])
const settlementList = ref<FreightSettlement[]>([])
@@ -256,3 +299,9 @@ onMounted(() => {
defineExpose({ refresh })
</script>
<style scoped lang="scss">
.bx-list-table-wrap {
min-width: 0;
}
</style>
@@ -126,15 +126,17 @@
</div>
<div class="list-body list-wrap">
<ListTable table-key="pl-freight-components-settlement-bill-panel"
class="list-table"
:data="settlementList"
v-loading="loading"
stripe
row-key="id"
@selection-change="handleSelectionChange"
@row-dblclick="handleView"
>
<div ref="billsTableWrapRef" class="table-scroll bx-list-table-wrap">
<ListTable table-key="pl-freight-components-settlement-bill-panel"
class="list-table"
:data="settlementList"
v-loading="loading"
stripe
row-key="id"
@selection-change="handleSelectionChange"
@row-dblclick="handleView"
@header-dragend="() => billsStatsRowRef?.resync?.()"
>
<el-table-column type="selection" min-width="55" align="center" header-align="center" />
<el-table-column
type="index"
@@ -235,6 +237,15 @@
<template #default="{ row }">{{ formatDateTime(row.createTime) }}</template>
</el-table-column>
</ListTable>
<ListColumnStatsRow
ref="billsStatsRowRef"
storage-key="pl-freight-settlement-bill-column-stats"
:columns="billsStatsRowColumns"
:data="settlementList"
:table-wrap-el="billsTableWrapRef"
:get-cell-value="getBillsStatCellValue"
/>
</div>
<div class="pagination list-pager-bar">
<div class="list-pager-selected">
@@ -309,6 +320,8 @@
<script setup lang="ts">
import ListQuickSearchInput from '@/components/business/list-quick-search-input/index.vue'
import ListToolbarEndActions from '@/components/business/list-toolbar-end-actions/index.vue'
import ListColumnStatsRow from '@/components/business/list-column-stats-row/index.vue'
import type { StatsRowColumn } from '@/utils/list-column-stats'
import { useDbInstantSearch } from '@/composables/useDbInstantSearch'
import { usePersistedListColumns } from '@/composables/usePersistedListColumns'
import {
@@ -352,6 +365,41 @@ const {
resetToDefault
} = usePersistedListColumns('pl-freight-settlement-bill-columns', listColumnDefs)
const billsTableWrapRef = ref<HTMLElement | null>(null)
const billsStatsRowRef = ref<{ resync?: () => void } | null>(null)
const billsStatsRowColumns = computed((): StatsRowColumn[] => {
const cols: StatsRowColumn[] = [
{ key: '__selection', interactive: false },
{ key: '__index', interactive: false },
{ key: 'settlementNo', interactive: true, prop: 'settlementNo' }
]
for (const def of listColumnDefs) {
if (!isColumnVisible(def.prop)) continue
cols.push({
key: def.prop,
interactive: true,
prop: def.prop,
money: def.prop === 'totalFreight' || def.prop === 'disburseAmount'
})
}
return cols
})
function getBillsStatCellValue(row: FreightSettlement, prop: string): unknown {
if (prop === 'settlementStatus') return getSettlementStatusLabel(row.settlementStatus)
if (prop === 'disburseAmount') return row.disburseAmount || 0
if (prop === 'disburseTime') {
return row.disburseTime ? formatDateTime(row.disburseTime) : ''
}
if (prop === 'currentApproverName') return row.currentApproverName || ''
if (prop === 'submitterName') return row.submitterName || ''
if (prop === 'createTime') {
return row.createTime ? formatDateTime(row.createTime) : ''
}
return (row as any)?.[prop]
}
const loading = ref(false)
const cancelLoadingMap = reactive<Record<string, boolean>>({})
const {
@@ -540,3 +588,9 @@ onMounted(() => {
defineExpose({ refresh })
</script>
<style scoped lang="scss">
.bx-list-table-wrap {
min-width: 0;
}
</style>
@@ -84,15 +84,17 @@
</div>
<div class="list-body list-wrap">
<ListTable table-key="pl-freight-components-unsettled-plan-panel"
class="list-table"
:data="planList"
v-loading="loading"
stripe
row-key="id"
@selection-change="handleSelectionChange"
@row-dblclick="handleViewPlan"
>
<div ref="unsettledTableWrapRef" class="table-scroll bx-list-table-wrap">
<ListTable table-key="pl-freight-components-unsettled-plan-panel"
class="list-table"
:data="planList"
v-loading="loading"
stripe
row-key="id"
@selection-change="handleSelectionChange"
@row-dblclick="handleViewPlan"
@header-dragend="() => unsettledStatsRowRef?.resync?.()"
>
<el-table-column type="selection" min-width="48" align="center" />
<el-table-column
type="index"
@@ -178,6 +180,15 @@
}}</template>
</el-table-column>
</ListTable>
<ListColumnStatsRow
ref="unsettledStatsRowRef"
storage-key="pl-freight-unsettled-plan-column-stats"
:columns="unsettledStatsRowColumns"
:data="planList"
:table-wrap-el="unsettledTableWrapRef"
:get-cell-value="getUnsettledStatCellValue"
/>
</div>
<div class="pagination list-pager-bar">
<div class="list-pager-selected">
@@ -203,6 +214,8 @@
<script setup lang="ts">
import ListQuickSearchInput from '@/components/business/list-quick-search-input/index.vue'
import ListToolbarEndActions from '@/components/business/list-toolbar-end-actions/index.vue'
import ListColumnStatsRow from '@/components/business/list-column-stats-row/index.vue'
import type { StatsRowColumn } from '@/utils/list-column-stats'
import { useDbInstantSearch } from '@/composables/useDbInstantSearch'
import { usePersistedListColumns } from '@/composables/usePersistedListColumns'
import { DocumentAdd, RefreshLeft, Search } from '@element-plus/icons-vue'
@@ -236,6 +249,39 @@ const {
resetToDefault
} = usePersistedListColumns('pl-freight-unsettled-plan-columns', listColumnDefs)
const unsettledTableWrapRef = ref<HTMLElement | null>(null)
const unsettledStatsRowRef = ref<{ resync?: () => void } | null>(null)
const unsettledStatsRowColumns = computed((): StatsRowColumn[] => {
const cols: StatsRowColumn[] = [
{ key: '__selection', interactive: false },
{ key: '__index', interactive: false },
{ key: 'planNo', interactive: true, prop: 'planNo' }
]
for (const def of listColumnDefs) {
if (!isColumnVisible(def.prop)) continue
cols.push({
key: def.prop,
interactive: true,
prop: def.prop,
money: def.prop === 'freightAmount'
})
}
return cols
})
function getUnsettledStatCellValue(row: UnsettledPlanItem, prop: string): unknown {
if (prop === 'planType') return getPlanTypeLabel(row.planType)
if (prop === 'partnerName') return row.customerName || row.supplierName || ''
if (prop === 'licensePlate') {
return formatPlVehiclePlateDisplay(row.licensePlate, undefined, vehicleTrailerLookup.value)
}
if (prop === 'archiveTime') {
return row.archiveTime ? formatDateTime(row.archiveTime) : ''
}
return (row as any)?.[prop]
}
const loading = ref(false)
const createLoading = ref(false)
const {
@@ -396,3 +442,9 @@ onMounted(() => {
defineExpose({ refresh })
</script>
<style scoped lang="scss">
.bx-list-table-wrap {
min-width: 0;
}
</style>
+82 -10
View File
@@ -82,7 +82,7 @@
/>
<ListQuickSearchInput
v-model="quickSearch"
placeholder="计划编号/客户名称"
placeholder="计划编号/供方/需方/产品名称"
@search="handleQuickSearch"
@clear="handleQuickSearchClear"
/>
@@ -109,15 +109,17 @@
</div>
<div class="list-body list-wrap">
<ListTable table-key="pl-plan-archive"
class="list-table"
:data="planList"
v-loading="loading"
stripe
row-key="id"
@selection-change="handleSelectionChange"
@row-dblclick="handleView"
>
<div ref="archiveTableWrapRef" class="table-scroll bx-list-table-wrap">
<ListTable table-key="pl-plan-archive"
class="list-table"
:data="planList"
v-loading="loading"
stripe
row-key="id"
@selection-change="handleSelectionChange"
@row-dblclick="handleView"
@header-dragend="() => archiveStatsRowRef?.resync?.()"
>
<el-table-column type="selection" min-width="55" align="center" header-align="center" />
<el-table-column
type="index"
@@ -295,6 +297,15 @@
align="center"
/>
</ListTable>
<ListColumnStatsRow
ref="archiveStatsRowRef"
storage-key="pl-plan-archive-column-stats"
:columns="archiveStatsRowColumns"
:data="planList"
:table-wrap-el="archiveTableWrapRef"
:get-cell-value="getArchiveStatCellValue"
/>
</div>
<div class="pagination list-pager-bar">
<div class="list-pager-selected">
@@ -342,6 +353,8 @@
<script setup lang="ts">
import ListQuickSearchInput from '@/components/business/list-quick-search-input/index.vue'
import ListToolbarEndActions from '@/components/business/list-toolbar-end-actions/index.vue'
import ListColumnStatsRow from '@/components/business/list-column-stats-row/index.vue'
import type { StatsRowColumn } from '@/utils/list-column-stats'
import { usePersistedListColumns } from '@/composables/usePersistedListColumns'
import {
FolderChecked,
@@ -412,6 +425,60 @@ const {
resetToDefault
} = usePersistedListColumns('pl-plan-archive-list-columns', listColumnDefs)
const archiveTableWrapRef = ref<HTMLElement | null>(null)
const archiveStatsRowRef = ref<{ resync?: () => void } | null>(null)
const archiveStatsRowColumns = computed((): StatsRowColumn[] => {
const cols: StatsRowColumn[] = [
{ key: '__selection', interactive: false },
{ key: '__index', interactive: false },
{ key: 'planNo', interactive: true, prop: 'planNo' }
]
for (const def of listColumnDefs) {
if (!isColumnVisible(def.prop)) continue
cols.push({
key: def.prop,
interactive: true,
prop: def.prop
})
}
return cols
})
function getArchiveStatCellValue(row: Plan, prop: string): unknown {
if (prop === 'archiveStatus') return getPlPlanArchiveStatusLabel(row.archiveStatus)
if (prop === 'followStatus') return getPlPlanFollowStatusLabel(row.followStatus)
if (prop === 'planType') return getPlanTypeLabel(row.planType)
if (prop === 'productPlanQty') {
return (row.products || []).reduce((sum, p) => sum + (Number(p.quantity) || 0), 0)
}
if (prop === 'productActualQty') {
return (row.products || []).reduce((sum, p) => sum + (Number(p.actualQty) || 0), 0)
}
if (prop === 'productName') {
return (row.products || []).map((p) => p.productName || '').filter(Boolean).join('\n')
}
if (prop === 'productSpec') {
return (row.products || [])
.map((p) => p.model || p.packageSpec || '')
.filter(Boolean)
.join('\n')
}
if (prop === 'productUnit') {
return (row.products || []).map((p) => p.unit || '').filter(Boolean).join('\n')
}
if (prop === 'planAttachments') {
return ''
}
if (prop === 'licensePlate') {
return formatPlVehiclePlateDisplay(row.licensePlate, row.trailerNo)
}
if (prop === 'personnelSummary') {
return normalizePlPersonnelSummaryDisplay(row.personnelSummary)
}
return (row as any)?.[prop]
}
const selectedRows = ref<Plan[]>([])
const viewingPlan = ref<Plan | null>(null)
@@ -515,6 +582,7 @@ function handleReset() {
function handleQuickSearch() {
searchForm.planNo = ''
searchForm.customerName = ''
searchForm.productName = ''
pagination.page = 1
fetchData()
}
@@ -611,6 +679,10 @@ onMounted(() => {
</script>
<style scoped lang="scss">
.bx-list-table-wrap {
min-width: 0;
}
.pl-plan-list-toolbar-row {
flex-wrap: wrap;
}
+1 -1
View File
@@ -73,7 +73,7 @@
/>
<ListQuickSearchInput
v-model="quickSearch"
placeholder="计划编号/客户名称"
placeholder="计划编号/供方/需方"
@search="handleQuickSearch"
@clear="handleQuickSearchClear"
/>
+85 -10
View File
@@ -87,7 +87,7 @@
/>
<ListQuickSearchInput
v-model="quickSearch"
placeholder="计划编号/客户名称/产品名称/车牌号"
placeholder="计划编号/供方/需方/产品名称/车牌号"
@search="handleQuickSearch"
@clear="handleQuickSearchClear"
/>
@@ -173,15 +173,17 @@
<!-- 数据表格 -->
<div class="list-body list-wrap">
<ListTable table-key="pl-plan"
class="list-table"
:data="planList"
v-loading="loading"
stripe
row-key="id"
@selection-change="handleSelectionChange"
@row-dblclick="handleView"
>
<div ref="planTableWrapRef" class="table-scroll bx-list-table-wrap">
<ListTable table-key="pl-plan"
class="list-table"
:data="planList"
v-loading="loading"
stripe
row-key="id"
@selection-change="handleSelectionChange"
@row-dblclick="handleView"
@header-dragend="() => planStatsRowRef?.resync?.()"
>
<el-table-column type="selection" min-width="55" align="center" header-align="center" />
<el-table-column
type="index"
@@ -390,6 +392,15 @@
align="center"
/>
</ListTable>
<ListColumnStatsRow
ref="planStatsRowRef"
storage-key="pl-plan-column-stats"
:columns="planStatsRowColumns"
:data="planList"
:table-wrap-el="planTableWrapRef"
:get-cell-value="getPlanStatCellValue"
/>
</div>
<div class="pagination list-pager-bar pl-plan-list-pager-bar">
<div class="list-pager-selected">
@@ -528,6 +539,8 @@ import PlPlanArrangeDialog from '@/components/business/pl-plan-arrange-dialog/in
import PlPlanFormDialog from '@/components/business/pl-plan-form-dialog/index.vue'
import ListQuickSearchInput from '@/components/business/list-quick-search-input/index.vue'
import ListToolbarEndActions from '@/components/business/list-toolbar-end-actions/index.vue'
import ListColumnStatsRow from '@/components/business/list-column-stats-row/index.vue'
import type { StatsRowColumn } from '@/utils/list-column-stats'
import { usePersistedListColumns } from '@/composables/usePersistedListColumns'
import PlPlanListCertCell from '@/components/business/pl-plan-list-cert-cell/index.vue'
import PlPlanListProductCell from '@/components/business/pl-plan-list-product-cell/index.vue'
@@ -595,6 +608,64 @@ const {
resetToDefault
} = usePersistedListColumns('pl-plan-list-columns-v2', listColumnDefs)
const planTableWrapRef = ref<HTMLElement | null>(null)
const planStatsRowRef = ref<{ resync?: () => void } | null>(null)
const planStatsRowColumns = computed((): StatsRowColumn[] => {
const cols: StatsRowColumn[] = [
{ key: '__selection', interactive: false },
{ key: '__index', interactive: false },
{ key: 'planNo', interactive: true, prop: 'planNo' }
]
for (const def of listColumnDefs) {
if (!isColumnVisible(def.prop)) continue
cols.push({
key: def.prop,
interactive: true,
prop: def.prop
})
}
return cols
})
function getPlanStatCellValue(row: Plan, prop: string): unknown {
if (prop === 'followStatus') return getPlPlanFollowStatusLabel(row.followStatus)
if (prop === 'planType') return getPlanTypeLabel(row.planType)
if (prop === 'contractSummary') {
return planContractLines(row)
.map((l) => `${l.side}${l.no}`)
.join(' ')
}
if (prop === 'productPlanQty') {
return (row.products || []).reduce((sum, p) => sum + (Number(p.quantity) || 0), 0)
}
if (prop === 'productActualQty') {
return (row.products || []).reduce((sum, p) => sum + (Number(p.actualQty) || 0), 0)
}
if (prop === 'productName') {
return (row.products || []).map((p) => p.productName || '').filter(Boolean).join('\n')
}
if (prop === 'productSpec') {
return (row.products || []).map((p) => p.model || p.spec || '').filter(Boolean).join('\n')
}
if (prop === 'productPackageSpec') {
return (row.products || []).map((p) => p.packageSpec || '').filter(Boolean).join('\n')
}
if (prop === 'productUnit') {
return (row.products || []).map((p) => p.unit || '').filter(Boolean).join('\n')
}
if (prop === 'planAttachments') {
return ''
}
if (prop === 'licensePlate') {
return formatPlVehiclePlateDisplay(row.licensePlate, row.trailerNo)
}
if (prop === 'personnelSummary') {
return normalizePlPersonnelSummaryDisplay(row.personnelSummary)
}
return (row as any)?.[prop]
}
const selectedRows = ref<Plan[]>([])
const viewingPlan = ref<Plan | null>(null)
@@ -1010,6 +1081,10 @@ async function openArrangeFromQuery() {
</script>
<style scoped lang="scss">
.bx-list-table-wrap {
min-width: 0;
}
.pl-plan-list-toolbar-row {
flex-wrap: nowrap;
overflow-x: auto;
@@ -99,15 +99,17 @@
</div>
<div class="list-body list-wrap">
<ListTable table-key="pl-vehicle-maintenance-apply"
class="list-table"
:data="tableData"
v-loading="loading"
stripe
row-key="id"
@selection-change="handleSelectionChange"
@row-dblclick="handleView"
>
<div ref="maintApplyTableWrapRef" class="table-scroll bx-list-table-wrap">
<ListTable table-key="pl-vehicle-maintenance-apply"
class="list-table"
:data="tableData"
v-loading="loading"
stripe
row-key="id"
@selection-change="handleSelectionChange"
@row-dblclick="handleView"
@header-dragend="() => maintApplyStatsRowRef?.resync?.()"
>
<el-table-column type="selection" min-width="55" align="center" />
<el-table-column
type="index"
@@ -198,6 +200,15 @@
align="center"
/>
</ListTable>
<ListColumnStatsRow
ref="maintApplyStatsRowRef"
storage-key="pl-vehicle-maintenance-apply-column-stats"
:columns="maintApplyStatsRowColumns"
:data="tableData"
:table-wrap-el="maintApplyTableWrapRef"
:get-cell-value="getMaintApplyStatCellValue"
/>
</div>
<div class="pagination list-pager-bar">
<div class="list-pager-selected">
@@ -359,6 +370,8 @@
<script setup lang="ts">
import ListQuickSearchInput from '@/components/business/list-quick-search-input/index.vue'
import ListToolbarEndActions from '@/components/business/list-toolbar-end-actions/index.vue'
import ListColumnStatsRow from '@/components/business/list-column-stats-row/index.vue'
import type { StatsRowColumn } from '@/utils/list-column-stats'
import { useDbInstantSearch } from '@/composables/useDbInstantSearch'
import { usePersistedListColumns } from '@/composables/usePersistedListColumns'
import {
@@ -415,6 +428,36 @@ const {
resetToDefault
} = usePersistedListColumns('pl-vehicle-maintenance-apply-list-columns', listColumnDefs)
const maintApplyTableWrapRef = ref<HTMLElement | null>(null)
const maintApplyStatsRowRef = ref<{ resync?: () => void } | null>(null)
const maintApplyStatsRowColumns = computed((): StatsRowColumn[] => {
const cols: StatsRowColumn[] = [
{ key: '__selection', interactive: false },
{ key: '__index', interactive: false },
{ key: 'applyNo', interactive: true, prop: 'applyNo' }
]
for (const def of listColumnDefs) {
if (!isColumnVisible(def.prop)) continue
cols.push({
key: def.prop,
interactive: true,
prop: def.prop
})
}
return cols
})
function getMaintApplyStatCellValue(row: VehicleMaintenanceApply, prop: string): unknown {
if (prop === 'licensePlate') {
return formatPlVehiclePlateDisplay(row.licensePlate, undefined, vehicleTrailerLookup.value)
}
if (prop === 'maintenanceType') return getPlMaintenanceTypeLabel(row.maintenanceType)
if (prop === 'expectedPickupDate') return row.expectedPickupDate || ''
if (prop === 'status') return getPlMaintenanceApplyStatusLabel(row.status)
return (row as any)?.[prop]
}
const currentUserId = computed(() => {
const info = userStore.info as Record<string, unknown> | undefined
return String(info?.id || info?.userId || '')
@@ -773,3 +816,9 @@ onMounted(async () => {
fetchData()
})
</script>
<style scoped lang="scss">
.bx-list-table-wrap {
min-width: 0;
}
</style>
@@ -114,15 +114,17 @@
</div>
<div class="list-body list-wrap">
<ListTable table-key="pl-vehicle-maintenance-process"
class="list-table"
:data="tableData"
v-loading="loading"
stripe
row-key="applyId"
@selection-change="handleSelectionChange"
@row-dblclick="handleView"
>
<div ref="maintProcessTableWrapRef" class="table-scroll bx-list-table-wrap">
<ListTable table-key="pl-vehicle-maintenance-process"
class="list-table"
:data="tableData"
v-loading="loading"
stripe
row-key="applyId"
@selection-change="handleSelectionChange"
@row-dblclick="handleView"
@header-dragend="() => maintProcessStatsRowRef?.resync?.()"
>
<el-table-column type="selection" min-width="55" align="center" />
<el-table-column
type="index"
@@ -244,6 +246,15 @@
<template #default="{ row }">{{ row.handlerName || '—' }}</template>
</el-table-column>
</ListTable>
<ListColumnStatsRow
ref="maintProcessStatsRowRef"
storage-key="pl-vehicle-maintenance-process-column-stats"
:columns="maintProcessStatsRowColumns"
:data="tableData"
:table-wrap-el="maintProcessTableWrapRef"
:get-cell-value="getMaintProcessStatCellValue"
/>
</div>
<div class="pagination list-pager-bar">
<div class="list-pager-selected">
@@ -403,6 +414,8 @@
<script setup lang="ts">
import ListQuickSearchInput from '@/components/business/list-quick-search-input/index.vue'
import ListToolbarEndActions from '@/components/business/list-toolbar-end-actions/index.vue'
import ListColumnStatsRow from '@/components/business/list-column-stats-row/index.vue'
import type { StatsRowColumn } from '@/utils/list-column-stats'
import { useDbInstantSearch } from '@/composables/useDbInstantSearch'
import { usePersistedListColumns } from '@/composables/usePersistedListColumns'
import { Check, Close, Delete, Edit, Plus, RefreshLeft, Search, Tools } from '@element-plus/icons-vue'
@@ -467,6 +480,41 @@ const {
resetToDefault
} = usePersistedListColumns('pl-vehicle-maintenance-process-list-columns', listColumnDefs)
const maintProcessTableWrapRef = ref<HTMLElement | null>(null)
const maintProcessStatsRowRef = ref<{ resync?: () => void } | null>(null)
const maintProcessStatsRowColumns = computed((): StatsRowColumn[] => {
const cols: StatsRowColumn[] = [
{ key: '__selection', interactive: false },
{ key: '__index', interactive: false },
{ key: 'applyNo', interactive: true, prop: 'applyNo' }
]
for (const def of listColumnDefs) {
if (!isColumnVisible(def.prop)) continue
cols.push({
key: def.prop,
interactive: true,
prop: def.prop,
money: def.prop === 'amount'
})
}
return cols
})
function getMaintProcessStatCellValue(row: VehicleMaintenanceProcessBoardItem, prop: string): unknown {
if (prop === 'applyStatus') return getPlMaintenanceApplyStatusLabel(row.applyStatus)
if (prop === 'licensePlate') {
return formatPlVehiclePlateDisplay(row.licensePlate, undefined, vehicleTrailerLookup.value)
}
if (prop === 'maintenanceType') return getPlMaintenanceTypeLabel(row.maintenanceType)
if (prop === 'expectedPickupDate') return row.expectedPickupDate || ''
if (prop === 'processNo') return row.processNo || ''
if (prop === 'processDate') return row.processDate || ''
if (prop === 'amount') return row.amount != null ? Number(row.amount) : null
if (prop === 'handlerName') return row.handlerName || ''
return (row as any)?.[prop]
}
const submitLoading = ref(false)
const deleteLoadingMap = reactive<Record<string, boolean>>({})
const selectedRows = ref<VehicleMaintenanceProcessBoardItem[]>([])
@@ -861,6 +909,10 @@ onMounted(() => {
</script>
<style scoped lang="scss">
.bx-list-table-wrap {
min-width: 0;
}
.apply-summary-block {
margin-bottom: 16px;
padding: 12px 14px;
@@ -81,15 +81,17 @@
</div>
<div class="list-body list-wrap">
<ListTable table-key="pl-vehicle-urea-apply"
class="list-table"
:data="tableData"
v-loading="loading"
stripe
row-key="id"
@selection-change="handleSelectionChange"
@row-dblclick="handleView"
>
<div ref="ureaApplyTableWrapRef" class="table-scroll bx-list-table-wrap">
<ListTable table-key="pl-vehicle-urea-apply"
class="list-table"
:data="tableData"
v-loading="loading"
stripe
row-key="id"
@selection-change="handleSelectionChange"
@row-dblclick="handleView"
@header-dragend="() => ureaApplyStatsRowRef?.resync?.()"
>
<el-table-column type="selection" min-width="55" align="center" />
<el-table-column
type="index"
@@ -183,6 +185,15 @@
align="center"
/>
</ListTable>
<ListColumnStatsRow
ref="ureaApplyStatsRowRef"
storage-key="pl-vehicle-urea-apply-column-stats"
:columns="ureaApplyStatsRowColumns"
:data="tableData"
:table-wrap-el="ureaApplyTableWrapRef"
:get-cell-value="getUreaApplyStatCellValue"
/>
</div>
<div class="pagination list-pager-bar">
<div class="list-pager-selected">
@@ -324,6 +335,8 @@
<script setup lang="ts">
import ListQuickSearchInput from '@/components/business/list-quick-search-input/index.vue'
import ListToolbarEndActions from '@/components/business/list-toolbar-end-actions/index.vue'
import ListColumnStatsRow from '@/components/business/list-column-stats-row/index.vue'
import type { StatsRowColumn } from '@/utils/list-column-stats'
import { useDbInstantSearch } from '@/composables/useDbInstantSearch'
import { usePersistedListColumns } from '@/composables/usePersistedListColumns'
import {
@@ -390,6 +403,35 @@ const {
resetToDefault
} = usePersistedListColumns('pl-vehicle-urea-apply-list-columns', listColumnDefs)
const ureaApplyTableWrapRef = ref<HTMLElement | null>(null)
const ureaApplyStatsRowRef = ref<{ resync?: () => void } | null>(null)
const ureaApplyStatsRowColumns = computed((): StatsRowColumn[] => {
const cols: StatsRowColumn[] = [
{ key: '__selection', interactive: false },
{ key: '__index', interactive: false },
{ key: 'applyNo', interactive: true, prop: 'applyNo' }
]
for (const def of listColumnDefs) {
if (!isColumnVisible(def.prop)) continue
cols.push({
key: def.prop,
interactive: true,
prop: def.prop,
money: def.prop === 'applyAmount'
})
}
return cols
})
function getUreaApplyStatCellValue(row: VehicleUreaApply, prop: string): unknown {
if (prop === 'licensePlate') {
return formatPlVehiclePlateDisplay(row.licensePlate, undefined, vehicleTrailerLookup.value)
}
if (prop === 'status') return getPlUreaApplyStatusLabel(row.status)
return (row as any)?.[prop]
}
const submitLoading = ref(false)
const cancelLoadingMap = reactive<Record<string, boolean>>({})
const tableData = ref<VehicleUreaApply[]>([])
@@ -701,3 +743,9 @@ onMounted(async () => {
fetchData()
})
</script>
<style scoped lang="scss">
.bx-list-table-wrap {
min-width: 0;
}
</style>
@@ -96,15 +96,17 @@
</div>
<div class="list-body list-wrap">
<ListTable table-key="pl-vehicle-urea-disburse"
class="list-table"
:data="tableData"
v-loading="loading"
stripe
row-key="applyId"
@selection-change="handleSelectionChange"
@row-dblclick="handleView"
>
<div ref="ureaDisburseTableWrapRef" class="table-scroll bx-list-table-wrap">
<ListTable table-key="pl-vehicle-urea-disburse"
class="list-table"
:data="tableData"
v-loading="loading"
stripe
row-key="applyId"
@selection-change="handleSelectionChange"
@row-dblclick="handleView"
@header-dragend="() => ureaDisburseStatsRowRef?.resync?.()"
>
<el-table-column type="selection" min-width="55" align="center" />
<el-table-column
type="index"
@@ -229,6 +231,15 @@
<template #default="{ row }">{{ row.handlerName || '—' }}</template>
</el-table-column>
</ListTable>
<ListColumnStatsRow
ref="ureaDisburseStatsRowRef"
storage-key="pl-vehicle-urea-disburse-column-stats"
:columns="ureaDisburseStatsRowColumns"
:data="tableData"
:table-wrap-el="ureaDisburseTableWrapRef"
:get-cell-value="getUreaDisburseStatCellValue"
/>
</div>
<div class="pagination list-pager-bar">
<div class="list-pager-selected">
@@ -374,6 +385,8 @@
<script setup lang="ts">
import ListQuickSearchInput from '@/components/business/list-quick-search-input/index.vue'
import ListToolbarEndActions from '@/components/business/list-toolbar-end-actions/index.vue'
import ListColumnStatsRow from '@/components/business/list-column-stats-row/index.vue'
import type { StatsRowColumn } from '@/utils/list-column-stats'
import { useDbInstantSearch } from '@/composables/useDbInstantSearch'
import { usePersistedListColumns } from '@/composables/usePersistedListColumns'
import { Check, Close, Delete, Edit, Money, Plus, RefreshLeft, Search } from '@element-plus/icons-vue'
@@ -435,6 +448,39 @@ const {
resetToDefault
} = usePersistedListColumns('pl-vehicle-urea-disburse-list-columns', listColumnDefs)
const ureaDisburseTableWrapRef = ref<HTMLElement | null>(null)
const ureaDisburseStatsRowRef = ref<{ resync?: () => void } | null>(null)
const ureaDisburseStatsRowColumns = computed((): StatsRowColumn[] => {
const cols: StatsRowColumn[] = [
{ key: '__selection', interactive: false },
{ key: '__index', interactive: false },
{ key: 'applyNo', interactive: true, prop: 'applyNo' }
]
for (const def of listColumnDefs) {
if (!isColumnVisible(def.prop)) continue
cols.push({
key: def.prop,
interactive: true,
prop: def.prop,
money: def.prop === 'applyAmount' || def.prop === 'amount'
})
}
return cols
})
function getUreaDisburseStatCellValue(row: VehicleUreaDisburseBoardItem, prop: string): unknown {
if (prop === 'applyStatus') return getPlUreaApplyStatusLabel(row.applyStatus)
if (prop === 'licensePlate') {
return formatPlVehiclePlateDisplay(row.licensePlate, undefined, vehicleTrailerLookup.value)
}
if (prop === 'disburseNo') return row.disburseNo || ''
if (prop === 'disburseDate') return row.disburseDate || ''
if (prop === 'amount') return row.amount != null ? Number(row.amount) : null
if (prop === 'handlerName') return row.handlerName || ''
return (row as any)?.[prop]
}
const submitLoading = ref(false)
const deleteLoadingMap = reactive<Record<string, boolean>>({})
const selectedRows = ref<VehicleUreaDisburseBoardItem[]>([])
@@ -793,6 +839,10 @@ onMounted(() => {
</script>
<style scoped lang="scss">
.bx-list-table-wrap {
min-width: 0;
}
.apply-summary-block {
margin-bottom: 16px;
padding: 12px 14px;