From 5a45708d6720174ecc037f138c79c0886e843a97 Mon Sep 17 00:00:00 2001 From: db_huang <18006480240@163.com> Date: Thu, 5 Nov 2026 15:39:42 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=BB=E4=B9=8B=E5=89=8D=E8=A2=AB?= =?UTF-8?q?=E5=86=BB=E7=BB=93=E7=9A=84=E4=B8=80=E5=88=86=E9=92=B1=EF=BC=8C?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=BF=94=E6=AC=BE=E8=AE=B0=E5=BD=95=E5=B8=83?= =?UTF-8?q?=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/app/__pycache__/main.cpython-313.pyc | Bin 391537 -> 391537 bytes backend/app/main.py | 4 ++-- backend/data/app.db | 0 frontend/src/RefundRecordsPage.jsx | 17 ++++++++++++-- frontend/src/admin.css | 23 +++++++++++++++++-- 5 files changed, 38 insertions(+), 6 deletions(-) create mode 100644 backend/data/app.db diff --git a/backend/app/__pycache__/main.cpython-313.pyc b/backend/app/__pycache__/main.cpython-313.pyc index 4af207e27dd74060976824decd98f0294c561812..672d5ada9506cd44f974cea90e82a39cbdc7a455 100644 GIT binary patch delta 112 zcmezPN&Mp{ajwt2yj%=G&}`Vq)yl=#%Eh#mi@E!i%=0N*pH6Lix^wf>{tcx(Km|{C zO@BFg*V75T&zEoC_=-7?pf#?|;$W|FTtk Q$9rZVX4&5Hp7kXs07mOC*Z=?k delta 112 zcmezPN&Mp{ajwt2yj%=GAS2nx)yl=#%Eh#mi@E!i%+p=dUryfjbVBd*Z z+4^*9+tZz!pZ0Ix_=-7{error}

}
- {["店铺名称", "电商平台", "商品ID", "转账时间", "订单号", "收款人", "收款账号", "返款金额", "付款账户", "操作人", "支付宝流水"].map((title) => )} + + + + + + + + + + + + + + {["电商平台", "店铺名称", "商品ID", "转账时间", "订单号", "收款人", "收款账号", "返款金额", "付款账户", "操作人", "支付宝流水"].map((title) => )}{loading || error ? : data.items.length ? data.items.map((item) => - + ) : } {!loading && !error && }
{title}
{title}
{loading ? "加载中…" : "记录加载失败,请调整筛选或重新进入页面"}
{item.shop_name || "—"}{item.ecommerce_platform || "—"}{item.product_id || "—"}{formatDateTime(item.transferred_at)}{item.order_no}{item.payee_name || "—"}{item.payee_account || "—"}{money(item.amount_fen)}{item.payer_account || "—"}{item.operator_name || "—"}{item.alipay_trade_no || "—"}{item.ecommerce_platform || "—"}{item.shop_name || "—"}{item.product_id || "—"}{formatDateTime(item.transferred_at)}{item.order_no}{item.payee_name || "—"}{item.payee_account || "—"}{money(item.amount_fen)}{item.payer_account || "—"}{item.operator_name || "—"}{item.alipay_trade_no || "—"}
暂无返款记录
合计(当前筛选全部记录){money(data.total_amount_fen)}
diff --git a/frontend/src/admin.css b/frontend/src/admin.css index f24a841..3a60a96 100644 --- a/frontend/src/admin.css +++ b/frontend/src/admin.css @@ -6394,8 +6394,27 @@ html.dingtalk-mobile .answer-v2-footer { .refund-records-toolbar input[type="date"] { padding: 9px; border: 1px solid #cbdaf2; border-radius: 8px; background: white; color: inherit; } .refund-records-toolbar > .primary-button { margin-left: auto; display: flex; align-items: center; gap: 6px; } .refund-records-hint { color: #7186a5; font-size: 12px; margin: 16px 0; } -.refund-records-table { min-width: 1250px; } -.refund-records-table td { overflow-wrap: anywhere; max-width: 230px; } +.refund-records-table { width: 100%; min-width: 1540px; table-layout: fixed; } +.refund-records-table col.refund-col-platform { width: 90px; } +.refund-records-table col.refund-col-shop { width: 175px; } +.refund-records-table col.refund-col-product { width: 155px; } +.refund-records-table col.refund-col-time { width: 155px; } +.refund-records-table col.refund-col-order { width: 195px; } +.refund-records-table col.refund-col-payee { width: 85px; } +.refund-records-table col.refund-col-account { width: 125px; } +.refund-records-table col.refund-col-amount { width: 90px; } +.refund-records-table col.refund-col-payer { width: 90px; } +.refund-records-table col.refund-col-operator { width: 105px; } +.refund-records-table col.refund-col-trade { width: 275px; } +.refund-records-table td { max-width: none; overflow-wrap: normal; word-break: normal; } +.refund-records-table .refund-shop-cell { overflow-wrap: anywhere; } +.refund-records-table .refund-platform-cell, +.refund-records-table .refund-product-cell, +.refund-records-table .refund-time-cell, +.refund-records-table .refund-order-cell, +.refund-records-table .refund-payee-account-cell, +.refund-records-table .refund-trade-cell { white-space: nowrap; font-variant-numeric: tabular-nums; } +.refund-records-table .refund-trade-cell { font-size: 12px; } .refund-records-table tfoot { background: #f6f8fc; } .refund-records-error { color: #dc2626; } .refund-record-fields { border: 0; padding: 0; margin: 12px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; text-align: left; }