| | |
| | | /** 列表的搜索表单 */ |
| | | export function useGridFormSchema(): VbenFormSchema[] { |
| | | return [ |
| | | { fieldName: 'businessCode', label: '业务码', component: 'Input', componentProps: { allowClear: true, placeholder: '请输入出入库业务码' } }, |
| | | { |
| | | fieldName: 'code', |
| | | label: '托盘码', |
| | |
| | | export function useGridColumns(): VxeTableGridOptions<MesProPalletApi.Pallet>['columns'] { |
| | | return [ |
| | | { type: 'checkbox', width: 50 }, |
| | | { field: 'businessCode', title: '业务码(出入库)', minWidth: 210 }, |
| | | { |
| | | field: 'code', |
| | | title: '托盘码', |
| | |
| | | minWidth: 210, |
| | | slots: { default: 'code' }, |
| | | }, |
| | | { field: 'itemName', title: '品种名称', minWidth: 150 }, |
| | | { field: 'itemCode', title: '品种编码', minWidth: 150 }, |
| | | { |
| | | field: 'palletNo', |
| | | title: '托盘序号', |
| | |
| | | slots: { default: 'batchCode' }, |
| | | }, |
| | | { |
| | | field: 'capacity', |
| | | title: '可装袋数(袋/托盘)', |
| | | width: 150, |
| | | }, |
| | | { |
| | | field: 'bagCount', |
| | | title: '已绑袋码数量', |
| | | width: 120, |
| | | }, |
| | | { field: 'inboundTime', title: '入库状态', width: 100, formatter: ({ cellValue }) => cellValue ? '已入库' : '未入库' }, |
| | | { |
| | | field: 'status', |
| | | title: '托盘状态', |