zhou.xiaoning 1 ano atrás
pai
commit
6f05543f08
2 arquivos alterados com 4 adições e 1 exclusões
  1. 3 1
      src/stores/modules/futures.ts
  2. 1 0
      src/types/model/market.d.ts

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

@@ -276,6 +276,7 @@ export const useFuturesStore = defineStore(() => {
             totalturnover: quote.totalturnover ?? 0,
             holdvolume: quote.holdvolume ?? 0,
             provideraccountid: 0,
+            currencyid: 1,
             provideruserid: 0,
             marketmarginalgorithm: 0,
             marketmarginvalue: 0,
@@ -338,7 +339,8 @@ export const useFuturesStore = defineStore(() => {
                     tradeproperty: item.tradeproperty,
                     provideraccountid: item.provideraccountid,
                     provideruserid: item.provideruserid,
-                    goodstradetype: item.goodstradetype
+                    goodstradetype: item.goodstradetype,
+                    currencyid: item.currencyid
                 } = goods)
 
                 item.iscannotbuy = goods.iscannotbuy ?? 0

+ 1 - 0
src/types/model/market.d.ts

@@ -142,6 +142,7 @@ declare namespace Model {
         provideraccountid: number; // 发售方资金账户ID(49)\供货商资金账户ID(50)
         provideruserid: number; // 发售方用户ID(49)\供货商(50)
         goodstradetype: number;//商品交易权限类型 - 1:可建可平 3:不可建可平
+        currencyid: number;//报价货币ID
     }
 
     /** 查询新板块设置 响应 */