feat: There is no way the, BUG #52085

This commit is contained in:
super_liu
2022-03-26 10:47:53 +08:00
parent dc8ebeb631
commit 3d6614704b
@@ -447,10 +447,11 @@ export default {
bpnId: this.$route.query.bpnId
}).then(res => {
let mes = JSON.parse(res.mes)
console.log(mes)
this.qbfsForm = mes.qbfsForm
this.qbfsForm.WJSCRYBUSS= this.$store.getters.userInfo.userId
this.qbfsForm.WJSCRYBUSSName= this.$store.getters.userInfo.userName
this.qbfsForm['id'] = bringData.id
this.qbfsForm['id'] = mes.qbfsForm.id
this.qbfsForm['NYLXCLASS'] = this.filterObj(this.qbfsForm['NYLXCLASS'])
this.qbfsForm['SYCXCLASS'] = this.filterObj(this.qbfsForm['SYCXCLASS'])
this.qbfsForm['SYCPXCLASS'] = this.filterObj(this.qbfsForm['SYCPXCLASS'])
@@ -502,7 +503,6 @@ export default {
FSD:"",
}
const json = Object.assign(bringData, bringData.attrInfoMap,item,obj);
console.log(json)
this.qbfsForm = JSON.parse(JSON.stringify(json))
this.qbfsForm.WJSCRYBUSS= this.$store.getters.userInfo.userId
this.qbfsForm.WJSCRYBUSSName= this.$store.getters.userInfo.userName
@@ -523,7 +523,11 @@ export default {
},
filterObj(obj){
if(obj && obj !== ''){
return obj.split(",")
if(obj instanceof Array){
return obj;
}else {
return obj.split(",")
}
}
return "";
},