From ff6c4372decb5d9201971b29847fc2261978a238 Mon Sep 17 00:00:00 2001 From: yufei_wang <2267742828@qq.com> Date: Mon, 23 Dec 2024 19:16:59 +0800 Subject: [PATCH] =?UTF-8?q?-=E6=9B=B4=E6=96=B0=E8=A6=81=E8=B4=A7=E9=A2=84?= =?UTF-8?q?=E6=B5=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../demandforecastingMain/demandforecastingMain.data.ts | 8 ++++---- .../supplierdeliver/demandforecastingMain/index.vue | 2 ++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts b/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts index d6bca2d43..bb061cc19 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts @@ -531,7 +531,7 @@ export const UpdateMain = useCrudSchemas(reactive([ }, }, { - label: '供应商代码', + label: '按供应商更新', field: 'supplierCode', sort: 'custom', table: { @@ -544,7 +544,7 @@ export const UpdateMain = useCrudSchemas(reactive([ multiple: true, enterSearch:false, isSearchList: false, // 开启查询弹窗 - searchListPlaceholder: '填写供应商代码(填写多个供应商)', // 输入框占位文本 + searchListPlaceholder: t(`ts.${'填写供应商代码(填写多个供应商)'}`), // 输入框占位文本 searchField: 'supplierCode', // 查询弹窗赋值字段 searchTitle: '供应商信息', // 查询弹窗标题 searchAllSchemas: Supplier1.allSchemas, // 查询弹窗所需类 @@ -567,7 +567,7 @@ export const UpdateMain = useCrudSchemas(reactive([ } }, { - label: '物料代码', + label: '按物料更新', field: 'itemCode', sort: 'custom', isForm: true, @@ -579,7 +579,7 @@ export const UpdateMain = useCrudSchemas(reactive([ multiple: true, enterSearch:false, isSearchList: false, // 开启查询弹窗 - searchListPlaceholder: '填写物料号(填写多个物料号)', // 输入框占位文本 + searchListPlaceholder: t(`ts.${'填写物料号(填写多个物料号)'}`), // 输入框占位文本 searchField: 'itemCode', // 查询弹窗赋值字段 searchTitle: '物料基础信息', // 查询弹窗标题 searchAllSchemas: Supplieritem.allSchemas, // 查询弹窗所需类 diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/index.vue b/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/index.vue index 272861361..9fb23d0ef 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/index.vue +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/index.vue @@ -282,6 +282,8 @@ const updateDemandforecaste = async (formType,data)=>{ try { let res = await DemandforecastingMainApi.updateDemandforecaste(submitData) console.log('更新结果',res) + message.success(t('更新成功')) + updateFormRef.value.dialogVisible = false } finally{ updateFormRef.value.formLoading = false }