Handy_Cao пре 1 година
родитељ
комит
9b4f92ca18
1 измењених фајлова са 4 додато и 0 уклоњено
  1. 4 0
      src/packages/pc/views/market/trade/pricing/list/listing/index.vue

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