lazhen
2024-10-16 e07277483bea414283f8a02ee87a08e08ecafbc0
换型损失设置导入日期bug
已修改1个文件
2 ■■■ 文件已修改
_Main/BL/Type_ChangeLossSettingExcel/StaticMethod_Import.qbl 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_ChangeLossSettingExcel/StaticMethod_Import.qbl
@@ -35,7 +35,7 @@
        unit            := selectobject( macroplan, Unit, unit, unit.ID() = excel.Unit() );
        feedback        := '';
        if( ChangeLossSetting::ValidateInput( feedback, macroplan, null( ChangeLossSetting ), unit, product1, product2, excel.StartDate(), excel.EndDate(), excel.ChangeLossNumber() ) ){
          cls             := macroplan.ChangeLossSetting( relnew, ChangeLossNumber := [Real]excel.ChangeLossNumber() );
          cls             := macroplan.ChangeLossSetting( relnew, ChangeLossNumber := [Real]excel.ChangeLossNumber(), StartDate := excel.StartDate(), EndDate := excel.EndDate()  );
          
          cls.ProductFirst( relset, product1 );
          cls.ProductSecond( relset, product2 );