From d841e83acfd09a5c4f455a2cc74c615ac30c049d Mon Sep 17 00:00:00 2001
From: admin <344137771@qq.com>
Date: Sun, 01 Feb 2026 17:57:20 +0800
Subject: [PATCH] 1
---
src/views/modules/recharge/finance-add-or-update.vue | 17 ++++++++++-------
1 files changed, 10 insertions(+), 7 deletions(-)
diff --git a/src/views/modules/recharge/finance-add-or-update.vue b/src/views/modules/recharge/finance-add-or-update.vue
index 37b17a4..ff5028f 100644
--- a/src/views/modules/recharge/finance-add-or-update.vue
+++ b/src/views/modules/recharge/finance-add-or-update.vue
@@ -1,15 +1,15 @@
<template>
<el-dialog
- :title="!dataForm.id ? '新增' : '修改'"
+ :title="!dataForm.uuid ? '新增' : '修改'"
:close-on-click-modal="false"
:visible.sync="visible">
<el-form :model="dataForm" :rules="dataRule" ref="dataForm" @keyup.enter.native="dataFormSubmit()" label-width="80px">
<el-form-item label="地址" prop="address">
<el-input v-model="dataForm.address" placeholder="地址"></el-input>
</el-form-item>
- <el-form-item label="加密密码" prop="password">
+ <!-- <el-form-item label="加密密码" prop="password">
<el-input v-model="dataForm.password" placeholder="加密密码"></el-input>
- </el-form-item>
+ </el-form-item> -->
</el-form>
<span slot="footer" class="dialog-footer">
<el-button @click="visible = false">取消</el-button>
@@ -32,9 +32,10 @@
},
dataForm: {
coin: '',
- chain: '',
+ blockchainName: '',
address: '',
- password: ''
+ password: '',
+ uuid: '',
},
dataRule: {
address: [
@@ -55,7 +56,8 @@
this.dataForm.address = item.address
this.dataForm.password = item.password
this.dataForm.coin = item.coin
- this.dataForm.chain = item.blockchain_name
+ this.dataForm.blockchainName = item.blockchain_name
+ this.dataForm.uuid = item.uuid
},
// 表单提交
dataFormSubmit: Debounce(function () {
@@ -66,9 +68,10 @@
method: 'post',
data: this.$http.adornData({
'coin': this.dataForm.coin,
- 'chain': this.dataForm.chain,
+ 'blockchainName': this.dataForm.blockchainName,
'address': this.dataForm.address,
'password':this.dataForm.password,
+ 'id':this.dataForm.uuid,
})
}).then(({data}) => {
if(data.code==0){
--
Gitblit v1.9.3