diff --git a/src/views/produce/workRecords/index.vue b/src/views/produce/workRecords/index.vue index 1d1b95a..080e7b3 100644 --- a/src/views/produce/workRecords/index.vue +++ b/src/views/produce/workRecords/index.vue @@ -148,11 +148,8 @@ import { useLoading } from '~/src/hooks'; import { getOutputLog } from '~/src/service/api/produre/workRecords/index'; import { formatDate } from '~/src/utils/form/rule'; import { useResetSearch } from '~/src/utils/common/searchReset'; -import { useSocketStore } from '@/store/modules/socket'; const { loading, startLoading, endLoading } = useLoading(); -const socketStore = useSocketStore(); - const { searchForm, reset } = useResetSearch({ taskSn: '', // 生产工单号 workstationId: null, // 机台 @@ -481,6 +478,8 @@ function selectTaskType(value: number) { function printTemp(row: any) { let printData = row.printObj; + // eslint-disable-next-line @typescript-eslint/ban-ts-comment + // @ts-ignore if (window.hiwebSocket?.opened) { if (!printData) { window.$message?.error('补打数据为空,不可打印!');