Commit 41b5b5c4b034288ca81393aaf3d828e2863ee7a0
1 parent
5f218519
1.完善英文翻译
Showing
2 changed files
with
7 additions
and
5 deletions
src/components/Manufacture/CommonPackEvent.js
| ... | ... | @@ -1182,10 +1182,13 @@ const PartsInfoModal = props => { |
| 1182 | 1182 | }; |
| 1183 | 1183 | |
| 1184 | 1184 | const handleFooter = () => { |
| 1185 | + const BtnSure = commonFunc.showLocalMessage(props, "BtnSure", "确定"); | |
| 1186 | + const BtnSave = commonFunc.showLocalMessage(props, "BtnSave", "确定"); | |
| 1187 | + const BtnUpd= commonFunc.showLocalMessage(props, "BtnUpd", "修改"); | |
| 1185 | 1188 | if (props.enabled || props.masterData?.partsInfoLock) { |
| 1186 | 1189 | return [ |
| 1187 | 1190 | <Button type="primary" onClick={onCancel}> |
| 1188 | - 确定 | |
| 1191 | + {BtnSure} | |
| 1189 | 1192 | </Button>, |
| 1190 | 1193 | ]; |
| 1191 | 1194 | } |
| ... | ... | @@ -1196,7 +1199,7 @@ const PartsInfoModal = props => { |
| 1196 | 1199 | setEnabledNew(true); |
| 1197 | 1200 | }} |
| 1198 | 1201 | > |
| 1199 | - 修改 | |
| 1202 | + {BtnUpd} | |
| 1200 | 1203 | </Button>, |
| 1201 | 1204 | <Button |
| 1202 | 1205 | type="primary" |
| ... | ... | @@ -1205,7 +1208,7 @@ const PartsInfoModal = props => { |
| 1205 | 1208 | onCancel(); |
| 1206 | 1209 | }} |
| 1207 | 1210 | > |
| 1208 | - 保存 | |
| 1211 | + {BtnSave} | |
| 1209 | 1212 | </Button>, |
| 1210 | 1213 | ]; |
| 1211 | 1214 | }; |
| ... | ... | @@ -1481,7 +1484,6 @@ const ParamsChooseNewModal = props => { |
| 1481 | 1484 | |
| 1482 | 1485 | const BtnNext= commonFunc.showMessage(props.app.commonConst, 'BtnNext') || '下一条' ; |
| 1483 | 1486 | |
| 1484 | - const BtnSure = commonFunc.showMessage(props.app.commonConst, 'BtnSure') || '确定' ; | |
| 1485 | 1487 | |
| 1486 | 1488 | return props[modalName] ? ( |
| 1487 | 1489 | <AntdDraggableModal | ... | ... |
src/components/Manufacture/WorkOrderPack/WorkOrderPackTableTree.js
| ... | ... | @@ -9328,7 +9328,7 @@ const WorkOrderComponent = Form.create({ |
| 9328 | 9328 | >确定</Button> |
| 9329 | 9329 | } |
| 9330 | 9330 | > |
| 9331 | - <CommonPartsInfo {...props} /> | |
| 9331 | + 2212121212112<CommonPartsInfo {...props} /> | |
| 9332 | 9332 | </AntdDraggableModal> : '' |
| 9333 | 9333 | } |
| 9334 | 9334 | <ModalComponent {...props} /> | ... | ... |