wangcz 7 лет назад
Родитель
Сommit
72cd3099c8
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      src/main/webapp/resources/js/vendor/controllers/forstore/purchase_detail.js

+ 3 - 1
src/main/webapp/resources/js/vendor/controllers/forstore/purchase_detail.js

@@ -66,7 +66,9 @@ define(['app/app'], function(app) {
                             $scope.logisticsInfo = eval ("(" + response.traces + ")");
                             $scope.logisticsInfo = eval ("(" + response.traces + ")");
                             if($scope.logisticsInfo.length != 0) {
                             if($scope.logisticsInfo.length != 0) {
                                 $scope.hasInfo = true;
                                 $scope.hasInfo = true;
-                            }
+                            } else {
+                                $scope.hasInfo = false;
+							}
                         }
                         }
                     }, function(err){
                     }, function(err){
                         toaster.pop('info', err.data);
                         toaster.pop('info', err.data);