:show-header="false"表格属性设置成false,就可以隐藏表格头
<el-table :data="tableDatafeiliudong" border style="width: 100%" :show-header="false">
<template>
<div style="margin:0px 0px 0px 22px">
<div class = "kemubiao">
<el-button type="primary" size="small" @click="chages">科目表</el-button>
</div>
<el-table
@cell-click="tableDbEdit"
:data="tableData"
:span-method="objectSpanMethod"
border=""
stripe
:header-cell-style="{
'background-color': '#003F98',
'color':'#FFF',
'opacity': 0.7
}"
style="width: 100%; margin-top: 20px"
>
<el-table-column prop="ids" label="摘要">
<template slot-scope="scope">
<!-- 条件判断如果满足则显示表单,否则默认展示文字 -->
<el-input v-model="scope.row.ids" v-if="showInput == `ids${scope.row.id}`"
@blur='blurInput(scope.row.id,"ids",scope.row.ids)' v-focus :rows="18" type="textarea">
</el-input>
<p v-else>{
{scope.row.ids}}</p>
</template>
</el-table-column>
<el-table-column prop="amount1" label="会计科目">
<template slot-scope="scope">
<!-- 条件判断如果满足则显示表单,否则默认展示文字 -->