Handy_Cao 1 år sedan
förälder
incheckning
9b4f92ca18
1 ändrade filer med 4 tillägg och 0 borttagningar
  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()
 })