This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
v-model:columns="columnChecks"
|
||||
@refresh="handleRefresh"
|
||||
>
|
||||
<template #actions>
|
||||
<template #left>
|
||||
<ElButton v-if="canCreate" type="primary" :icon="Plus" @click="openCreateDialog">
|
||||
新增配置
|
||||
</ElButton>
|
||||
|
||||
@@ -118,14 +118,14 @@
|
||||
</div>
|
||||
<div class="credential-list">
|
||||
<div
|
||||
v-for="(entry, index) in form.credentials"
|
||||
v-for="entry in form.credentials"
|
||||
:key="entry.localId"
|
||||
class="credential-row"
|
||||
>
|
||||
<ElInput
|
||||
v-model="entry.key"
|
||||
placeholder="凭证字段名"
|
||||
maxlength="100"
|
||||
readonly
|
||||
aria-label="凭证字段名"
|
||||
/>
|
||||
<ElInput
|
||||
@@ -136,16 +136,8 @@
|
||||
autocomplete="new-password"
|
||||
aria-label="凭证值"
|
||||
/>
|
||||
<ElButton
|
||||
type="danger"
|
||||
link
|
||||
:icon="Delete"
|
||||
aria-label="删除凭证字段"
|
||||
@click="removeCredential(index)"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<ElButton type="primary" plain :icon="Plus" @click="addCredential">添加凭证字段</ElButton>
|
||||
<template v-if="form.provider_type === 'wechat_v2'">
|
||||
<ElDivider content-position="left">退款专用可选凭证(原路退款)</ElDivider>
|
||||
<div class="refund-credential-fields">
|
||||
|
||||
Reference in New Issue
Block a user