状态更改
This commit is contained in:
parent
e8cac74960
commit
e8ea81b924
@ -42,7 +42,7 @@
|
||||
|
||||
<a-form-item field="idCard" label="提现状态:" >
|
||||
|
||||
<div v-if="modalForm.examine_status!=3 && modalForm.payment_status==0">待结算</div>
|
||||
<div v-if="modalForm.examine_status==1 && modalForm.payment_status==0">待结算</div>
|
||||
<div v-else-if="modalForm.examine_status==2 && modalForm.payment_status==0">结算中</div>
|
||||
<div v-else-if="modalForm.examine_status==2 && modalForm.payment_status==1">结算成功</div>
|
||||
<div v-else-if="modalForm.examine_status==3 ">结算失败</div>
|
||||
@ -64,6 +64,15 @@
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<a-row :gutter="24">
|
||||
<a-col :span="12">
|
||||
<a-form-item field="idCard" label="拒绝理由:" >
|
||||
<span v-if="modalForm.doctor_withdrawal_bank">{{modalForm.doctor_withdrawal_bank.province}}{{modalForm.doctor_withdrawal_bank.city}}{{modalForm.doctor_withdrawal_bank.county}}</span>
|
||||
<span v-else>-</span>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
|
||||
</a-row>
|
||||
<a-divider />
|
||||
<div class="titlebox">
|
||||
<div class="bar"></div>
|
||||
@ -205,7 +214,7 @@
|
||||
></numberModal>
|
||||
|
||||
<a-modal v-model:visible="rejectVisible" :modal-style="{width:'420px'}" @ok="handleConfirmReject"
|
||||
@cancel="()=>rejectVisible=false" >
|
||||
@cancel="closeReject" >
|
||||
<template #title>
|
||||
提示
|
||||
</template>
|
||||
@ -215,7 +224,7 @@
|
||||
</a-form-item>
|
||||
</a-form>
|
||||
<template #footer>
|
||||
<a-button @click="()=>rejectVisible=false"><template #icon><icon-close /></template>取消</a-button>
|
||||
<a-button @click="closeReject"><template #icon><icon-close /></template>取消</a-button>
|
||||
<a-button type="primary" @click="handleConfirmReject"><template #icon><icon-check /></template>确认</a-button>
|
||||
</template>
|
||||
|
||||
@ -389,6 +398,10 @@ const handleConfirmReject=()=>{
|
||||
}
|
||||
})
|
||||
};
|
||||
const closeReject=()=>{
|
||||
rejectVisible.value=false;
|
||||
proxy.$refs.rejectFormRef.resetFields();
|
||||
}
|
||||
const handleConfirmPay=async()=>{
|
||||
const {data,code}=await confirmPay(withdrawal_order_id.value);
|
||||
if(code==200){
|
||||
|
||||
@ -11,8 +11,9 @@
|
||||
<a-form-item field="settle_status" label="结算状态">
|
||||
<a-select @change="changeSettle" v-model="queryForm.settle_status" placeholder="请选择结算状态" :style="{ width: '182px' }">
|
||||
<a-option :value="1">待结算</a-option>
|
||||
<a-option :value="2">结算成功</a-option>
|
||||
<a-option :value="3">结算失败</a-option>
|
||||
<a-option :value="2">结算中</a-option>
|
||||
<a-option :value="3">结算成功</a-option>
|
||||
<a-option :value="4">结算失败</a-option>
|
||||
</a-select>
|
||||
</a-form-item>
|
||||
<!-- <a-form-item field="examine_status" label="审核状态">
|
||||
@ -239,13 +240,20 @@ watch(() => queryForm.payment_range_time,
|
||||
}
|
||||
};
|
||||
const changeSettle=(value)=>{
|
||||
// <div v-if="record.examine_status!=3 && record.payment_status==0">待结算</div>
|
||||
// <div v-else-if="record.examine_status==2 && record.payment_status==0">结算中</div>
|
||||
// <div v-else-if="record.examine_status==2 && record.payment_status==1">结算成功</div>
|
||||
// <div v-else-if="record.examine_status==3 ">结算失败</div>
|
||||
if(value==1){
|
||||
queryForm.examine_status=2;
|
||||
queryForm.payment_status=1;
|
||||
queryForm.examine_status=1;
|
||||
queryForm.payment_status=0;
|
||||
}else if(value==2){
|
||||
queryForm.examine_status=2;
|
||||
queryForm.payment_status=0;
|
||||
}else if(value==3){
|
||||
queryForm.examine_status=2;
|
||||
queryForm.payment_status=1;
|
||||
}else if(value==4){
|
||||
queryForm.examine_status=3;
|
||||
delete queryForm.payment_status;
|
||||
}else{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user