fix: 修复bug
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
@click="onSelectPayType"
|
||||
>
|
||||
<view class="flex-1">
|
||||
{{ typeName ? `${typeName}:${currentBank?.card_account}` : '请选择收款方式' }}
|
||||
{{ typeName ? `${typeName}:${currentBank?.banknum}` : '请选择收款方式' }}
|
||||
</view>
|
||||
<wd-icon name="arrow-right" size="16px"></wd-icon>
|
||||
</view>
|
||||
@@ -65,7 +65,7 @@
|
||||
class="bg-white fixed bottom-0 left-0 right-0 px-15 py-10 shadow-[0_0_10px_rgba(10,68,245,0.1)]"
|
||||
>
|
||||
<view class="flex items-center pb-safe">
|
||||
<view class="text-gradient flex-1 text-14">到账CNY:13123.00</view>
|
||||
<view class="text-gradient flex-1 text-14">到账CNY:{{ form.money ?? '0' }}</view>
|
||||
<view
|
||||
class="btn-gradient text-center text-white rounded-full text-14 px-30 py-10"
|
||||
@click="onSubmit"
|
||||
@@ -98,13 +98,14 @@ const onWithdrawalDetail = () => {
|
||||
}
|
||||
|
||||
const typeName = computed(() => {
|
||||
return ['支付宝', '微信', '银行卡'][Number(unref(currentBank)?.card_type) - 1]
|
||||
return ['支付宝', '微信', '银行卡'][Number(unref(currentBank)?.typedata) - 1]
|
||||
})
|
||||
|
||||
const currentBank = ref<any>(null)
|
||||
const onSelectPayType = () => {
|
||||
uni.$once('withdrawal-type', (data: any) => {
|
||||
form.value.bankid = data.id
|
||||
console.log(data)
|
||||
currentBank.value = data
|
||||
})
|
||||
uni.navigateTo({
|
||||
|
||||
Reference in New Issue
Block a user