|
@@ -36,7 +36,7 @@
|
|
|
<el-option
|
|
|
v-for="item in searchOptions"
|
|
|
:key="item.EdbInfoId"
|
|
|
- :label="item.EdbName"
|
|
|
+ :label="currentLang==='en'?(item.EdbNameEn||item.EdbName):item.EdbName"
|
|
|
:value="item.EdbInfoId"
|
|
|
:disabled="!item.HaveOperaAuth"
|
|
|
>
|
|
@@ -83,6 +83,14 @@
|
|
|
</el-form-item>
|
|
|
<el-form-item :label="$t('ToolBox.CommodityPriceChart.chart_name')" prop="ChartName">
|
|
|
<el-input
|
|
|
+ v-if="currentLang==='en'"
|
|
|
+ v-model="chartInfo.ChartNameEn"
|
|
|
+ style="width: 90%"
|
|
|
+ :placeholder="$t('Dialog.require_vaild')"
|
|
|
+ clearable
|
|
|
+ />
|
|
|
+ <el-input
|
|
|
+ v-else
|
|
|
v-model="chartInfo.ChartName"
|
|
|
style="width: 90%"
|
|
|
:placeholder="$t('Dialog.require_vaild')"
|
|
@@ -286,7 +294,7 @@ export default {
|
|
|
ProfitNameEn: DataResp.ProfitNameEn,
|
|
|
ProfitName: DataResp.ProfitName,
|
|
|
} : {
|
|
|
- ...ChartInfo,
|
|
|
+ ...ChartInfo,
|
|
|
classify: ChartInfo.ChartClassifyId,
|
|
|
futures_id: BarChartInfo.EdbInfoIdList.find(_ => _.Source===2).EdbInfoId
|
|
|
};
|
|
@@ -482,7 +490,7 @@ export default {
|
|
|
|
|
|
let public_param = {
|
|
|
ChartClassifyId: this.chartInfo.classify || 0,
|
|
|
- ChartName: this.chartInfo.ChartName,
|
|
|
+ ChartName: this.currentLang==='en'?this.chartInfo.ChartNameEn:this.chartInfo.ChartName,
|
|
|
ChartType:8,
|
|
|
DateType: 6,
|
|
|
}
|