收费室退费网页修改bug
This commit is contained in:
@@ -336,7 +336,7 @@
|
||||
<td>{{ item.orderNo }}</td>
|
||||
<td>{{ item.department }}</td>
|
||||
<td>{{ item.doctor }}</td>
|
||||
<td class="table-amount">¥{{ item.amount.toFixed(2) }}</td>
|
||||
<td class="table-amount">¥{{ (Number(item.amount) || 0).toFixed(2) }}</td>
|
||||
<td>{{ item.payTime }}</td>
|
||||
<td>
|
||||
<van-button type="danger" size="small" @click.stop="confirmSelfRefund(index)" class="btn-operate">退费</van-button>
|
||||
@@ -875,7 +875,7 @@ export default {
|
||||
orderNo: item.orderno,
|
||||
department: item.setdepartname,
|
||||
doctor: item.doctorname,
|
||||
amount: item.zfamount,
|
||||
amount: Number(item.zfamount) || 0,
|
||||
payTime: payTime,
|
||||
// 保留原始数据供退费使用
|
||||
originalData: item
|
||||
@@ -931,7 +931,7 @@ export default {
|
||||
// 显示退费提示
|
||||
Dialog.confirm({
|
||||
title: '确认退费',
|
||||
message: `确定要为订单号 ${selectedItem.orderNo} 退费吗?`,
|
||||
message: `确定要为订单号 ${selectedItem.orderNo} 退费吗?\n退费金额:¥${(Number(selectedItem.amount) || 0).toFixed(2)}`,
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消'
|
||||
}).then(() => {
|
||||
|
||||
Reference in New Issue
Block a user