剩余字段字数校验
This commit is contained in:
@@ -243,6 +243,7 @@ export default {
|
||||
}
|
||||
this.record=record
|
||||
this.visible = true
|
||||
this.confirmLoading = false
|
||||
this.formInline = {}
|
||||
this.formInline.dataList = [{}]
|
||||
this.$nextTick(() => {
|
||||
|
||||
@@ -447,7 +447,7 @@ export default {
|
||||
this.$refs.upgradecompletionRef.addModel(record,flag)
|
||||
},
|
||||
// 查看
|
||||
detailclick(){
|
||||
detailclick(record){
|
||||
|
||||
},
|
||||
// 维护
|
||||
|
||||
+2
@@ -23,6 +23,7 @@
|
||||
:disabled="disabled"
|
||||
v-model="formInline.zsl"
|
||||
:title='formInline.zsl'
|
||||
:max-length="50"
|
||||
:placeholder="$t('PleaseSelect')"></a-input>
|
||||
</a-form-model-item>
|
||||
</div>
|
||||
@@ -145,6 +146,7 @@ export default {
|
||||
this.formInline.dateofproduction=[]
|
||||
this.formInline.dateofproduction.push(res.result.scrqks)
|
||||
this.formInline.dateofproduction.push(res.result.scrqjs)
|
||||
this.formInline.id = res.result.vinList
|
||||
this.$forceUpdate()
|
||||
|
||||
}
|
||||
|
||||
+1
-1
@@ -57,7 +57,7 @@
|
||||
<span slot="upgradepackagesize" slot-scope="text,record">
|
||||
<a-input :placeholder="$t('pleaseEnter')" v-model="record.sjbdx" :title='record.sjbdx' :max-length="50"></a-input>
|
||||
</span>
|
||||
<span slot="differentialupgradeornot" slot-scope="text,record">
|
||||
<span slot="differentialupgradeornot" slot-scope="text,record" :max-length="50">
|
||||
<a-input :placeholder="$t('pleaseEnter')" v-model="record.sfcfsj" :title='record.sfcfsj'></a-input>
|
||||
</span>
|
||||
<!-- 操作列-->
|
||||
|
||||
+14
-6
@@ -41,7 +41,7 @@
|
||||
</div>
|
||||
<div class="title-text-add-input">
|
||||
<!-- <span class="title-text-text">中文</span> -->
|
||||
<a-input class="box-input" v-model="form.babh" :title='form.babh' :placeholder="$t('pleaseEnter')" disabled style="width:93%"></a-input>
|
||||
<a-input class="box-input" v-model="form.babh" :title='form.babh' :placeholder="$t('pleaseEnter')" disabled style="width:93%" :max-length="50"></a-input>
|
||||
</div>
|
||||
</div>
|
||||
</a-col>
|
||||
@@ -52,7 +52,7 @@
|
||||
</div>
|
||||
<div class="title-text-add-input">
|
||||
<!-- <span class="title-text-text">中文</span> -->
|
||||
<a-input class="box-input" v-model="form.qymc" :title='form.qymc' :placeholder="$t('pleaseEnter')" disabled style="width:93%"></a-input>
|
||||
<a-input class="box-input" v-model="form.qymc" :title='form.qymc' :placeholder="$t('pleaseEnter')" disabled style="width:93%" :max-length="50"></a-input>
|
||||
</div>
|
||||
</div>
|
||||
</a-col>
|
||||
@@ -77,7 +77,7 @@
|
||||
<span class="title-text-text" :title="$t('producttrademark')">{{$t('producttrademark')}}</span>
|
||||
</div>
|
||||
<a-form-model-item class="itemModel">
|
||||
<a-input disabled class="box-input" :placeholder="$t('pleaseEnter')" :title='form.cpsb' v-model="form.cpsb"></a-input>
|
||||
<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>
|
||||
@@ -88,7 +88,7 @@
|
||||
<span class="title-text-text" :title="$t('productname')">{{$t('productname')}}</span>
|
||||
</div>
|
||||
<a-form-model-item class="itemModel">
|
||||
<a-input disabled class="box-input" :placeholder="$t('pleaseEnter')" :title='form.cpmc' v-model="form.cpmc"></a-input>
|
||||
<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>
|
||||
@@ -99,7 +99,7 @@
|
||||
<span class="title-text-text" :title="$t('productModel')">{{$t('productModel')}}</span>
|
||||
</div>
|
||||
<a-form-model-item class="itemModel">
|
||||
<a-input disabled class="box-input" :placeholder="$t('pleaseEnter')" :title='form.cpxh' v-model="form.cpxh"></a-input>
|
||||
<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>
|
||||
@@ -197,7 +197,15 @@ import ImportFile from '@/components/ImportFileData/index'
|
||||
}
|
||||
getAction('/ota/otaBaSjSjmbcx/queryByOtaId',{otaIdT:otaIdT,otaId:otaId}).then(res=>{
|
||||
if(res.code == 200){
|
||||
this.form=res.result ==null?{}:res.result
|
||||
if(res.result==null){
|
||||
this.form=res.result
|
||||
this.form.cxmb=undefined
|
||||
this.form.bapc=undefined
|
||||
this.form.dllx1=undefined
|
||||
this.form.dllx2=undefined
|
||||
}else{
|
||||
this.form=res.result
|
||||
}
|
||||
|
||||
}
|
||||
})
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
<a-form-model-item class="itemModel" prop="sjbbhcs" >
|
||||
<a-textarea
|
||||
:placeholder="$t('controlsystem')"
|
||||
:max-length="500"
|
||||
v-model.trim="queryParam.sjbbhcs" :rows="4"/>
|
||||
</a-form-model-item>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user