fix:修复复制兑换码时 立减金不应该存在商品ID

This commit is contained in:
wangsongsole 2022-11-07 14:09:07 +08:00
parent f43f833703
commit 3fd5718356
1 changed files with 2 additions and 0 deletions

View File

@ -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 = "立减金"