From e1e694369dabf557615669ce2f71e9af70277ff6 Mon Sep 17 00:00:00 2001
From: admin <344137771@qq.com>
Date: Wed, 07 Jan 2026 13:56:32 +0800
Subject: [PATCH] 1
---
src/crud/mining/stock-subscription.js | 122 ++++++++++++++++++++++++++++++++++++++++
1 files changed, 122 insertions(+), 0 deletions(-)
diff --git a/src/crud/mining/stock-subscription.js b/src/crud/mining/stock-subscription.js
new file mode 100644
index 0000000..95360be
--- /dev/null
+++ b/src/crud/mining/stock-subscription.js
@@ -0,0 +1,122 @@
+export const tableOption = {
+ searchMenuSpan: 6,
+ columnBtn: false,
+ border: true,
+ selection: true,
+ index: false,
+ indexLabel: "序号",
+ stripe: true,
+ menuAlign: "center",
+ menuWidth: 180,
+ align: "center",
+ refreshBtn: true,
+ searchSize: "mini",
+ addBtn: false,
+ editBtn: false,
+ delBtn: false,
+ viewBtn: false,
+ emptyBtn: true,
+ props: {
+ label: "label",
+ value: "value",
+ },
+ column: [
+ {
+ label: "ID",
+ prop: "userCode",
+ },
+ {
+ label: "申购单号",
+ prop: "orderNo",
+ search: true,
+ },
+ {
+ label: "申购状态",
+ prop: "status",
+ type: "select",
+ dicData: [
+ {
+ label: "申购中",
+ value: 1,
+ },
+ {
+ label: "已中签",
+ value: 2,
+ },
+ {
+ label: "未中签",
+ value: 3,
+ },
+ ],
+ search: true,
+ },
+ {
+ label: "用户名",
+ prop: "userName",
+ search: true,
+ },
+ {
+ label: "推荐人",
+ prop: "recomUserName",
+ },
+ {
+ label: "实名",
+ prop: "realName",
+ },
+ {
+ label: "股票名称",
+ prop: "symbolName",
+ search: true,
+ },
+ {
+ label: "股票代码",
+ prop: "symbolCode",
+ search: true,
+ },
+ {
+ label: "申购价格",
+ prop: "subPrice",
+ },
+ {
+ label: "申购股数",
+ prop: "subNumber",
+ },
+ {
+ label: "中签数量",
+ prop: "winningNumber",
+ },
+ {
+ label: "申购需认缴",
+ prop: "requiredSubscribe",
+ },
+ {
+ label: "中签应认缴",
+ prop: "requiredNumber",
+ },
+ {
+ label: "认缴次数",
+ prop: "userPromiseCount",
+ },
+ {
+ label: "已认缴次数",
+ prop: "subscribedCount",
+ },
+ {
+ label: "已认缴金额",
+ prop: "subscribedAmount",
+ },
+ {
+ label: "需补缴金额",
+ prop: "needPayAmount",
+ formatter: (row) => {
+ const requiredNumber = parseFloat(row.requiredNumber) || 0;
+ const subscribedAmount = parseFloat(row.subscribedAmount) || 0;
+ return (requiredNumber - subscribedAmount).toFixed(2);
+ },
+ },
+ {
+ label: "申购时间",
+ prop: "createTime",
+ },
+ ],
+};
--
Gitblit v1.9.3