流程问题修改1
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
<el-input
|
||||
v-model="formData.caseNum"
|
||||
placeholder="请输入案件编号"
|
||||
:disabled="flag == '1'"
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
@@ -652,7 +653,7 @@ export default {
|
||||
{
|
||||
required: true,
|
||||
message: "案件编号不能为空",
|
||||
trigger: ["change", "blur"],
|
||||
trigger: "blur",
|
||||
},
|
||||
{ max: 20, message: "长度应小于20个字符", trigger: "blur" },
|
||||
],
|
||||
@@ -660,9 +661,8 @@ export default {
|
||||
{
|
||||
required: true,
|
||||
message: "案件标的不能为空",
|
||||
trigger: ["change", "blur"],
|
||||
trigger: "blur",
|
||||
},
|
||||
// { type: "Number", message: "案件标的必须为数字值" },
|
||||
],
|
||||
loanStartDate: [
|
||||
{
|
||||
@@ -751,6 +751,36 @@ export default {
|
||||
this.form3.paymentArr1 = this.initpaymentArr1;
|
||||
}, 1000);
|
||||
}
|
||||
if (this.flag == "2") {
|
||||
this.form2.paymentArr = [
|
||||
{
|
||||
identityType: 1,
|
||||
name: "",
|
||||
identityNum: "",
|
||||
contactTelphone: "",
|
||||
workAddress: "",
|
||||
workTelphone: "",
|
||||
contactAddress: "",
|
||||
nameAgent: "",
|
||||
contactTelphoneAgent: "",
|
||||
contactAddressAgent: "",
|
||||
},
|
||||
];
|
||||
this.form3.paymentArr1 = [
|
||||
{
|
||||
identityType: 2,
|
||||
name: "",
|
||||
identityNum: "",
|
||||
contactTelphone: "",
|
||||
workAddress: "",
|
||||
workTelphone: "",
|
||||
contactAddress: "",
|
||||
nameAgent: "",
|
||||
contactTelphoneAgent: "",
|
||||
contactAddressAgent: "",
|
||||
},
|
||||
];
|
||||
}
|
||||
}
|
||||
},
|
||||
deep: true,
|
||||
@@ -835,22 +865,24 @@ export default {
|
||||
...this.formData,
|
||||
caseAffiliates: this.formData.caseAffiliates,
|
||||
}).then((res) => {
|
||||
this.$modal.msgSuccess("修改成功");
|
||||
this.$emit("cancel");
|
||||
this.getcaseApply(this.queryParams);
|
||||
if (res.code == 200) {
|
||||
this.$modal.msgSuccess("修改成功");
|
||||
this.$emit("cancel");
|
||||
this.getcaseApply(this.queryParams);
|
||||
}
|
||||
});
|
||||
} else {
|
||||
addCaseApply({
|
||||
...this.formData,
|
||||
caseAffiliates: this.formData.caseAffiliates,
|
||||
}).then((response) => {
|
||||
this.$modal.msgSuccess("新增成功");
|
||||
this.$emit("cancel");
|
||||
this.getcaseApply(this.queryParams);
|
||||
if (response.code == 200) {
|
||||
this.$modal.msgSuccess("新增成功");
|
||||
this.$emit("cancel");
|
||||
this.getcaseApply(this.queryParams);
|
||||
}
|
||||
});
|
||||
}
|
||||
// this.$emit("cancel");
|
||||
// this.getcaseApply();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user