@@ -1693,7 +1693,9 @@
API(commitData)
.then((res) => {
this.loading = false;
- updateRelationStatus([this.form.partaId]);
+ if(this.form.partaId) {
+ updateRelationStatus([this.form.partaId]);
+ }
if (this.form.contractId) {
updateContractStatus([this.form.contractId]);
}