更新金额
This commit is contained in:
parent
7dbf3c7d8b
commit
3cecb16498
@ -73,7 +73,7 @@
|
|||||||
<div class="tablebox" style="width:100%">
|
<div class="tablebox" style="width:100%">
|
||||||
<!-- table -->
|
<!-- table -->
|
||||||
<a-table :columns="columns" :data="tableData"
|
<a-table :columns="columns" :data="tableData"
|
||||||
:scroll="{ x:1500 }"
|
:scroll="{ x:1700 }"
|
||||||
|
|
||||||
:row-selection="{ type: 'checkbox', showCheckedAll: true }"
|
:row-selection="{ type: 'checkbox', showCheckedAll: true }"
|
||||||
:pagination="{ 'show-total': true, 'show-jumper': true, 'show-page-size': true, total: pager.total, current: currentPage }"
|
:pagination="{ 'show-total': true, 'show-jumper': true, 'show-page-size': true, total: pager.total, current: currentPage }"
|
||||||
@ -102,9 +102,14 @@
|
|||||||
{{record.payment_amount_total}}元
|
{{record.payment_amount_total}}元
|
||||||
</template>
|
</template>
|
||||||
<template #doctor_amount="{ record }">
|
<template #doctor_amount="{ record }">
|
||||||
{{Math.floor(record.amount_total*0.75*100)/100}}元
|
{{record.doctor_amount}}元
|
||||||
|
</template>
|
||||||
|
<template #amount_total="{ record }">
|
||||||
|
{{record.amount_total}}元
|
||||||
|
</template>
|
||||||
|
<template #coupon_amount_total="{ record }">
|
||||||
|
{{record.coupon_amount_total}}元
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<template #patient_name_mask="{ record }">
|
<template #patient_name_mask="{ record }">
|
||||||
<div class="ta-patient" :title="record.patient_name_mask">{{record.patient_name_mask}}({{record.patient_sex==1?'男,':'女,'}}{{record.patient_age}}岁)</div>
|
<div class="ta-patient" :title="record.patient_name_mask">{{record.patient_name_mask}}({{record.patient_sex==1?'男,':'女,'}}{{record.patient_age}}岁)</div>
|
||||||
</template>
|
</template>
|
||||||
@ -234,6 +239,8 @@ watch(()=>queryForm.create_range_time,(value)=>{
|
|||||||
{ title: '医生姓名', dataIndex: 'doctor_name',width:100 },
|
{ title: '医生姓名', dataIndex: 'doctor_name',width:100 },
|
||||||
{ title: '就诊人', dataIndex: 'patient_name_mask',slotName:'patient_name_mask',width:200},
|
{ title: '就诊人', dataIndex: 'patient_name_mask',slotName:'patient_name_mask',width:200},
|
||||||
{ title: '实付金额', dataIndex: 'payment_amount_total',slotName:'payment_amount_total',width:100 },
|
{ title: '实付金额', dataIndex: 'payment_amount_total',slotName:'payment_amount_total',width:100 },
|
||||||
|
{ title: '订单金额', dataIndex: 'amount_total',slotName:'amount_total',width:100 },
|
||||||
|
{ title: '优惠券金额', dataIndex: 'coupon_amount_total',slotName:'coupon_amount_total',width:100 },
|
||||||
{ title: '医生收益', dataIndex: 'doctor_amount',slotName:'doctor_amount',width:100 },
|
{ title: '医生收益', dataIndex: 'doctor_amount',slotName:'doctor_amount',width:100 },
|
||||||
{ title: '支付方式', dataIndex: 'inquiry_pay_channel',slotName: 'inquiry_pay_channel'},
|
{ title: '支付方式', dataIndex: 'inquiry_pay_channel',slotName: 'inquiry_pay_channel'},
|
||||||
{ title: '订单状态', dataIndex: 'inquiry_status', slotName:'inquiry_status' },
|
{ title: '订单状态', dataIndex: 'inquiry_status', slotName:'inquiry_status' },
|
||||||
|
|||||||
@ -405,8 +405,9 @@ const closeReject=()=>{
|
|||||||
const handleConfirmPay=async()=>{
|
const handleConfirmPay=async()=>{
|
||||||
const {data,code}=await confirmPay(withdrawal_order_id.value);
|
const {data,code}=await confirmPay(withdrawal_order_id.value);
|
||||||
if(code==200){
|
if(code==200){
|
||||||
Message.success("打款成功")
|
Message.success("打款成功");
|
||||||
}
|
}
|
||||||
|
emits('freshDetail');
|
||||||
};
|
};
|
||||||
const handleSubmitConfirm=()=>{
|
const handleSubmitConfirm=()=>{
|
||||||
if(okStatus.value==1){
|
if(okStatus.value==1){
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user