| | |
| | | import type { VbenFormApi, VbenFormSchema } from '#/adapter/form'; |
| | | import type { VbenFormApi, VbenFormSchema } from '#/adapter/form'; |
| | | import type { VxeTableGridOptions } from '#/adapter/vxe-table'; |
| | | import type { MesProWorkOrderApi } from '#/api/mes/pro/workorder'; |
| | | import type { MesProWorkOrderBomApi } from '#/api/mes/pro/workorder/bom'; |
| | |
| | | disabled: headerReadonly, |
| | | format: 'YYYY-MM-DD', |
| | | placeholder: '请选择需求日期', |
| | | valueFormat: 'x', |
| | | valueFormat: 'YYYY-MM-DD', |
| | | }, |
| | | rules: 'required', |
| | | }, |
| | |
| | | name: 'CellDict', |
| | | props: { type: DICT_TYPE.MES_PRO_WORK_ORDER_STATUS }, |
| | | }, |
| | | }, |
| | | { |
| | | field: 'productionStatus', |
| | | title: '生产状态', |
| | | width: 100, |
| | | cellRender: { |
| | | name: 'CellDict', |
| | | props: { type: DICT_TYPE.ORDER_PRODUCTION_STATUS }, |
| | | }, |
| | | }, |
| | | { |
| | | field: 'processProgressList', |
| | | title: '工序生产进度', |
| | | width: 350, |
| | | slots: { default: 'processProgressList' }, |
| | | }, |
| | | { |
| | | field: 'completionProgress', |
| | | title: '完成进度', |
| | | width: 200, |
| | | slots: { default: 'completionProgress' }, |
| | | }, |
| | | { |
| | | field: 'createTime', |
| | |
| | | slots: { default: 'backflushFlag' }, |
| | | }, |
| | | { |
| | | field: 'outputItemCode', |
| | | title: '产出物料编码', |
| | | width: 120, |
| | | }, |
| | | { |
| | | field: 'outputItemName', |
| | | title: '产出物料名称', |
| | | width: 120, |
| | | field: 'outputItemNames', |
| | | title: '产出物料', |
| | | width: 160, |
| | | }, |
| | | { |
| | | field: 'remark', |