From d37ceed2ad5b94bbfc71a8a4cbdb7b498ddf724d Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Sat, 19 Jul 2025 14:14:18 +0800
Subject: [PATCH] 1
---
src/page/user/Warehouse copy.vue | 64 ++++++++++++++++----------------
1 files changed, 32 insertions(+), 32 deletions(-)
diff --git a/src/page/user/Warehouse copy.vue b/src/page/user/Warehouse copy.vue
index e9b0ed6..09b9f79 100644
--- a/src/page/user/Warehouse copy.vue
+++ b/src/page/user/Warehouse copy.vue
@@ -251,7 +251,7 @@
</div>
<div class="bottom_price_title">
<div class="start_price">
- <span>P/L(INR)</span>
+ <span>P/L(JPY)</span>
</div>
<div class="new_price">
<span>{{ $t("shou") }}</span>
@@ -351,7 +351,7 @@
</div>
<div class="bottom_price_title">
<div class="start_price">
- <span>P/L(INR)</span>
+ <span>P/L(JPY)</span>
</div>
<div class="new_price">
<span>{{ $t("shou") }}</span>
@@ -602,7 +602,7 @@
@click="
$router.push({
path: '/trading-list',
- query: { listid: 5 },
+ query: { listid: 5 }
})
"
>
@@ -733,7 +733,7 @@
this.$t("hj2"),
this.$t("hj109"),
this.$t("hj136"),
- this.$t("hj3"),
+ this.$t("hj3")
],
tabsCurrentIndex: 0,
titleName: this.$t("hj114"),
@@ -766,7 +766,7 @@
tabsXgArr: [],
cclist: [],
loadingXg: false,
- finishedXg: false,
+ finishedXg: false
};
},
mounted() {
@@ -791,7 +791,7 @@
state: this.zjtype == 0 ? "0" : "1",
stockType: this.typeindex == 0 ? "IN" : "US",
pageNum: this.pageNum,
- pageSize: this.pageSize,
+ pageSize: this.pageSize
};
let data = await api.getchicang(opt);
if (data.status === 0) {
@@ -803,11 +803,11 @@
getrenjiao(val) {
MessageBox.confirm(this.$t("hj251") + "?", this.$t("hj165"), {
confirmButtonText: this.$t("hj161"),
- cancelButtonText: this.$t("hj106"),
+ cancelButtonText: this.$t("hj106")
})
.then(async () => {
let opt = {
- id: val,
+ id: val
};
let data = await api.submitSubscribe(opt);
if (data.status === 0) {
@@ -831,11 +831,11 @@
// 沪深京
MessageBox.confirm(this.$t("hj139") + "?", this.$t("hj165"), {
confirmButtonText: this.$t("hj161"),
- cancelButtonText: this.$t("hj106"),
+ cancelButtonText: this.$t("hj106")
})
.then(async () => {
let opt = {
- positionSn: val,
+ positionSn: val
};
let data = await api.sell(opt);
if (data.status === 0) {
@@ -860,11 +860,11 @@
// 指数
MessageBox.confirm(this.$t("hj139") + "?", this.$t("hj165"), {
confirmButtonText: this.$t("hj161"),
- cancelButtonText: this.$t("hj106"),
+ cancelButtonText: this.$t("hj106")
})
.then(async () => {
let opt = {
- positionSn: val,
+ positionSn: val
};
let data = await api.sellIndex(opt);
if (data.status === 0) {
@@ -934,7 +934,7 @@
},
async gdClose(item) {
let opts = {
- id: item.id,
+ id: item.id
};
let data = await api.delGuaDan(opts);
if (data.status === 1) {
@@ -983,8 +983,8 @@
this.$router.push({
path: "/trading-list",
query: {
- listid: 5,
- },
+ listid: 5
+ }
});
},
SetTitleIndex(index) {
@@ -1053,7 +1053,7 @@
let data = await api.getorderList(opts);
this.loadingss = false;
if (data.status === 0) {
- data.data.forEach((element) => {
+ data.data.forEach(element => {
this.tabsOrderList.push(element);
});
this.totalss = data.data.length;
@@ -1116,7 +1116,7 @@
stockCode: "", // 代码
stockSpell: "", // 简拼
pageNum: this.page,
- pageSize: 15,
+ pageSize: 15
};
let data = await api.getOrderList(opt);
this.loading = false;
@@ -1124,7 +1124,7 @@
if (data.data.list.length < 15) {
this.finished = true;
}
- data.data.list.forEach((element) => {
+ data.data.list.forEach(element => {
this.tabsPositionNumArr.push(element);
});
this.total = data.data.total;
@@ -1140,7 +1140,7 @@
stockCode: "", // 代码
stockSpell: "", // 简拼
pageNum: this.pageNum,
- pageSize: this.pageSize,
+ pageSize: this.pageSize
};
let data = await api.getIndexOrderList(opt);
this.loading = false;
@@ -1148,7 +1148,7 @@
if (data.data.list.length < 15) {
this.finished = true;
}
- data.data.list.forEach((element) => {
+ data.data.list.forEach(element => {
this.tabsPositionNumArr.push(element);
});
this.total = data.data.total;
@@ -1164,7 +1164,7 @@
fnCode: "", // 代码
fnName: "", // 简拼
pageNum: this.pageNum,
- pageSize: this.pageSize,
+ pageSize: this.pageSize
};
let data = await api.getFuturesOrderList(opt);
this.loading = false;
@@ -1172,7 +1172,7 @@
if (data.data.list.length < 15) {
this.finished = true;
}
- data.data.list.forEach((element) => {
+ data.data.list.forEach(element => {
this.tabsPositionNumArr.push(element);
});
this.total = data.data.total;
@@ -1188,7 +1188,7 @@
stockCode: "", // 代码
stockSpell: "", // 简拼
pageNum: this.pages,
- pageSize: 15,
+ pageSize: 15
};
let data = await api.getOrderList(opt);
this.loadings = false;
@@ -1196,7 +1196,7 @@
if (data.data.list.length < 15) {
this.finisheds = true;
}
- data.data.list.forEach((element) => {
+ data.data.list.forEach(element => {
this.tabsPcArr.push(element);
});
this.totals = data.data.total;
@@ -1212,7 +1212,7 @@
stockCode: "", // 代码
stockSpell: "", // 简拼
pageNum: this.pageNum,
- pageSize: 15,
+ pageSize: 15
};
let data = await api.getIndexOrderList(opt);
this.loadings = false;
@@ -1220,7 +1220,7 @@
this.finisheds = true;
}
if (data.status === 0) {
- data.data.list.forEach((element) => {
+ data.data.list.forEach(element => {
this.tabsPcArr.push(element);
});
this.totals = data.data.total;
@@ -1236,7 +1236,7 @@
fnCode: "", // 代码
fnName: "", // 简拼
pageNum: this.pageNum,
- pageSize: this.pageSize,
+ pageSize: this.pageSize
};
let data = await api.getFuturesOrderList(opt);
this.loadings = false;
@@ -1244,7 +1244,7 @@
if (data.data.list.length < 15) {
this.finisheds = true;
}
- data.data.list.forEach((element) => {
+ data.data.list.forEach(element => {
this.tabsPcArr.push(element);
});
this.totals = data.data.total;
@@ -1268,7 +1268,7 @@
} else {
Toast(data.msg);
}
- },
+ }
},
filters: {
gettime(time) {
@@ -1300,8 +1300,8 @@
// 17:35:2922-06-2022
// return y + '/' + mm + '/' + d + ' ' + h + ':' + m + ':' + c
return mm + "/" + d + "/" + y + " " + h + ":" + m + ":" + c;
- },
- },
+ }
+ }
};
</script>
@@ -2086,4 +2086,4 @@
right: 0.5rem;
top: calc(50% - 0.15rem);
}
-</style>
\ No newline at end of file
+</style>
--
Gitblit v1.9.3