|
@@ -1,11 +1,18 @@
|
|
|
<template>
|
|
|
- <div>
|
|
|
- <el-button type="primary" round @click="Search()">DEBUG重请求</el-button>
|
|
|
+ <div class="app-container">
|
|
|
+ <div class="filter-container" style="margin: 10px 0 10px 0">
|
|
|
+
|
|
|
+ <el-input v-model="supplierName" style="width:65%;" placeholder="供应商名称" size="small" clearable />
|
|
|
+ <el-button class="filter-item" icon="el-icon-search" type="primary" plain @click="Search({supplierName:supplierName})">搜索</el-button>
|
|
|
+ <!-- <el-button type="primary" round @click="Search({supplierName:supplierName})">DEBUG重请求</el-button> -->
|
|
|
+ </div>
|
|
|
+
|
|
|
<el-table v-loading="loading" :data="tableData" border style="width: 100%">
|
|
|
<el-table-column type="selection" />
|
|
|
|
|
|
<el-table-column label="供应商编码" width="100" align="center" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
+ <!-- supplierCode -->
|
|
|
<span>{{ scope.row.supplierCode }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -154,6 +161,13 @@
|
|
|
<span>{{ scope.row.alertBalance }}</span>
|
|
|
</template>
|
|
|
</el-table-column> -->
|
|
|
+ <el-table-column label="操作" fixed="right" min-width="150" align="center">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-button type="text" icon="el-icon-edit" @click="handleEdit(scope.row)">至无效</el-button>
|
|
|
+ <el-button type="text" icon="el-icon-edit" @click="handleDelete(scope.row)">编辑</el-button>
|
|
|
+ <el-button type="text" icon="el-icon-delete" @click="handleDelete(scope.row)">删除</el-button>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
|
|
|
</el-table>
|
|
|
</div>
|
|
@@ -166,6 +180,7 @@ import api from '@/api/channel.js'
|
|
|
export default {
|
|
|
data() {
|
|
|
return {
|
|
|
+ supplierName: '',
|
|
|
tableData: []
|
|
|
}
|
|
|
},
|