From 32a830b595c0f3df3745aabcfa395d855225fb31 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sun, 29 Mar 2026 19:13:37 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(mes):=20=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E5=88=B0=E8=B4=A7=E9=80=9A=E7=9F=A5=E5=8D=95=E7=BC=96=E7=A0=81?= =?UTF-8?q?=E5=8F=8A=E7=9B=B8=E5=85=B3=E9=80=BB=E8=BE=91=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/mes/wm/arrivalnotice/ArrivalNoticeLineList.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/mes/wm/arrivalnotice/ArrivalNoticeLineList.vue b/src/views/mes/wm/arrivalnotice/ArrivalNoticeLineList.vue index 4134ed395..610c00be8 100644 --- a/src/views/mes/wm/arrivalnotice/ArrivalNoticeLineList.vue +++ b/src/views/mes/wm/arrivalnotice/ArrivalNoticeLineList.vue @@ -150,7 +150,7 @@ const handleDelete = async (id: number) => { const dialogVisible = ref(false) // 弹窗的是否展示 const dialogTitle = ref('') // 弹窗的标题 const formLoading = ref(false) // 表单的加载中 -const formType = ref('') // 表单的类型 +const dialogFormType = ref('') // 表单的类型 const itemList = ref([]) // 物料列表 const formData = ref({ id: undefined, @@ -174,7 +174,7 @@ const formRef = ref() // 表单 Ref const openForm = async (type: string, id?: number) => { dialogVisible.value = true dialogTitle.value = t('action.' + type) - formType.value = type + dialogFormType.value = type resetForm() itemList.value = await MdItemApi.getItemSimpleList() if (id) { @@ -193,7 +193,7 @@ const submitForm = async () => { formLoading.value = true try { const data = { ...formData.value, noticeId: props.noticeId } as unknown as WmArrivalNoticeLineVO - if (formType.value === 'create') { + if (dialogFormType.value === 'create') { await WmArrivalNoticeLineApi.createArrivalNoticeLine(data) message.success(t('common.createSuccess')) } else {