yangc 7 лет назад
Родитель
Сommit
2bf561d096

+ 1 - 1
src/main/webapp/resources/js/common/query/seekPurchase.js

@@ -23,7 +23,7 @@ define([ 'ngResource' ], function() {
         method: 'POST'
         method: 'POST'
       },
       },
      saveOffer: {
      saveOffer: {
-        url: 'http://10.1.51.82:24002/inquiry/sale/item/save',
+        url: 'http://218.17.158.219:24000/inquiry/sale/item/save',
         method: 'POST'
         method: 'POST'
       },
       },
       saveOfferProd: {
       saveOfferProd: {

+ 2 - 2
src/main/webapp/resources/js/usercenter/controllers/forstore/seek_purchase_ctrl.js

@@ -39,8 +39,8 @@ define(['app/app', 'clipboard', 'QRCode'], function (app, clipboard, QRCode) {
             $scope.seekPurchaseTableParams.reload();
             $scope.seekPurchaseTableParams.reload();
           }
           }
           seekPurchase.getSeekUrl({}, function(data) {
           seekPurchase.getSeekUrl({}, function(data) {
-            // var seekUrl = data.url;
-              var seekUrl = 'http://10.1.51.82:24002';
+            var seekUrl = data.url;
+              // var seekUrl = 'http://10.1.51.82:24002';
             /*$scope.tab = 'waitOffer';*/
             /*$scope.tab = 'waitOffer';*/
             $scope.toogleTab = function (tab) {
             $scope.toogleTab = function (tab) {
               $scope.vendorType = 'all'
               $scope.vendorType = 'all'

+ 2 - 2
src/main/webapp/resources/js/vendor/controllers/forstore/purchase_offer_ctrl.js

@@ -5,8 +5,8 @@ define(['app/app'], function(app) {
         $scope.seekPurchaseRate = {};
         $scope.seekPurchaseRate = {};
         $scope.offer = {};
         $scope.offer = {};
       seekPurchase.getSeekUrl({}, function(data) {
       seekPurchase.getSeekUrl({}, function(data) {
-        // var seekUrl = data.url;
-          var seekUrl = 'http://10.1.51.82:24002';
+        var seekUrl = data.url;
+        //   var seekUrl = 'http://10.1.51.82:24002';
         // 获取我的报价列表
         // 获取我的报价列表
         $scope.seekPurchaseTableParams = new ngTableParams({
         $scope.seekPurchaseTableParams = new ngTableParams({
           pageNumber: 1,
           pageNumber: 1,

+ 2 - 2
src/main/webapp/resources/js/vendor/controllers/forstore/seek_purchase_ctrl.js

@@ -9,8 +9,8 @@ define(['app/app'], function (app) {
           $scope.seekPurchaseRate = {};
           $scope.seekPurchaseRate = {};
           $scope.sayType = 'current'; // 报价类型,current为当前,replace为替代料
           $scope.sayType = 'current'; // 报价类型,current为当前,replace为替代料
           seekPurchase.getSeekUrl({}, function(data) {
           seekPurchase.getSeekUrl({}, function(data) {
-            // var seekUrl = data.url;
-            var seekUrl = 'http://10.1.51.82:24002';
+            var seekUrl = data.url;
+            // var seekUrl = 'http://10.1.51.82:24002';
           $scope.initInquiryItem = function () {
           $scope.initInquiryItem = function () {
             $scope.validSayPrice = {
             $scope.validSayPrice = {
               leadtime: false,
               leadtime: false,