|
@@ -34,7 +34,8 @@
|
|
|
<cl-upsert ref="Upsert">
|
|
|
<template #slot-currency="{ scope }">
|
|
|
<el-select v-model="scope.currency" clearable>
|
|
|
- <el-option v-for="item in currencyList.filter(
|
|
|
+ <el-option
|
|
|
+v-for="item in currencyList.filter(
|
|
|
item =>
|
|
|
channelList
|
|
|
.find(v => v.code == scope.channel)
|
|
@@ -43,9 +44,11 @@
|
|
|
</el-select>
|
|
|
</template>
|
|
|
</cl-upsert>
|
|
|
- <withdraw v-if="WithdrawVisible" :channel="channel" :currency="currency" v-model:show="WithdrawVisible"
|
|
|
+ <withdraw
|
|
|
+v-if="WithdrawVisible" :channel="channel" :currency="currency" v-model:show="WithdrawVisible"
|
|
|
@refresh="refresh" />
|
|
|
- <transfer v-if="TransferVisible" :fromWalletId="fromWalletId" :channel="channel" v-model:show="TransferVisible"
|
|
|
+ <transfer
|
|
|
+v-if="TransferVisible" :fromWalletId="fromWalletId" :channel="channel" v-model:show="TransferVisible"
|
|
|
@refresh="refresh" />
|
|
|
<cl-dialog title="充值信息" v-model="rechangeVisible">
|
|
|
<pre class="json-content">{{ rechangeInfo.config }}</pre>
|
|
@@ -89,18 +92,6 @@ const Upsert = useUpsert({
|
|
|
component: { name: 'slot-currency', props: { clearable: true } },
|
|
|
required: true
|
|
|
},
|
|
|
- // {
|
|
|
- // label: '商户',
|
|
|
- // prop: 'merchantId',
|
|
|
- // component: { name: 'el-select', props: { clearable: true } },
|
|
|
- // required: true
|
|
|
- // },
|
|
|
- {
|
|
|
- label: '用户',
|
|
|
- prop: 'customer_id',
|
|
|
- component: { name: 'el-select', props: { clearable: true } },
|
|
|
- required: true
|
|
|
- }
|
|
|
],
|
|
|
async onOpen() {
|
|
|
channelList.value = await service.payment.channel.list();
|
|
@@ -109,8 +100,8 @@ const Upsert = useUpsert({
|
|
|
channelList.value.map(v => ({ label: v.name, value: v.code }))
|
|
|
);
|
|
|
// console.log(11300000888, channelList.value);
|
|
|
- getCustomerList.value = await service.payment.customer.list({ merchantId: 24 });
|
|
|
- console.log(1130000, getCustomerList.value);
|
|
|
+ // getCustomerList.value = await service.payment.customer.list({ merchantId: 24 });
|
|
|
+ // console.log(1130000, getCustomerList.value);
|
|
|
|
|
|
|
|
|
// getCustomerList = await service.payment.customer.list({});
|