From 451674dd4dd784fa0725b4ba052d94449d892712 Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Sat, 28 Sep 2024 15:12:16 +0800
Subject: [PATCH] Merge branch '6-29印度股票' of http://124.156.157.155:8060/r/dg/dabao_admin into 6-29印度股票
---
src/views/capital/withdrawallist.vue | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/src/views/capital/withdrawallist.vue b/src/views/capital/withdrawallist.vue
index 7879f14..f9735f7 100644
--- a/src/views/capital/withdrawallist.vue
+++ b/src/views/capital/withdrawallist.vue
@@ -113,7 +113,7 @@
</span>
<template slot="action" slot-scope="text, record" v-if="record.withStatus == 0">
- <a slot="action" href="javascript:;" @click="getEditorder(record.id)">审核</a>
+ <a slot="action" href="javascript:;" @click="getEditorder(record)">审核</a>
</template>
</a-table>
</a-card>
@@ -302,7 +302,7 @@
editOrderdialog: false,
editOrderDialogloading: false,
fields: ['withId', 'state'],
-
+ withId:'',
agentqueryParam: {
pageNum: 1,
pageSize: 100,
@@ -320,9 +320,10 @@
},
// 点击修改提现状态
getEditorder(val) {
+ this.withId = val.id
this.editOrderdialog = true
this.fields.forEach((v) => this.editOrderform.getFieldDecorator(v))
- this.editOrderform.setFieldsValue(pick({ withId: val }, this.fields))
+ this.editOrderform.setFieldsValue(pick({ withId: val.withAmt }, this.fields))
},
// 开始更改提现状态
OkeditOrderdialog(e) {
@@ -331,14 +332,15 @@
if (!errors) {
this.editOrderDialogloading = true
values.state = e
+ values.withId = this.withId
withdrawupdateState(values)
.then((res) => {
if (res.status == 0) {
- this.$message.success({ content: res.msg, duration: 2 })
+ this.$message.success(res.msg)
form.resetFields()
this.getlist()
} else {
- this.$message.error({ content: res.msg })
+ this.$message.error(res.msg)
}
this.editOrderdialog = false
this.editOrderDialogloading = false
--
Gitblit v1.9.3