123
dcc
2024-07-24 410bcba8773a6681cc389d73952612706039a691
123
4 files modified
18 ■■■■ changed files
jysPc6.8.zip patch | view | raw | blame | history
src/components/constract/PerpetualContract/positionCom/currentPosition.vue 2 ●●● patch | view | raw | blame | history
src/components/constract/PerpetualContract/positionCom/historyOrder.vue 10 ●●●●● patch | view | raw | blame | history
src/views/wallet/spot.vue 6 ●●●● patch | view | raw | blame | history
jysPc6.8.zip
Binary files differ
src/components/constract/PerpetualContract/positionCom/currentPosition.vue
@@ -185,7 +185,7 @@
    },
    ratioFormatter(row) {
      const { change_ratio } = row;
      const ratio = `${bigDecimal.divide(change_ratio, 100, 4)}%`;
      const ratio = `${bigDecimal.divide(change_ratio * 100, 100, 2)}%`;
      return ratio;
    },
    directionFormatter(row, column, val) {
src/components/constract/PerpetualContract/positionCom/historyOrder.vue
@@ -80,6 +80,10 @@
          formatter: this.directionFormatter,
        },
        {
          prop: "deposit_open",
          label: "message.home.baozhengjin",
        },
        {
          prop: "trade_avg_price",
          label: "message.home.chengjiaojunjia",
        },
@@ -89,7 +93,7 @@
        },
        {
          prop: "volume_open",
          prop: "shuliang",
          label: "message.home.shuliang",
        },
        {
@@ -189,6 +193,10 @@
        //   item.close_time = item.close_time.split(' ')[0] + ' ' + initDate(item.close_time.split(' ')[1])
        // })
        this.tableData = res.data;
        this.tableData.forEach(item => {
          let shuliang = item.deposit_open*item.lever_rate/item.trade_avg_price
          item.shuliang = shuliang.toFixed(4)
        })
        // console.log(this.tableData,'this.tableData');
        const noNext = res.data.length == 0 || res.data.length < 10;
        this.noNext = noNext;
src/views/wallet/spot.vue
@@ -25,9 +25,9 @@
      <div class="margin-top-bottom20">
        <total-assets :pageType="'financial'"></total-assets>
        <div class="tab-customize-box">
          <el-input v-model="bizhong" style="width: 150px;" placeholder="搜索币种"/>
          <el-button type="primary" style="margin-left: 10px;margin-right: 20px;" @click="getList">查询</el-button>
          <el-checkbox v-model="yangCangchecked" label="隐藏0资产" size="large" @change="getList" />
          <el-input v-model="bizhong" style="width: 150px;" :placeholder="$t('message.user.sousuobizhong')"/>
          <el-button type="primary" style="margin-left: 10px;margin-right: 20px;" @click="getList">{{ $t('message.user.chaxun') }}</el-button>
          <el-checkbox v-model="yangCangchecked" :label="$t('message.user.yincangzichan')" size="large" @change="getList" />
        </div>
      </div>
      <div>