生产/质检入库卡片展示样本状态并支持【样本废弃】;市场 Web 列表与移动市场部卡片补充样本状态及问号查看作废原因;样本表新增 void_desc,人工作废不联动接收但全部作废时自动作废协议(#131)。 Co-authored-by: Cursor <cursoragent@cursor.com>
668 lines
22 KiB
Vue
668 lines
22 KiB
Vue
<!-- 缴费信息 · Excel 宽表(基础信息 + 第1~6期 + 汇总) -->
|
||
<template>
|
||
<div class="payment-excel-list">
|
||
<div class="filter-block">
|
||
<el-form :model="searchForm" class="filter-form" @submit.prevent>
|
||
<div class="filter-grid">
|
||
<el-form-item label="关键词">
|
||
<el-input
|
||
v-model="searchForm.keyword"
|
||
placeholder="客户/样本编码/电话"
|
||
clearable
|
||
@keyup.enter="handleSearch"
|
||
/>
|
||
</el-form-item>
|
||
<el-form-item label="缴费方式">
|
||
<el-select v-model="searchForm.payMode" placeholder="全部" clearable style="width: 100%">
|
||
<el-option label="趸交" value="dj" />
|
||
<el-option label="分期" value="fq" />
|
||
<el-option label="分改趸" value="fgd" />
|
||
<el-option label="趸交+分期" value="djfq" />
|
||
</el-select>
|
||
</el-form-item>
|
||
<el-form-item label="缴费进度">
|
||
<el-select
|
||
v-model="searchForm.progressStatus"
|
||
placeholder="全部"
|
||
clearable
|
||
style="width: 100%"
|
||
>
|
||
<el-option
|
||
v-for="opt in progressStatusOptions"
|
||
:key="opt.value"
|
||
:label="opt.label"
|
||
:value="opt.value"
|
||
/>
|
||
</el-select>
|
||
</el-form-item>
|
||
<el-form-item label="应缴费时间">
|
||
<el-date-picker
|
||
v-model="dueDateRange"
|
||
type="daterange"
|
||
range-separator="至"
|
||
start-placeholder="开始日期"
|
||
end-placeholder="结束日期"
|
||
value-format="YYYY-MM-DD"
|
||
style="width: 100%"
|
||
/>
|
||
</el-form-item>
|
||
</div>
|
||
<div class="filter-actions-row">
|
||
<div class="filter-actions-end">
|
||
<el-button class="btn-ghost" @click="handleReset">
|
||
<el-icon><RefreshLeft /></el-icon>重置
|
||
</el-button>
|
||
<el-button class="btn-main" type="primary" @click="handleSearch">
|
||
<el-icon><Search /></el-icon>搜索
|
||
</el-button>
|
||
</div>
|
||
</div>
|
||
</el-form>
|
||
</div>
|
||
|
||
<div class="list-body list-wrap excel-scroll">
|
||
<el-table
|
||
class="list-table excel-table"
|
||
:data="tableData"
|
||
v-loading="loading"
|
||
stripe
|
||
row-key="id"
|
||
border
|
||
>
|
||
<el-table-column
|
||
type="index"
|
||
label="序号"
|
||
min-width="64"
|
||
fixed="left"
|
||
align="center"
|
||
:index="(i) => (pagination.page - 1) * pagination.pageSize + i + 1"
|
||
/>
|
||
<el-table-column label="姓名" min-width="90" fixed="left" align="center">
|
||
<template #default="{ row }">{{ row.motherName || '—' }}</template>
|
||
</el-table-column>
|
||
<el-table-column label="手机号" min-width="120" align="center">
|
||
<template #default="{ row }">{{ row.motherPhone || '—' }}</template>
|
||
</el-table-column>
|
||
<el-table-column
|
||
prop="sampleCode"
|
||
label="样本编码"
|
||
min-width="130"
|
||
align="center"
|
||
show-overflow-tooltip
|
||
/>
|
||
<el-table-column label="样本状态" min-width="140" align="center">
|
||
<template #default="{ row }">
|
||
<SampleStatusTag :status="row.sampleStatus" :void-desc="row.voidDesc" />
|
||
</template>
|
||
</el-table-column>
|
||
<el-table-column label="签署日期" min-width="110" align="center">
|
||
<template #default="{ row }">{{ row.signDate || '—' }}</template>
|
||
</el-table-column>
|
||
<el-table-column label="存储年限" min-width="90" align="center">
|
||
<template #default="{ row }">
|
||
{{ row.storageYears != null && row.storageYears !== '' ? row.storageYears : '—' }}
|
||
</template>
|
||
</el-table-column>
|
||
<el-table-column label="存储项目" min-width="120" align="center" show-overflow-tooltip>
|
||
<template #default="{ row }">{{ row.sampleTypeName || '—' }}</template>
|
||
</el-table-column>
|
||
<el-table-column label="合同总额" min-width="100" align="center">
|
||
<template #default="{ row }">{{ formatAmount(row.contractAmount) }}</template>
|
||
</el-table-column>
|
||
<el-table-column label="缴费方式" min-width="100" align="center">
|
||
<template #default="{ row }">
|
||
<el-tag :type="payModeTagType(String(row.payMode || ''))" size="small">
|
||
{{ payModeLabel(String(row.payMode || '')) || '—' }}
|
||
</el-tag>
|
||
</template>
|
||
</el-table-column>
|
||
<el-table-column label="优惠金额" min-width="100" align="center">
|
||
<template #default="{ row }">{{ formatAmount(row.discountAmount) }}</template>
|
||
</el-table-column>
|
||
<el-table-column label="应收总额" min-width="100" align="center">
|
||
<template #default="{ row }">{{ formatAmount(row.receivableAmount) }}</template>
|
||
</el-table-column>
|
||
|
||
<el-table-column
|
||
v-for="p in 6"
|
||
:key="'period-' + p"
|
||
:label="'第' + p + '期'"
|
||
align="center"
|
||
:class-name="'period-col period-col--' + p"
|
||
>
|
||
<el-table-column label="应缴费金额(元)" min-width="120" align="center">
|
||
<template #default="{ row }">{{ periodDue(row, p - 1) }}</template>
|
||
</el-table-column>
|
||
<el-table-column label="应缴费时间" min-width="120" align="center">
|
||
<template #default="{ row }">{{ periodField(row, p - 1, 'dueDate') }}</template>
|
||
</el-table-column>
|
||
<el-table-column label="已缴费金额" min-width="110" align="center">
|
||
<template #default="{ row }">
|
||
<button
|
||
v-if="periodHasPaid(row, p - 1)"
|
||
type="button"
|
||
class="amount-link"
|
||
@click="openPeriodDialog(row, p - 1)"
|
||
>
|
||
{{ periodPaid(row, p - 1) }}
|
||
</button>
|
||
<span v-else class="muted">{{ periodPaid(row, p - 1) }}</span>
|
||
</template>
|
||
</el-table-column>
|
||
<el-table-column label="已缴费时间" min-width="120" align="center">
|
||
<template #default="{ row }">{{ periodField(row, p - 1, 'payDate') }}</template>
|
||
</el-table-column>
|
||
<el-table-column label="欠缴费金额" min-width="110" align="center">
|
||
<template #default="{ row }">{{ periodArrears(row, p - 1) }}</template>
|
||
</el-table-column>
|
||
</el-table-column>
|
||
|
||
<el-table-column label="累计实缴" min-width="100" align="center">
|
||
<template #default="{ row }">
|
||
<strong class="amount-strong">{{ formatAmount(row.paidAmount) }}</strong>
|
||
</template>
|
||
</el-table-column>
|
||
<el-table-column label="待缴金额" min-width="100" align="center">
|
||
<template #default="{ row }">{{ formatAmount(row.dueRemainAmount) }}</template>
|
||
</el-table-column>
|
||
<el-table-column label="备注" min-width="120" align="center" show-overflow-tooltip>
|
||
<template #default="{ row }">{{ row.remark || '—' }}</template>
|
||
</el-table-column>
|
||
<el-table-column label="操作" min-width="260" fixed="right" align="center">
|
||
<template #default="{ row }">
|
||
<el-button class="btn-op-item" @click="handleViewProtocol(row)">
|
||
<el-icon><Document /></el-icon>协议单
|
||
</el-button>
|
||
<el-button
|
||
class="btn-op-item primary"
|
||
:disabled="!row.id"
|
||
@click="handleOpenDetail(row)"
|
||
>
|
||
<el-icon><List /></el-icon>缴费明细
|
||
</el-button>
|
||
</template>
|
||
</el-table-column>
|
||
</el-table>
|
||
<div class="pagination list-pager-bar">
|
||
<el-pagination
|
||
:current-page="pagination.page"
|
||
:page-size="pagination.pageSize"
|
||
:total="pagination.total"
|
||
:page-sizes="[10, 20, 50]"
|
||
layout="total, sizes, prev, pager, next"
|
||
@size-change="(val) => ((pagination.page = 1), (pagination.pageSize = val), loadData())"
|
||
@current-change="(val) => ((pagination.page = val), loadData())"
|
||
/>
|
||
</div>
|
||
</div>
|
||
|
||
<el-dialog
|
||
v-model="periodDialogVisible"
|
||
:title="periodDialogTitle"
|
||
width="720px"
|
||
class="dialog-form-layout"
|
||
align-center
|
||
append-to-body
|
||
modal-class="protocol-dialog-mask"
|
||
destroy-on-close
|
||
>
|
||
<div v-loading="periodLoading" class="period-dialog-body">
|
||
<div class="summary-grid">
|
||
<div class="summary-item">
|
||
<label>应缴</label>
|
||
<strong>{{ formatAmountYuan(periodSummary.dueAmount) }}</strong>
|
||
</div>
|
||
<div class="summary-item">
|
||
<label>实缴合计</label>
|
||
<strong class="amount-strong">{{ formatAmountYuan(periodSummary.paidAmount) }}</strong>
|
||
</div>
|
||
<div class="summary-item">
|
||
<label>欠缴</label>
|
||
<strong>{{ formatAmountYuan(periodSummary.arrearsAmount) }}</strong>
|
||
</div>
|
||
</div>
|
||
<div class="section-subtitle">转账明细</div>
|
||
<div v-if="!periodTransfers.length" class="muted">暂无转账笔</div>
|
||
<div v-for="(tr, idx) in periodTransfers" :key="String(tr.id || idx)" class="transfer-card">
|
||
<div class="transfer-card__main">
|
||
<div class="transfer-card__top">
|
||
<strong>第 {{ idx + 1 }} 笔</strong>
|
||
<el-tag :type="payStatusTagType(String(tr.payStatus || ''))" size="small">
|
||
{{ payStatusLabel(String(tr.payStatus || '')) || '—' }}
|
||
</el-tag>
|
||
<span class="amount-strong">{{ formatAmountYuan(tr.transferAmount) }}</span>
|
||
</div>
|
||
<div class="transfer-card__meta">
|
||
<span>{{ transferTypeLabel(String(tr.transferType || '')) || '—' }}</span>
|
||
<span>{{ formatDisplayOrDash(tr.transferTime) }}</span>
|
||
</div>
|
||
<div v-if="tr.remark" class="transfer-card__remark">备注:{{ tr.remark }}</div>
|
||
<div v-if="tr.financeRemark" class="transfer-card__remark"
|
||
>财务备注:{{ tr.financeRemark }}</div
|
||
>
|
||
</div>
|
||
<div class="transfer-card__attach">
|
||
<span class="transfer-card__attach-label">转账凭证</span>
|
||
<ProtocolAttachmentReadonly
|
||
v-if="transferAttachmentFiles(tr).length"
|
||
:files="transferAttachmentFiles(tr)"
|
||
size="compact"
|
||
@preview="handleAttachPreview"
|
||
@download="handleAttachDownload"
|
||
/>
|
||
<span v-else class="muted">暂无凭证</span>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<template #footer>
|
||
<el-button class="btn-ghost" @click="periodDialogVisible = false">
|
||
<el-icon><Close /></el-icon>关闭
|
||
</el-button>
|
||
</template>
|
||
</el-dialog>
|
||
|
||
<SamplePaymentDetailDialog
|
||
v-model="detailVisible"
|
||
:sample-payment-id="detailSamplePaymentId"
|
||
@changed="loadData"
|
||
/>
|
||
|
||
<el-dialog
|
||
v-model="attachPreviewVisible"
|
||
title="附件预览"
|
||
width="720px"
|
||
align-center
|
||
append-to-body
|
||
modal-class="protocol-dialog-mask"
|
||
destroy-on-close
|
||
>
|
||
<img
|
||
v-if="attachPreviewUrl"
|
||
:src="attachPreviewUrl"
|
||
alt="附件预览"
|
||
class="attach-preview-img"
|
||
/>
|
||
</el-dialog>
|
||
|
||
<ProtocolViewDialog
|
||
v-model="protocolVisible"
|
||
:protocol-id="protocolViewId"
|
||
:list-row="protocolViewRow"
|
||
show-audit-history
|
||
show-storage-cert
|
||
show-fullmoon-insurance
|
||
/>
|
||
</div>
|
||
</template>
|
||
|
||
<script setup lang="ts">
|
||
import { Search, RefreshLeft, Document, Close, List } from '@element-plus/icons-vue'
|
||
import ProtocolViewDialog from '../protocol/ProtocolViewDialog.vue'
|
||
import ProtocolAttachmentReadonly from '../protocol/ProtocolAttachmentReadonly.vue'
|
||
import SamplePaymentDetailDialog from '@/components/business/sample-payment-detail-dialog/index.vue'
|
||
import SampleStatusTag from '@/components/business/sample-status-tag/index.vue'
|
||
import { downloadAttachmentFile } from '@/utils/download-attachment'
|
||
import { fetchSamplePaymentList, fetchSamplePaymentDetail } from '@/api/protocol-sample-payment'
|
||
import { type CollectionProtocolRow } from '@/api/collection-protocol'
|
||
import { formatDisplayOrDash } from '@/utils/datetime-display'
|
||
import { formatMoneyDisplay } from '@/utils/money-format'
|
||
import {
|
||
payModeLabel,
|
||
payModeTagType,
|
||
samplePaymentProgressLabel,
|
||
payStatusLabel,
|
||
payStatusTagType,
|
||
transferTypeLabel
|
||
} from '@/utils/status-tag-registry'
|
||
|
||
defineOptions({ name: 'CellStoragePaymentExcelList' })
|
||
|
||
type PeriodCell = {
|
||
scheduleId?: string
|
||
scheduleNo?: number
|
||
dueAmount?: number | null
|
||
dueDate?: string
|
||
displayPaidAmount?: number | null
|
||
arrearsAmount?: number | null
|
||
payDate?: string
|
||
payTypeSummary?: string
|
||
financeAudit?: string
|
||
} | null
|
||
|
||
const progressStatusOptions = [
|
||
{ value: 'dfj', label: samplePaymentProgressLabel('dfj') },
|
||
{ value: 'bfyj', label: samplePaymentProgressLabel('bfyj') },
|
||
{ value: 'yjq', label: samplePaymentProgressLabel('yjq') }
|
||
]
|
||
|
||
const route = useRoute()
|
||
const searchForm = reactive({
|
||
keyword: '',
|
||
payMode: '',
|
||
progressStatus: ''
|
||
})
|
||
const dueDateRange = ref<[string, string] | null>(null)
|
||
const loading = ref(false)
|
||
const tableData = ref<Record<string, any>[]>([])
|
||
const pagination = reactive({ page: 1, pageSize: 10, total: 0 })
|
||
|
||
const periodDialogVisible = ref(false)
|
||
const periodLoading = ref(false)
|
||
const periodDialogTitle = ref('')
|
||
const periodSummary = reactive({
|
||
dueAmount: null as number | null,
|
||
paidAmount: null as number | null,
|
||
arrearsAmount: null as number | null
|
||
})
|
||
const periodTransfers = ref<Record<string, any>[]>([])
|
||
|
||
const detailVisible = ref(false)
|
||
const detailSamplePaymentId = ref('')
|
||
|
||
const protocolVisible = ref(false)
|
||
const protocolViewId = ref('')
|
||
const protocolViewRow = ref<CollectionProtocolRow | null>(null)
|
||
|
||
const attachPreviewVisible = ref(false)
|
||
const attachPreviewUrl = ref('')
|
||
const minioBaseUrl = (import.meta.env.VITE_MINIO_BASE_URL || '').replace(/\/$/, '')
|
||
|
||
function formatAmount(v: unknown) {
|
||
if (v == null || v === '') return '—'
|
||
return formatMoneyDisplay(v as string | number)
|
||
}
|
||
|
||
function formatAmountYuan(v: unknown) {
|
||
if (v == null || v === '') return '—'
|
||
return `${formatMoneyDisplay(v as string | number)} 元`
|
||
}
|
||
|
||
function transferAttachmentFiles(tr: Record<string, any>) {
|
||
if (Array.isArray(tr.attachments) && tr.attachments.length) {
|
||
return tr.attachments
|
||
}
|
||
const urls = String(tr.transferAttachments || '')
|
||
.split(',')
|
||
.map((u) => u.trim())
|
||
.filter(Boolean)
|
||
return urls.map((url, idx) => ({
|
||
id: `url_${idx}`,
|
||
fileName: url.split('/').pop() || `附件${idx + 1}`,
|
||
fileUrl: url
|
||
}))
|
||
}
|
||
|
||
function fullFileUrl(url: string) {
|
||
if (!url) return ''
|
||
if (/^https?:\/\//i.test(url) || url.startsWith('/')) return url
|
||
return minioBaseUrl ? `${minioBaseUrl}/${url.replace(/^\//, '')}` : url
|
||
}
|
||
|
||
function handleAttachPreview(file: Record<string, unknown>) {
|
||
const url = String(file.fileUrl || '')
|
||
if (!url) return
|
||
attachPreviewUrl.value = fullFileUrl(url)
|
||
attachPreviewVisible.value = true
|
||
}
|
||
|
||
function handleAttachDownload(file: Record<string, unknown>) {
|
||
downloadAttachmentFile(file, { fullFileUrl })
|
||
}
|
||
|
||
function periodsOf(row: Record<string, any>): PeriodCell[] {
|
||
const arr = (row.periods || []) as PeriodCell[]
|
||
const out: PeriodCell[] = []
|
||
for (let i = 0; i < 6; i++) out.push(arr[i] ?? null)
|
||
return out
|
||
}
|
||
|
||
function periodRaw(row: Record<string, any>, idx: number): PeriodCell {
|
||
return periodsOf(row)[idx]
|
||
}
|
||
|
||
function periodDue(row: Record<string, any>, idx: number) {
|
||
const p = periodRaw(row, idx)
|
||
return p ? formatAmount(p.dueAmount) : '—'
|
||
}
|
||
|
||
function periodPaid(row: Record<string, any>, idx: number) {
|
||
const p = periodRaw(row, idx)
|
||
return p ? formatAmount(p.displayPaidAmount) : '—'
|
||
}
|
||
|
||
function periodHasPaid(row: Record<string, any>, idx: number) {
|
||
const p = periodRaw(row, idx)
|
||
if (!p) return false
|
||
const n = Number(p.displayPaidAmount)
|
||
return Number.isFinite(n) && n > 0
|
||
}
|
||
|
||
function periodArrears(row: Record<string, any>, idx: number) {
|
||
const p = periodRaw(row, idx)
|
||
return p ? formatAmount(p.arrearsAmount) : '—'
|
||
}
|
||
|
||
function periodField(row: Record<string, any>, idx: number, key: keyof NonNullable<PeriodCell>) {
|
||
const p = periodRaw(row, idx)
|
||
if (!p) return '—'
|
||
const v = p[key]
|
||
return v != null && v !== '' ? String(v) : '—'
|
||
}
|
||
|
||
async function loadData() {
|
||
loading.value = true
|
||
try {
|
||
const res = await fetchSamplePaymentList({
|
||
page: pagination.page,
|
||
pageSize: pagination.pageSize,
|
||
keyword: searchForm.keyword || undefined,
|
||
payMode: searchForm.payMode || undefined,
|
||
progressStatus: searchForm.progressStatus || undefined,
|
||
installmentDueDateStart: dueDateRange.value?.[0] || undefined,
|
||
installmentDueDateEnd: dueDateRange.value?.[1] || undefined
|
||
})
|
||
tableData.value = (res.list || []) as Record<string, any>[]
|
||
pagination.total = res.total || 0
|
||
} finally {
|
||
loading.value = false
|
||
}
|
||
}
|
||
|
||
function handleSearch() {
|
||
pagination.page = 1
|
||
loadData()
|
||
}
|
||
|
||
function handleReset() {
|
||
searchForm.keyword = ''
|
||
searchForm.payMode = ''
|
||
searchForm.progressStatus = ''
|
||
dueDateRange.value = null
|
||
handleSearch()
|
||
}
|
||
|
||
function handleViewProtocol(row: Record<string, any>) {
|
||
protocolViewId.value = String(row.collectionProtocolId || '')
|
||
protocolViewRow.value = {
|
||
id: row.collectionProtocolId,
|
||
protocolNo: row.protocolNo,
|
||
motherName: row.motherName,
|
||
motherPhone: row.motherPhone,
|
||
protocolStatus: row.protocolStatus,
|
||
voidType: row.voidType
|
||
} as CollectionProtocolRow
|
||
protocolVisible.value = true
|
||
}
|
||
|
||
async function openPeriodDialog(row: Record<string, any>, idx: number) {
|
||
const cell = periodRaw(row, idx)
|
||
if (!cell?.scheduleId) return
|
||
const titleParts = [row.motherName, row.sampleCode].filter(Boolean)
|
||
periodDialogTitle.value = `${titleParts.join(' · ')}${titleParts.length ? ' · ' : ''}第 ${idx + 1} 期转账记录`
|
||
periodDialogVisible.value = true
|
||
periodLoading.value = true
|
||
periodTransfers.value = []
|
||
try {
|
||
const detail = await fetchSamplePaymentDetail(String(row.id))
|
||
const schedules = ((detail.schedules as any[]) || []) as Record<string, any>[]
|
||
const sch = schedules.find((s) => String(s.id) === String(cell.scheduleId))
|
||
periodSummary.dueAmount = sch?.dueAmount ?? cell.dueAmount ?? null
|
||
// 列表 displayPaidAmount / arrearsAmount 与详情 paidAmount 已对齐(含 dfj+jfqrz+yjf)
|
||
periodSummary.paidAmount = sch?.paidAmount ?? cell.displayPaidAmount ?? null
|
||
periodSummary.arrearsAmount = sch?.arrearsAmount ?? cell.arrearsAmount ?? null
|
||
periodTransfers.value = (sch?.transfers || []) as Record<string, any>[]
|
||
} finally {
|
||
periodLoading.value = false
|
||
}
|
||
}
|
||
|
||
function handleOpenDetail(row: Record<string, any>) {
|
||
const id = String(row.id || '')
|
||
if (!id) {
|
||
ElMessage.warning('缺少缴费方案,无法查看明细')
|
||
return
|
||
}
|
||
detailSamplePaymentId.value = id
|
||
detailVisible.value = true
|
||
}
|
||
|
||
onMounted(() => {
|
||
const tab = String(route.query.tab || '')
|
||
if (['dfj', 'bfyj', 'yjq'].includes(tab)) {
|
||
searchForm.progressStatus = tab
|
||
}
|
||
loadData()
|
||
})
|
||
</script>
|
||
|
||
<style scoped lang="scss">
|
||
.excel-scroll {
|
||
overflow: auto;
|
||
}
|
||
|
||
.amount-link {
|
||
border: none;
|
||
background: none;
|
||
padding: 0;
|
||
color: var(--primary-dark, #059669);
|
||
font-weight: 600;
|
||
cursor: pointer;
|
||
border-bottom: 1px dashed rgba(5, 150, 105, 0.45);
|
||
}
|
||
|
||
.amount-strong {
|
||
color: var(--primary-dark, #059669);
|
||
}
|
||
|
||
.muted {
|
||
color: var(--mint-text-muted, #64748b);
|
||
}
|
||
|
||
.summary-grid {
|
||
display: grid;
|
||
grid-template-columns: repeat(3, 1fr);
|
||
gap: 10px;
|
||
margin-bottom: 14px;
|
||
}
|
||
|
||
.summary-item {
|
||
padding: 10px 12px;
|
||
border: 1px solid var(--border, #d9e8e2);
|
||
border-radius: 8px;
|
||
background: #f8fafc;
|
||
|
||
label {
|
||
display: block;
|
||
font-size: 11px;
|
||
color: #64748b;
|
||
margin-bottom: 2px;
|
||
}
|
||
}
|
||
|
||
.section-subtitle {
|
||
margin: 0 0 10px;
|
||
font-size: 13px;
|
||
font-weight: 600;
|
||
}
|
||
|
||
.transfer-card {
|
||
display: flex;
|
||
gap: 12px 16px;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
margin-bottom: 8px;
|
||
padding: 8px 12px;
|
||
border: 1px solid var(--border, #d9e8e2);
|
||
border-radius: 8px;
|
||
}
|
||
|
||
.transfer-card__main {
|
||
min-width: 0;
|
||
flex: 1;
|
||
}
|
||
|
||
.transfer-card__top {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
align-items: center;
|
||
gap: 8px 10px;
|
||
margin-bottom: 4px;
|
||
}
|
||
|
||
.transfer-card__meta {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 8px 16px;
|
||
font-size: 13px;
|
||
color: #64748b;
|
||
}
|
||
|
||
.transfer-card__remark {
|
||
margin-top: 4px;
|
||
font-size: 12px;
|
||
color: #64748b;
|
||
word-break: break-all;
|
||
}
|
||
|
||
.transfer-card__attach {
|
||
display: flex;
|
||
flex-shrink: 0;
|
||
flex-wrap: wrap;
|
||
gap: 8px;
|
||
align-items: center;
|
||
justify-content: flex-end;
|
||
max-width: 52%;
|
||
}
|
||
|
||
.transfer-card__attach-label {
|
||
flex-shrink: 0;
|
||
font-size: 12px;
|
||
color: #64748b;
|
||
}
|
||
|
||
.attach-preview-img {
|
||
display: block;
|
||
max-width: 100%;
|
||
margin: 0 auto;
|
||
}
|
||
|
||
:deep(.period-col--1) {
|
||
background: #eff6ff;
|
||
}
|
||
:deep(.period-col--2) {
|
||
background: #fff7ed;
|
||
}
|
||
:deep(.period-col--3) {
|
||
background: #fefce8;
|
||
}
|
||
:deep(.period-col--4) {
|
||
background: #f0fdf4;
|
||
}
|
||
:deep(.period-col--5) {
|
||
background: #fff7ed;
|
||
}
|
||
:deep(.period-col--6) {
|
||
background: #ecfdf5;
|
||
}
|
||
</style>
|