|
@ -477,6 +477,7 @@ export class CreateOrUpdateActivityDialog implements OnDestroy { |
|
|
|
|
|
|
|
|
if (this.data.activity.id) { |
|
|
if (this.data.activity.id) { |
|
|
(activity as UpdateOrderDto).id = this.data.activity.id; |
|
|
(activity as UpdateOrderDto).id = this.data.activity.id; |
|
|
|
|
|
|
|
|
await validateObjectForForm({ |
|
|
await validateObjectForForm({ |
|
|
classDto: UpdateOrderDto, |
|
|
classDto: UpdateOrderDto, |
|
|
form: this.activityForm, |
|
|
form: this.activityForm, |
|
@ -485,6 +486,7 @@ export class CreateOrUpdateActivityDialog implements OnDestroy { |
|
|
} else { |
|
|
} else { |
|
|
(activity as CreateOrderDto).updateAccountBalance = |
|
|
(activity as CreateOrderDto).updateAccountBalance = |
|
|
this.activityForm.controls['updateAccountBalance'].value; |
|
|
this.activityForm.controls['updateAccountBalance'].value; |
|
|
|
|
|
|
|
|
await validateObjectForForm({ |
|
|
await validateObjectForForm({ |
|
|
classDto: CreateOrderDto, |
|
|
classDto: CreateOrderDto, |
|
|
form: this.activityForm, |
|
|
form: this.activityForm, |
|
|