|
|
@@ -36,7 +36,7 @@ export function handleForm() {
|
|
|
export function handleSpotWarrant(buyOrSell: BuyOrSell, selectedRow: QueryOrderQuoteMyqQsp, loading: Ref<boolean>) {
|
|
|
const wrHoldList = ref<Wrhold[]>([])
|
|
|
const allWrHoldList = ref<WrHoldLB[]>([])
|
|
|
- if (buyOrSell === BuyOrSell.sell) {
|
|
|
+ if (buyOrSell === BuyOrSell.buy) {
|
|
|
queryResultLoadingAndInfo(queryHoldLB, loading).then(res => {
|
|
|
allWrHoldList.value = res
|
|
|
wrHoldList.value = res.filter((e: WrHoldLB) => e.wrfactortypeid === String(selectedRow.wrfactortypeid)).map((e: WrHoldLB) => {
|