| | |
| | | disabled: isHeaderReadonly(formType), |
| | | format: 'YYYY-MM-DD', |
| | | placeholder: '请选择出库日期', |
| | | valueFormat: 'x', |
| | | valueFormat: 'YYYY-MM-DD', |
| | | }, |
| | | rules: 'required', |
| | | }, |
| | |
| | | ): VxeTableGridOptions<MesWmProductSalesDetailApi.ProductSalesDetail>['columns'] { |
| | | return [ |
| | | { |
| | | field: 'itemName', |
| | | title: '物料', |
| | | minWidth: 140, |
| | | }, |
| | | { |
| | | field: 'batchCode', |
| | | title: '批次号', |
| | | minWidth: 130, |
| | | }, |
| | | { |
| | | field: 'bagCodeId', |
| | | title: '扫码来源', |
| | | minWidth: 110, |
| | | formatter: ({ row }) => |
| | | row.palletCodeId ? `托盘码 #${row.palletCodeId}` : row.bagCodeId ? `袋码 #${row.bagCodeId}` : '手工拣货', |
| | | }, |
| | | { |
| | | field: 'warehouseName', |
| | | title: '仓库名称', |
| | | minWidth: 100, |