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