Commit 8a188e8893d42ff2bb98d7dbb637d6722567882c
1 parent
e5321a8f
Exists in
master
Redmine #4824
Showing
4 changed files
with
19 additions
and
12 deletions
Show diff stats
cit-almoxarifado-web/src/main/resources/reports/guiaRemessaAtendimentoConsumoMaterial.jrxml
... | ... | @@ -83,7 +83,7 @@ |
83 | 83 | <variableExpression><![CDATA[$V{qtdeTotal}+$F{qtde}]]></variableExpression> |
84 | 84 | <initialValueExpression><![CDATA[0]]></initialValueExpression> |
85 | 85 | </variable> |
86 | - <variable name="total" class="java.math.BigDecimal" calculation="Sum"> | |
86 | + <variable name="total" class="java.math.BigDecimal"> | |
87 | 87 | <variableExpression><![CDATA[$V{total}.add($F{valorTotal})]]></variableExpression> |
88 | 88 | <initialValueExpression><![CDATA[new BigDecimal(0)]]></initialValueExpression> |
89 | 89 | </variable> |
... | ... | @@ -360,7 +360,7 @@ |
360 | 360 | </group> |
361 | 361 | <group name="resumoContabil"> |
362 | 362 | <groupHeader> |
363 | - <band height="33"> | |
363 | + <band height="63"> | |
364 | 364 | <staticText> |
365 | 365 | <reportElement x="0" y="10" width="792" height="20" uuid="044fb4cf-5b85-485e-9a98-20bcd9832b67"> |
366 | 366 | <printWhenExpression><![CDATA[$F{isAsterisco}]]></printWhenExpression> |
... | ... | @@ -514,12 +514,12 @@ |
514 | 514 | <dataSourceExpression><![CDATA[$F{resumoContabil}]]></dataSourceExpression> |
515 | 515 | </datasetRun> |
516 | 516 | <jr:column width="620" uuid="cce1ea6a-ea5e-43d0-84a3-37aff9de55dc"> |
517 | - <jr:tableHeader height="20" rowSpan="1"> | |
517 | + <jr:tableHeader height="30" rowSpan="1"> | |
518 | 518 | <staticText> |
519 | - <reportElement x="0" y="0" width="620" height="20" uuid="df40478a-bd91-4c6d-8d00-ebce15910536"/> | |
520 | - <textElement textAlignment="Right" verticalAlignment="Middle"> | |
519 | + <reportElement x="0" y="0" width="620" height="30" uuid="df40478a-bd91-4c6d-8d00-ebce15910536"/> | |
520 | + <textElement textAlignment="Right" verticalAlignment="Bottom"> | |
521 | 521 | <font size="8" isBold="true"/> |
522 | - <paragraph rightIndent="20"/> | |
522 | + <paragraph rightIndent="50"/> | |
523 | 523 | </textElement> |
524 | 524 | <text><![CDATA[Resumo Contábil]]></text> |
525 | 525 | </staticText> |
... | ... | @@ -593,7 +593,7 @@ |
593 | 593 | <font size="7" isBold="true"/> |
594 | 594 | <paragraph leftIndent="2" rightIndent="2" spacingBefore="2"/> |
595 | 595 | </textElement> |
596 | - <textFieldExpression><![CDATA[$V{total}.add( $F{valorTotal} )]]></textFieldExpression> | |
596 | + <textFieldExpression><![CDATA[$V{total}]]></textFieldExpression> | |
597 | 597 | </textField> |
598 | 598 | </jr:tableFooter> |
599 | 599 | <jr:columnHeader style="table 1" height="20" rowSpan="1"> | ... | ... |
cit-almoxarifado-web/src/main/webapp/html/atendimentoRequisicaoConsumo/atendimentoRequisicaoConsumoEdit.html
... | ... | @@ -180,7 +180,7 @@ |
180 | 180 | |
181 | 181 | <td ng-if="atendimentoRequisicaoConsumoItem.atendimentoRequisicaoConsumoItemEnderecos.length <= 1" class="text-center"> |
182 | 182 | <label-input-decimal ng-id="atendimentoRequisicaoConsumoItem.quantidade$index" ng-evento-blur="aplicarValidacaoDecimal" ng-evento-keyup="validarQuantidades(atendimentoRequisicaoConsumoItem)" |
183 | - ng-model="atendimentoRequisicaoConsumoItem.atendimentoRequisicaoConsumoItemEnderecos[0].quantidade" form="atendimentoRequisicaoConsumoForm" ng-disabled="!edit" ng-custom-maxlength="{{atendimentoRequisicaoConsumoItem.material.unidadeArmazenamento.tipoNumerico.codigo === 1 ? 4 : 11}}" | |
183 | + ng-model="atendimentoRequisicaoConsumoItem.atendimentoRequisicaoConsumoItemEnderecos[0].quantidade" form="atendimentoRequisicaoConsumoForm" ng-disabled="!edit" ng-custom-maxlength="{{atendimentoRequisicaoConsumoItem.material.unidadeArmazenamento.tipoNumerico.codigo === 1 ? 4 : 7}}" | |
184 | 184 | ng-precisao="{{atendimentoRequisicaoConsumoItem.material.unidadeArmazenamento.tipoNumerico.codigo === 1 ? 0 : 'decimal'}}" /> |
185 | 185 | </td> |
186 | 186 | <td ng-if="atendimentoRequisicaoConsumoItem.atendimentoRequisicaoConsumoItemEnderecos.length > 1"> | ... | ... |
cit-almoxarifado-web/src/main/webapp/html/baixaAlmoxarifado/baixaAlmoxarifadoEdit.html
... | ... | @@ -175,8 +175,11 @@ |
175 | 175 | <td class="text-center">{{baixaItem.materialConsumo.unidadeArmazenamento.descricao}}</td> |
176 | 176 | <td class="text-center">{{baixaItem.dataEstorno}}</td> |
177 | 177 | <td class="text-center">{{baixaItem.qtdEstoque}}</td> |
178 | - <td><label-input-decimal ng-obrigatorio="true" ng-precisao="2" form="baixaAlmoxarifadoForm" ng-id="baixaItem" ng-disabled='!edit || baixaItem.dataEstorno || baixaEstornada' | |
179 | - ng-model="baixaItem.quantidade" /></td> | |
178 | + <td> | |
179 | + <label-input-decimal ng-obrigatorio="true" ng-evento-blur="aplicarValidacaoDecimal" ng-custom-maxlength="{{baixaItem.materialConsumo.unidadeArmazenamento.tipoNumerico.codigo === 1 ? 4 : 7}}" | |
180 | + ng-precisao="{{baixaItem.materialConsumo.unidadeArmazenamento.tipoNumerico.codigo === 1 ? 0 : 'decimal'}}" | |
181 | + form="baixaAlmoxarifadoForm" ng-id="baixaItem" ng-disabled='!edit || baixaItem.dataEstorno || baixaEstornada' ng-model="baixaItem.quantidade" /> | |
182 | + </td> | |
180 | 183 | </tr> |
181 | 184 | </tbody> |
182 | 185 | <tfoot> | ... | ... |
cit-almoxarifado-web/src/main/webapp/html/devolucao/devolucaoEdit.html
... | ... | @@ -84,11 +84,15 @@ |
84 | 84 | </thead> |
85 | 85 | <tbody> |
86 | 86 | <tr ng-repeat="requisicaoConsumoItem in devolucao.requisicao.requisicaoConsumoItens" ng-show="devolucao.requisicao"> |
87 | - <td class="text-center">{{requisicaoConsumoItem.materialConsumo.descricao}}</td> | |
87 | + <td class="text-center">{{requisicaoConsumoItem.materialConsumo.unidadeArmazenamento.tipoNumerico.codigo}}</td> | |
88 | 88 | <td class="text-center">{{requisicaoConsumoItem.quantidade}}</td> |
89 | 89 | <td class="text-center">{{requisicaoConsumoItem.quantidadeDevolvida === undefined ? 0 : requisicaoConsumoItem.quantidadeDevolvida}}</td> |
90 | 90 | <td class="text-center">{{requisicaoConsumoItem.quantidadeAtendida}}</td> |
91 | - <td class="text-center"><label-input-number ng-id="requisicaoConsumoItem.$quantidadeADevolver" ng-disabled="!edit || requisicaoConsumoItem.quantidadeAtendida === 0 || (requisicaoConsumoItem.quantidadeDevolvida === requisicaoConsumoItem.quantidadeAtendida)" ng-model="requisicaoConsumoItem.$quantidadeADevolver" ng-custom-maxlength="10" form="devolucaoForm"></label-input-number></td> | |
91 | + <td class="text-center"> | |
92 | + <label-input-decimal ng-id="requisicaoConsumoItem.$quantidadeADevolver" ng-evento-blur="aplicarValidacaoDecimal" ng-disabled="!edit || requisicaoConsumoItem.quantidadeAtendida === 0 || (requisicaoConsumoItem.quantidadeDevolvida === requisicaoConsumoItem.quantidadeAtendida)" | |
93 | + ng-model="requisicaoConsumoItem.$quantidadeADevolver" ng-custom-maxlength="{{requisicaoConsumoItem.materialConsumo.unidadeArmazenamento.tipoNumerico.codigo === 1 ? 4 : 7}}" | |
94 | + ng-precisao="{{requisicaoConsumoItem.materialConsumo.unidadeArmazenamento.tipoNumerico.codigo === 1 ? 0 : 'decimal'}}" form="devolucaoForm"/> | |
95 | + </td> | |
92 | 96 | </tr> |
93 | 97 | <tr ng-hide="devolucao.requisicao.requisicaoConsumoItens.length > 0"> |
94 | 98 | <td colspan="5" class="text-center"><translate>LABEL.TABELA_VAZIA</translate></td> | ... | ... |