From be7347e60053f8f76aec89fdb08613c0f6ca3fa5 Mon Sep 17 00:00:00 2001 From: yml2213 Date: Wed, 15 Jul 2026 10:41:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=94=80=E6=AF=81/=E5=86=B2?= =?UTF-8?q?=E6=AD=A3=E5=8E=9F=E5=9B=A0=E9=BB=98=E8=AE=A4=E9=80=89=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E9=80=80=E6=AC=BE=EF=BC=8C=E5=87=8F=E5=B0=91=E8=AF=AF?= =?UTF-8?q?=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/pages/admin/AdminKuaishouIndustryPage.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/frontend/src/pages/admin/AdminKuaishouIndustryPage.tsx b/apps/frontend/src/pages/admin/AdminKuaishouIndustryPage.tsx index 2e145c0c..d73a6abe 100644 --- a/apps/frontend/src/pages/admin/AdminKuaishouIndustryPage.tsx +++ b/apps/frontend/src/pages/admin/AdminKuaishouIndustryPage.tsx @@ -133,7 +133,7 @@ export default function AdminKuaishouIndustryPage() { const [toolForm, setToolForm] = useState({ eticketType: '', consumeType: 'consume', - reason: 'SYS_ADMIN_DESTROY', + reason: 'USER_APPLY_REFUND', }) const [refundDateRange, setRefundDateRange] = useState(() => [ dayjs().subtract(1, 'day'), @@ -436,7 +436,7 @@ export default function AdminKuaishouIndustryPage() { voucherCode: row.voucherCode, eticketType: row.eticketType || current.eticketType || '', serialNum: row.consumeSerialNum || current.serialNum, - reason: current.reason || 'SYS_ADMIN_DESTROY', + reason: current.reason || 'USER_APPLY_REFUND', })) showSuccess('已填入券码操作区') } @@ -556,15 +556,15 @@ export default function AdminKuaishouIndustryPage() { try { const response = await destroyAdminKuaishouIndustryVoucher({ ...buildVoucherToolPayload(), - reason: toolForm.reason || 'SYS_ADMIN_DESTROY', + reason: toolForm.reason || 'USER_APPLY_REFUND', }) publishActionResult( buildIndustryActionResultView('destroy', '手动销毁', response.data), ) showSuccess( response.data.alreadyDestroyed - ? `券码已是销毁状态,销毁回调已重试(${response.data.reason || 'SYS_ADMIN_DESTROY'})` - : `券码已销毁(${response.data.reason || 'SYS_ADMIN_DESTROY'})`, + ? `券码已是销毁状态,销毁回调已重试(${response.data.reason || 'USER_APPLY_REFUND'})` + : `券码已销毁(${response.data.reason || 'USER_APPLY_REFUND'})`, ) await loadVouchers() } catch (error) { @@ -949,9 +949,9 @@ export default function AdminKuaishouIndustryPage() { value={toolForm.reason || undefined} onChange={(value) => updateToolForm({ reason: value || '' })} options={[ + { label: 'USER_APPLY_REFUND(用户退款)', value: 'USER_APPLY_REFUND' }, { label: 'SYS_ADMIN_DESTROY(后台作废)', value: 'SYS_ADMIN_DESTROY' }, { label: 'SUPPLY_DESTROY(供应商作废)', value: 'SUPPLY_DESTROY' }, - { label: 'USER_APPLY_REFUND(用户退款)', value: 'USER_APPLY_REFUND' }, { label: 'ETICKET_EXPIRED(凭证过期)', value: 'ETICKET_EXPIRED' }, ]} style={{ minWidth: 220 }}