add
This commit is contained in:
parent
c7da6aab26
commit
3340863e91
|
@ -1,7 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="edit-popup">
|
<div class="edit-popup">
|
||||||
<popup ref="popupRef" :title="popupTitle" :async="true" width="550px" @confirm="handleSubmit"
|
<popup ref="popupRef" :title="popupTitle" :async="true" width="550px" @confirm="handleSubmit" @close="handleClose">
|
||||||
@close="handleClose">
|
|
||||||
<el-form ref="formRef" :model="formData" label-width="90px" :rules="formRules">
|
<el-form ref="formRef" :model="formData" label-width="90px" :rules="formRules">
|
||||||
<el-form-item label="提现商户">
|
<el-form-item label="提现商户">
|
||||||
<el-input v-model="formData.mer_name" clearable placeholder="请输入用户类型 1-商户 2-供应商" :readonly="true" />
|
<el-input v-model="formData.mer_name" clearable placeholder="请输入用户类型 1-商户 2-供应商" :readonly="true" />
|
||||||
|
@ -22,8 +21,7 @@
|
||||||
:readonly="true" />
|
:readonly="true" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="账户名称">
|
<el-form-item label="账户名称">
|
||||||
<el-input v-model="formData.merchant_bank_info.name" clearable placeholder="账户类型"
|
<el-input v-model="formData.merchant_bank_info.name" clearable placeholder="账户类型" :readonly="true" />
|
||||||
:readonly="true" />
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="账户类型">
|
<el-form-item label="账户类型">
|
||||||
<el-select v-model="formData.merchant_bank_info.is_own">
|
<el-select v-model="formData.merchant_bank_info.is_own">
|
||||||
|
@ -54,8 +52,7 @@
|
||||||
</el-radio-group>
|
</el-radio-group>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="拒绝原因" v-if="form.is_check == 2" prop="fail_msg">
|
<el-form-item label="拒绝原因" v-if="form.is_check == 2" prop="fail_msg">
|
||||||
<el-input type="textarea" v-model="form.fail_msg" clearable placeholder="请输入拒绝原因"
|
<el-input type="textarea" v-model="form.fail_msg" clearable placeholder="请输入拒绝原因" :readonly="false" />
|
||||||
:readonly="false" />
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
<el-form-item label="上传凭证" prop="is_check" v-if="formData.is_check == 1">
|
<el-form-item label="上传凭证" prop="is_check" v-if="formData.is_check == 1">
|
||||||
|
@ -172,10 +169,12 @@ const setFormData = async (data: Record<any, any>) => {
|
||||||
formData[key] = data[key]
|
formData[key] = data[key]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (data.arrival_proof.length) {
|
if (data.arrival_proof?.length) {
|
||||||
form.arrival_proof = JSON.parse(data.arrival_proof)
|
form.arrival_proof = JSON.parse(data.arrival_proof)
|
||||||
}
|
}
|
||||||
form.id = data.id
|
form.id = data.id
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const getDetail = async (row: Record<string, any>) => {
|
const getDetail = async (row: Record<string, any>) => {
|
||||||
|
|
Loading…
Reference in New Issue