Commit 8dff3662ee91065a0c0a6bac95d16a5a91272922
1 parent
c66b7f63
1.处理报价单选择的英文翻译
Showing
1 changed file
with
6 additions
and
1 deletions
src/components/QuickQuote/index.jsx
| ... | ... | @@ -3220,6 +3220,11 @@ const BoxModelSelectedModal = props => { |
| 3220 | 3220 | }; |
| 3221 | 3221 | const selectBoxList = boxData.filter(item => (boxTypeSelected === "全部" ? true : (item.sBoxType || "其它") === boxTypeSelected)); |
| 3222 | 3222 | const noImage = commonFunc.showLocalMessage(props, "ImpositionInformation", "暂无图片"); |
| 3223 | + let btnSelectTitle = commonFunc.showLocalMessage(props, "BtnSelect", "选择"); | |
| 3224 | + const sLanguage = props.app?.userinfo?.sLanguage; | |
| 3225 | + if(sLanguage === 'sEnglish') { | |
| 3226 | + btnSelectTitle = 'BtnSelect'; | |
| 3227 | + } | |
| 3223 | 3228 | const tableProps = { |
| 3224 | 3229 | ...commonBusiness.getTableTypes("box", { |
| 3225 | 3230 | ...props, |
| ... | ... | @@ -3265,7 +3270,7 @@ const BoxModelSelectedModal = props => { |
| 3265 | 3270 | }); |
| 3266 | 3271 | }} |
| 3267 | 3272 | > |
| 3268 | - 选择 | |
| 3273 | + {btnSelectTitle} | |
| 3269 | 3274 | </Button> |
| 3270 | 3275 | ); |
| 3271 | 3276 | }); | ... | ... |