| | |
| | | /** 列表的字段 */ |
| | | export function useGridColumns(): VxeTableGridOptions<MesProPalletApi.Pallet>['columns'] { |
| | | return [ |
| | | { type: 'checkbox', width: 50 }, |
| | | { |
| | | field: 'code', |
| | | title: '托盘码', |
| | | fixed: 'left', |
| | | minWidth: 210, |
| | | slots: { default: 'code' }, |
| | | }, |
| | | { |
| | | field: 'palletNo', |
| | |
| | | field: 'batchCode', |
| | | title: '批次号', |
| | | minWidth: 190, |
| | | }, |
| | | { |
| | | field: 'capacity', |
| | | title: '可装袋数(袋/托盘)', |
| | | width: 150, |
| | | slots: { default: 'batchCode' }, |
| | | }, |
| | | { |
| | | field: 'bagCount', |
| | |
| | | }, |
| | | { |
| | | title: '操作', |
| | | width: 90, |
| | | width: 350, |
| | | fixed: 'right', |
| | | slots: { default: 'actions' }, |
| | | }, |