OTA管理工具-车型基本信息-表单样式
This commit is contained in:
+19
-15
@@ -155,17 +155,19 @@
|
|||||||
<div class="title-text-add">
|
<div class="title-text-add">
|
||||||
<span class="title-text-text plus3" :title="$t('Vehicledynamictype')">{{$t('Vehicledynamictype')}}</span>
|
<span class="title-text-text plus3" :title="$t('Vehicledynamictype')">{{$t('Vehicledynamictype')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<a-form-model-item class="itemModel" style="width: 38%">
|
<a-form-model-item class="itemModel">
|
||||||
<a-select class="box-input" v-model="form.dllx1" allowClear :disabled="disabled" :placeholder="$t('PleaseSelect')" @change="changeSelect($event,target)">
|
<div style="display:flex;flex-wrap: nowrap;width: 100%;">
|
||||||
<a-select-option v-for="(item, key) in projectNameList1"
|
<div style="width: 90%;margin-right: 20px;">
|
||||||
:key="key"
|
<a-select class="box-input" style="width: 100%;" v-model="form.dllx1" allowClear :disabled="disabled" :placeholder="$t('PleaseSelect')" @change="changeSelect($event,target)">
|
||||||
:value="item">
|
<a-select-option v-for="(item, key) in projectNameList1"
|
||||||
{{ item }}
|
:key="key"
|
||||||
</a-select-option>
|
:value="item">
|
||||||
</a-select>
|
{{ item }}
|
||||||
</a-form-model-item>
|
</a-select-option>
|
||||||
<a-form-model-item class="itemModel" style="width: 40%;margin-left:20px">
|
</a-select>
|
||||||
<a-select v-model="form.dllx2" class="box-input" allowClear :disabled="disabled" :placeholder="$t('PleaseSelect')" @change="update">
|
</div>
|
||||||
|
<div style="width: 100%;">
|
||||||
|
<a-select v-model="form.dllx2" class="box-input" allowClear :disabled="disabled" :placeholder="$t('PleaseSelect')" @change="update">
|
||||||
<a-select-option v-for="(item, key) in projectNameList2"
|
<a-select-option v-for="(item, key) in projectNameList2"
|
||||||
:key="key"
|
:key="key"
|
||||||
:value="item">
|
:value="item">
|
||||||
@@ -175,7 +177,9 @@
|
|||||||
</span> -->
|
</span> -->
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
</a-form-model-item>
|
</div>
|
||||||
|
</div>
|
||||||
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="24">
|
<a-col :span="24">
|
||||||
@@ -343,7 +347,7 @@ import { message } from 'ant-design-vue'
|
|||||||
if(res.result.dllx2 == null){
|
if(res.result.dllx2 == null){
|
||||||
res.result.dllx2 = undefined
|
res.result.dllx2 = undefined
|
||||||
}
|
}
|
||||||
|
|
||||||
if(res.result.cplb == null){
|
if(res.result.cplb == null){
|
||||||
res.result.cplb = undefined
|
res.result.cplb = undefined
|
||||||
}
|
}
|
||||||
@@ -380,7 +384,7 @@ import { message } from 'ant-design-vue'
|
|||||||
if(otaId==null || otaId == undefined){
|
if(otaId==null || otaId == undefined){
|
||||||
otaId=''
|
otaId=''
|
||||||
}
|
}
|
||||||
|
|
||||||
postAction('/ota/otaBaCxJbxx/add',{ otaId:otaId,...this.form}).then( res => {
|
postAction('/ota/otaBaCxJbxx/add',{ otaId:otaId,...this.form}).then( res => {
|
||||||
if(res.code == 200){
|
if(res.code == 200){
|
||||||
localStorage.setItem('otaId', res.result.otaId)
|
localStorage.setItem('otaId', res.result.otaId)
|
||||||
@@ -419,7 +423,7 @@ import { message } from 'ant-design-vue'
|
|||||||
if(this.form.dllx1=='其他'){
|
if(this.form.dllx1=='其他'){
|
||||||
this. projectNameList2=['其他']
|
this. projectNameList2=['其他']
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
},
|
},
|
||||||
update(){
|
update(){
|
||||||
|
|||||||
Reference in New Issue
Block a user