| | |
| | | size='middle' |
| | | bordered |
| | | rowKey='id' |
| | | :scroll='{x:true}' |
| | | :scroll="{ x: 'calc(1400px + 50%)', y: 900 }" |
| | | :columns='columns' |
| | | :dataSource='dataSource' |
| | | :pagination='ipagination' |
| | |
| | | title: '备件编码', |
| | | align: 'center', |
| | | dataIndex: 'spareNum', |
| | | width: 150 |
| | | }, |
| | | { |
| | | title: '备件名称', |
| | | align: 'center', |
| | | dataIndex: 'spareName', |
| | | width: 150 |
| | | |
| | | }, |
| | | { |
| | | title: '规格', |
| | | align: 'center', |
| | | dataIndex: 'specification', |
| | | width: 130 |
| | | |
| | | }, |
| | | { |
| | | title: '型号', |
| | | align: 'center', |
| | | dataIndex: 'model', |
| | | width: 150 |
| | | |
| | | }, |
| | | { |
| | | title: '主单位', |
| | | align: 'center', |
| | | dataIndex: 'mainUnitIdName', |
| | | width: 100 |
| | | |
| | | }, |
| | | { |
| | | title: '主数量', |
| | | align: 'center', |
| | | dataIndex: 'mainQuantity', |
| | | width: 100 |
| | | |
| | | }, |
| | | { |
| | | title: '辅单位', |
| | | align: 'center', |
| | | dataIndex: 'auxiliaryUnitIdName', |
| | | width: 100 |
| | | |
| | | }, |
| | | { |
| | | title: '辅数量', |
| | | align: 'center', |
| | | dataIndex: 'auxiliaryQuantity', |
| | | width: 100 |
| | | |
| | | }, |
| | | { |
| | | title: '领用数量', |
| | | align: 'center', |
| | | dataIndex: 'receiveMainQuantity', |
| | | width: 100 |
| | | } |
| | | ], |
| | | url: { |
| | |
| | | } |
| | | }, |
| | | methods: { |
| | | /* clearList() { |
| | | clearList() { |
| | | this.dataSource = [] |
| | | this.selectedRowKeys = [] |
| | | this.ipagination.current = 1 |
| | | },*/ |
| | | }, |
| | | |
| | | loadData(arg) { |
| | | if (!this.url.list) { |