mirror of
https://gitee.com/bootx/dax-pay-ui.git
synced 2025-09-01 18:17:46 +00:00
style 多余字段去除
This commit is contained in:
@@ -24,30 +24,6 @@
|
|||||||
<a-form-item label="配置名称" name="name">
|
<a-form-item label="配置名称" name="name">
|
||||||
<a-input v-model:value="form.name" :disabled="showable" placeholder="请输入配置名称" />
|
<a-input v-model:value="form.name" :disabled="showable" placeholder="请输入配置名称" />
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
<!-- <a-form-item label="是否启用" name="enable">-->
|
|
||||||
<!-- <a-switch-->
|
|
||||||
<!-- :disabled="showable"-->
|
|
||||||
<!-- v-model:checked="form.enable"-->
|
|
||||||
<!-- checked-children="是"-->
|
|
||||||
<!-- un-checked-children="否"-->
|
|
||||||
<!-- />-->
|
|
||||||
<!-- </a-form-item>-->
|
|
||||||
<a-form-item label="开启分账" name="allocation">
|
|
||||||
<a-switch
|
|
||||||
:disabled="showable"
|
|
||||||
v-model:checked="form.allocation"
|
|
||||||
checked-children="是"
|
|
||||||
un-checked-children="否"
|
|
||||||
/>
|
|
||||||
</a-form-item>
|
|
||||||
<a-form-item label="自动分账" name="autoAllocation">
|
|
||||||
<a-switch
|
|
||||||
:disabled="showable"
|
|
||||||
v-model:checked="form.autoAllocation"
|
|
||||||
checked-children="是"
|
|
||||||
un-checked-children="否"
|
|
||||||
/>
|
|
||||||
</a-form-item>
|
|
||||||
<a-form-item label="限制用户支付类型" name="limitPay">
|
<a-form-item label="限制用户支付类型" name="limitPay">
|
||||||
<a-select
|
<a-select
|
||||||
allow-clear
|
allow-clear
|
||||||
@@ -114,7 +90,6 @@
|
|||||||
code: [{ required: true, message: '' }],
|
code: [{ required: true, message: '' }],
|
||||||
name: [{ required: true, message: '请输入配置名称' }],
|
name: [{ required: true, message: '请输入配置名称' }],
|
||||||
enable: [{ required: true, message: '请选择码牌是否启用' }],
|
enable: [{ required: true, message: '请选择码牌是否启用' }],
|
||||||
allocation: [{ required: true, message: '请选择是否开启分账' }],
|
|
||||||
autoAllocation: [{ required: true, message: '请选择是否自动分账' }],
|
autoAllocation: [{ required: true, message: '请选择是否自动分账' }],
|
||||||
} as Record<string, Rule[]>
|
} as Record<string, Rule[]>
|
||||||
|
|
||||||
|
@@ -32,20 +32,6 @@
|
|||||||
<a href="javascript:" @click="show(row)">{{ row.name }}</a>
|
<a href="javascript:" @click="show(row)">{{ row.name }}</a>
|
||||||
</template>
|
</template>
|
||||||
</vxe-column>
|
</vxe-column>
|
||||||
<vxe-column field="allocation" title="分账" align="center" :min-width="100">
|
|
||||||
<template #default="{ row }">
|
|
||||||
<a-tag :color="row.allocation ? 'green' : 'red'">
|
|
||||||
{{ row.allocation ? '开启' : '关闭' }}
|
|
||||||
</a-tag>
|
|
||||||
</template>
|
|
||||||
</vxe-column>
|
|
||||||
<vxe-column field="autoAllocation" title="自动分账" align="center" :min-width="100">
|
|
||||||
<template #default="{ row }">
|
|
||||||
<a-tag :color="row.autoAllocation ? 'green' : 'red'">
|
|
||||||
{{ row.autoAllocation ? '开启' : '关闭' }}
|
|
||||||
</a-tag>
|
|
||||||
</template>
|
|
||||||
</vxe-column>
|
|
||||||
<vxe-column field="remark" title="备注" :min-width="150" />
|
<vxe-column field="remark" title="备注" :min-width="150" />
|
||||||
<vxe-column field="createTime" title="创建时间" :min-width="140" />
|
<vxe-column field="createTime" title="创建时间" :min-width="140" />
|
||||||
<vxe-column fixed="right" :width="200" :showOverflow="false" title="操作">
|
<vxe-column fixed="right" :width="200" :showOverflow="false" title="操作">
|
||||||
|
Reference in New Issue
Block a user