账单备注调整
This commit is contained in:
@@ -104,12 +104,6 @@ export default function BillDetailPage() {
|
|||||||
<Text className='bill-card__value'>{bill.pay_remark}</Text>
|
<Text className='bill-card__value'>{bill.pay_remark}</Text>
|
||||||
</View>
|
</View>
|
||||||
)}
|
)}
|
||||||
{bill.remark && (
|
|
||||||
<View className='bill-card__row'>
|
|
||||||
<Text className='bill-card__label'>账单备注</Text>
|
|
||||||
<Text className='bill-card__value'>{bill.remark}</Text>
|
|
||||||
</View>
|
|
||||||
)}
|
|
||||||
</View>
|
</View>
|
||||||
|
|
||||||
{/* ===== 金额构成 ===== */}
|
{/* ===== 金额构成 ===== */}
|
||||||
@@ -141,6 +135,10 @@ export default function BillDetailPage() {
|
|||||||
{Number(bill.after_sale) < 0 ? `- ¥${bill.after_sale}` : `¥${bill.after_sale}`}
|
{Number(bill.after_sale) < 0 ? `- ¥${bill.after_sale}` : `¥${bill.after_sale}`}
|
||||||
</Text>
|
</Text>
|
||||||
</View>
|
</View>
|
||||||
|
<View className='bill-card__row'>
|
||||||
|
<Text className='bill-card__label'>账单备注</Text>
|
||||||
|
<Text className='bill-card__value'>{bill.remark || '暂无备注'}</Text>
|
||||||
|
</View>
|
||||||
<View className='bill-card__row bill-card__row--total'>
|
<View className='bill-card__row bill-card__row--total'>
|
||||||
<Text className='bill-card__label'>账单总额</Text>
|
<Text className='bill-card__label'>账单总额</Text>
|
||||||
<Text className='bill-card__total'>¥{bill.total_amount}</Text>
|
<Text className='bill-card__total'>¥{bill.total_amount}</Text>
|
||||||
|
|||||||
@@ -10,8 +10,8 @@ const LOGIN_PATH = '/pages/login/index'
|
|||||||
/** 默认请求超时(ms) */
|
/** 默认请求超时(ms) */
|
||||||
const DEFAULT_TIMEOUT = 15000
|
const DEFAULT_TIMEOUT = 15000
|
||||||
/** 接口根地址(uploadFile 等原生请求同样使用) */
|
/** 接口根地址(uploadFile 等原生请求同样使用) */
|
||||||
export const BASE_URL = "http://localhost:8000"
|
// export const BASE_URL = "http://localhost:8000"
|
||||||
// export const BASE_URL = "https://purchase.henanklkj.com/index.php"
|
export const BASE_URL = "https://purchase.henanklkj.com/index.php"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* HTTP 状态码 → 错误提示映射
|
* HTTP 状态码 → 错误提示映射
|
||||||
|
|||||||
Reference in New Issue
Block a user