From 7dd7311a2f0c6bbc2da7a3cd9ffa996ab96ea5fd Mon Sep 17 00:00:00 2001 From: wangsongsole Date: Tue, 14 Jun 2022 18:27:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E3=80=90=E5=85=91=E6=8D=A2?= =?UTF-8?q?=E7=A0=81=E7=AE=A1=E7=90=86=E3=80=91=E7=BC=96=E8=BE=91=E7=AB=8B?= =?UTF-8?q?=E5=87=8F=E9=87=91=EF=BC=8C=E5=8A=A0=E6=AC=BE=E5=AF=B9=E8=AF=9D?= =?UTF-8?q?=E6=A1=86=E4=B8=AD=EF=BC=8C=E5=8A=A0=E6=AC=BE=E7=82=B9=E5=87=BB?= =?UTF-8?q?=E6=8F=90=E4=BA=A4=E6=8C=89=E9=92=AE=EF=BC=8C=E5=89=8D=E7=AB=AF?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E2=80=9C=E5=8A=A0=E6=AC=BE=E5=A4=B1=E8=B4=A5?= =?UTF-8?q?=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/knockGold/Dialog.jsx | 2 +- src/pages/exchangecode/edit/edit.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/knockGold/Dialog.jsx b/src/components/knockGold/Dialog.jsx index 99c6e970..9484cc05 100644 --- a/src/components/knockGold/Dialog.jsx +++ b/src/components/knockGold/Dialog.jsx @@ -16,7 +16,7 @@ export default ({ data, onChangeMoney }) => { function submit() { if (ref.current.validator()) { if ( - Number(stateData?.recharge_amount) + Number(stateData.addNew) < + Number(stateData?.recharge_amount) + Number(stateData.addNew) <= Number(stateData?.all_budget) ) { addFund({ recharge_amount: stateData.addNew }, data.goods_id).then( diff --git a/src/pages/exchangecode/edit/edit.js b/src/pages/exchangecode/edit/edit.js index ff68d44c..1d98a0dc 100644 --- a/src/pages/exchangecode/edit/edit.js +++ b/src/pages/exchangecode/edit/edit.js @@ -419,6 +419,7 @@ export default class exchangedit extends React.Component { _object.show_url = o.show_url _object.detail_url = o.detail_url _object.map_product_name = o.map_product_name + _object.goods_id = o.goods_id _object.type = o.type } else { _object = { ...o.origin, type: o.type }