Forráskód Böngészése

发货提醒增加提示

hejq 8 éve
szülő
commit
55986c584d
1 módosított fájl, 1 hozzáadás és 1 törlés
  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) {