ota-升级活动备案-升级目标车型-表单
This commit is contained in:
+22
-22
@@ -10,7 +10,7 @@
|
||||
{{$t('templateDownload')}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<a-spin :spinning="confirmLoading">
|
||||
<a-form-model class="formAdd" ref="ruleForm" :model="form" :rules="rules">
|
||||
<a-row :gutter="24">
|
||||
@@ -20,7 +20,7 @@
|
||||
<span class="title-text-text" :title="$t('selectTheVehicleTemplate')">{{$t('selectTheVehicleTemplate')}}</span>
|
||||
</div>
|
||||
<a-form-model-item class="itemModel" prop="dutyTerritory">
|
||||
<a-select :disabled="disabled" class="box-input" v-model="form.cxmb" allowClear :placeholder="$t('PleaseSelect')" @change="update">
|
||||
<a-select :disabled="disabled" class="box-input" v-model="form.cxmb" allowClear :placeholder="$t('PleaseSelect')" @change="update">
|
||||
<a-select-option v-for="(item , key ) in selectListMb" :key="key" :value="item.id" >
|
||||
{{ item.cpdjbh }}
|
||||
</a-select-option>
|
||||
@@ -59,7 +59,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</a-col>
|
||||
|
||||
|
||||
<a-col :span="24">
|
||||
<div class="box-title-text-add">
|
||||
<div class="title-text-add plus">
|
||||
@@ -82,7 +82,7 @@
|
||||
</div>
|
||||
<a-form-model-item class="itemModel">
|
||||
<a-input disabled class="box-input" :placeholder="$t('pleaseEnter')" :title='form.cpsb' v-model="form.cpsb" :max-length="50"></a-input>
|
||||
|
||||
|
||||
</a-form-model-item>
|
||||
</div>
|
||||
</a-col>
|
||||
@@ -93,7 +93,7 @@
|
||||
</div>
|
||||
<a-form-model-item class="itemModel">
|
||||
<a-input disabled class="box-input" :placeholder="$t('pleaseEnter')" :title='form.cpmc' v-model="form.cpmc" :max-length="50"></a-input>
|
||||
|
||||
|
||||
</a-form-model-item>
|
||||
</div>
|
||||
</a-col>
|
||||
@@ -104,7 +104,7 @@
|
||||
</div>
|
||||
<a-form-model-item class="itemModel">
|
||||
<a-input disabled class="box-input" :placeholder="$t('pleaseEnter')" :title='form.cpxh' v-model="form.cpxh" :max-length="50"></a-input>
|
||||
|
||||
|
||||
</a-form-model-item>
|
||||
</div>
|
||||
</a-col>
|
||||
@@ -143,7 +143,7 @@
|
||||
</a-form-model-item>
|
||||
</div>
|
||||
</a-col>
|
||||
|
||||
|
||||
</a-row>
|
||||
</a-form-model>
|
||||
</a-spin>
|
||||
@@ -192,7 +192,7 @@ import ImportFile from '@/components/ImportFileData/index'
|
||||
this.getSelect()
|
||||
this.getData()
|
||||
},
|
||||
|
||||
|
||||
methods: {
|
||||
// 模板下载
|
||||
handleModule() {
|
||||
@@ -220,7 +220,7 @@ import ImportFile from '@/components/ImportFileData/index'
|
||||
this.form=res.result
|
||||
if(res.result.dllx1==null){
|
||||
this.form.dllx1=undefined
|
||||
|
||||
|
||||
}
|
||||
if(res.result.dllx2==null){
|
||||
this.form.dllx2=undefined
|
||||
@@ -233,7 +233,7 @@ import ImportFile from '@/components/ImportFileData/index'
|
||||
}
|
||||
this.$forceUpdate()
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
})
|
||||
},
|
||||
@@ -258,7 +258,7 @@ import ImportFile from '@/components/ImportFileData/index'
|
||||
})
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
},
|
||||
next(){
|
||||
this.save()
|
||||
@@ -266,8 +266,8 @@ import ImportFile from '@/components/ImportFileData/index'
|
||||
if(valid){
|
||||
this.$emit('basicInformationForm')
|
||||
}})
|
||||
|
||||
|
||||
|
||||
|
||||
},
|
||||
getSelect(){
|
||||
getAction('/ota/otaBaCxList/list').then(res=>{
|
||||
@@ -279,7 +279,7 @@ import ImportFile from '@/components/ImportFileData/index'
|
||||
obj=item
|
||||
this.selectListPc.push(obj)
|
||||
}
|
||||
|
||||
|
||||
})
|
||||
}
|
||||
})
|
||||
@@ -306,12 +306,12 @@ import ImportFile from '@/components/ImportFileData/index'
|
||||
}else{
|
||||
this. projectNameList2=['其他']
|
||||
}
|
||||
|
||||
|
||||
},
|
||||
changeId(value,option){
|
||||
this.selectListPc.map(item=>{
|
||||
if(item.id==value){
|
||||
this.form.cpsb = item.cpsb
|
||||
this.form.cpsb = item.cpsb
|
||||
this.form.cpmc = item.cpmc
|
||||
this.form.cpxh = item.cpxh
|
||||
this.form.babh = item.cpdjbh
|
||||
@@ -334,9 +334,9 @@ import ImportFile from '@/components/ImportFileData/index'
|
||||
}
|
||||
|
||||
.box-title-text-add {
|
||||
line-height: 1.4;
|
||||
//line-height: 1.4;
|
||||
display: flex;
|
||||
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.title-text-add {
|
||||
@@ -350,7 +350,7 @@ import ImportFile from '@/components/ImportFileData/index'
|
||||
// text-overflow: ellipsis;
|
||||
// white-space: nowrap;
|
||||
height: 42px;
|
||||
line-height: 42px;
|
||||
//line-height: 20px;
|
||||
margin-top: 3px;
|
||||
}
|
||||
|
||||
@@ -364,7 +364,7 @@ import ImportFile from '@/components/ImportFileData/index'
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
height: 42px;
|
||||
line-height: 42px;
|
||||
//line-height: 42px;
|
||||
margin-top: 3px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
@@ -396,11 +396,11 @@ import ImportFile from '@/components/ImportFileData/index'
|
||||
}
|
||||
.plus{
|
||||
margin-top: 5px;
|
||||
line-height: 1.4 !important;
|
||||
line-height: 1.2;
|
||||
}
|
||||
.plus2{
|
||||
word-break: break-all;
|
||||
line-height: 1.3;
|
||||
line-height: 1.2;
|
||||
}
|
||||
.Required {
|
||||
color: red;
|
||||
|
||||
Reference in New Issue
Block a user