From bcbd848449b293b70a4376b0b180d872ef2bc543 Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Sat, 28 Sep 2024 15:04:09 +0800
Subject: [PATCH] 首次提交

---
 src/views/newshares/newshareslist.vue |   57 ++++++++++++++++++++++++++++++++++++---------------------
 1 files changed, 36 insertions(+), 21 deletions(-)

diff --git a/src/views/newshares/newshareslist.vue b/src/views/newshares/newshareslist.vue
index 8a4a561..50e2bee 100644
--- a/src/views/newshares/newshareslist.vue
+++ b/src/views/newshares/newshareslist.vue
@@ -96,15 +96,7 @@
             </div>
           </template>
         </span>
-        <span slot="stockType" slot-scope="text, record">
-          <template>
-            <div>
-              <a-tag :color="record.stockType == 'sh' ? 'purple' : record.stockType == 'sz' ? 'blue' : ''">
-                {{ record.stockType == 'sh' ? '沪股' : record.stockType == 'sz' ? '深股' : record.stockType }}
-              </a-tag>
-            </div>
-          </template>
-        </span>
+       
 
         <template slot="action" slot-scope="text, record">
           <a slot="action" href="javascript:;" @click="geteditStock(record)">{{ '修改新股' }}</a>
@@ -222,13 +214,33 @@
               </a-date-picker>
             </a-form-item>
           </a-col>
-          <!-- <a-col :md="12" :lg="12" :sm="12">
-            <a-form-item label="预估价格" :labelCol="labelCol" :wrapperCol="wrapperCol">
-              <a-input
-                placeholder="请输入预估价格"
-                v-decorator="['pe', { rules: [{ required: true, message: '请输入预估价格', }] }]" />
+          <a-col :md="12" :lg="12" :sm="12">
+            <a-form-item label="新股市场" :labelCol="labelCol" :wrapperCol="wrapperCol">
+              <a-select
+                placeholder="请选择新股市场"
+                v-decorator="['stockType', { rules: [{ required: true, message: '新股市场' }] }]"
+              >
+                <a-select-option value="nse">nse</a-select-option>
+                <a-select-option value="bse">bse</a-select-option>
+              </a-select>
             </a-form-item>
-          </a-col> -->
+          </a-col>
+        </a-row>
+        <a-row :gutter="48">
+          <a-col :md="12" :lg="12" :sm="12">
+            <a-form-item label="最低买入价格" :labelCol="labelCol" :wrapperCol="wrapperCol">
+              <a-input
+                placeholder="请输入最低买入价格"
+                v-decorator="['minPrice' ]" />
+            </a-form-item>
+          </a-col>
+          <a-col :md="12" :lg="12" :sm="12">
+            <a-form-item label="密钥" :labelCol="labelCol" :wrapperCol="wrapperCol">
+              <a-input
+                placeholder="请输入密钥"
+                v-decorator="['password' ]" />
+            </a-form-item>
+          </a-col>
         </a-row>
       </a-form>
     </a-modal>
@@ -276,12 +288,12 @@
           align: 'center',
           scopedSlots: { customRender: 'type' },
         },
-        // {
-        //   title: '股票类型',
-        //   dataIndex: 'stockType',
-        //   align: 'center',
-        //   scopedSlots: { customRender: 'stockType' },
-        // },
+        {
+          title: '股票类型',
+          dataIndex: 'stockType',
+          align: 'center',
+          scopedSlots: { customRender: 'stockType' },
+        },
 
         {
           title: '结束时间',
@@ -334,6 +346,7 @@
         name: '',
         zt: undefined,
         type: undefined,
+        stockType:undefined,
       },
       datalist: [],
       labelCol: {
@@ -363,6 +376,8 @@
         'code',
         'pe',
         'listDate',
+        'password',
+        'minPrice'
       ],
       currentdetail: '',
       subscribeTime: '',

--
Gitblit v1.9.3