diff --git a/src/pages/exchangecode/exchangecodeAdd/index.jsx b/src/pages/exchangecode/exchangecodeAdd/index.jsx index fafa54d0..a55399a8 100644 --- a/src/pages/exchangecode/exchangecodeAdd/index.jsx +++ b/src/pages/exchangecode/exchangecodeAdd/index.jsx @@ -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 = "立减金"