|
|
@@ -1,7 +1,7 @@
|
|
|
<!-- 资金信息-资金汇总-出金申请 -->
|
|
|
<template>
|
|
|
<app-drawer title="提现申请" :width="500" v-model:show="show" :loading="loading" :refresh="refresh">
|
|
|
- <el-form ref="formRef" class="el-form--vertical" label-width="100px" :model="formData" :rules="formRules">
|
|
|
+ <el-form ref="formRef" v-if="cusBank.canoutamount === 1" class="el-form--vertical" label-width="100px" :model="formData" :rules="formRules">
|
|
|
<el-form-item label="资金账号">
|
|
|
<span>{{ accountStore.currentAccountId }}</span>
|
|
|
</el-form-item>
|
|
|
@@ -16,13 +16,11 @@
|
|
|
<el-input :name="item.fieldcode" placeholder="请输入" v-model="item.value" />
|
|
|
</el-form-item>
|
|
|
</template>
|
|
|
- <!-- <el-form-item label="金额大写">
|
|
|
- <span>壹万元</span>
|
|
|
- </el-form-item> -->
|
|
|
<el-form-item class="el-form-item--row" label="备注" prop="Remark">
|
|
|
<el-input type="textarea" :maxlength="50" :rows="3" v-model="formData.Remark" />
|
|
|
</el-form-item>
|
|
|
- </el-form>
|
|
|
+ </el-form>
|
|
|
+ <span v-else>请前往网银端进行出金</span>
|
|
|
<template #footer>
|
|
|
<el-button type="info" @click="onCancel(false)">取消</el-button>
|
|
|
<el-button type="primary" @click="formSubmit">提交</el-button>
|
|
|
@@ -33,7 +31,7 @@
|
|
|
<script lang="ts" setup>
|
|
|
import { ref } from 'vue'
|
|
|
import { ElMessage, FormInstance, FormRules } from 'element-plus'
|
|
|
-import { useDoWithdraw, useAccountFundInfo, useDoCusBankExtendConfigs } from '@/business/bank'
|
|
|
+import { useDoWithdraw, useAccountFundInfo, useDoCusBankExtendConfigs, useQueryCusBankSignBank } from '@/business/bank'
|
|
|
import { useAccountStore, useUserStore } from '@/stores'
|
|
|
import AppDrawer from '@pc/components/base/drawer/index.vue'
|
|
|
|
|
|
@@ -46,6 +44,8 @@ const userStore = useUserStore()
|
|
|
const { configs } = useDoCusBankExtendConfigs(3)
|
|
|
/// 资金账户信息
|
|
|
const { fund } = useAccountFundInfo()
|
|
|
+/// 查询托管银行信息
|
|
|
+const { cusBank } = useQueryCusBankSignBank()
|
|
|
|
|
|
const formRules: FormRules = {
|
|
|
Amount: [{
|