| | |
| | | @click='onClearSelected' |
| | | >清空</a> |
| | | </div> |
| | | |
| | | <!--X轴滑动 :scroll="{ x: 'calc(1400px + 50%)', y: 900 }"--> |
| | | <a-table |
| | | ref='table' |
| | | size='middle' |
| | | bordered |
| | | rowKey='id' |
| | | :scroll="{ x: 'calc(1400px + 50%)', y: 900 }" |
| | | :scroll="{ x: true }" |
| | | :columns='columns' |
| | | :dataSource='dataSource' |
| | | :pagination='ipagination' |
| | |
| | | :customRow='clickThenSelect' |
| | | @change='handleTableChange' |
| | | > |
| | | |
| | | <template slot="num" slot-scope="text" > |
| | | <a-tooltip placement="top" :title="text" trigger="hover"> |
| | | <div> |
| | | <template slot="title"> </template> |
| | | <p style="cusor:pointer; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; width: 130px;">{{ text }}</p> |
| | | </div> |
| | | </a-tooltip> |
| | | </template> |
| | | <!-- <span |
| | | slot='action' |
| | | slot-scope='text, record' |
| | |
| | | { |
| | | title: '单据号', |
| | | align: 'center', |
| | | dataIndex: 'num' |
| | | dataIndex: 'num', |
| | | scopedSlots: { customRender: 'num' }, |
| | | width: 100, |
| | | ellipsis: true, |
| | | }, |
| | | { |
| | | title: '创建人', |