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 = "立减金" diff --git a/src/pages/exchangepage/edittemplate/goodstemplate.js b/src/pages/exchangepage/edittemplate/goodstemplate.js index 859f9034..bcf7ea72 100644 --- a/src/pages/exchangepage/edittemplate/goodstemplate.js +++ b/src/pages/exchangepage/edittemplate/goodstemplate.js @@ -94,7 +94,7 @@ export default class edittemplate extends React.Component { } { goodsConfig.list == 2 ? : null } { diff --git a/src/pages/exchangepage/edittemplate/main.js b/src/pages/exchangepage/edittemplate/main.js index 2ace4094..7ef1480a 100644 --- a/src/pages/exchangepage/edittemplate/main.js +++ b/src/pages/exchangepage/edittemplate/main.js @@ -756,7 +756,7 @@ export default class edittemplate extends React.Component { id='top' />