|
|
@@ -24393,8 +24393,8 @@ define(['toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
|
|
|
$http({
|
|
|
method: 'get',
|
|
|
dataType: 'json',
|
|
|
- url: $scope.url + '/inquiry/sale/quote',
|
|
|
- params: {id: remind.itemId, en_uu: $scope.currentEn.uu}
|
|
|
+ url: $scope.url + '/inquiry/public/findItemByItemId',
|
|
|
+ params: {itemId: remind.itemId, enuu: $scope.currentEn.uu}
|
|
|
}).success(function (response) {
|
|
|
var inquiryItem = response;
|
|
|
var modalInstance = $modal.open({
|
|
|
@@ -24422,6 +24422,15 @@ define(['toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
|
|
|
});
|
|
|
}
|
|
|
|
|
|
+ // 跳转详情
|
|
|
+ $scope.toDetail = function(remind) {
|
|
|
+ if (remind.newId == null) {
|
|
|
+ window.location.hash = '#/baseInfo/inquiryList/' + remind.itemId;
|
|
|
+ } else {
|
|
|
+ window.open("#/sale/pubinquiry/" + remind.newId);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
}]);
|
|
|
|
|
|
return app;
|