更新金额

This commit is contained in:
zoujiandong 2023-11-03 17:15:06 +08:00
parent 7dbf3c7d8b
commit 3cecb16498
2 changed files with 12 additions and 4 deletions

View File

@ -73,7 +73,7 @@
<div class="tablebox" style="width:100%">
<!-- table -->
<a-table :columns="columns" :data="tableData"
:scroll="{ x:1500 }"
:scroll="{ x:1700 }"
:row-selection="{ type: 'checkbox', showCheckedAll: true }"
:pagination="{ 'show-total': true, 'show-jumper': true, 'show-page-size': true, total: pager.total, current: currentPage }"
@ -102,9 +102,14 @@
{{record.payment_amount_total}}
</template>
<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 #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>
</template>
@ -234,6 +239,8 @@ watch(()=>queryForm.create_range_time,(value)=>{
{ title: '医生姓名', dataIndex: 'doctor_name',width:100 },
{ title: '就诊人', dataIndex: 'patient_name_mask',slotName:'patient_name_mask',width:200},
{ 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: 'inquiry_pay_channel',slotName: 'inquiry_pay_channel'},
{ title: '订单状态', dataIndex: 'inquiry_status', slotName:'inquiry_status' },

View File

@ -405,8 +405,9 @@ const closeReject=()=>{
const handleConfirmPay=async()=>{
const {data,code}=await confirmPay(withdrawal_order_id.value);
if(code==200){
Message.success("打款成功")
Message.success("打款成功");
}
emits('freshDetail');
};
const handleSubmitConfirm=()=>{
if(okStatus.value==1){