From fd9b8bf7e84a7fdeaa0c91ce06f58db20d339e78 Mon Sep 17 00:00:00 2001 From: pengm <674192343@qq.com> Date: Fri, 27 Jun 2025 17:02:03 +0800 Subject: [PATCH] 1.新报价的盒型选择增加多语言翻译 --- src/components/QuickQuote/index.jsx | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/src/components/QuickQuote/index.jsx b/src/components/QuickQuote/index.jsx index 7de22b5..573d03a 100644 --- a/src/components/QuickQuote/index.jsx +++ b/src/components/QuickQuote/index.jsx @@ -2587,17 +2587,22 @@ const BoxModelSelectedModal = props => { const [boxData, setBoxData] = useState([]); const [treeClassName, setTreeClassName] = useState(""); const [boxTypeSelected, setBoxTypeSelected] = useState("全部"); + const UniqueID = commonFunc.showLocalMessage(props, 'UniqueID', '唯一ID'); + const sName = commonFunc.showLocalMessage(props, 'jurCon', '名称'); + const KnifeLineChart = commonFunc.showLocalMessage(props, 'KnifeLineChart', '刀线图'); + const ThreeDGraph = commonFunc.showLocalMessage(props, '3DGraph', '3D图'); + const BtnOperations = commonFunc.showLocalMessage(props, 'BtnOperations', '操作'); useEffect(() => { const boxList = [ - ["sId", "唯一ID"], + ["sId", UniqueID], ["iOrder", "#", 60], // ["sBoxId", "盒型ID"], - ["sName", "名称", 119], - ["sPackDetailPathUpLoad", "刀线图", 300], + ["sName", sName, 119], + ["sPackDetailPathUpLoad", KnifeLineChart, 300], // ["sPackDetailPathUpLoad", "刀线图", 300], - ["sPackPath", "3D图", 300], - ["operation", "操作", 80], + ["sPackPath", ThreeDGraph, 300], + ["operation", BtnOperations, 80], ]; const config = { sId: commonUtils.createSid(), @@ -2772,16 +2777,17 @@ const BoxModelSelectedModal = props => { }); }, }; - + const BoxSelection = commonFunc.showLocalMessage(props, 'Box-TypeSelection', '盒型选择'); + const BtnClose = commonFunc.showLocalMessage(props, 'BtnClose', '关闭'); return ( - 关闭 + {BtnClose} } > -- libgit2 0.22.2