From 5ec14fcfce7f1a01acf18ad233e3be205e4980f0 Mon Sep 17 00:00:00 2001 From: wangsongsole Date: Thu, 27 Oct 2022 15:36:49 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E4=BF=AE=E5=A4=8D=E5=85=91?= =?UTF-8?q?=E6=8D=A2=E7=A0=81=E6=9D=83=E7=9B=8A=E5=95=86=E5=93=81=E7=BC=96?= =?UTF-8?q?=E8=BE=91=E6=97=B6=20=E6=9C=AA=E9=80=9A=E8=BF=87=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=BA=93=E5=AD=98=E5=B1=95=E7=A4=BA=E4=B8=8D=E6=AD=A3?= =?UTF-8?q?=E5=B8=B8bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/exchangecode/exchangecodeAdd/index.jsx | 3 +++ 1 file changed, 3 insertions(+) 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 }