Merge branch 'couponV2.0' of https://codeup.aliyun.com/5f9118049cffa29cfdd3be1c/marketing/frontend into couponV2.0
This commit is contained in:
commit
0e358ce147
|
@ -260,6 +260,9 @@ export default class exchangeAdd extends React.Component {
|
||||||
item1.type = 1
|
item1.type = 1
|
||||||
item1.only = item1.product_id
|
item1.only = item1.product_id
|
||||||
item1.upstream = "直连天下"
|
item1.upstream = "直连天下"
|
||||||
|
item1.stock = item1.stock || item1.quantity
|
||||||
|
item1.quantity = item1.quantity
|
||||||
|
item1.usage = item1.usage || 0
|
||||||
if (item1?.goods_id) {
|
if (item1?.goods_id) {
|
||||||
item1.id = item1.goods_id
|
item1.id = item1.goods_id
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue