diff --git a/designer-base/src/main/java/com/fr/design/locale/impl/SupportLocaleImpl.java b/designer-base/src/main/java/com/fr/design/locale/impl/SupportLocaleImpl.java index 0373dad033..afb14633b5 100644 --- a/designer-base/src/main/java/com/fr/design/locale/impl/SupportLocaleImpl.java +++ b/designer-base/src/main/java/com/fr/design/locale/impl/SupportLocaleImpl.java @@ -1,5 +1,6 @@ package com.fr.design.locale.impl; +import com.fr.general.locale.LocaleConstants; import com.fr.general.locale.SupportLocale; import java.util.HashSet; @@ -169,6 +170,8 @@ public enum SupportLocaleImpl implements SupportLocale { set.add(Locale.KOREA); set.add(Locale.CHINA); set.add(Locale.TAIWAN); + set.add(LocaleConstants.IN_ID); + set.add(LocaleConstants.VI); return set; } } diff --git a/designer-realize/src/main/java/com/fr/design/actions/replace/utils/ReplaceUtils.java b/designer-realize/src/main/java/com/fr/design/actions/replace/utils/ReplaceUtils.java index 8d62f3c18d..b99f7ae363 100644 --- a/designer-realize/src/main/java/com/fr/design/actions/replace/utils/ReplaceUtils.java +++ b/designer-realize/src/main/java/com/fr/design/actions/replace/utils/ReplaceUtils.java @@ -39,6 +39,7 @@ import com.fr.form.ui.TreeEditor; import com.fr.form.ui.Widget; import com.fr.form.ui.concept.data.ValueInitializer; import com.fr.form.ui.tree.LayerConfig; +import com.fr.form.ui.tree.LayerDependence; import com.fr.general.ComparatorUtils; import com.fr.general.data.Condition; import com.fr.general.data.TableDataColumn; @@ -629,6 +630,9 @@ public class ReplaceUtils { layerConfig.setTableData(new NameTableData(entity.getNewName())); layerConfig.setViewColumn(entity.getTargetIndex(layerConfig.getViewColumn())); layerConfig.setModelColumn(entity.getTargetIndex(layerConfig.getModelColumn())); + for (LayerDependence dependence : layerConfig.getDependenceList()) { + dependence.setThisColumnIndex(entity.getTargetIndex(dependence.getThisColumnIndex())); + } } } ElementCaseHelper.replaceTableDataDictionary(layerConfig.getDictionary(), (NameTableData) layerConfig.getDictionary().getTableData(), entities);