|
@@ -352,13 +352,14 @@ const getOrderPrice = () => {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-watch([selectedGoodsId, buyOrSell, orderPriceType], () => {
|
|
|
|
|
|
|
+watch([selectedGoodsId, orderPriceType], () => {
|
|
|
|
|
+ console.log(buyOrSell)
|
|
|
// 商城模式只有买方向
|
|
// 商城模式只有买方向
|
|
|
if (selectedGoods.value?.trademode === 53) {
|
|
if (selectedGoods.value?.trademode === 53) {
|
|
|
formData.BuyOrSell = BuyOrSell.Buy
|
|
formData.BuyOrSell = BuyOrSell.Buy
|
|
|
formData.PriceMode = PriceMode.Market
|
|
formData.PriceMode = PriceMode.Market
|
|
|
}
|
|
}
|
|
|
- formData.BuyOrSell = buyOrSell
|
|
|
|
|
|
|
+ // formData.BuyOrSell = buyOrSell
|
|
|
formData.OrderPrice = getOrderPrice()
|
|
formData.OrderPrice = getOrderPrice()
|
|
|
})
|
|
})
|
|
|
|
|
|