feat:商户规则绑定

This commit is contained in:
dzc committed 2025-03-29 18:05:09 +08:00
1 parent 1f08b2eb8f
commit d8cf18efb7
7 files changed
+71 -48

No files matched your search

+3
View File
@@ -7,6 +7,7 @@
remote-show-suffix
filterable
remote
:disabled="props.disabled"
:remote-method="remoteSearch"
:loading="state.loading"
@visible-change="(e: boolean) => e && getOptions()"
@@ -34,10 +35,12 @@ const props = withDefaults(
defineProps<{
placeholder?: string
apiParams?: any
disabled?: boolean
}>(),
{
placeholder: "请选择",
apiParams: {},
disabled: false,
},
)
+1 -1
View File
@@ -11,7 +11,7 @@
:loading="state.loading"
@visible-change="(e: boolean) => e && getOptions()"
>
<el-option v-for="v in state.options" :key="v.id" :label="getDictById(v.rulePriceType, v)" :value="v.rulePriceType">
<el-option v-for="v in state.options" :key="v.id" :label="getDictById(v.rulePriceType, v)" :value="v.id">
<div class="flex items-center">
<div class="flex items-center ml5">
<dict-tag :options="state.walletRulePriceType" :value="v.rulePriceType" />