Commit 068a126e1fc0680280c9ced53b10ae212a3ad16b

Authored by Min
1 parent a72df219

1.完善工单工艺卡表单多页签标题的多语言翻译

src/components/Manufacture/CommonPackEvent.js
... ... @@ -1035,9 +1035,12 @@ const CommonPackEvent = props => {
1035 1035 <Tabs size="small" style={{ marginTop: 10, marginBottom: 12 }}>
1036 1036 {Object.keys(controlGroup).map(tabNameKey => {
1037 1037 console.log("eeee", tabNameKey);
1038   - const tabName = tabNameKey.replace(/\d+/g, "");
  1038 + let tabName = tabNameKey.replace(/\d+/g, "");
1039 1039 const num = tabNameKey.replace(/[^\d]/g, "").trim();
1040   -
  1040 + const tableConfigArr = config?.gdsconfigformslave.filter(row => row.sControlName === tabNameKey.trim());
  1041 + if(commonUtils.isNotEmptyArr(tableConfigArr)) {
  1042 + tabName =tableConfigArr[0].showName;
  1043 + }
1041 1044 const viewProps = {
1042 1045 ...props,
1043 1046 viewConfigs: controlGroup[tabNameKey],
... ...