Commit 4bc0538c7998ca780664d22e544ffd17979e269c
1 parent
1b0091ae
Exists in
master
Redmine #4922 Corrigindo mudança de tipo de campo (Decimal/inteiro) na quantidad…
…e na entrada de materiais.
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
cit-almoxarifado-web/src/main/webapp/assets/js/angular/custom/controller/EntradaAlmoxarifadoController.js
... | ... | @@ -938,6 +938,7 @@ citApp.controller('EntradaAlmoxarifadoController', ['$scope', '$filter', 'FileUp |
938 | 938 | $scope.$watch('entradaItem.unidadeMedidaEntrada', function() { |
939 | 939 | $timeout(function(){ |
940 | 940 | if ($scope.entradaItem) { |
941 | + $scope.alternaTipoNumericoUnidadeMedida(); | |
941 | 942 | if($scope.entradaItem.$quantidadeEntrada && $scope.entradaItem.unidadeMedidaEntrada){ |
942 | 943 | $scope.entradaItem.quantidade = $scope.entradaItem.$quantidadeEntrada * $scope.entradaItem.unidadeMedidaEntrada.quantidadePadrao; |
943 | 944 | } else { | ... | ... |