From 5d56dcee8bbc4041a72b4e3ea68f7e952b4fc8a3 Mon Sep 17 00:00:00 2001
From: PC-20250623MANY\Administrator <344137771@qq.com>
Date: Tue, 16 Sep 2025 17:28:56 +0800
Subject: [PATCH] 1
---
src/views/product/shares.vue | 21 ++++++++++++---------
1 files changed, 12 insertions(+), 9 deletions(-)
diff --git a/src/views/product/shares.vue b/src/views/product/shares.vue
index d6934b9..dbb0188 100644
--- a/src/views/product/shares.vue
+++ b/src/views/product/shares.vue
@@ -12,12 +12,13 @@
</a-select>
</a-form-item>
</a-col>
-
+
<a-col :md="12" :lg="6" :sm="24">
<a-form-item label="股票市场">
<a-select v-model="queryParam.stockGid" placeholder="请选择股票市场">
- <a-select-option value="nse">nse</a-select-option>
- <a-select-option value="bse">bse</a-select-option>
+ <a-select-option :value="i.value" v-for="i in dict.StockType" :key="i.value">{{
+ i.label
+ }}</a-select-option>
</a-select>
</a-form-item>
</a-col>
@@ -260,12 +261,14 @@
</template>
<script>
import { stocklist, updateShow, updateLock, stockadd, stockupdateStock } from '@/api/product'
+import dict from '@/utils/dict'
import moment from 'moment'
import pick from 'lodash.pick'
export default {
name: 'Shares',
data() {
return {
+ dict,
columns: [
{
title: '股票名称 / 股票代码',
@@ -274,10 +277,10 @@
scopedSlots: { customRender: 'stockName' },
},
{
- title: '股票市场',
- dataIndex: 'stockGid',
- align: 'center',
- scopedSlots: { customRender: 'stockGid' }
+ title: '股票市场',
+ dataIndex: 'stockGid',
+ align: 'center',
+ scopedSlots: { customRender: 'stockGid' },
},
{
title: '现价',
@@ -351,7 +354,7 @@
stockType: undefined,
showState: undefined,
lockState: undefined,
- stockGid: undefined
+ stockGid: undefined,
},
datalist: [],
labelCol: {
@@ -445,7 +448,7 @@
stockType: undefined,
showState: undefined,
lockState: undefined,
- stockGid:undefined
+ stockGid: undefined,
}
},
getinit() {
--
Gitblit v1.9.3