|
|
@ -1,5 +1,21 @@
|
|
|
|
<template>
|
|
|
|
<template>
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
|
|
|
|
<!-- <div style="display: flex">
|
|
|
|
|
|
|
|
<a-button size="large" class="editable-add-btn" @click="commodityVisible = true">
|
|
|
|
|
|
|
|
<a-icon type="plus"/>
|
|
|
|
|
|
|
|
新增商品
|
|
|
|
|
|
|
|
</a-button>
|
|
|
|
|
|
|
|
<a-input-search
|
|
|
|
|
|
|
|
placeholder="请输入商品名"
|
|
|
|
|
|
|
|
enter-button="搜索商品"
|
|
|
|
|
|
|
|
style="width: 400px;margin-left: 20px"
|
|
|
|
|
|
|
|
size="large"
|
|
|
|
|
|
|
|
@search="onSearch"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
<a-button style="margin-left: 10px" size="large" type="danger" @click="loadTableData">
|
|
|
|
|
|
|
|
重置
|
|
|
|
|
|
|
|
</a-button>
|
|
|
|
|
|
|
|
</div> -->
|
|
|
|
<a-table :loading="loading" :columns="columns" :data-source="data" :sortDirections="['ascend', 'descend']" rowKey="id" @change="tableChange" >
|
|
|
|
<a-table :loading="loading" :columns="columns" :data-source="data" :sortDirections="['ascend', 'descend']" rowKey="id" @change="tableChange" >
|
|
|
|
<a slot="name" slot-scope="text">{{ text }}</a>
|
|
|
|
<a slot="name" slot-scope="text">{{ text }}</a>
|
|
|
|
<span slot="customTitle"><a-icon type="smile-o"/> 用户邮件</span>
|
|
|
|
<span slot="customTitle"><a-icon type="smile-o"/> 用户邮件</span>
|
|
|
|