|
@@ -28,16 +28,11 @@
|
|
|
<cl-upsert ref="Upsert">
|
|
|
<template #slot-currency="{ scope }">
|
|
|
<el-select v-model="scope.currency" clearable>
|
|
|
- <el-option
|
|
|
- v-for="item in currencyList.filter(item =>
|
|
|
- channelList
|
|
|
- .find(v => v.code == scope.channelId)
|
|
|
- ?.supportedCurrencies.includes(item.id)
|
|
|
- )"
|
|
|
- :key="item.id"
|
|
|
- :label="item.label"
|
|
|
- :value="item.value"
|
|
|
- />
|
|
|
+ <el-option v-for="item in currencyList.filter(item =>
|
|
|
+ channelList
|
|
|
+ .find(v => v.code == scope.channelId)
|
|
|
+ ?.supportedCurrencies.includes(item.id)
|
|
|
+ )" :key="item.id" :label="item.label" :value="item.value" />
|
|
|
</el-select>
|
|
|
</template>
|
|
|
</cl-upsert>
|
|
@@ -111,7 +106,29 @@ const Upsert = useUpsert({
|
|
|
{
|
|
|
label: '方法',
|
|
|
prop: 'method',
|
|
|
- component: { name: 'el-input' },
|
|
|
+ component: {
|
|
|
+ name: 'el-select',
|
|
|
+ options: [
|
|
|
+ { label: 'MOMO', value: 'MOMO' },
|
|
|
+ { label: 'BANK', value: 'BANK' },
|
|
|
+ { label: 'TED', value: 'TED' },
|
|
|
+ { label: 'SPEI', value: 'SPEI' },
|
|
|
+ { label: 'OVO', value: 'OVO' },
|
|
|
+ { label: 'DANA', value: 'DANA' },
|
|
|
+ { label: 'QRIS', value: 'QRIS' },
|
|
|
+ { label: 'CREDITCARD', value: 'CREDITCARD' },
|
|
|
+ { label: 'SURED', value: 'SURED' },
|
|
|
+ { label: 'EFECTY', value: 'EFECTY' },
|
|
|
+ { label: 'PSE', value: 'PSE' },
|
|
|
+ { label: 'KHIPU', value: 'KHIPU' },
|
|
|
+ { label: 'CASH', value: 'CASH' },
|
|
|
+ { label: 'CHAPS', value: 'CHAPS' },
|
|
|
+ { label: 'FASTERPAYMENTS', value: 'FASTERPAYMENTS' },
|
|
|
+ { label: 'SEPA', value: 'SEPA' },
|
|
|
+ { label: 'SEPAINSTANT', value: 'SEPAINSTANT' }
|
|
|
+ ],
|
|
|
+ props: { clearable: true }
|
|
|
+ },
|
|
|
required: true
|
|
|
},
|
|
|
{
|