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

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

li.shaoyi пре 1 година
родитељ
комит
bcfc011991
1 измењених фајлова са 5 додато и 0 уклоњено
  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()
 })