From fe1a028d6ad03860a9836951eaf4de6165d073d7 Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Sun, 07 Apr 2024 11:09:40 +0800
Subject: [PATCH] 修改:客户问题处理
---
src/page/trading/buy.vue | 15 ++++++++++++++-
1 files changed, 14 insertions(+), 1 deletions(-)
diff --git a/src/page/trading/buy.vue b/src/page/trading/buy.vue
index 14c23b0..cde6f52 100644
--- a/src/page/trading/buy.vue
+++ b/src/page/trading/buy.vue
@@ -538,7 +538,20 @@
elAlertType: "success",
});
this.getUserInfo();
- this.$router.push("/warehouse?index=0");
+ var buyType = ''
+ if (this.tabsCurrentIndex == 0) {
+ buyType = 1;
+ } else {
+ buyType = 0;
+ }
+ if(this.bayType=='US'){
+
+ this.$router.push("/warehouse?index=1&buyType="+buyType);
+ }else if(this.bayType=='MAS'){
+ this.$router.push("/warehouse?index=0&buyType="+buyType);
+ }else {
+ this.$router.push("/warehouse");
+ }
} else {
if (data.msg.indexOf("不在交易时段内") > -1) {
this.$store.commit("elAlertShow", {
--
Gitblit v1.9.3