From 832a37044afeea095d43535bcec6d2e71c4d2409 Mon Sep 17 00:00:00 2001
From: PC-20250623MANY\Administrator <344137771@qq.com>
Date: Sat, 16 Aug 2025 14:29:20 +0800
Subject: [PATCH] 1

---
 src/views/ipo/ipo.vue |   29 ++++++++++++++++++++++++++---
 1 files changed, 26 insertions(+), 3 deletions(-)

diff --git a/src/views/ipo/ipo.vue b/src/views/ipo/ipo.vue
index d58a9a5..257af68 100644
--- a/src/views/ipo/ipo.vue
+++ b/src/views/ipo/ipo.vue
@@ -135,19 +135,42 @@
   methods: {
     // 打开购买弹窗
     buyOpen(i) {
-      this.$confirm("", this.$t("操作确认"), {
+      // this.$confirm("", this.$t("操作确认"), {
+      //   confirmButtonText: this.$t("qr"),
+      //   cancelButtonText: this.$t("qx"),
+      // })
+      //   .then(async () => {
+      //     // 申购
+      //     let opt = {
+      //       newCode: i.code,
+      //       applyNums: i.orderNumber,
+      //       password: i.password,
+      //       newlistId: i.newlistId,
+      //       type: i.type,
+      //     };
+      //     let data = await api.getNewAdd(opt);
+
+      //     if (data.status == 0) {
+      //       this.$message.success(data.msg);
+      //       this.init(); // 重新获取列表
+      //     }
+      //   })
+      //   .catch(() => {});
+
+      this.$prompt(this.$t("sl"), this.$t("操作确认"), {
         confirmButtonText: this.$t("qr"),
         cancelButtonText: this.$t("qx"),
       })
-        .then(async () => {
+        .then(async (val) => {
           // 申购
           let opt = {
             newCode: i.code,
-            applyNums: i.orderNumber,
+            applyNums: val.value,
             password: i.password,
             newlistId: i.newlistId,
             type: i.type,
           };
+
           let data = await api.getNewAdd(opt);
 
           if (data.status == 0) {

--
Gitblit v1.9.3