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