master
吴普建 12 months ago
parent 1a9689c228
commit fd2ed07887

@ -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('补打数据为空,不可打印!');

Loading…
Cancel
Save