From 542c3fcc09072de631a3082086eebb2ae0bd7da9 Mon Sep 17 00:00:00 2001 From: songguoqiang <765017469@qq.com> Date: Mon, 27 May 2024 20:05:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../productionManage/productionplan/productionMain/index.vue | 3 +++ .../productionplan/productionMainAssemble/index.vue | 3 +++ .../productionplan/productionMainAssembleSparePart/index.vue | 3 +++ .../productionplan/productionMainPredictSparePart/index.vue | 3 +++ .../purchasereturnRequestMain.data.ts | 3 ++- 5 files changed, 14 insertions(+), 1 deletion(-) diff --git a/src/views/wms/productionManage/productionplan/productionMain/index.vue b/src/views/wms/productionManage/productionplan/productionMain/index.vue index 12656ca59..3e660ccc2 100644 --- a/src/views/wms/productionManage/productionplan/productionMain/index.vue +++ b/src/views/wms/productionManage/productionplan/productionMain/index.vue @@ -508,6 +508,9 @@ const searchFormClick = (searchData) => { /** 初始化 **/ onMounted(async () => { + tableObject.params = { + planType: 'predict' + } getList() importTemplateData.templateUrl = await ProductionMainApi.importTemplate() }) diff --git a/src/views/wms/productionManage/productionplan/productionMainAssemble/index.vue b/src/views/wms/productionManage/productionplan/productionMainAssemble/index.vue index ce49b644d..3462032e1 100644 --- a/src/views/wms/productionManage/productionplan/productionMainAssemble/index.vue +++ b/src/views/wms/productionManage/productionplan/productionMainAssemble/index.vue @@ -496,6 +496,9 @@ const searchFormClick = (searchData) => { /** 初始化 **/ onMounted(async () => { + tableObject.params = { + planType: 'assemble' + } getList() importTemplateData.templateUrl = await ProductionMainApi.importTemplate() }) diff --git a/src/views/wms/productionManage/productionplan/productionMainAssembleSparePart/index.vue b/src/views/wms/productionManage/productionplan/productionMainAssembleSparePart/index.vue index b7d650c64..be74c214c 100644 --- a/src/views/wms/productionManage/productionplan/productionMainAssembleSparePart/index.vue +++ b/src/views/wms/productionManage/productionplan/productionMainAssembleSparePart/index.vue @@ -495,6 +495,9 @@ const searchFormClick = (searchData) => { /** 初始化 **/ onMounted(async () => { + tableObject.params = { + planType: 'assembleSparePart' + } getList() importTemplateData.templateUrl = await ProductionMainApi.importTemplate() }) diff --git a/src/views/wms/productionManage/productionplan/productionMainPredictSparePart/index.vue b/src/views/wms/productionManage/productionplan/productionMainPredictSparePart/index.vue index dc69b39e1..8e1b43a96 100644 --- a/src/views/wms/productionManage/productionplan/productionMainPredictSparePart/index.vue +++ b/src/views/wms/productionManage/productionplan/productionMainPredictSparePart/index.vue @@ -496,6 +496,9 @@ const searchFormClick = (searchData) => { /** 初始化 **/ onMounted(async () => { + tableObject.params = { + planType: 'predictSparePart' + } getList() importTemplateData.templateUrl = await ProductionMainApi.importTemplate() }) diff --git a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/purchasereturnRequestMain.data.ts b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/purchasereturnRequestMain.data.ts index 1f7a017d5..fa9ea5ee8 100644 --- a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/purchasereturnRequestMain.data.ts +++ b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/purchasereturnRequestMain.data.ts @@ -1337,7 +1337,8 @@ export const PurchasereReturnRequestDetailLabel = useCrudSchemas(reactive