Handy_Cao 2 年之前
父節點
當前提交
6acd152d07

+ 1 - 1
src/packages/pc/views/footer/goods/position/components/delivery/index.vue

@@ -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>

+ 1 - 1
src/packages/pc/views/footer/goods/position/components/transfer/index.vue

@@ -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" label-position="left" :model="formData"
             :rules="formRules">
             <el-form-item label="商品代码/名称">

+ 1 - 1
src/packages/pc/views/footer/goods/position/index.vue

@@ -7,7 +7,7 @@
         </template>
         <!-- 最新价 -->
         <template #last="{ row }">
-            {{ last(row) }}
+            {{ last(row.goodsCode) }}
         </template>
         <!-- 浮动盈亏-->
         <template #closepl="{ row }">

+ 1 - 0
src/stores/modules/futures.ts

@@ -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
         })
     }