From 94861b664bc8ed851c047a013d3be239ea0c46dc Mon Sep 17 00:00:00 2001 From: lazhen <17772815105@139.com> Date: 星期二, 03 九月 2024 11:17:30 +0800 Subject: [PATCH] 换型设置导入数量不是整数 --- _Main/BL/Type_ChangeLossSettingExcel/StaticMethod_Import.qbl | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/_Main/BL/Type_ChangeLossSettingExcel/StaticMethod_Import.qbl b/_Main/BL/Type_ChangeLossSettingExcel/StaticMethod_Import.qbl index 94fe124..466849e 100644 --- a/_Main/BL/Type_ChangeLossSettingExcel/StaticMethod_Import.qbl +++ b/_Main/BL/Type_ChangeLossSettingExcel/StaticMethod_Import.qbl @@ -26,7 +26,7 @@ and cls.ProductSecond().ID() = excel.Product2() and cls.Unit().ID() = excel.Unit() ); if( isnull( cls ) ){ - cls := macroplan.ChangeLossSetting( relnew, ChangeLossNr := excel.ChangeLossNr() ); + cls := macroplan.ChangeLossSetting( relnew, ChangeLossNr := [Number]excel.ChangeLossNumber() ); product1 := selectobject( macroplan, Product_MP, product, product.ID() = excel.Product1() ); product2 := selectobject( macroplan, Product_MP, product, product.ID() = excel.Product2() ); unit := selectobject( macroplan, Unit, unit, unit.ID() = excel.Unit() ); @@ -34,7 +34,7 @@ cls.ProductSecond( relset, product2 ); cls.Unit( relset, unit ); }else { - cls.ChangeLossNr( excel.ChangeLossNr() ); + cls.ChangeLossNr( [Number]excel.ChangeLossNumber() ); } excel.Delete(); } -- Gitblit v1.9.3