|
|
@@ -9,7 +9,7 @@
|
|
|
<Cell title="银行卡号" :value="bankInfo.bankaccountno" />
|
|
|
<template v-if="bankInfo.signstatus === SignStatus.Signed">
|
|
|
<Cell title="姓名" :value="bankInfo.bankaccountname" />
|
|
|
- <Cell title="手机号码" :value="bankInfo.mobilephone" />
|
|
|
+ <Cell title="手机号码" :value="bankInfo.mobilephone" v-if="bankInfo.mobilephone" />
|
|
|
</template>
|
|
|
<Cell title="支行名称" v-if="bankInfo.branchbankname != ''" :value="bankInfo.branchbankname" />
|
|
|
<Cell title="状态" :value="getSignStatusName(bankInfo.signstatus)" />
|
|
|
@@ -25,7 +25,7 @@
|
|
|
v-if="[SignStatus.Unsigned, SignStatus.Refuse].includes(bankInfo.signstatus)">重新签约</Button>
|
|
|
<Button type="warning" round block @click="formSubmit"
|
|
|
v-if="bankInfo.signstatus === SignStatus.Signed && cusBank?.canrelease === 1">解约</Button>
|
|
|
- <Button type="danger" round block @click="showComponent(true)"
|
|
|
+ <Button type="danger" round block @click="beforeShowComponent"
|
|
|
v-if="bankInfo.signstatus === SignStatus.Signed && cusBank?.canmodifysigninfo === 1">修改</Button>
|
|
|
</div>
|
|
|
</template>
|
|
|
@@ -92,6 +92,16 @@ const showComponent = (isEdit: boolean) => {
|
|
|
openComponent('edit')
|
|
|
}
|
|
|
|
|
|
+const beforeShowComponent = () => {
|
|
|
+ if (bankInfo.value?.cusbankid === 'jdjs') {
|
|
|
+ dialog('请先发函到结算中心修改信息后再修改,否则将会影响出入金。').then(() => {
|
|
|
+ showComponent(true)
|
|
|
+ })
|
|
|
+ } else {
|
|
|
+ showComponent(true)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
onActivated(() => {
|
|
|
useStore.getUserData()
|
|
|
formRefresh()
|