优化配送订单详情中文字段显示

This commit is contained in:
czl231
2026-08-15 01:00:51 +08:00
parent b219023a59
commit 45cf524df8
4 changed files with 42 additions and 2 deletions

View File

@@ -250,7 +250,9 @@ const fieldLabels: Record<string, string> = {
creator_identity: '创建方标识',
contact_name: '联系人',
contact_phone: '联系电话',
product_amount: '商品金额(元)',
discount_amount: '优惠金额(元)',
payable_amount: '应付金额(元)',
total_amount: '总金额(元)',
delivery_fee: '配送费(元)',
assigned_at: '分配时间',
@@ -331,8 +333,8 @@ const numbers = new Set([
const money = new Set([
'unit_price', 'amount', 'fee', 'balance', 'withdrawal_balance',
'balance_after', 'withdrawal_balance_after', 'default_delivery_fee',
'discount_amount', 'total_amount', 'delivery_fee', 'price_amount',
'sale_amount', 'difference_amount',
'product_amount', 'discount_amount', 'total_amount', 'delivery_fee', 'price_amount',
'payable_amount', 'sale_amount', 'difference_amount',
]);
const booleans = new Set(['is_default', 'is_cover', 'selected', 'withdrawable']);
const dates = new Set(['bill_date']);