测试兑换码
This commit is contained in:
parent
df442e145b
commit
2842610ebf
|
@ -210,14 +210,13 @@ export default class acclist extends React.Component {
|
||||||
pr.quantity = item.quantity
|
pr.quantity = item.quantity
|
||||||
pr.describe = item.describe
|
pr.describe = item.describe
|
||||||
pr.product = item.product
|
pr.product = item.product
|
||||||
|
pr.checked = true
|
||||||
/* 不是复制得兑换码 无法编辑 */
|
/* 不是复制得兑换码 无法编辑 */
|
||||||
if (copy_code_id !== item.id) {
|
if (copy_code_id === item.id) {
|
||||||
pr.checked = true
|
pr.title = `${item.title}_${item.copy_count + 1}`
|
||||||
pr.disabled = true
|
|
||||||
pr.title = item.title
|
|
||||||
} else {
|
} else {
|
||||||
pr.checked = true
|
pr.title = item.title
|
||||||
pr.title = item.title + '_' + ++req.copy_count
|
pr.disabled = true
|
||||||
}
|
}
|
||||||
return pr
|
return pr
|
||||||
})
|
})
|
||||||
|
@ -706,6 +705,7 @@ export default class acclist extends React.Component {
|
||||||
|
|
||||||
dataCopy.map((item) =>
|
dataCopy.map((item) =>
|
||||||
item.products.map(() => {
|
item.products.map(() => {
|
||||||
|
item.copy_code_batch_id = copy_code_batch_id
|
||||||
item.product = {
|
item.product = {
|
||||||
legal: item.products.filter((item2) => item2.type == 1),
|
legal: item.products.filter((item2) => item2.type == 1),
|
||||||
reduce: item.products
|
reduce: item.products
|
||||||
|
@ -742,7 +742,6 @@ 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_batch_id,
|
|
||||||
payment_direction:
|
payment_direction:
|
||||||
this.state.payment_direction[this.state.paytype - 1]
|
this.state.payment_direction[this.state.paytype - 1]
|
||||||
}
|
}
|
||||||
|
@ -777,7 +776,6 @@ 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_batch_id,
|
|
||||||
payment_direction:
|
payment_direction:
|
||||||
this.state.payment_direction[this.state.paytype - 1]
|
this.state.payment_direction[this.state.paytype - 1]
|
||||||
}
|
}
|
||||||
|
@ -812,7 +810,6 @@ 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_batch_id,
|
|
||||||
payment_direction:
|
payment_direction:
|
||||||
this.state.payment_direction[this.state.paytype - 1]
|
this.state.payment_direction[this.state.paytype - 1]
|
||||||
}
|
}
|
||||||
|
@ -857,7 +854,6 @@ 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_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,
|
||||||
|
|
Loading…
Reference in New Issue