From 9282ef2a4d1b3c2a8b9e1b78a99e9c43e397d27b Mon Sep 17 00:00:00 2001 From: chenxuhui Date: Mon, 17 Dec 2018 17:14:21 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A2=E5=8D=95=E5=8F=8A=E9=A2=84=E6=8A=A5?= =?UTF-8?q?=E7=9A=84=20=E6=96=B0=E5=BB=BA=EF=BC=8C=E8=AF=A6=E6=83=85?= =?UTF-8?q?=EF=BC=8C=E7=94=B1=E8=BE=85=E8=87=B3=E4=B8=BB=E8=AE=A1=E7=AE=97?= =?UTF-8?q?bug=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 +- pages/saleForecastList/Detail/Detail.js | 2 +- pages/saleForecastList/newBill/newBill.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/order/detail/detail.js b/pages/order/detail/detail.js index 409c717..4858c20 100644 --- a/pages/order/detail/detail.js +++ b/pages/order/detail/detail.js @@ -411,7 +411,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 7704457..e9a659e 100644 --- a/pages/order/newBill/newBill.js +++ b/pages/order/newBill/newBill.js @@ -364,7 +364,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/saleForecastList/Detail/Detail.js b/pages/saleForecastList/Detail/Detail.js index 4642871..233881c 100644 --- a/pages/saleForecastList/Detail/Detail.js +++ b/pages/saleForecastList/Detail/Detail.js @@ -349,7 +349,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/saleForecastList/newBill/newBill.js b/pages/saleForecastList/newBill/newBill.js index 5caea76..36c472e 100644 --- a/pages/saleForecastList/newBill/newBill.js +++ b/pages/saleForecastList/newBill/newBill.js @@ -342,7 +342,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({