diff --git a/src/pages/bill-detail/index.tsx b/src/pages/bill-detail/index.tsx index 35f6890..ead66ec 100644 --- a/src/pages/bill-detail/index.tsx +++ b/src/pages/bill-detail/index.tsx @@ -104,12 +104,6 @@ export default function BillDetailPage() { {bill.pay_remark} )} - {bill.remark && ( - - 账单备注 - {bill.remark} - - )} {/* ===== 金额构成 ===== */} @@ -141,6 +135,10 @@ export default function BillDetailPage() { {Number(bill.after_sale) < 0 ? `- ¥${bill.after_sale}` : `¥${bill.after_sale}`} + + 账单备注 + {bill.remark || '暂无备注'} + 账单总额 ¥{bill.total_amount} diff --git a/src/utils/request.ts b/src/utils/request.ts index af654e8..c2a0c0f 100644 --- a/src/utils/request.ts +++ b/src/utils/request.ts @@ -10,8 +10,8 @@ const LOGIN_PATH = '/pages/login/index' /** 默认请求超时(ms) */ const DEFAULT_TIMEOUT = 15000 /** 接口根地址(uploadFile 等原生请求同样使用) */ -export const BASE_URL = "http://localhost:8000" -// export const BASE_URL = "https://purchase.henanklkj.com/index.php" +// export const BASE_URL = "http://localhost:8000" +export const BASE_URL = "https://purchase.henanklkj.com/index.php" /** * HTTP 状态码 → 错误提示映射