Commit 1b56d7d30cbe238be85f4cc9d17d4600220e554d
1 parent
f0e1def4
1.翻译清空 提示
Showing
3 changed files
with
5 additions
and
5 deletions
src/components/Common/CommonComponent/index.js
| @@ -709,7 +709,7 @@ export default class CommonComponent extends Component { | @@ -709,7 +709,7 @@ export default class CommonComponent extends Component { | ||
| 709 | this.handleSelectOptionEvent(''); | 709 | this.handleSelectOptionEvent(''); |
| 710 | }} | 710 | }} |
| 711 | > | 711 | > |
| 712 | - 清空 | 712 | + Clear |
| 713 | </Button>) | 713 | </Button>) |
| 714 | } | 714 | } |
| 715 | {this.props.showConfig.bNewRecord && ( | 715 | {this.props.showConfig.bNewRecord && ( |
| @@ -754,7 +754,7 @@ export default class CommonComponent extends Component { | @@ -754,7 +754,7 @@ export default class CommonComponent extends Component { | ||
| 754 | const { userinfo } = app; | 754 | const { userinfo } = app; |
| 755 | let { sTableTitleSql } = showConfig; | 755 | let { sTableTitleSql } = showConfig; |
| 756 | /* 根据用户配置语言 设置表格标题 */ | 756 | /* 根据用户配置语言 设置表格标题 */ |
| 757 | - console.log('2122', showConfig); | 757 | + |
| 758 | if (commonUtils.isJSON(sTableTitleSql) && sTableTitleSql.includes('Chinese')) { | 758 | if (commonUtils.isJSON(sTableTitleSql) && sTableTitleSql.includes('Chinese')) { |
| 759 | sTableTitleSql = this.getLocalizedString(sTableTitleSql, userinfo.sLanguage); | 759 | sTableTitleSql = this.getLocalizedString(sTableTitleSql, userinfo.sLanguage); |
| 760 | } | 760 | } |
src/components/Common/CommonTable/index.js
| @@ -11896,10 +11896,10 @@ const useCommonTableEvent = props => { | @@ -11896,10 +11896,10 @@ const useCommonTableEvent = props => { | ||
| 11896 | 11896 | ||
| 11897 | const handleMoveLine = ({ index, direction }) => { | 11897 | const handleMoveLine = ({ index, direction }) => { |
| 11898 | if (direction === "up" && index === 0) { | 11898 | if (direction === "up" && index === 0) { |
| 11899 | - message.error("当前已是首行,无法上移!"); | 11899 | + message.error("Top row reached. Cannot move up!"); |
| 11900 | return; | 11900 | return; |
| 11901 | } else if (direction === "down" && index === data.length - 1) { | 11901 | } else if (direction === "down" && index === data.length - 1) { |
| 11902 | - message.error("当前已是末行,无法下移!"); | 11902 | + message.error("Bottom row reached. Cannot move down!"); |
| 11903 | return; | 11903 | return; |
| 11904 | } | 11904 | } |
| 11905 | 11905 |
src/mes/common/commonModelComponent/index.js
| @@ -1395,7 +1395,7 @@ const CommonModelComponent = props => { | @@ -1395,7 +1395,7 @@ const CommonModelComponent = props => { | ||
| 1395 | const sTabTip = sEnglishTabName !== sTabName ? | 1395 | const sTabTip = sEnglishTabName !== sTabName ? |
| 1396 | sEnglishTabName + '-' + sTabName : sTabNewName; /* 悬浮提示 英文-中文 */ | 1396 | sEnglishTabName + '-' + sTabName : sTabNewName; /* 悬浮提示 英文-中文 */ |
| 1397 | 1397 | ||
| 1398 | - console.log('sTabNewName', sTabNewName); | 1398 | + |
| 1399 | 1399 | ||
| 1400 | if (sTabName === "拼接列表" && sName === "slaveWypj3") { | 1400 | if (sTabName === "拼接列表" && sName === "slaveWypj3") { |
| 1401 | // 特殊处理:拼接详情可保存时,拼接列表tab不可点击 | 1401 | // 特殊处理:拼接详情可保存时,拼接列表tab不可点击 |