diff --git a/src/app/components/stock-form/stock-form.html b/src/app/components/stock-form/stock-form.html index d9bcb69..3892c63 100644 --- a/src/app/components/stock-form/stock-form.html +++ b/src/app/components/stock-form/stock-form.html @@ -1,12 +1,12 @@ -
\ No newline at end of file diff --git a/src/app/components/stock-form/stock-form.ts b/src/app/components/stock-form/stock-form.ts index c378450..c3934d1 100644 --- a/src/app/components/stock-form/stock-form.ts +++ b/src/app/components/stock-form/stock-form.ts @@ -1,9 +1,10 @@ -import { Component } from '@angular/core'; +import {Component, effect, input} from '@angular/core'; import {FormControl, FormGroup, ReactiveFormsModule, Validators} from "@angular/forms"; import {NzFormControlComponent, NzFormDirective, NzFormItemComponent, NzFormLabelComponent} from "ng-zorro-antd/form"; import {NzInputDirective} from "ng-zorro-antd/input"; import {NzColDirective} from "ng-zorro-antd/grid"; import {NzFlexDirective} from "ng-zorro-antd/flex"; +import {GetProductDto} from "../../services/api"; @Component({ selector: 'app-stock-form', @@ -22,17 +23,19 @@ import {NzFlexDirective} from "ng-zorro-antd/flex"; }) export class StockForm { stockForm = new FormGroup({ - minQuantity: new FormControl