|
|
@@ -1233,16 +1233,17 @@ export default {
|
|
1233
|
1233
|
if (valid) {
|
|
1234
|
1234
|
if (this.addModifyData == 3) {
|
|
1235
|
1235
|
this.formData.affiliate.applicant.forEach((item) => {
|
|
|
1236
|
+ console.log(item)
|
|
1236
|
1237
|
// this.$set(item,"organizeFlag",0);
|
|
1237
|
1238
|
// this.$set(item,"roleType",2)
|
|
1238
|
1239
|
item.applicantAgent.organizeFlag = 0;
|
|
1239
|
|
- item.applicantAgent.roleType = 2;
|
|
|
1240
|
+ item.applicantAgent['roleType'] = 2;
|
|
1240
|
1241
|
})
|
|
1241
|
1242
|
this.formData.affiliate.res.forEach((item) => {
|
|
1242
|
1243
|
// this.$set(item,"organizeFlag",0);
|
|
1243
|
1244
|
// this.$set(item,"roleType",4)
|
|
1244
|
1245
|
item.resAgent.organizeFlag = 0;
|
|
1245
|
|
- item.applicantAgent.roleType = 4;
|
|
|
1246
|
+ item.applicantAgent['roleType'] = 4;
|
|
1246
|
1247
|
})
|
|
1247
|
1248
|
this.modifyData(this.formData);
|
|
1248
|
1249
|
} else if (this.addModifyData == 1) {
|