Commit e6b5f255 authored by 顾俭's avatar 顾俭

防伪码无效状态显示更新

parent b679e79c
...@@ -17,11 +17,13 @@ angular.module('IOne').controller('BarcodeQueryController', function ($scope, Co ...@@ -17,11 +17,13 @@ angular.module('IOne').controller('BarcodeQueryController', function ($scope, Co
$scope.dtlMessage = response.data.message; $scope.dtlMessage = response.data.message;
UtilService.showInfo(response.data.message); UtilService.showInfo(response.data.message);
} else { } else {
$scope.okStatus = false;
UtilService.showError(response.data.message); UtilService.showError(response.data.message);
$scope.dtlMessage = response.data.message; $scope.dtlMessage = response.data.message;
} }
}, },
function (response) { function (response) {
$scope.okStatus = false;
UtilService.showError(response.data.error); UtilService.showError(response.data.error);
$scope.dtlMessage = response.data.message; $scope.dtlMessage = response.data.message;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment