bug修改
This commit is contained in:
@@ -1453,10 +1453,10 @@ export default {
|
||||
"YYYY-MM-DD HH:mm:ss"
|
||||
);
|
||||
if (valid) {
|
||||
this.loadingSubmit = true;
|
||||
this.$refs["form2"].validate((valid) => {
|
||||
if (valid) {
|
||||
this.$refs["form3"].validate((vail) => {
|
||||
this.loadingSubmit = true;
|
||||
if (vail) {
|
||||
this.$set(this.formData, "affiliate", { applicant: [], res: [] });
|
||||
this.$set(this.formData.affiliate, "applicant", this.form2.applicant);
|
||||
@@ -1468,7 +1468,13 @@ export default {
|
||||
// "YYYY-MM-DD HH:mm:ss"
|
||||
// );
|
||||
if (this.formData.id) {
|
||||
this.formData['columnValues'] = this.formGrab.list
|
||||
this.formData['columnValues'] = this.formGrab.list;
|
||||
this.formData.affiliate.applicant.forEach(item => {
|
||||
item.applicantAgent.roleType = 2
|
||||
})
|
||||
this.formData.affiliate.res.forEach(item => {
|
||||
item.resAgent.roleType = 4
|
||||
})
|
||||
addCaseApply({
|
||||
...this.formData,
|
||||
affiliate: this.formData.affiliate,
|
||||
|
||||
Reference in New Issue
Block a user