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