优化:开启线下手动打款

优化:隐藏提现列表中的收入类型
This commit is contained in:
wuhui_zzw 2024-06-12 10:42:50 +08:00
parent 493d2c6e9e
commit 2ff9a14ca8
3 changed files with 20 additions and 20 deletions

View File

@ -32,7 +32,7 @@ class ConfirmPayController extends PreController
$result = (new PayedService($this->withdrawModel))->confirmPay(); $result = (new PayedService($this->withdrawModel))->confirmPay();
if ($result == true) { if ($result == true) {
$this->withdrawModel->update(['pay_way'=>Withdraw::WITHDRAW_WITH_MANUAL]); //线下手动打款后更改提现记录途径 $this->withdrawModel->update(['pay_way'=>Withdraw::WITHDRAW_WITH_MANUAL,'manual_type'=>10]); //线下手动打款后更改提现记录途径
return $this->successJson('确认打款成功'); return $this->successJson('确认打款成功');
} }

View File

@ -250,13 +250,13 @@
<el-button v-if="withdraw.pay_way=='high_light_wechat'||withdraw.pay_way=='high_light_alipay'||withdraw.pay_way=='high_light_bank'" type="primary" @click="Repayment('pay_way')">高灯打款</el-button> <el-button v-if="withdraw.pay_way=='high_light_wechat'||withdraw.pay_way=='high_light_alipay'||withdraw.pay_way=='high_light_bank'" type="primary" @click="Repayment('pay_way')">高灯打款</el-button>
<el-button v-if="withdraw.pay_way=='worker_withdraw_wechat'||withdraw.pay_way=='worker_withdraw_alipay'||withdraw.pay_way=='worker_withdraw_bank'" type="primary" @click="Repayment('pay_way')">好灵工打款</el-button> <el-button v-if="withdraw.pay_way=='worker_withdraw_wechat'||withdraw.pay_way=='worker_withdraw_alipay'||withdraw.pay_way=='worker_withdraw_bank'" type="primary" @click="Repayment('pay_way')">好灵工打款</el-button>
<el-button v-if="withdraw.pay_way=='eplus_withdraw_bank'" type="primary" @click="Repayment('pay_way')">智E+打款</el-button> <el-button v-if="withdraw.pay_way=='eplus_withdraw_bank'" type="primary" @click="Repayment('pay_way')">智E+打款</el-button>
{{--<el-button type="primary" @click="Repayment('线下确认打款')">线下确认打款</el-button>--}} <el-button type="primary" @click="Repayment('线下确认打款')">线下手动打款</el-button>
<el-button type="danger" @click="Repayment('驳回记录')">驳回记录</el-button> <el-button type="danger" @click="Repayment('驳回记录')">驳回</el-button>
</template> </template>
<template v-else-if="withdraw.status==4"> <template v-else-if="withdraw.status==4">
<el-button type="primary" @click="Repayment('重新打款')">重新打款</el-button> <el-button type="primary" @click="Repayment('重新打款')">重新打款</el-button>
{{--<el-button type="primary" @click="Repayment('线下确认打款')">线下确认打款</el-button>--}} <el-button type="primary" @click="Repayment('线下确认打款')">线下手动打款</el-button>
<el-button type="danger" @click="Repayment('驳回记录')">驳回记录</el-button> <el-button type="danger" @click="Repayment('驳回记录')">驳回</el-button>
</template> </template>
<template v-else-if="withdraw.status==-1"> <template v-else-if="withdraw.status==-1">
<el-button type="primary" @click="examine('重新审核成功')">重新审核</el-button> <el-button type="primary" @click="examine('重新审核成功')">重新审核</el-button>

View File

@ -58,16 +58,16 @@
clearable> clearable>
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item label=""> {{--<el-form-item label="">--}}
<el-select clearable v-model="search_form.type" placeholder="收入类型"> {{-- <el-select clearable v-model="search_form.type" placeholder="收入类型">--}}
<el-option {{-- <el-option--}}
v-for="(item,index) in types" {{-- v-for="(item,index) in types"--}}
:key="item.index" {{-- :key="item.index"--}}
:label="item.title" {{-- :label="item.title"--}}
:value="item.class"> {{-- :value="item.class">--}}
</el-option> {{-- </el-option>--}}
</el-select> {{-- </el-select>--}}
</el-form-item> {{--</el-form-item>--}}
<el-form-item label=""> <el-form-item label="">
<el-select clearable v-model="search_form.pay_way" placeholder="提现方式"> <el-select clearable v-model="search_form.pay_way" placeholder="提现方式">
<el-option <el-option
@ -150,11 +150,11 @@
[[scope.row.has_one_member.mobile]] [[scope.row.has_one_member.mobile]]
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="收入类型" align="center" prop="" width="auto"> {{--<el-table-column label="收入类型" align="center" prop="" width="auto">--}}
<template slot-scope="scope"> {{-- <template slot-scope="scope">--}}
[[scope.row.type_name]] {{-- [[scope.row.type_name]]--}}
</template> {{-- </template>--}}
</el-table-column> {{--</el-table-column>--}}
<el-table-column label="提现方式" align="center" prop="" width="auto"> <el-table-column label="提现方式" align="center" prop="" width="auto">
<template slot-scope="scope"> <template slot-scope="scope">
[[scope.row.pay_way_name]] [[scope.row.pay_way_name]]