|
|
@@ -5724,8 +5724,8 @@ define(['toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
|
|
|
if ($stateParams.id)
|
|
|
window.location.reload();
|
|
|
else
|
|
|
- window.location.hash = '#/sale/quotation/' + data.id;
|
|
|
-// window.location.hash = '#/sale/quotation/list';
|
|
|
+ // window.location.hash = '#/sale/quotation/' + data.id;
|
|
|
+ window.location.hash = '#/sale/quotation/list';
|
|
|
}, function (response) {
|
|
|
$scope.loading = false;
|
|
|
toaster.pop('error', '保存失败', response.data);
|
|
|
@@ -5760,7 +5760,8 @@ define(['toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
|
|
|
Quotation.save({}, $scope.item, function (data) {
|
|
|
$scope.loading = false;
|
|
|
toaster.pop('success', '成功', '提交成功');
|
|
|
- window.location.hash = '#/sale/quotation/' + data.id;
|
|
|
+ // window.location.hash = '#/sale/quotation/' + data.id;
|
|
|
+ window.location.hash = '#/sale/quotation/list';
|
|
|
}, function (response) {
|
|
|
$scope.loading = false;
|
|
|
toaster.pop('error', '保存失败', response.data);
|