fix(client): clarify cabinet customs totals

This commit is contained in:
2026-10-05 18:13:02 +08:00
parent 3703d0a677
commit b3f78207b8
@@ -25,8 +25,8 @@ const columns: DataTableColumn[] = [
{ label: '订单号', slotName: 'orderNo', minWidth: 230 },
{ label: '入仓码', slotName: 'inboundCode', minWidth: 190 },
{ label: '柜号', slotName: 'containerNo', minWidth: 170 },
{ label: '实际箱数', prop: 'detail.actualBoxCount', width: 110, align: 'center' },
{ label: '资料覆盖', slotName: 'coverage', width: 110, align: 'center' },
{ label: '柜内退税箱数', prop: 'detail.actualBoxCount', width: 110, align: 'center' },
{ label: '柜内资料覆盖', slotName: 'coverage', width: 110, align: 'center' },
{ label: '状态', slotName: 'status', width: 130 },
]
const records = ref<CustomsDocumentRow[]>([])
@@ -94,7 +94,7 @@ onMounted(() => { void load() })
<QueryToolbar v-model="queryModel" layout="grid" ariaLabel="报关资料查询条件" :fields="queryFields" @search="search" />
<section class="customs-card">
<DataTable v-model:page="page" v-model:page-size="pageSize" :data="pagedRecords" :columns="columns" :loading="loading" :total="filteredRecords.length" :page-sizes="[10, 20, 50, 100]" :row-actions="rowActions" row-key="order.id" :empty-text="emptyText">
<template #toolbar><strong>资料列表</strong></template>
<template #toolbar><strong>资料列表</strong><span>统计为本客户同柜退税货物汇总,资料覆盖按入仓码计。</span></template>
<template #toolbar-actions><el-button :loading="loading" @click="load"><RefreshCcw :size="16" />刷新</el-button></template>
<template v-if="errorMessage" #error><div class="state-error" role="alert"><span>{{ errorMessage }}</span><el-button :loading="loading" @click="load">重新加载</el-button></div></template>
<template #orderNo="{ row }">{{ row.order.orderNo || '—' }}</template>