| | |
| | | /** 待排产订单列表的字段 */ |
| | | export function useGridColumns(): VxeTableGridOptions<MesProWorkOrderApi.WorkOrder>['columns'] { |
| | | return [ |
| | | { type: 'checkbox', width: 48, fixed: 'left' }, |
| | | { |
| | | field: 'code', |
| | | title: '订单编码', |
| | |
| | | }, |
| | | }, |
| | | { |
| | | field: 'productionStatus', |
| | | title: '生产状态', |
| | | width: 100, |
| | | cellRender: { |
| | | name: 'CellDict', |
| | | props: { type: DICT_TYPE.ORDER_PRODUCTION_STATUS }, |
| | | }, |
| | | }, |
| | | { |
| | | field: 'quantity', |
| | | title: '订单数量', |
| | | width: 100, |
| | |
| | | slots: { default: 'progressPercent' }, |
| | | }, |
| | | { |
| | | field: 'clientCode', |
| | | title: '客户编码', |
| | | width: 120, |
| | | }, |
| | | { |
| | | field: 'clientName', |
| | | title: '客户名称', |
| | | width: 120, |
| | |
| | | |
| | | { |
| | | title: '操作', |
| | | width: 160, |
| | | width: 240, |
| | | fixed: 'right', |
| | | slots: { default: 'actions' }, |
| | | }, |