修复字段错误
This commit is contained in:
parent
af3ff49cee
commit
f6d3326674
|
@ -698,7 +698,7 @@ export default class acclist extends React.Component {
|
|||
})
|
||||
|
||||
/* 被复制得兑换码id */
|
||||
let copy_code_id = ~~sessionStorage.getItem('copy_code_id')
|
||||
let copy_code_batch_id = ~~sessionStorage.getItem('copy_code_id')
|
||||
// 转换数据
|
||||
let dataCopy = _.cloneDeep(formdata)
|
||||
dataCopy.map((item) => {
|
||||
|
@ -743,7 +743,7 @@ export default class acclist extends React.Component {
|
|||
reseller_name: this.state.reseller.name,
|
||||
company_name: this.state.reseller.company_name,
|
||||
receive_email: this.state.reseller.contact_email[0],
|
||||
copy_code_id,
|
||||
copy_code_batch_id,
|
||||
payment_direction:
|
||||
this.state.payment_direction[this.state.paytype - 1]
|
||||
}
|
||||
|
@ -778,7 +778,7 @@ export default class acclist extends React.Component {
|
|||
reseller_name: this.state.reseller?.name,
|
||||
company_name: this.state.reseller?.company_name,
|
||||
receive_email: this.state.reseller?.contact_email[0],
|
||||
copy_code_id,
|
||||
copy_code_batch_id,
|
||||
payment_direction:
|
||||
this.state.payment_direction[this.state.paytype - 1]
|
||||
}
|
||||
|
@ -813,7 +813,7 @@ export default class acclist extends React.Component {
|
|||
reseller_name: this.state.reseller.name,
|
||||
company_name: this.state.reseller.company_name,
|
||||
receive_email: this.state.reseller.contact_email[0],
|
||||
copy_code_id,
|
||||
copy_code_batch_id,
|
||||
payment_direction:
|
||||
this.state.payment_direction[this.state.paytype - 1]
|
||||
}
|
||||
|
@ -858,7 +858,7 @@ export default class acclist extends React.Component {
|
|||
mobile_excel: this.state.mobile_excel,
|
||||
mobile_repeat: this.state.mobile_repeat,
|
||||
code_batch: dataCopy,
|
||||
copy_code_id,
|
||||
copy_code_batch_id,
|
||||
reseller_id: this.state.reseller.id,
|
||||
reseller_name: this.state.reseller.name,
|
||||
company_name: this.state.reseller.company_name,
|
||||
|
|
Loading…
Reference in New Issue