fix:修复兑换码权益商品编辑时 未通过数据库存展示不正常bug
This commit is contained in:
parent
7e56f4268f
commit
5ec14fcfce
|
@ -260,6 +260,9 @@ export default class exchangeAdd extends React.Component {
|
|||
item1.type = 1
|
||||
item1.only = item1.product_id
|
||||
item1.upstream = "直连天下"
|
||||
item1.stock = item1.stock || item1.quantity
|
||||
item1.quantity = item1.quantity
|
||||
item1.usage = item1.usage || 0
|
||||
if (item1?.goods_id) {
|
||||
item1.id = item1.goods_id
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue