This commit is contained in:
zhangds 2022-10-27 15:48:50 +08:00
commit 0e358ce147
1 changed files with 3 additions and 0 deletions

View File

@ -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
} }