diff --git a/src/pages/exchangecode/exchangecodeAdd/index.jsx b/src/pages/exchangecode/exchangecodeAdd/index.jsx index 12bb8f6b..9d260d26 100644 --- a/src/pages/exchangecode/exchangecodeAdd/index.jsx +++ b/src/pages/exchangecode/exchangecodeAdd/index.jsx @@ -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 }