dcc
2024-08-03 1613da5e0d5b13b20fc384da3595766efe8ffb24
src/components/constract/DeliveryContract/createOrder.vue
@@ -167,6 +167,7 @@
      :dialogVisible="detailVisible"
      :pageData="currencyData"
      @closeDialog="handleCloseDetailDialog"
      :showDetail = "showDetail"
    ></detail-dialog>
    <!-- 确认弹窗  -->
    <dialog-confirm
@@ -229,6 +230,7 @@
      deliveryType: "buy",
      buyAndSellData: {},
      canOpen: true, //能否开仓,false表示处于休市状态
      showDetail: {}
    };
  },
  watch: {
@@ -257,7 +259,7 @@
        symbol: 'btc',
        // token: this.userInfo.token,
      }).then((res) => {
        console.log(res.data)
        // console.log(res.data)
        this.volume = res.data.amount;
        this.sessionToken = res.data.session_token;
        this.list = res.data.para; //交易时段
@@ -343,7 +345,8 @@
            order_no: res.data.order_no,
            symbol: this.currencyData.symbol,
          };
          bus.emit("showDetail", obj);
          this.showDetail = obj
          // bus.emit("showDetail", obj);
          ElMessage({
            message: this.$t("message.jiaoyi.kaicangchenggong"),
            type: "success",