From 885ecddb35916f9fad1226357611aaf500ecd4da Mon Sep 17 00:00:00 2001
From: zzzz <690498789@qq.com>
Date: Mon, 08 Apr 2024 11:36:07 +0800
Subject: [PATCH] first commit
---
.env.development | 2 +-
src/views/product/markettrading.vue | 12 +++++++-----
2 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/.env.development b/.env.development
index a7c2748..cb587f8 100644
--- a/.env.development
+++ b/.env.development
@@ -2,7 +2,7 @@
VUE_APP_PREVIEW=true
# VUE_APP_API_BASE_URL=http://www.jqydl.com:8091/
# VUE_APP_API_BASE_URL=https://api.3falcon.com/
- VUE_APP_API_BASE_URL=http://192.168.0.106:8091/
+ VUE_APP_API_BASE_URL=https://api.3falcon.com/
# VUE_APP_API_BASE_URL=https://www.rksv.store:8091/
# VUE_APP_API_BASE_URL=http://www.ojwuf.com:8091/
# VUE_APP_API_BASE_URL=https://192.168.0.102:8091/
diff --git a/src/views/product/markettrading.vue b/src/views/product/markettrading.vue
index 24741eb..1f8c8fe 100644
--- a/src/views/product/markettrading.vue
+++ b/src/views/product/markettrading.vue
@@ -120,7 +120,7 @@
/>
</a-form-item>
</a-col>
- <a-col :md="12" :lg="12" :sm="12">
+ <!-- <a-col :md="12" :lg="12" :sm="12">
<a-form-item label="金额模式" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-select
:value="typeValue"
@@ -131,7 +131,7 @@
<a-select-option value="1">百分比</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">
@@ -191,7 +191,7 @@
scopedSlots: { customRender: 'type' },
},
{
- title: '金额/百分比',
+ title: '金额',
dataIndex: 'price',
align: 'center',
},
@@ -225,7 +225,7 @@
code: '',
name: '',
zt: undefined,
- type: undefined,
+ type: 0,
},
datalist: [],
labelCol: {
@@ -322,16 +322,18 @@
const form = this.$refs.addUserform.form
form.validateFields((errors, values) => {
+ values.type = 0
if (!errors) {
if (this.currentdetail != '') {
this.addUserDialogloading = true
values.id = this.currentdetail.id
+
// values.subscriptionTime = this.subscriptionTime
// values.subscribeTime = this.subscribeTime
stockupdata(values).then((res) => {
if (res.status == 0) {
this.addUserdialog = false
- this.$message.success(res.msg)
+ this.$message.success('修改成功')
form.resetFields()
this.getlist()
} else {
--
Gitblit v1.9.3