hejq 8 лет назад
Родитель
Сommit
55986c584d
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/main/webapp/resources/js/index/app.js

+ 1 - 1
src/main/webapp/resources/js/index/app.js

@@ -7041,7 +7041,7 @@ define(['toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
                             toaster.pop('success', '提示', '发货成功,跳转至发货单:' + $scope.saleSend.code);
                             $modalInstance.close('success');
                             $state.go('sale.send_detail', {id: data.id});
-                        } else if(data.info) {
+                        } else {
                             toaster.pop('error', '提示', '发货失败,请刷新页面重试');
                         }
                     }, function (response) {