Browse Source

修改合约卖币的可开不能变动

master
liaoxinyu 2 years ago
parent
commit
213eb96efb
  1. 7
      src/views/contract/exchange-store.vue

7
src/views/contract/exchange-store.vue

@ -254,7 +254,7 @@
<div v-if="tab == 1" class="kaicang"> <div v-if="tab == 1" class="kaicang">
<div class="d-flex justify-content-between mb-3"> <div class="d-flex justify-content-between mb-3">
<div class="color_7c">{{ $t("contract.e7") }} </div> <div class="color_7c">{{ $t("contract.e7") }} </div>
<div>{{ accountInfo.account_equity }}</div> <div>{{ accountInfo.openNum }}</div>
</div> </div>
<div class="d-flex justify-content-between mb-3"> <div class="d-flex justify-content-between mb-3">
<div class="color_7c">{{ $t("contract.e1") }}</div> <div class="color_7c">{{ $t("contract.e1") }}</div>
@ -369,7 +369,7 @@ export default {
visible: false, visible: false,
form: { form: {
type: 2,//21 type: 2,//21
lever_rate: "" lever_rate: "50"
}, },
buyform: { buyform: {
entrust_price: undefined, entrust_price: undefined,
@ -539,7 +539,8 @@ export default {
if (!this.isLogin) return; if (!this.isLogin) return;
// if (!this.contractOpen) return; // if (!this.contractOpen) return;
let data = { let data = {
symbol: this.symbol symbol: this.symbol,
lever_rate: this.form.lever_rate //10
}; };
Contract.contractAccount(data).then(res => { Contract.contractAccount(data).then(res => {
this.accountInfo = res; this.accountInfo = res;

Loading…
Cancel
Save