Ver Fonte

调整资金账号显示

li.shaoyi há 3 anos atrás
pai
commit
5c6c95d935

+ 1 - 1
src/@next/components/layout/footer/index.vue

@@ -8,7 +8,7 @@
         <a-button class="operBtn" @click="getTradeAccountList">刷新</a-button>
         <!-- 资金信息 -->
         <a-select class="select" style="width: 180px" placeholder="请选择账户" @change="tradeAccountChange" v-model:value="selectedAccountId">
-          <a-select-option v-for="item in tradeAccountList" :value="item.accountid" :key="item.accountid">{{item.accountid}}</a-select-option>
+          <a-select-option v-for="item in tradeAccountList" :value="item.accountid" :key="item.accountid">{{item.accountid}}/{{ item.accountname }}</a-select-option>
         </a-select>
         <div class="iconfont icon icon-shouqi" @click="isShow = !isShow"></div>
       </mtp-tabbar>

+ 1 - 1
src/views/market/futures/compoments/futures-trade/index.vue

@@ -10,7 +10,7 @@
             </a-form-item>
             <a-form-item label="账号">
               <a-select class="inlineFormSelect" placeholder="请选择" v-model:value="formData.AccountID" @change="tradeAccountChange">
-                <a-select-option v-for="item in futuresAccountList" :value="item.accountid" :key="item.accountid">{{ item.accountname }} - {{item.accountid}}</a-select-option>
+                <a-select-option v-for="item in futuresAccountList" :value="item.accountid" :key="item.accountid">{{item.accountid}}/{{ item.accountname }}</a-select-option>
               </a-select>
             </a-form-item>
             <a-form-item label="合约">