Handy_Cao 2 jaren geleden
bovenliggende
commit
d3e5004c63

+ 1 - 1
src/packages/mobile/views/order/position/components/transfer/listing/Index.vue

@@ -75,7 +75,7 @@ const props = defineProps({
 })
 
 const { formData, formSubmit } = useOrder()
-const { getQuoteDayInfo } = useFuturesStore()
+const { getGoodsQuote } = useFuturesStore()
 const formRef = shallowRef<FormInstance>()
 const refresh = shallowRef(false) // 是否刷新父组件数据
 const showModal = shallowRef(true)

+ 1 - 1
src/packages/mobile/views/transfer/detail/Index.vue

@@ -76,7 +76,7 @@ const componentMap = new Map<string, unknown>([
 ])
 
 const { getQueryStringToNumber } = useNavigation()
-const { getQuoteDayInfo } = useFuturesStore()
+const { getGoodsQuote } = useFuturesStore()
 const goodsid = getQueryStringToNumber('goodsid')
 const quote = getGoodsQuote(goodsid)
 

+ 1 - 1
src/packages/mobile/views/transfer/detail2/index.vue

@@ -74,7 +74,7 @@ const componentMap = new Map<string, unknown>([
 ])
 
 const { router, getQueryStringToNumber } = useNavigation()
-const { getQuoteDayInfo } = useFuturesStore()
+const { getGoodsQuote } = useFuturesStore()
 const goodsid = getQueryStringToNumber('goodsid')
 const quote = getGoodsQuote(goodsid)
 const goodsCode = computed(() => quote.value?.goodscode ?? '')