bug修改

This commit is contained in:
hanchaobo
2024-05-31 18:05:19 +08:00
parent 987000d5af
commit f7cb5cbcc0
3 changed files with 18 additions and 12 deletions
@@ -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,