From cbf59eaff186d91b084bbcca39c30457ff05c666 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E6=99=AE=E5=BB=BA?= <450837357@qq.com> Date: Fri, 20 Jun 2025 08:54:50 +0800 Subject: [PATCH] first --- src/typings/plan.d.ts | 1 + .../device/facilityKnowledgeBase/index.vue | 12 +-- src/views/device/repairForm/index.vue | 80 +++++++++---------- src/views/plan/produceOrder/index.vue | 4 + src/views/produce/workOrderArrange/index.vue | 2 +- src/views/sale/saleOrder/index.vue | 4 +- 6 files changed, 54 insertions(+), 49 deletions(-) diff --git a/src/typings/plan.d.ts b/src/typings/plan.d.ts index bac0836..a62c080 100644 --- a/src/typings/plan.d.ts +++ b/src/typings/plan.d.ts @@ -6,6 +6,7 @@ declare namespace planWorkOrder { total: number; orderType: number | null; model: string; + orderCode?: string; workorderCode: string; productSpecification: string; } diff --git a/src/views/device/facilityKnowledgeBase/index.vue b/src/views/device/facilityKnowledgeBase/index.vue index ce9b7a5..a0991a2 100644 --- a/src/views/device/facilityKnowledgeBase/index.vue +++ b/src/views/device/facilityKnowledgeBase/index.vue @@ -235,12 +235,12 @@ const columns: Ref> = ref([ tooltip: true } }, - { - title: '审批人', - align: 'center', - key: 'approveBy', - width: 100 - }, + // { + // title: '审批人', + // align: 'center', + // key: 'approveBy', + // width: 100 + // }, { title: '操作', align: 'center', diff --git a/src/views/device/repairForm/index.vue b/src/views/device/repairForm/index.vue index 32e9531..e2b3c36 100644 --- a/src/views/device/repairForm/index.vue +++ b/src/views/device/repairForm/index.vue @@ -17,18 +17,18 @@ - - - + + + + + + + + + + + + + + + @@ -352,6 +355,7 @@ const searchForm = ref({ pageSize: 10, total: 0, orderType: null, + orderCode: '', model: '', workorderCode: '', productSpecification: '' diff --git a/src/views/produce/workOrderArrange/index.vue b/src/views/produce/workOrderArrange/index.vue index e72654b..348f001 100644 --- a/src/views/produce/workOrderArrange/index.vue +++ b/src/views/produce/workOrderArrange/index.vue @@ -134,7 +134,7 @@ import { import { getStatusName } from '~/src/utils/common/workOrder'; import { formatDate } from '~/src/utils/form/rule'; const { loading, startLoading, endLoading } = useLoading(); -const title = ref('金属眼镜工单-所有'); +const title = ref('生产工单'); const router = useRouter(); // 工单状态 const workOrderStatusList = ref<{ label: string; value: number | undefined }[]>([ diff --git a/src/views/sale/saleOrder/index.vue b/src/views/sale/saleOrder/index.vue index 46604c5..54a5ec3 100644 --- a/src/views/sale/saleOrder/index.vue +++ b/src/views/sale/saleOrder/index.vue @@ -557,7 +557,7 @@ const columns: Ref> = ref([ '2': { label: '已排产', type: 'success' }, '3': { label: '生产中', type: 'warning' }, '4': { label: '已完成', type: 'success' }, - '5': { label: '已发货', type: 'success' }, + '5': { label: '已作废', type: 'error' }, '6': { label: '已驳回', type: 'error' }, '8': { label: '申请发货中', type: 'primary' }, '9': { label: '已通过待发货', type: 'success' }, @@ -652,7 +652,7 @@ const columns: Ref> = ref([ ) } - if(row.status === '4' || row.status === '5'){ + if(row.status === '4'){ actions.push( handleSend(row)}>申请发货