修复字段错误

This commit is contained in:
wangsongsole 2022-08-08 14:08:48 +08:00
parent af3ff49cee
commit f6d3326674
1 changed files with 5 additions and 5 deletions

View File

@ -698,7 +698,7 @@ export default class acclist extends React.Component {
}) })
/* 被复制得兑换码id */ /* 被复制得兑换码id */
let copy_code_id = ~~sessionStorage.getItem('copy_code_id') let copy_code_batch_id = ~~sessionStorage.getItem('copy_code_id')
// //
let dataCopy = _.cloneDeep(formdata) let dataCopy = _.cloneDeep(formdata)
dataCopy.map((item) => { dataCopy.map((item) => {
@ -743,7 +743,7 @@ export default class acclist extends React.Component {
reseller_name: this.state.reseller.name, reseller_name: this.state.reseller.name,
company_name: this.state.reseller.company_name, company_name: this.state.reseller.company_name,
receive_email: this.state.reseller.contact_email[0], receive_email: this.state.reseller.contact_email[0],
copy_code_id, copy_code_batch_id,
payment_direction: payment_direction:
this.state.payment_direction[this.state.paytype - 1] 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, reseller_name: this.state.reseller?.name,
company_name: this.state.reseller?.company_name, company_name: this.state.reseller?.company_name,
receive_email: this.state.reseller?.contact_email[0], receive_email: this.state.reseller?.contact_email[0],
copy_code_id, copy_code_batch_id,
payment_direction: payment_direction:
this.state.payment_direction[this.state.paytype - 1] 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, reseller_name: this.state.reseller.name,
company_name: this.state.reseller.company_name, company_name: this.state.reseller.company_name,
receive_email: this.state.reseller.contact_email[0], receive_email: this.state.reseller.contact_email[0],
copy_code_id, copy_code_batch_id,
payment_direction: payment_direction:
this.state.payment_direction[this.state.paytype - 1] 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_excel: this.state.mobile_excel,
mobile_repeat: this.state.mobile_repeat, mobile_repeat: this.state.mobile_repeat,
code_batch: dataCopy, code_batch: dataCopy,
copy_code_id, copy_code_batch_id,
reseller_id: this.state.reseller.id, reseller_id: this.state.reseller.id,
reseller_name: this.state.reseller.name, reseller_name: this.state.reseller.name,
company_name: this.state.reseller.company_name, company_name: this.state.reseller.company_name,