董国庆
2026-01-06 f13a77f3606057cd186c53a833e1bbe58175aafb
management/src/pages/refundRecords/components/RefundDetailModal.jsx
@@ -116,7 +116,7 @@
  const renderDetailContent = () => {
    if (!orderDetail) return null;
    const { status, paymentType, auditStatus } = orderDetail;
    const { status, paymentType, refundStatus } = orderDetail;
    // 基础字段(所有状态都显示)
    const baseItems = [
@@ -145,11 +145,11 @@
        children: (
          <span style={{
            color:
              auditStatus === 1 ? '#faad14' :
              auditStatus === 2 ? '#52c41a' :
              '#f5222d'
              refundStatus === 1 ? '#faad14' :
                refundStatus === 2 ? '#52c41a' :
                  '#f5222d'
          }}>
            {auditStatusMap[auditStatus] || auditStatus}
            {auditStatusMap[refundStatus] || refundStatus}
          </span>
        ),
      },
@@ -233,11 +233,11 @@
    // 审核相关字段
    const auditItems = [];
    if (auditStatus >= 2) {
    if (status >= 2) {
      auditItems.push(
        {
          label: '审核结果',
          children: auditStatus === 2 ? '审核通过' : '审核驳回',
          children: status === 2 ? '审核通过' : '审核驳回',
        },
        {
          label: '审核时间',
@@ -310,11 +310,7 @@
      title="退款申请详情"
      open={visible}
      onCancel={onCancel}
      footer={[
        <button key="close" type="button" className="ant-btn" onClick={onCancel}>
          关闭
        </button>,
      ]}
      footer={false}
      width={800}
      destroyOnHidden
    >