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