Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
aceite-tecnico-frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Renan de Jesus Montenegro da Silva
aceite-tecnico-frontend
Commits
b186fd8c
Commit
b186fd8c
authored
Jan 30, 2026
by
RenanMontenegro3
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: alteração nas casas decimais"
parent
5a0a75e8
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
32 additions
and
31 deletions
+32
-31
aceite-add.component.html
...p/pages/crud-aceites/aceite-add/aceite-add.component.html
+9
-8
aceite-edit.component.html
...pages/crud-aceites/aceite-edit/aceite-edit.component.html
+8
-8
navio-add.component.html
src/app/pages/crud-navios/navio-add/navio-add.component.html
+8
-8
navio-edit.component.html
...pp/pages/crud-navios/navio-edit/navio-edit.component.html
+7
-7
No files found.
src/app/pages/crud-aceites/aceite-add/aceite-add.component.html
View file @
b186fd8c
...
...
@@ -34,25 +34,25 @@
</mat-form-field>
<mat-form-field
class=
"field medium"
appearance=
"outline"
>
<mat-label>
LOA (m)
</mat-label>
<input
matInput
type=
"text"
[currencyMask]=
"{ prefix: '',thousands: '.', decimal: ',' }"
formControlName=
"loa"
>
<input
matInput
type=
"text"
[currencyMask]=
"{ prefix: '',thousands: '.', decimal: ','
,precision: 3
}"
formControlName=
"loa"
>
<mat-error
*ngIf=
"empForm.get('loa')?.invalid"
>
{{ getErrorMessage('loa') }}
</mat-error>
</mat-form-field>
<mat-form-field
class=
"field small"
appearance=
"outline"
>
<mat-label>
Boca (m)
</mat-label>
<input
matInput
type=
"text"
[currencyMask]=
"{ prefix: '',thousands: '.', decimal: ',' }"
formControlName=
"boca"
>
<input
matInput
type=
"text"
[currencyMask]=
"{ prefix: '',thousands: '.', decimal: ','
,precision: 3
}"
formControlName=
"boca"
>
<mat-error
*ngIf=
"empForm.get('boca')?.invalid"
>
{{ getErrorMessage('boca') }}
</mat-error>
</mat-form-field>
</div>
<div
class=
"row"
>
<mat-form-field
class=
"field medium"
appearance=
"outline"
>
<mat-label>
Calado de Entrada
</mat-label>
<input
matInput
type=
"text"
[currencyMask]=
"{ prefix: '',thousands: '.', decimal: ',' }"
<input
matInput
type=
"text"
[currencyMask]=
"{ prefix: '',thousands: '.', decimal: ','
,precision: 3
}"
formControlName=
"calado_entrada"
>
<mat-error
*ngIf=
"empForm.get('calado_entrada')?.invalid"
>
{{ getErrorMessage('calado_entrada') }}
</mat-error>
</mat-form-field>
<mat-form-field
class=
"field medium"
appearance=
"outline"
>
<mat-label>
Calado de Saída
</mat-label>
<input
matInput
type=
"text"
[currencyMask]=
"{ prefix: '',thousands: '.', decimal: ',' }"
<input
matInput
type=
"text"
[currencyMask]=
"{ prefix: '',thousands: '.', decimal: ','
,precision: 3
}"
formControlName=
"calado_saida"
>
<mat-error
*ngIf=
"empForm.get('calado_saida')?.invalid"
>
{{ getErrorMessage('calado_saida') }}
</mat-error>
</mat-form-field>
...
...
@@ -60,12 +60,13 @@
<div
class=
"row"
>
<mat-form-field
class=
"field large"
appearance=
"outline"
>
<mat-label>
DWT (Atual)
</mat-label>
<input
matInput
type=
"text"
[currencyMask]=
"{ prefix: '',thousands: '.', decimal: ',' }"
formControlName=
"dwt"
>
<input
matInput
type=
"text"
[currencyMask]=
"{ prefix: '',thousands: '.', decimal: ',' ,precision: 3
}"
formControlName=
"dwt"
>
<mat-error
*ngIf=
"empForm.get('dwt')?.invalid"
>
{{ getErrorMessage('dwt') }}
</mat-error>
</mat-form-field>
<mat-form-field
class=
"field medium"
appearance=
"outline"
>
<mat-label>
Pontal (m)
</mat-label>
<input
matInput
type=
"text"
[currencyMask]=
"{ prefix: '',thousands: '.', decimal: ',' }"
<input
matInput
type=
"text"
[currencyMask]=
"{ prefix: '',thousands: '.', decimal: ','
,precision: 3
}"
formControlName=
"pontal"
>
<mat-error
*ngIf=
"empForm.get('pontal')?.invalid"
>
{{ getErrorMessage('pontal') }}
</mat-error>
</mat-form-field>
...
...
@@ -85,7 +86,7 @@
<!-- Campo Mfold Quilha (m) só aparece se for Granel Líquido -->
<mat-form-field
class=
"field large"
appearance=
"outline"
*ngIf=
"selectedCategoriaNome === 'Granel Líquido'"
>
<mat-label>
Mfold Quilha (m)
</mat-label>
<input
matInput
type=
"text"
[currencyMask]=
"{ prefix: '',thousands: '.', decimal: ',' }"
<input
matInput
type=
"text"
[currencyMask]=
"{ prefix: '',thousands: '.', decimal: ','
,precision: 3
}"
formControlName=
"mfold_quilha"
>
<mat-error
*ngIf=
"empForm.get('mfold_quilha')?.invalid"
>
{{ getErrorMessage('mfold_quilha') }}
</mat-error>
</mat-form-field>
...
...
@@ -112,7 +113,7 @@
<div
class=
"row"
>
<mat-form-field
class=
"field small"
appearance=
"outline"
*ngIf=
"selectedCategoriaNome === 'Granel Líquido'"
>
<mat-label>
Ponte Mfold (m)
</mat-label>
<input
matInput
type=
"text"
[currencyMask]=
"{ prefix: '',thousands: '.', decimal: ',' }"
<input
matInput
type=
"text"
[currencyMask]=
"{ prefix: '',thousands: '.', decimal: ','
,precision: 3
}"
formControlName=
"ponte_mfold"
>
<mat-error
*ngIf=
"empForm.get('ponte_mfold')?.invalid"
>
{{ getErrorMessage('ponte_mfold') }}
</mat-error>
</mat-form-field>
...
...
src/app/pages/crud-aceites/aceite-edit/aceite-edit.component.html
View file @
b186fd8c
...
...
@@ -34,12 +34,12 @@
</mat-form-field>
<mat-form-field
class=
"field medium"
appearance=
"outline"
>
<mat-label>
LOA (m)
</mat-label>
<input
matInput
type=
"text"
[currencyMask]=
"{ prefix: '',
thousands: '.', decimal: ','
}"
formControlName=
"loa"
>
<input
matInput
type=
"text"
[currencyMask]=
"{ prefix: '',
thousands: '.', decimal: ',' ,precision: 3
}"
formControlName=
"loa"
>
<mat-error
*ngIf=
"empForm.get('loa')?.invalid"
>
{{ getErrorMessage('loa') }}
</mat-error>
</mat-form-field>
<mat-form-field
class=
"field small"
appearance=
"outline"
>
<mat-label>
Boca (m)
</mat-label>
<input
matInput
type=
"text"
[currencyMask]=
"{ prefix: '',
thousands: '.', decimal: ','
}"
<input
matInput
type=
"text"
[currencyMask]=
"{ prefix: '',
thousands: '.', decimal: ',' ,precision: 3
}"
formControlName=
"boca"
>
<mat-error
*ngIf=
"empForm.get('boca')?.invalid"
>
{{ getErrorMessage('boca') }}
</mat-error>
</mat-form-field>
...
...
@@ -47,13 +47,13 @@
<div
class=
"row"
>
<mat-form-field
class=
"field medium"
appearance=
"outline"
>
<mat-label>
Calado de Entrada
</mat-label>
<input
matInput
type=
"text"
[currencyMask]=
"{ prefix: '',
thousands: '.', decimal: ','
}"
<input
matInput
type=
"text"
[currencyMask]=
"{ prefix: '',
thousands: '.', decimal: ',' ,precision: 3
}"
formControlName=
"calado_entrada"
>
<mat-error
*ngIf=
"empForm.get('calado_entrada')?.invalid"
>
{{ getErrorMessage('calado_entrada') }}
</mat-error>
</mat-form-field>
<mat-form-field
class=
"field medium"
appearance=
"outline"
>
<mat-label>
Calado de Saída
</mat-label>
<input
matInput
type=
"text"
[currencyMask]=
"{ prefix: '',
thousands: '.', decimal: ','
}"
<input
matInput
type=
"text"
[currencyMask]=
"{ prefix: '',
thousands: '.', decimal: ',' ,precision: 3
}"
formControlName=
"calado_saida"
>
<mat-error
*ngIf=
"empForm.get('calado_saida')?.invalid"
>
{{ getErrorMessage('calado_saida') }}
</mat-error>
</mat-form-field>
...
...
@@ -61,18 +61,18 @@
<div
class=
"row"
>
<mat-form-field
class=
"field large"
appearance=
"outline"
>
<mat-label>
DWT (Atual)
</mat-label>
<input
matInput
type=
"text"
[currencyMask]=
"{ prefix: '',
thousands: '.', decimal: ','
}"
formControlName=
"dwt"
>
<input
matInput
type=
"text"
[currencyMask]=
"{ prefix: '',
thousands: '.', decimal: ',' ,precision: 3
}"
formControlName=
"dwt"
>
<mat-error
*ngIf=
"empForm.get('dwt')?.invalid"
>
{{ getErrorMessage('dwt') }}
</mat-error>
</mat-form-field>
<mat-form-field
class=
"field medium"
appearance=
"outline"
>
<mat-label>
Pontal (m)
</mat-label>
<input
matInput
type=
"text"
[currencyMask]=
"{ prefix: '',
thousands: '.', decimal: ','
}"
<input
matInput
type=
"text"
[currencyMask]=
"{ prefix: '',
thousands: '.', decimal: ',' ,precision: 3
}"
formControlName=
"pontal"
>
<mat-error
*ngIf=
"empForm.get('pontal')?.invalid"
>
{{ getErrorMessage('pontal') }}
</mat-error>
</mat-form-field>
<mat-form-field
class=
"field small"
appearance=
"outline"
*ngIf=
"selectedCategoriaNome === 'Granel Líquido'"
>
<mat-label>
Ponte Mfold (m)
</mat-label>
<input
matInput
type=
"text"
[currencyMask]=
"{ prefix: '',
thousands: '.', decimal: ','
}"
<input
matInput
type=
"text"
[currencyMask]=
"{ prefix: '',
thousands: '.', decimal: ',' ,precision: 3
}"
formControlName=
"ponte_mfold"
>
<mat-error
*ngIf=
"empForm.get('ponte_mfold')?.invalid"
>
{{ getErrorMessage('ponte_mfold') }}
</mat-error>
</mat-form-field>
...
...
@@ -80,7 +80,7 @@
<div
class=
"row"
>
<mat-form-field
class=
"field large"
appearance=
"outline"
*ngIf=
"selectedCategoriaNome === 'Granel Líquido'"
>
<mat-label>
Mfold Quilha (m)
</mat-label>
<input
matInput
type=
"text"
[currencyMask]=
"{ prefix: '',
thousands: '.', decimal: ','
}"
<input
matInput
type=
"text"
[currencyMask]=
"{ prefix: '',
thousands: '.', decimal: ',' ,precision: 3
}"
formControlName=
"mfold_quilha"
>
<mat-error
*ngIf=
"empForm.get('mfold_quilha')?.invalid"
>
{{ getErrorMessage('mfold_quilha') }}
</mat-error>
</mat-form-field>
...
...
src/app/pages/crud-navios/navio-add/navio-add.component.html
View file @
b186fd8c
...
...
@@ -31,7 +31,7 @@
<mat-form-field
class=
"field medium"
appearance=
"outline"
>
<mat-label>
LOA
</mat-label>
<input
matInput
type=
"text"
(keydown)=
"preventNegative($event)"
min=
"0"
formControlName=
"loa"
[currencyMask]=
"{ prefix: ' ', thousands: '.', decimal: ','
}"
/>
[currencyMask]=
"{ prefix: '',thousands: '.', decimal: ',' ,precision: 3
}"
/>
<mat-error
*ngIf=
"empForm.get('loa')?.invalid"
>
{{
getErrorMessage("loa")
}}
</mat-error>
...
...
@@ -39,7 +39,7 @@
<mat-form-field
class=
"field small"
appearance=
"outline"
>
<mat-label>
Boca
</mat-label>
<input
matInput
type=
"text"
(keydown)=
"preventNegative($event)"
min=
"0"
formControlName=
"boca"
[currencyMask]=
"{ prefix: ' ', thousands: '.', decimal: ','
}"
/>
[currencyMask]=
"{ prefix: '',thousands: '.', decimal: ',' ,precision: 3
}"
/>
<mat-error
*ngIf=
"empForm.get('boca')?.invalid"
>
{{
getErrorMessage("boca")
}}
</mat-error>
...
...
@@ -48,7 +48,7 @@
<div
class=
"row"
>
<mat-form-field
class=
"field medium"
appearance=
"outline"
>
<mat-label>
Calado Máximo
</mat-label>
<input
matInput
type=
"text"
formControlName=
"calado_max"
[currencyMask]=
"{ prefix: '',
thousands: '.', decimal: ','
}"
>
<input
matInput
type=
"text"
formControlName=
"calado_max"
[currencyMask]=
"{ prefix: '',
thousands: '.', decimal: ',' ,precision: 3
}"
>
<mat-error
*ngIf=
"empForm.get('calado_max')?.invalid"
>
{{ getErrorMessage('calado_max') }}
</mat-error>
...
...
@@ -58,7 +58,7 @@
<mat-form-field
class=
"field large"
appearance=
"outline"
>
<mat-label>
DWT
</mat-label>
<input
matInput
type=
"text"
(keydown)=
"preventNegative($event)"
min=
"0"
formControlName=
"dwt"
[currencyMask]=
"{ prefix: '
Tons ', thousands: '.', decimal: ','
}"
/>
[currencyMask]=
"{ prefix: '
',thousands: '.', decimal: ',' ,precision: 3
}"
/>
<mat-error
*ngIf=
"empForm.get('dwt')?.invalid"
>
{{
getErrorMessage("dwt")
}}
</mat-error>
...
...
@@ -66,7 +66,7 @@
<mat-form-field
class=
"field medium"
appearance=
"outline"
>
<mat-label>
Pontal
</mat-label>
<input
matInput
type=
"text"
(keydown)=
"preventNegative($event)"
min=
"0"
formControlName=
"pontal"
[currencyMask]=
"{ prefix: ' ', thousands: '.', decimal: ','
}"
/>
[currencyMask]=
"{ prefix: '',thousands: '.', decimal: ',' ,precision: 3
}"
/>
<mat-error
*ngIf=
"empForm.get('pontal')?.invalid"
>
{{
getErrorMessage("pontal")
}}
</mat-error>
...
...
@@ -74,7 +74,7 @@
<mat-form-field
class=
"field small"
appearance=
"outline"
*ngIf=
"selectedCategoriaNome === 'Granel Líquido'"
>
<mat-label>
Ponte Mfold
</mat-label>
<input
matInput
type=
"text"
(keydown)=
"preventNegative($event)"
min=
"0"
formControlName=
"ponte_mfold"
[currencyMask]=
"{ prefix: ' ', thousands: '.', decimal: ','
}"
/>
[currencyMask]=
"{ prefix: '',thousands: '.', decimal: ',' ,precision: 3
}"
/>
<mat-error
*ngIf=
"empForm.get('ponte_mfold')?.invalid"
>
{{
getErrorMessage("ponte_mfold")
}}
</mat-error>
...
...
@@ -83,7 +83,7 @@
<div
class=
"row"
>
<mat-form-field
class=
"field small"
appearance=
"outline"
*ngIf=
"selectedCategoriaNome === 'Granel Líquido'"
>
<mat-label>
Ponte Mfold (m)
</mat-label>
<input
matInput
type=
"text"
[currencyMask]=
"{ prefix: '',thousands: '.', decimal: ',' }"
<input
matInput
type=
"text"
[currencyMask]=
"{ prefix: '',thousands: '.', decimal: ','
,precision: 3
}"
formControlName=
"ponte_mfold"
>
<mat-error
*ngIf=
"empForm.get('ponte_mfold')?.invalid"
>
{{ getErrorMessage('ponte_mfold') }}
</mat-error>
</mat-form-field>
...
...
@@ -92,7 +92,7 @@
<mat-form-field
class=
"field large"
appearance=
"outline"
*ngIf=
"selectedCategoriaNome === 'Granel Líquido'"
>
<mat-label>
Mfold Quilha
</mat-label>
<input
matInput
type=
"text"
(keydown)=
"preventNegative($event)"
min=
"0"
formControlName=
"mfold_quilha"
[currencyMask]=
"{ prefix: '',
thousands: '.', decimal: ','
}"
/>
[currencyMask]=
"{ prefix: '',
thousands: '.', decimal: ',' ,precision: 3
}"
/>
<mat-error
*ngIf=
"empForm.get('mfold_quilha')?.invalid"
>
{{
getErrorMessage("mfold_quilha")
}}
</mat-error>
...
...
src/app/pages/crud-navios/navio-edit/navio-edit.component.html
View file @
b186fd8c
...
...
@@ -31,7 +31,7 @@
</mat-form-field>
<mat-form-field
class=
"field medium"
appearance=
"outline"
>
<mat-label>
LOA (m)
</mat-label>
<input
matInput
type=
"text"
[currencyMask]=
"{ prefix: ' ', thousands: '.', decimal: ','
}"
<input
matInput
type=
"text"
[currencyMask]=
"{ prefix: '',thousands: '.', decimal: ',' ,precision: 3
}"
formControlName=
"loa"
/>
<mat-error
*ngIf=
"empForm.get('loa')?.invalid"
>
{{
getErrorMessage("loa")
...
...
@@ -39,7 +39,7 @@
</mat-form-field>
<mat-form-field
class=
"field small"
appearance=
"outline"
>
<mat-label>
Boca (m)
</mat-label>
<input
matInput
type=
"text"
[currencyMask]=
"{ prefix: ' ', thousands: '.', decimal: ','
}"
<input
matInput
type=
"text"
[currencyMask]=
"{ prefix: '',thousands: '.', decimal: ',' ,precision: 3
}"
formControlName=
"boca"
/>
<mat-error
*ngIf=
"empForm.get('boca')?.invalid"
>
{{
getErrorMessage("boca")
...
...
@@ -50,7 +50,7 @@
<div
class=
"row"
>
<mat-form-field
class=
"field large"
appearance=
"outline"
>
<mat-label>
DWT
</mat-label>
<input
matInput
type=
"text"
[currencyMask]=
"{ prefix: '',
thousands: '.', decimal: ','
}"
<input
matInput
type=
"text"
[currencyMask]=
"{ prefix: '',
thousands: '.', decimal: ',' ,precision: 3
}"
formControlName=
"dwt"
/>
<mat-error
*ngIf=
"empForm.get('dwt')?.invalid"
>
{{
getErrorMessage("dwt")
...
...
@@ -58,7 +58,7 @@
</mat-form-field>
<mat-form-field
class=
"field medium"
appearance=
"outline"
>
<mat-label>
Pontal (m)
</mat-label>
<input
matInput
type=
"text"
[currencyMask]=
"{ prefix: ' ', thousands: '.', decimal: ','
}"
<input
matInput
type=
"text"
[currencyMask]=
"{ prefix: '',thousands: '.', decimal: ',' ,precision: 3
}"
formControlName=
"pontal"
/>
<mat-error
*ngIf=
"empForm.get('pontal')?.invalid"
>
{{
getErrorMessage("pontal")
...
...
@@ -66,7 +66,7 @@
</mat-form-field>
<mat-form-field
class=
"field small"
appearance=
"outline"
*ngIf=
"selectedCategoriaNome === 'Granel Líquido'"
>
<mat-label>
Ponte Mfold (m)
</mat-label>
<input
matInput
type=
"text"
[currencyMask]=
"{ prefix: ' ', thousands: '.', decimal: ','
}"
<input
matInput
type=
"text"
[currencyMask]=
"{ prefix: '',thousands: '.', decimal: ',' ,precision: 3
}"
formControlName=
"ponte_mfold"
/>
<mat-error
*ngIf=
"empForm.get('ponte_mfold')?.invalid"
>
{{
getErrorMessage("ponte_mfold")
...
...
@@ -77,7 +77,7 @@
<div
class=
"row"
>
<mat-form-field
class=
"field large"
appearance=
"outline"
*ngIf=
"selectedCategoriaNome === 'Granel Líquido'"
>
<mat-label>
Mfold Quilha (m)
</mat-label>
<input
matInput
type=
"text"
[currencyMask]=
"{ prefix: ' ', thousands: '.', decimal: ','
}"
<input
matInput
type=
"text"
[currencyMask]=
"{ prefix: '',thousands: '.', decimal: ',' ,precision: 3
}"
formControlName=
"mfold_quilha"
/>
<mat-error
*ngIf=
"empForm.get('mfold_quilha')?.invalid"
>
{{
getErrorMessage("mfold_quilha")
...
...
@@ -87,7 +87,7 @@
<mat-form-field
class=
"field medium"
appearance=
"outline"
>
<mat-label>
Calado Máximo
</mat-label>
<input
matInput
type=
"text"
formControlName=
"calado_max"
[currencyMask]=
"{ prefix: '',
thousands: '.', decimal: ','
}"
>
[currencyMask]=
"{ prefix: '',
thousands: '.', decimal: ',' ,precision: 3
}"
>
<mat-error
*ngIf=
"empForm.get('calado_max')?.invalid"
>
{{ getErrorMessage('calado_max') }}
</mat-error>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment