Преглед изворни кода

处理推荐报价中无法报价问题

liusw пре 7 година
родитељ
комит
e7ef45c610

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

@@ -196,6 +196,9 @@ define(['app/app'], function (app) {
               if (!$scope.inquiryItem.currency) {
                 $scope.inquiryItem.currency = $scope.seekCurrency[0];
               }
+              if ($scope.vendorType == 'self') {
+                  $scope.inquiryItem.id = $scope.inquiryItem.itemId;
+              }
               if (seekUrl == 'https://api-inquiry.usoftmall.com') {
                 seekPurchase.saveOfferProd($scope.inquiryItem, function (data) {
                   toaster.pop('success', '报价成功');