From ed09bf3eb41fcf1b79b083ac3d959f110b7e613b Mon Sep 17 00:00:00 2001 From: lihongji <3117313295@qq.com> Date: 星期一, 14 十月 2024 18:28:21 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/dev' into dev --- _Main/BL/Type_ChangeLossSetting/StaticMethod_ValidateInput.qbl | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/_Main/BL/Type_ChangeLossSetting/StaticMethod_ValidateInput.qbl b/_Main/BL/Type_ChangeLossSetting/StaticMethod_ValidateInput.qbl index 892d832..4dc4dee 100644 --- a/_Main/BL/Type_ChangeLossSetting/StaticMethod_ValidateInput.qbl +++ b/_Main/BL/Type_ChangeLossSetting/StaticMethod_ValidateInput.qbl @@ -16,10 +16,10 @@ [* // 鐢勫叞楦� Jun-5-2024 (created) feedback := ''; - if( [Number]number < 0 ){ + if( [Real]number < 0 ){ feedback := Translations::MP_ChangeLossSettingExcel_Import_PositiveInteger(); } - if( isnull( unit ) or isnull( product1 ) or isnull( product2 ) or [Number]number = 0 ){ + if( isnull( unit ) or isnull( product1 ) or isnull( product2 ) or [Real]number = 0 ){ feedback := Translations::MP_ChangeLossSetting_CheckNull(); } if( product1 = product2 ){ -- Gitblit v1.9.3