fix(mes): 生产排产页放开写死的自行生产工单类型过滤
负荷预测生成的电力运维(type=4)工单在"生产排产"页不显示。
原因是排产页甘特图与订单列表查询固定传 type=SELF(1),
将 type≠1 的工单全部过滤掉。去掉该写死条件后,负荷预测
(电力运维/发电/检修)工单可正常进入生产排产页,后端无需改动。
Co-Authored-By: Claude <noreply@anthropic.com>
| | |
| | | import { useRouter } from 'vue-router'; |
| | | |
| | | import { Page, useVbenModal } from '@vben/common-ui'; |
| | | import { |
| | | MesProWorkOrderStatusEnum, |
| | | MesProWorkOrderTypeEnum, |
| | | } from '@vben/constants'; |
| | | import { MesProWorkOrderStatusEnum } from '@vben/constants'; |
| | | |
| | | import { Button, Card, message, Tabs } from 'ant-design-vue'; |
| | | |
| | |
| | | async function loadGanttPreview() { |
| | | ganttTasks.value = await getGanttTaskList({ |
| | | status: MesProWorkOrderStatusEnum.CONFIRMED, |
| | | type: MesProWorkOrderTypeEnum.SELF, |
| | | }); |
| | | } |
| | | |
| | |
| | | pageNo: page.currentPage, |
| | | pageSize: page.pageSize, |
| | | scheduleStatus, |
| | | type: MesProWorkOrderTypeEnum.SELF, |
| | | ...formValues, |
| | | }); |
| | | }, |