From f8b0599a04ac4310ecbb36ca842b9d4edeec3744 Mon Sep 17 00:00:00 2001
From: dcc <dcc@163.com>
Date: Fri, 26 Jul 2024 11:21:08 +0800
Subject: [PATCH] 7.25更改
---
src/views/wallet/withdraw.vue | 2 +-
src/components/constract/DeliveryContract/DetailDialog.vue | 1 +
src/components/constract/DeliveryContract/position.vue | 8 ++++----
jysPc6.8.zip | 0
4 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/jysPc6.8.zip b/jysPc6.8.zip
index 628ba3c..4f2621c 100644
--- a/jysPc6.8.zip
+++ b/jysPc6.8.zip
Binary files differ
diff --git a/src/components/constract/DeliveryContract/DetailDialog.vue b/src/components/constract/DeliveryContract/DetailDialog.vue
index 11ee926..d1e9c19 100644
--- a/src/components/constract/DeliveryContract/DetailDialog.vue
+++ b/src/components/constract/DeliveryContract/DetailDialog.vue
@@ -257,6 +257,7 @@
order_no: order_no,
}).then((res) => {
this.detailData.close_price = res.data.close_price;
+ this.detailData.profit = res.data.profit;
});
},
// ??
diff --git a/src/components/constract/DeliveryContract/position.vue b/src/components/constract/DeliveryContract/position.vue
index 8245942..fa2fc20 100644
--- a/src/components/constract/DeliveryContract/position.vue
+++ b/src/components/constract/DeliveryContract/position.vue
@@ -54,7 +54,7 @@
<div>{{ $t("message.home.jiaogeshijian") }}</div>
<div>{{ $t("message.home.goumaijia") }}</div>
<div>{{ $t("message.home.jiesuanjia") }}</div>
- <!-- <div>{{ $t("message.home.yingkui") }}</div> -->
+ <div v-if="type == 'hisorders'">{{ $t("message.home.yingkui") }}</div>
<div class="flex-2">
{{ $t("message.home.daoqishijian") }}
</div>
@@ -94,12 +94,12 @@
<div>{{ item.time_num }} {{ item.time_unit }}</div>
<div>{{ item.open_price }}</div>
<div>{{ item.close_price }}</div>
- <!-- <div v-if="item.profit < 0" class="red">
+ <div v-if="type == 'hisorders' && item.profit < 0" class="red">
{{ item.profit }}
</div>
- <div v-else class="green">
+ <div v-if="type == 'hisorders' && item.profit >= 0" class="green">
{{ item.profit }}
- </div> -->
+ </div>
<!-- <div>{{ item.order_no }}</div>
<div v-if="item.state=='submitted'">已提交</div>
diff --git a/src/views/wallet/withdraw.vue b/src/views/wallet/withdraw.vue
index 3eca580..1c3524b 100644
--- a/src/views/wallet/withdraw.vue
+++ b/src/views/wallet/withdraw.vue
@@ -637,7 +637,7 @@
session_token: this.session_token,
};
// 申请提现
- Axios.postFormData("api/withdraw/apply", withdrawParams).then((res) => {
+ Axios.fetch("wap/api/withdraw!apply.action", withdrawParams).then((res) => {
var jsonArray = res;
if (jsonArray.code == 0) {
this.$message.success(this.$t("message.user.xian37"));
--
Gitblit v1.9.3