Commit aa85b7b6 authored by rencs's avatar rencs

8.26 公司、门店icon

parent 133574aa
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
class="filter-item" class="filter-item"
type="primary" type="primary"
v-waves v-waves
icon="search" icon="el-icon-search"
@click="handleFilter" @click="handleFilter"
>搜索</el-button> >搜索</el-button>
</el-row> </el-row>
......
...@@ -56,7 +56,11 @@ ...@@ -56,7 +56,11 @@
</el-form> </el-form>
</div> </div>
<el-table :key="tableKey" :data="list" border fit highlight-current-row style="width: 100%;"> <el-table :key="tableKey" :data="list" border fit highlight-current-row style="width: 100%;">
<el-table-column align="center" label="序号" type="index" width="100"></el-table-column> <el-table-column align="center" label="序号" type="index" width="100">
<template slot-scope="scope">
<span>{{(listQuery.page - 1) * listQuery.limit + scope.$index + 1}}</span>
</template>
</el-table-column>
<el-table-column align="center" label="门店全称" prop="name"></el-table-column> <el-table-column align="center" label="门店全称" prop="name"></el-table-column>
<el-table-column align="center" label="门店简称" prop="shortName"></el-table-column> <el-table-column align="center" label="门店简称" prop="shortName"></el-table-column>
<el-table-column align="center" label="状态" prop="legalPerson"> <el-table-column align="center" label="状态" prop="legalPerson">
...@@ -510,6 +514,7 @@ export default { ...@@ -510,6 +514,7 @@ export default {
}); });
}, },
edit_item(row) { edit_item(row) {
console.log(row);
this.store_form = { this.store_form = {
id: row.id, id: row.id,
name: row.name, name: row.name,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment