| | |
| | | let tableDataColSpan = []
|
| | | const customColSpanProps = (index) => {
|
| | | let count = tableDataColSpan[index];
|
| | | console.log(index + ' ----=====-->' + count)
|
| | | // console.log(index + ' ----=====-->' + count)
|
| | | if (count == null || count == undefined) {
|
| | | count = 0;
|
| | | }
|
| | | console.log(' ----=====-->' + count)
|
| | | // console.log(' ----=====-->' + count)
|
| | | return {
|
| | | rowSpan: count,
|
| | | };
|
| | |
| | | {
|
| | | title: formatMessage('db.man_wave.wave_no', '波次号'),
|
| | | dataIndex: 'waveNo',
|
| | | width: 140,
|
| | | width: 180,
|
| | | ellipsis: true,
|
| | | ...getColumnSearchProps('waveNo'),
|
| | | customCell: (_, index) => {
|
| | |
| | | {
|
| | | title: formatMessage('db.man_wave.waveType$', '类型'),
|
| | | dataIndex: 'waveType$',
|
| | | width: 140,
|
| | | width: 110,
|
| | | ellipsis: true,
|
| | | ...getColumnSearchProps('waveType$'),
|
| | | customCell: (_, index) => {
|
| | |
| | | {
|
| | | title: formatMessage('db.man_wave.waveStatus$', '状态'),
|
| | | dataIndex: 'waveStatus$',
|
| | | width: 140,
|
| | | width: 120,
|
| | | ellipsis: true,
|
| | | ...getColumnSearchProps('waveStatus$'),
|
| | | customCell: (_, index) => {
|
| | |
| | | {
|
| | | title: formatMessage('db.man_wave.matnr', '商品编号'),
|
| | | dataIndex: ['mat$', 'matnr'],
|
| | | width: 140,
|
| | | width: 180,
|
| | | ellipsis: true,
|
| | | ...getColumnSearchProps('matnr'),
|
| | | },
|
| | | {
|
| | | title: formatMessage('db.man_wave.maktx', '商品名称'),
|
| | | dataIndex: ['mat$', 'maktx'],
|
| | | width: 140,
|
| | | width: 180,
|
| | | ellipsis: true,
|
| | | ...getColumnSearchProps('maktx'),
|
| | | },
|
| | |
| | | })
|
| | |
|
| | | tableDataColSpan = colSpan;
|
| | | console.log('=========>');
|
| | | console.log(tmp)
|
| | | console.log(tableDataColSpan);
|
| | | // console.log('=========>');
|
| | | // console.log(tmp)
|
| | | // console.log(tableDataColSpan);
|
| | | tableData.value = tmp;
|
| | | state.loading = false;
|
| | | } else if (result.code === 401) {
|