From 351883eed92e9e96cde15559862dd42f3a542c10 Mon Sep 17 00:00:00 2001 From: wangyufei <2267742828@qq.com> Date: Tue, 18 Jun 2024 16:24:35 +0800 Subject: [PATCH] bug --- .../containermanage/containerMainRequest/index.vue | 3 +++ .../containermanage/initialContainerMainRequest/index.vue | 3 +++ .../containermanage/scrapContainerMainRequest/index.vue | 3 +++ 3 files changed, 9 insertions(+) diff --git a/src/views/wms/inventoryjobManage/containermanage/containerMainRequest/index.vue b/src/views/wms/inventoryjobManage/containermanage/containerMainRequest/index.vue index 8fedb8070..d03824483 100644 --- a/src/views/wms/inventoryjobManage/containermanage/containerMainRequest/index.vue +++ b/src/views/wms/inventoryjobManage/containermanage/containerMainRequest/index.vue @@ -405,6 +405,9 @@ const buttonTableClick = async (val, row) => { /** 添加/修改操作 */ const basicFormRef = ref() const openForm = (type: string, row?: any) => { + if('create'==type){ + tableData.value = [] + } basicFormRef.value.open(type, row) } diff --git a/src/views/wms/inventoryjobManage/containermanage/initialContainerMainRequest/index.vue b/src/views/wms/inventoryjobManage/containermanage/initialContainerMainRequest/index.vue index ed7c68061..425e776f9 100644 --- a/src/views/wms/inventoryjobManage/containermanage/initialContainerMainRequest/index.vue +++ b/src/views/wms/inventoryjobManage/containermanage/initialContainerMainRequest/index.vue @@ -357,6 +357,9 @@ const buttonTableClick = async (val, row) => { /** 添加/修改操作 */ const basicFormRef = ref() const openForm = (type: string, row?: any) => { + if('create'==type){ + tableData.value = [] + } basicFormRef.value.open(type, row) } diff --git a/src/views/wms/inventoryjobManage/containermanage/scrapContainerMainRequest/index.vue b/src/views/wms/inventoryjobManage/containermanage/scrapContainerMainRequest/index.vue index c76c57e7e..84d9af692 100644 --- a/src/views/wms/inventoryjobManage/containermanage/scrapContainerMainRequest/index.vue +++ b/src/views/wms/inventoryjobManage/containermanage/scrapContainerMainRequest/index.vue @@ -380,6 +380,9 @@ const buttonTableClick = async (val, row) => { /** 添加/修改操作 */ const basicFormRef = ref() const openForm = (type: string, row?: any) => { + if('create'==type){ + tableData.value = [] + } basicFormRef.value.open(type, row) }