修改成标签

This commit is contained in:
ljx 2024-04-30 10:20:33 +08:00
parent 46b0b38f5f
commit adf450304c
1 changed files with 26 additions and 31 deletions

View File

@ -80,37 +80,31 @@
</div>
</li>
</div>
<!-- 销售记录 -->
<div class="sale-list" style="margin-top: 20px">
<h2>销售记录</h2>
<!-- 搜索区 -->
<vxe-form :data="searchFormData" :items="searchFormItems" titleColon @submit="onSearch">
<template #date="{}">
<a-form-item label="创建时间" :style="{ display: 'inline-block', width: 120 }">
</a-form-item>
<a-form-item :style="{ display: 'inline-block', width: 'calc(100% - 120px )' }">
<a-range-picker @change="onDateChange"/>
</a-form-item>
</template>
</vxe-form>
<a-tabs default-active-key="1" size="large">
<a-tab-pane key="1" tab="销售记录">
<!-- 搜索区 -->
<vxe-form :data="searchFormData" :items="searchFormItems" titleColon @submit="onSearch">
<template #date="{}">
<a-form-item label="创建时间" :style="{ display: 'inline-block', width: 120 }">
</a-form-item>
<a-form-item :style="{ display: 'inline-block', width: 'calc(100% - 120px )' }">
<a-range-picker @change="onDateChange"/>
</a-form-item>
</template>
</vxe-form>
<!-- 表格区 -->
<div class="gridPanel">
<vxe-grid ref='xGrid' v-bind="gridOptions">
<!-- =============================== 表格列 自动生成 Start =============================== -->
<template #status="{ row }"><!-- 这里是自定义列 -->
{{ row.status == 1 ? '正常' : '禁用'}}
</template>
</vxe-grid>
</div>
<!-- 表格 -->
</div>
<!-- 结余日志列表 -->
<div class="balance-log">
<h2>
结余日志
</h2>
<div class="gridPanel">
<vxe-grid ref='xGrid' v-bind="gridOptions">
<!-- =============================== 表格列 自动生成 Start =============================== -->
<template #status="{ row }"><!-- 这里是自定义列 -->
{{ row.status == 1 ? '正常' : '禁用'}}
</template>
</vxe-grid>
</div>
</a-tab-pane>
<a-tab-pane key="2" tab="结余日志" force-render>
<ZkTableList
ref="ZkTableList"
:ListUrl="this.BalanceLogSearch" :ListUrlData="this.zkSelectData"
@ -118,8 +112,9 @@
:dataId="dataId"
:ListFieldName="this.zkSelectDataFieldName">
</ZkTableList>
</a-tab-pane>
</a-tabs>
</div>
</div>
</template>