Commit 154edcb8 authored by 顾俭's avatar 顾俭

aship/aship#3 防伪码功能-作废重打:UI

parent 7eda7160
...@@ -16,10 +16,11 @@ angular.module('IOne').controller('BarcodeQueryController', function ($scope, Co ...@@ -16,10 +16,11 @@ angular.module('IOne').controller('BarcodeQueryController', function ($scope, Co
$scope.dtlMessage = response.data.message; $scope.dtlMessage = response.data.message;
if ($scope.dtlMessage.charAt($scope.dtlMessage.length - 1) == 'Y') { if ($scope.dtlMessage.charAt($scope.dtlMessage.length - 1) == 'Y') {
$scope.okStatus = true; $scope.okStatus = true;
UtilService.showInfo(response.data.message);
} else { } else {
$scope.okStatus = false; $scope.okStatus = false;
UtilService.showWarn(response.data.message);
} }
UtilService.showInfo(response.data.message);
} else { } else {
UtilService.showError(response.data.message); UtilService.showError(response.data.message);
$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