Browse Source

Merge branch 'v20' of http://192.168.31.240:3000/MTP2.0_New/MTP20_WEB_GLOBAL into v20

li.shaoyi 1 year ago
parent
commit
bcfc011991
1 changed files with 5 additions and 0 deletions
  1. 5 0
      src/packages/pc/views/market/trade/pricing/list/listing/index.vue

+ 5 - 0
src/packages/pc/views/market/trade/pricing/list/listing/index.vue

@@ -353,6 +353,11 @@ const getOrderPrice = () => {
 }
 
 watch([selectedGoodsId, orderPriceType], () => {
+    // 商城模式只有买方向
+    if (selectedGoods.value?.trademode === 53) {
+        formData.BuyOrSell = BuyOrSell.Buy
+        formData.PriceMode = PriceMode.Market
+    }
     formData.OrderPrice = getOrderPrice()
 })