This commit is contained in:
chenjianan
2019-01-29 15:05:37 +08:00
parent 7004568afb
commit 547be03325

View File

@@ -77,12 +77,17 @@
<el-card>
<div style="display: inline-block;margin-bottom: 20px">供应商列表</div>
<el-table :data="List" highlight-current-row border style="width: 100%;max-height: 400px;" height="400" size="mini" @row-click="rowClick">
<el-table-column label="供应商名称" align="center" min-width="250">
<el-table :data="List" highlight-current-row border style="width: 100%;max-height: 600px;" height="600" size="mini" @row-click="rowClick">
<el-table-column label="供应商名称" align="center" min-width="350">
<template slot-scope="scope">
{{ scope.row.供应商名称 }}
</template>
</el-table-column>
<el-table-column label="主要产品" align="center" min-width="350">
<template slot-scope="scope">
{{ scope.row.主要产品 }}
</template>
</el-table-column>
<el-table-column label="开户行" align="center" width="250">
<template slot-scope="scope">
{{ scope.row.开户行 }}
@@ -425,6 +430,9 @@ export default {
}
}
},
mounted() {
this.fetchData()
},
methods: {
fetchData() {
this.List1 = []