新增修改 #117
@@ -1233,16 +1233,17 @@ export default {
|
|||||||
if (valid) {
|
if (valid) {
|
||||||
if (this.addModifyData == 3) {
|
if (this.addModifyData == 3) {
|
||||||
this.formData.affiliate.applicant.forEach((item) => {
|
this.formData.affiliate.applicant.forEach((item) => {
|
||||||
|
console.log(item)
|
||||||
// this.$set(item,"organizeFlag",0);
|
// this.$set(item,"organizeFlag",0);
|
||||||
// this.$set(item,"roleType",2)
|
// this.$set(item,"roleType",2)
|
||||||
item.applicantAgent.organizeFlag = 0;
|
item.applicantAgent.organizeFlag = 0;
|
||||||
item.applicantAgent.roleType = 2;
|
item.applicantAgent['roleType'] = 2;
|
||||||
})
|
})
|
||||||
this.formData.affiliate.res.forEach((item) => {
|
this.formData.affiliate.res.forEach((item) => {
|
||||||
// this.$set(item,"organizeFlag",0);
|
// this.$set(item,"organizeFlag",0);
|
||||||
// this.$set(item,"roleType",4)
|
// this.$set(item,"roleType",4)
|
||||||
item.resAgent.organizeFlag = 0;
|
item.resAgent.organizeFlag = 0;
|
||||||
item.applicantAgent.roleType = 4;
|
item.applicantAgent['roleType'] = 4;
|
||||||
})
|
})
|
||||||
this.modifyData(this.formData);
|
this.modifyData(this.formData);
|
||||||
} else if (this.addModifyData == 1) {
|
} else if (this.addModifyData == 1) {
|
||||||
|
|||||||
Reference in New Issue
Block a user