|
|
|
@ -136,6 +136,7 @@
|
|
|
|
import { ref, onMounted } from 'vue';
|
|
|
|
import { ref, onMounted } from 'vue';
|
|
|
|
import type { Ref } from 'vue';
|
|
|
|
import type { Ref } from 'vue';
|
|
|
|
import { hiprint } from 'vue-plugin-hiprint';
|
|
|
|
import { hiprint } from 'vue-plugin-hiprint';
|
|
|
|
|
|
|
|
import { useRoute } from 'vue-router'
|
|
|
|
import type { DataTableColumns } from 'naive-ui';
|
|
|
|
import type { DataTableColumns } from 'naive-ui';
|
|
|
|
import { getWorkbenchWiredrawingList } from '@/service/api/md/workbench/wiredrawing';
|
|
|
|
import { getWorkbenchWiredrawingList } from '@/service/api/md/workbench/wiredrawing';
|
|
|
|
import { getWorkbenchEnamellingList, getMdPrintData } from '@/service/api/md/workbench/enamelling';
|
|
|
|
import { getWorkbenchEnamellingList, getMdPrintData } from '@/service/api/md/workbench/enamelling';
|
|
|
|
@ -151,6 +152,7 @@ import { useResetSearch } from '~/src/utils/common/searchReset';
|
|
|
|
const { loading, startLoading, endLoading } = useLoading();
|
|
|
|
const { loading, startLoading, endLoading } = useLoading();
|
|
|
|
|
|
|
|
|
|
|
|
const { searchForm, reset } = useResetSearch({
|
|
|
|
const { searchForm, reset } = useResetSearch({
|
|
|
|
|
|
|
|
id: '',
|
|
|
|
taskSn: '', // 生产工单号
|
|
|
|
taskSn: '', // 生产工单号
|
|
|
|
workstationId: null, // 机台
|
|
|
|
workstationId: null, // 机台
|
|
|
|
taskType: 0, // 工单类型
|
|
|
|
taskType: 0, // 工单类型
|
|
|
|
@ -541,6 +543,12 @@ function init() {
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
onMounted(() => {
|
|
|
|
onMounted(() => {
|
|
|
|
|
|
|
|
const route = useRoute()
|
|
|
|
|
|
|
|
console.log("route", route)
|
|
|
|
|
|
|
|
if (route.query.id) {
|
|
|
|
|
|
|
|
console.log("route.query.id", route.query.id)
|
|
|
|
|
|
|
|
searchForm.value.id = route.query.id as string;
|
|
|
|
|
|
|
|
}
|
|
|
|
init();
|
|
|
|
init();
|
|
|
|
// getList();
|
|
|
|
// getList();
|
|
|
|
lsColumns.value = columns.value.filter((item: any) => !columnsFilterData.value.includes(item.key));
|
|
|
|
lsColumns.value = columns.value.filter((item: any) => !columnsFilterData.value.includes(item.key));
|
|
|
|
|