From f0f926a0e6d33714c343fa46f9a403f49f7242c9 Mon Sep 17 00:00:00 2001 From: chenxuhui Date: Mon, 17 Dec 2018 17:13:38 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A2=E5=8D=95=E6=96=B0=E5=BB=BA=EF=BC=8C?= =?UTF-8?q?=E8=AE=A2=E5=8D=95=E8=AF=A6=E6=83=85=EF=BC=8C=E7=94=B1=E8=BE=85?= =?UTF-8?q?=E8=87=B3=E4=B8=BB=E8=AE=A1=E7=AE=97bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/order/detail/detail.js | 2 +- pages/order/newBill/newBill.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/order/detail/detail.js b/pages/order/detail/detail.js index e833383..27bbf12 100644 --- a/pages/order/detail/detail.js +++ b/pages/order/detail/detail.js @@ -423,7 +423,7 @@ Page({ var numberNumber = detail.SecondNumber / detail.LeftRatio * detail.RightRatio; if (detail.Goods_UnitConvertDirection == 0 || detail.Goods_UnitConvertDirection == 2) { - detail.UnitNum = numberNumber / (Goods_SecondUnitRatio) * (Goods_MainUnitRatio); + detail.UnitNum = numberNumber / (detail.Goods_SecondUnitRatio) * (detail.Goods_MainUnitRatio); } } this.setData({ diff --git a/pages/order/newBill/newBill.js b/pages/order/newBill/newBill.js index 268c60c..8c2a42d 100644 --- a/pages/order/newBill/newBill.js +++ b/pages/order/newBill/newBill.js @@ -368,7 +368,7 @@ Page({ var numberNumber = detail.SecondNumber / detail.LeftRatio * detail.RightRatio; if (detail.Goods_UnitConvertDirection == 0 || detail.Goods_UnitConvertDirection == 2) { - detail.UnitNum = numberNumber / (Goods_SecondUnitRatio) * (Goods_MainUnitRatio); + detail.UnitNum = numberNumber / (detail.Goods_SecondUnitRatio) * (detail.Goods_MainUnitRatio); } } this.setData({