修复 【key批次】兑换码批次中新增的商品,在key批次编辑页面该兑换码批次的兑换码范围中,要展示出来
This commit is contained in:
parent
d1f8366b67
commit
87ba41c2ae
|
@ -162,14 +162,14 @@ export default class acclist extends React.Component {
|
|||
let product = code_batch.product[j]
|
||||
/* 区分立减金和商品 */
|
||||
if (product.type === 1) {
|
||||
range.push(product.product_name)
|
||||
range.push(product.entity.product_name)
|
||||
} else {
|
||||
range.push(product.channel)
|
||||
range.push(product.entity.batch_goods_name)
|
||||
}
|
||||
}
|
||||
req.code_batch[i].disabled = true
|
||||
req.code_batch[i].checked = true
|
||||
req.code_batch.range = range.toString()
|
||||
req.code_batch[i].range = range.toString()
|
||||
temp.push(req.code_batch[i])
|
||||
}
|
||||
//获取审批单信息
|
||||
|
@ -205,16 +205,14 @@ export default class acclist extends React.Component {
|
|||
if (product.type === 1) {
|
||||
range.push(product.product_name)
|
||||
} else {
|
||||
range.push(product.channel)
|
||||
range.push(product.batch_goods_name)
|
||||
}
|
||||
}
|
||||
req.code_batch[i].disabled = false
|
||||
req.code_batch[i].checked = false
|
||||
code_batch.range = range.toString()
|
||||
req.code_batch[i].range = range.toString()
|
||||
temp.push(req.code_batch[i])
|
||||
}
|
||||
console.log(temp)
|
||||
|
||||
if (req.payment_direction) {
|
||||
let index = this.state.payment_direction.indexOf(
|
||||
req.payment_direction
|
||||
|
|
Loading…
Reference in New Issue