更改
This commit is contained in:
+18
-12
@@ -168,7 +168,8 @@ import ImportFile from '@/components/ImportFileData/index'
|
||||
confirmLoading: false,
|
||||
disabled: false,
|
||||
form:{
|
||||
qymc:'安徽江淮汽车集团股份有限公司'
|
||||
qymc:'安徽江淮汽车集团股份有限公司',
|
||||
bapc:undefined
|
||||
},
|
||||
url: {
|
||||
exportData: '/ota/otaBaSjSjmbcx/exportData',
|
||||
@@ -336,17 +337,22 @@ import ImportFile from '@/components/ImportFileData/index'
|
||||
|
||||
},
|
||||
changeId(value,option){
|
||||
this.selectListPc.map(item=>{
|
||||
if(item.id==value){
|
||||
this.form.cpsb = item.cpsb
|
||||
this.form.cpmc = item.cpmc
|
||||
this.form.cpxh = item.cpxh
|
||||
getAction('/ota/otaBaCxJbxx/queryByOtaId',{otaIdT:'',otaId:item.id}).then(res=>{
|
||||
this.form.dllx1=res.result.dllx1 == null?undefined:res.result.dllx1
|
||||
this.form.dllx2=res.result.dllx2== null?undefined:res.result.dllx2
|
||||
})
|
||||
}
|
||||
})
|
||||
|
||||
this.$nextTick(()=>{
|
||||
this.form={...this.form}
|
||||
this.$refs.ruleForm.validateField('bapc')
|
||||
})
|
||||
this.selectListPc.map(item=>{
|
||||
if(item.id==value){
|
||||
this.form.cpsb = item.cpsb
|
||||
this.form.cpmc = item.cpmc
|
||||
this.form.cpxh = item.cpxh
|
||||
getAction('/ota/otaBaCxJbxx/queryByOtaId',{otaIdT:'',otaId:item.id}).then(res=>{
|
||||
this.form.dllx1=res.result.dllx1 == null?undefined:res.result.dllx1
|
||||
this.form.dllx2=res.result.dllx2== null?undefined:res.result.dllx2
|
||||
})
|
||||
}
|
||||
})
|
||||
this.$forceUpdate()
|
||||
},
|
||||
update(val){
|
||||
|
||||
Reference in New Issue
Block a user