Commit a76375b0323aa2c07cf53e3323a37c21ab2bcc0d
1 parent
daaa36cc
1.处理拼版信息界面的多语言翻译
Showing
1 changed file
with
4 additions
and
2 deletions
src/components/Common/MakeUpPDF/index.js
| @@ -226,6 +226,8 @@ const MakeUpPDF = baseProps => { | @@ -226,6 +226,8 @@ const MakeUpPDF = baseProps => { | ||
| 226 | }; | 226 | }; |
| 227 | 227 | ||
| 228 | const tabsConfig = masterConfig.gdsconfigformslave.filter(item => item.sName && item.bVisible && item.sControlName); | 228 | const tabsConfig = masterConfig.gdsconfigformslave.filter(item => item.sName && item.bVisible && item.sControlName); |
| 229 | + const tabOrderInfomation = commonFunc.showLocalMessage(props, "tabOrderInfomation", "订单信息"); | ||
| 230 | + const tabPlatemakingProgress = commonFunc.showLocalMessage(props, "tabPlatemakingProgress", "拼版进度"); | ||
| 229 | 231 | ||
| 230 | return ( | 232 | return ( |
| 231 | <AntdDraggableModal | 233 | <AntdDraggableModal |
| @@ -270,8 +272,8 @@ const MakeUpPDF = baseProps => { | @@ -270,8 +272,8 @@ const MakeUpPDF = baseProps => { | ||
| 270 | ), | 272 | ), |
| 271 | }} | 273 | }} |
| 272 | items={[ | 274 | items={[ |
| 273 | - { label: "订单信息", key: "100", children: <SlaveComponent {...props} /> }, | ||
| 274 | - { label: "拼板进度", key: "200", children: <ProcessComponent {...props} /> }, | 275 | + { label: tabOrderInfomation, key: "100", children: <SlaveComponent {...props} /> }, |
| 276 | + { label: tabPlatemakingProgress, key: "200", children: <ProcessComponent {...props} /> }, | ||
| 275 | ...tabsConfig.map((config, index) => { | 277 | ...tabsConfig.map((config, index) => { |
| 276 | const { showName, sName } = config; | 278 | const { showName, sName } = config; |
| 277 | const fileUrl = masterData[sName]; | 279 | const fileUrl = masterData[sName]; |