Browse Source

购买请求添加/

yangc 7 years ago
parent
commit
bced052937

+ 1 - 1
components/applyPurchase/BatchPublish.vue

@@ -914,7 +914,7 @@
         this.onInput(index)
       },
       buyNow: function (goods, index) {
-        this.$http.post('trade/order/buyNow', [{
+        this.$http.post('/trade/order/buyNow', [{
           uuid: goods.uuid,
           batchCode: goods.batchCode,
           number: this.fragments[index].num,

+ 1 - 1
components/common/buyOrCar/buyComponent.vue

@@ -21,7 +21,7 @@
         } else {
           if (this.item && !this.disabledFlag) {
             if (isBuy) {
-              this.$http.post('trade/order/buyNow', [{
+              this.$http.post('/trade/order/buyNow', [{
                 uuid: this.item.uuid,
                 batchCode: this.item.batchCode,
                 number: this.item.minBuyQty,

+ 1 - 1
components/store/CommodityInfo.vue

@@ -370,7 +370,7 @@
         } else {
           if (item) {
             if (isBuy) {
-              this.$http.post('trade/order/buyNow', [{
+              this.$http.post('/trade/order/buyNow', [{
                 uuid: item.uuid,
                 batchCode: item.batchCode,
                 number: this.fragment.num,

+ 1 - 1
components/store/RecommendProduct.vue

@@ -88,7 +88,7 @@
         } else {
           if (item) {
             if (isBuy) {
-              this.$http.post('trade/order/buyNow', [{
+              this.$http.post('/trade/order/buyNow', [{
                 uuid: item.comUuid,
                 batchCode: item.batchCode,
                 number: item.minBuyQty,