This commit is contained in:
zhaomeijing
2022-06-27 10:41:08 +08:00
parent 3494e0cc9a
commit dc3ba0d3db
4 changed files with 9 additions and 7 deletions
+1
View File
@@ -1018,6 +1018,7 @@ module.exports = {
Synchronizedatabase: 'Synchronize the data of the selected row to the database?', Synchronizedatabase: 'Synchronize the data of the selected row to the database?',
Aftersynchronization: 'After synchronization, the parameter items cannot be modified. Only the collection can be redistributed. The parameters have been updated', Aftersynchronization: 'After synchronization, the parameter items cannot be modified. Only the collection can be redistributed. The parameters have been updated',
FNumber: 'Number', FNumber: 'Number',
NNNiONumber: 'Number',
NNiONumber: 'NIO Number', NNiONumber: 'NIO Number',
NRequired: 'Is Must', NRequired: 'Is Must',
NParameterName: 'Params Name', NParameterName: 'Params Name',
+1
View File
@@ -1023,6 +1023,7 @@ module.exports = {
Synchronizedatabase: '是否同步选中行数据至上报库?', Synchronizedatabase: '是否同步选中行数据至上报库?',
Aftersynchronization: '同步后的参数项将不可修改,仅能重新下发收集,已更新参数', Aftersynchronization: '同步后的参数项将不可修改,仅能重新下发收集,已更新参数',
FNumber: '账号', FNumber: '账号',
NNNiONumber: 'NIO编号',
NNiONumber: 'NIO编号', NNiONumber: 'NIO编号',
NRequired: '是否必填', NRequired: '是否必填',
NParameterName: '参数名称', NParameterName: '参数名称',
@@ -236,13 +236,13 @@
<div class="title-text"> <div class="title-text">
<span class="Required">*</span> <span class="Required">*</span>
<span class="title-text-text" <span class="title-text-text"
:title="$t('NNiONumber')">{{$t('NNiONumber')}}</span> :title="$t('NNNiONumber')">{{$t('NNNiONumber')}}</span>
</div> </div>
<a-form-model-item class="itemModel"> <a-form-model-item class="itemModel">
<a-input class="box-input" <a-input class="box-input"
:disabled="disabled" :disabled="disabled"
v-model="item.paramsNumber" v-model="item.paramsNumber"
:placeholder="$t('PleaseEnter')+$t('NNiONumber')"/> :placeholder="$t('PleaseEnter')+$t('NNNiONumber')"/>
</a-form-model-item> </a-form-model-item>
</div> </div>
</a-col> </a-col>
@@ -251,7 +251,7 @@ export default {
let flag = 1 let flag = 1
this.paramsConfigEOList.forEach((item) => { this.paramsConfigEOList.forEach((item) => {
// 配置名称 // 配置名称
if(item.configName == ''){ if(item.configName.trim() == ''){
this.$message.warning(this.$t('configurationName')+this.$t('cannotEmpty')) this.$message.warning(this.$t('configurationName')+this.$t('cannotEmpty'))
flag = 0 flag = 0
return return
@@ -261,7 +261,7 @@ export default {
return return
} }
// 车型 // 车型
if(item.carType == ''){ if(item.carType.trim() == ''){
this.$message.warning(this.$t('Model')+this.$t('cannotEmpty')) this.$message.warning(this.$t('Model')+this.$t('cannotEmpty'))
flag = 0 flag = 0
return return
@@ -271,7 +271,7 @@ export default {
return return
} }
// 版本 // 版本
if(item.version == ''){ if(item.version.trim() == ''){
this.$message.warning(this.$t('Version')+this.$t('cannotEmpty')) this.$message.warning(this.$t('Version')+this.$t('cannotEmpty'))
flag = 0 flag = 0
return return
@@ -281,7 +281,7 @@ export default {
return return
} }
// 电池 // 电池
if(item.battery == ''){ if(item.battery.trim() == ''){
this.$message.warning(this.$t('Battery')+this.$t('cannotEmpty')) this.$message.warning(this.$t('Battery')+this.$t('cannotEmpty'))
flag = 0 flag = 0
return return
@@ -291,7 +291,7 @@ export default {
return return
} }
// 电机 // 电机
if(item.motor == ''){ if(item.motor.trim() == ''){
this.$message.warning(this.$t('electricMachinery')+this.$t('cannotEmpty')) this.$message.warning(this.$t('electricMachinery')+this.$t('cannotEmpty'))
flag = 0 flag = 0
return return