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