|
|
@ -556,6 +556,10 @@ export class GfAssetProfileDialogComponent implements OnInit { |
|
|
protected onAddSplit() { |
|
|
protected onAddSplit() { |
|
|
const { date, factor } = this.assetProfileSplitForm.getRawValue(); |
|
|
const { date, factor } = this.assetProfileSplitForm.getRawValue(); |
|
|
|
|
|
|
|
|
|
|
|
if (!date || !factor) { |
|
|
|
|
|
return; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
this.adminService |
|
|
this.adminService |
|
|
.postAssetProfileSplit({ |
|
|
.postAssetProfileSplit({ |
|
|
dataSource: this.data.dataSource, |
|
|
dataSource: this.data.dataSource, |
|
|
|