|
|
@@ -12807,7 +12807,8 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
|
|
|
if(data.success) {
|
|
|
toaster.pop('success', '提示', data.success);
|
|
|
$timeout(function() {
|
|
|
- window.location.hash = '#/purc/order/'+data.id;
|
|
|
+ window.location.hash = '#/purc/order/'+data.id;
|
|
|
+ window.location.reload();
|
|
|
},500);
|
|
|
}
|
|
|
if(data.error) {
|
|
|
@@ -12823,6 +12824,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
|
|
|
cartOperation.deleteCart({id: id}, {}, function(data) {
|
|
|
if(data.success) {
|
|
|
toaster.pop('success', '提示', data.success);
|
|
|
+ getTodoCartCount();
|
|
|
$timeout(function() {
|
|
|
$scope.tableParams.page(1);
|
|
|
$scope.tableParams.reload();
|
|
|
@@ -12934,6 +12936,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
|
|
|
toaster.pop('success', '提示', data.success);
|
|
|
$timeout(function() {
|
|
|
window.location.hash = '#/purc/order/'+data.id;
|
|
|
+ window.location.reload();
|
|
|
},500);
|
|
|
}
|
|
|
if(data.error) {
|