分销商修改

This commit is contained in:
zhouxinyu1029 2024-03-18 16:39:15 +08:00
parent 2299bad217
commit 0594777ee2
2 changed files with 4 additions and 4 deletions

View File

@ -64,14 +64,14 @@ const Column = [
width: "auto" width: "auto"
}, },
{ {
title: "用户余额", title: "用户余额(元)",
name: "balance", name: "balance",
type: "normal", type: "normal",
prop: "balance", prop: "balance",
width: "auto" width: "auto"
}, },
{ {
title: "授信", title: "授信(元)",
name: "extension", name: "extension",
type: "normal", type: "normal",
prop: "extension", prop: "extension",

View File

@ -205,7 +205,7 @@ export default class accList extends React.Component {
data.type = parseInt(this.state.model.type) data.type = parseInt(this.state.model.type)
data.return_type = 1 data.return_type = 1
data.reseller_id = this.state.model.reseller.key data.reseller_id = this.state.model.reseller.key
data.reseller_name = this.state.model.reseller.text data.reseller_name = this.state.model.reseller._text
data.begin_time = this.state.model.date_time[0] data.begin_time = this.state.model.date_time[0]
data.end_time = this.state.model.date_time[1] data.end_time = this.state.model.date_time[1]
@ -311,7 +311,7 @@ export default class accList extends React.Component {
if (res.code === 200) { if (res.code === 200) {
const { id, name } = res.data const { id, name } = res.data
e.key = id e.key = id
e.text = name e._text = name
this.props.onGetDirectResellerId(e) this.props.onGetDirectResellerId(e)
let model2 = this.state.model let model2 = this.state.model
model2.reseller = e model2.reseller = e