Forráskód Böngészése

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

li.shaoyi 1 éve
szülő
commit
bcfc011991

+ 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()
 })