Handy_Cao 1 éve
szülő
commit
9b4f92ca18

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

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