Handy_Cao 2 년 전
부모
커밋
769a9d398f

+ 2 - 2
src/packages/mobile/views/bank/wallet/components/deposit/Index.vue

@@ -62,7 +62,7 @@
             </table>
         </div>
         <template #footer>
-            <div class="g-form__footer inset">
+            <div class="g-form__footer inset" v-if="cusBank.caninamount === 1">
                 <Button round block type="danger" @click="formRef?.submit()">确定</Button>
             </div>
         </template>
@@ -85,7 +85,7 @@ const { router } = useNavigation()
 const { getSystemParamValue } = useUserStore()
 const start = getSystemParamValue('012') ?? ''
 const limitMsg = getSystemParamValue('1002')
-const msg = getSystemParamValue('302')
+const msg = getSystemParamValue('302') ?? '系统错误'
 const { configs, cusBank, end } = useDoCusBankExtendConfigs(2)
 const certificate_photo_url = ref('')
 const userStore = useUserStore()

+ 2 - 2
src/packages/mobile/views/bank/wallet/components/withdraw/Index.vue

@@ -37,7 +37,7 @@
             <label>出金时间:{{ start }} - {{ end }}</label>
         </div>
         <template #footer>
-            <div class="g-form__footer inset">
+            <div class="g-form__footer inset" v-if="cusBank.canoutamount === 1">
                 <Button round block type="danger" @click="formRef?.submit()">确定</Button>
             </div>
         </template>
@@ -61,7 +61,7 @@ const { router } = useNavigation()
 const formRef = shallowRef<FormInstance>()
 const { getSystemParamValue } = useUserStore()
 const start = getSystemParamValue('012') ?? ''
-const msg = getSystemParamValue('302')
+const msg = getSystemParamValue('302') ?? '系统错误'
 const limitMsg = getSystemParamValue('1002')
 const userStore = useUserStore()
 

+ 2 - 2
src/packages/pc/views/footer/capital/summary/deposit/index.vue

@@ -23,7 +23,7 @@
         <span v-if="cusBank.caninamount === 0">{{ msg }}</span>
         <template #footer>
             <el-button type="info" @click="onCancel">取消</el-button>
-            <el-button type="primary" @click="doDepositWarning">提交</el-button>
+            <el-button v-if="cusBank.caninamount === 1" type="primary" @click="doDepositWarning">提交</el-button>
         </template>
     </app-drawer>
 </template>
@@ -51,7 +51,7 @@ const formRef = ref<FormInstance>()
 const userStore = useUserStore()
 const certificate_photo_url = ref('')
 const { getSystemParamValue } = useUserStore()
-const msg = getSystemParamValue('302')
+const msg = getSystemParamValue('302') ?? '系统错误'
 const start = getSystemParamValue('012') ?? ''
 const limitMsg = getSystemParamValue('1002')
 

+ 2 - 2
src/packages/pc/views/footer/capital/summary/withdraw/index.vue

@@ -29,7 +29,7 @@
         <span v-if="cusBank.canoutamount === 0">{{ msg }}</span>
         <template #footer>
             <el-button type="info" @click="onCancel">取消</el-button>
-            <el-button type="primary" @click="doWithDrawWarning">提交</el-button>
+            <el-button v-if="cusBank.canoutamount === 1" type="primary" @click="doWithDrawWarning">提交</el-button>
         </template>
     </app-drawer>
 </template>
@@ -51,7 +51,7 @@ const { configs, cusBank, end } = useDoCusBankExtendConfigs(3)
 /// 资金账户信息
 const { fund } = useAccountFundInfo()
 const { getSystemParamValue } = useUserStore()
-const msg = getSystemParamValue('302')
+const msg = getSystemParamValue('302') ?? '系统错误'
 const start = getSystemParamValue('012') ?? ''
 const limitMsg = getSystemParamValue('1002')