|
@@ -0,0 +1,75 @@
|
|
|
+<template>
|
|
|
+ <div class="app-container">
|
|
|
+ <div class="filter-container">
|
|
|
+ <el-button type="primary">新增</el-button>
|
|
|
+ </div>
|
|
|
+ <el-table
|
|
|
+ :data="tableData"
|
|
|
+ border
|
|
|
+ style="width: 100%"
|
|
|
+ class="center">
|
|
|
+ <el-table-column prop="name" label="名称" align="center"></el-table-column>
|
|
|
+ <el-table-column prop="work" label="工作单位" align="center"></el-table-column>
|
|
|
+ <el-table-column prop="nature" label="工作性质" align="center"></el-table-column>
|
|
|
+ <el-table-column prop="scale" label="单位规模" align="center" ></el-table-column>
|
|
|
+ <el-table-column prop="address" label="单位地址" align="center"></el-table-column>
|
|
|
+ <el-table-column prop="phone" label="电话" align="center"></el-table-column>
|
|
|
+ <el-table-column prop="invoice" label="发票名称" align="center"></el-table-column>
|
|
|
+ <el-table-column prop="taxpayer" label="纳税人识别号" align="center"></el-table-column>
|
|
|
+ <el-table-column prop="invoicing_address" label="开票地址" align="center"></el-table-column>
|
|
|
+ <el-table-column prop="account_phone" label="开户电话" align="center"></el-table-column>
|
|
|
+ <el-table-column prop="account__address" label="开户行地址" align="center"></el-table-column>
|
|
|
+ <el-table-column prop="invoice_bankAccount" label="发票银行账号" align="center"></el-table-column>
|
|
|
+ <el-table-column prop="remake" label="备注" align="center" ></el-table-column>
|
|
|
+ <el-table-column fixed="right" label="操作" align="center">
|
|
|
+ <template scope="scope">
|
|
|
+ <el-button @click="handleClick(scope.row)" type="text" size="small">查看</el-button>
|
|
|
+ <el-button type="text" size="small">编辑</el-button>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script>
|
|
|
+ export default {
|
|
|
+ methods: {
|
|
|
+ handleClick(row) {
|
|
|
+ console.log(row);
|
|
|
+ }
|
|
|
+ },
|
|
|
+
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ tableData: [{
|
|
|
+ address: '上海市普陀区金沙江路 1518',
|
|
|
+ name: '1001',
|
|
|
+ nature: '上海',
|
|
|
+ scale: '普陀区',
|
|
|
+ work: '上海市普陀区金沙江路 1518 ',
|
|
|
+ phone: '13456789856',
|
|
|
+ invoice: '11111',
|
|
|
+ taxpayer: '',
|
|
|
+ invoicing_address: '',
|
|
|
+ account_phone: '',
|
|
|
+ account__address: '',
|
|
|
+ invoice_bankAccount: '',
|
|
|
+ remake: ''
|
|
|
+ }]
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+</script>
|
|
|
+
|
|
|
+<style scoped>
|
|
|
+.center {
|
|
|
+ text-align: center
|
|
|
+}
|
|
|
+.app-container {
|
|
|
+ padding: 20px;
|
|
|
+}
|
|
|
+.filter-container {
|
|
|
+ text-align: left;
|
|
|
+ margin-bottom: 20px;
|
|
|
+}
|
|
|
+</style>
|