|
|
@ -423,7 +423,7 @@ Page({ |
|
|
|
|
|
|
|
|
var numberNumber = detail.SecondNumber / detail.LeftRatio * detail.RightRatio; |
|
|
var numberNumber = detail.SecondNumber / detail.LeftRatio * detail.RightRatio; |
|
|
if (detail.Goods_UnitConvertDirection == 0 || detail.Goods_UnitConvertDirection == 2) { |
|
|
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({ |
|
|
this.setData({ |
|
|
|