@@ -1,6 +1,6 @@
<!-- 商品订单-合约汇总-交收 -->
<template>
- <app-drawer title="交收" width="80%" v-model:show="show" :loading="loading" :refresh="refresh">
+ <app-drawer title="交收" :width="800" v-model:show="show" :loading="loading" :refresh="refresh">
<el-form ref="formRef" class="el-form--horizontal" label-width="120px" :model="formData" :rules="formRules">
<el-form-item label="商品代码/名称">
<span>{{ selectedRow.goodscode }}/{{ selectedRow.goodsname }}</span>
<!-- 商品订单-合约汇总-转让 -->
- <app-drawer title="转让" width="80%" v-model:show="show" :loading="loading" :refresh="refresh">
+ <app-drawer title="转让" :width="800" v-model:show="show" :loading="loading" :refresh="refresh">
<el-form ref="formRef" class="el-form--horizontal" label-width="120px" label-position="left" :model="formData"
:rules="formRules">
@@ -7,7 +7,7 @@
</template>
<!-- 最新价 -->
<template #last="{ row }">
- {{ last(row) }}
+ {{ last(row.goodsCode) }}
<!-- 浮动盈亏-->
<template #closepl="{ row }">
@@ -188,6 +188,7 @@ export const useFuturesStore = defineStore(() => {
const getQuotePrice = (code?: string | number) => {
return computed(() => {
const quote = getQuoteInfo(code)
+ console.log(quote.value)
return quote.value?.last ?? 0
})
}