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