removed some unnecessary data
This commit is contained in:
@@ -16,29 +16,16 @@ import {NzDatePickerComponent} from "ng-zorro-antd/date-picker";
|
||||
NzColDirective,
|
||||
NzFlexDirective,
|
||||
NzFormDirective,
|
||||
ReactiveFormsModule,
|
||||
NzDatePickerComponent
|
||||
ReactiveFormsModule
|
||||
],
|
||||
templateUrl: './quotation-form.html',
|
||||
styleUrl: './quotation-form.css',
|
||||
})
|
||||
export class QuotationForm {
|
||||
QuotationForm: FormGroup = new FormGroup({
|
||||
quantity: new FormControl<number>(null, [Validators.required]),
|
||||
quotationId: new FormControl<number>(null),
|
||||
quotationMessage: new FormControl<string>(null),
|
||||
quotationConditionsSale: new FormControl<string>(null),
|
||||
productId: new FormControl<number>(null),
|
||||
productReferences: new FormControl<number>(null),
|
||||
productName: new FormControl<string>(null),
|
||||
productDuration: new FormControl<number>(null),
|
||||
productCaliber: new FormControl<number>(null),
|
||||
productApprovalNumber: new FormControl<number>(null),
|
||||
productWeight: new FormControl<number>(null),
|
||||
productNec: new FormControl<number>(null),
|
||||
productImage: new FormControl<string>(null),
|
||||
productLink: new FormControl<string>(null),
|
||||
productMinimalQuantity: new FormControl<number>(null)
|
||||
})
|
||||
|
||||
submitForm() {
|
||||
|
||||
Reference in New Issue
Block a user