fix:修复复制兑换码时 立减金不应该存在商品ID
This commit is contained in:
parent
f43f833703
commit
3fd5718356
|
@ -292,6 +292,7 @@ export default class exchangeAdd extends React.Component {
|
|||
delete item1.total_stock
|
||||
delete item1.use_stock
|
||||
delete item1.stock
|
||||
delete item1.goods_id
|
||||
}
|
||||
|
||||
/* 编辑 */
|
||||
|
@ -310,6 +311,7 @@ export default class exchangeAdd extends React.Component {
|
|||
if (item1?.goods_id) {
|
||||
obj.id = item1?.goods_id
|
||||
}
|
||||
|
||||
obj.product_id = item1?.goods_id
|
||||
obj.code_batch_id = item1?.code_batch_id
|
||||
obj.product_type_text = "立减金"
|
||||
|
|
Loading…
Reference in New Issue