|
@@ -2236,15 +2236,15 @@ export default {
|
|
|
this.removeGoodsRepeat()
|
|
|
},
|
|
|
async getCorpRow(data) {
|
|
|
- if (data.adminProfiles) {
|
|
|
- data.adminProfiles = data.adminProfiles.split(",");
|
|
|
- let arr=[]
|
|
|
- data.adminProfiles.forEach(e => {
|
|
|
- arr.push(this.userList.find(item => item.id == e).realName)
|
|
|
- })
|
|
|
- this.$set(this.form, 'chargeMember', arr[0])
|
|
|
- }
|
|
|
khDetail(data.id).then(res => {
|
|
|
+ if (res.data.data.adminProfiles) {
|
|
|
+ res.data.data.adminProfiles = res.data.data.adminProfiles.split(",");
|
|
|
+ let arr = [];
|
|
|
+ res.data.data.adminProfiles.forEach(e => {
|
|
|
+ arr.push(this.userList.find(item => item.id == e).realName)
|
|
|
+ })
|
|
|
+ this.$set(this.form, 'chargeMember', arr[0])
|
|
|
+ }
|
|
|
if (res.data.data.corpsAttnList.length > 0) {
|
|
|
this.khInfoList = res.data.data.corpsAttnList;
|
|
|
this.$set(this.form, 'corpAttn', res.data.data.corpsAttnList[0].cname);
|