From 3fc2e91b9bf954543ceb626d1faba8a4933464e8 Mon Sep 17 00:00:00 2001
From: lazhen <17772815105@139.com>
Date: 星期五, 30 八月 2024 13:04:28 +0800
Subject: [PATCH] 库存接口报表类
---
_Main/BL/Type_ChangeLossSettingExcel/StaticMethod_CheckImport.qbl | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/_Main/BL/Type_ChangeLossSettingExcel/StaticMethod_CheckImport.qbl b/_Main/BL/Type_ChangeLossSettingExcel/StaticMethod_CheckImport.qbl
index 8e48b1d..c1c2c55 100644
--- a/_Main/BL/Type_ChangeLossSettingExcel/StaticMethod_CheckImport.qbl
+++ b/_Main/BL/Type_ChangeLossSettingExcel/StaticMethod_CheckImport.qbl
@@ -13,6 +13,10 @@
or excel.ChangeLossNr() = 0 ) ){
error( Translations::MP_ChangeLossSettingExcel_Import_NullInputRequiredField() );
}
+ //瀵煎叆鐨勬暟閲忓皬浜�0
+ if( exists( macroplan, ChangeLossSettingExcel, excel, excel.ChangeLossNr() < 0 ) ){
+ error( Translations::MP_ChangeLossSettingExcel_Import_PositiveInteger() );
+ }
//瀵煎叆浜у搧鏄惁瀛樺湪
if( exists( macroplan, ChangeLossSettingExcel, excel, not exists( macroplan, Product_MP, product, product.ID() = excel.Product1() or product.ID() = excel.Product2() ) ) ){
error( Translations::MP_ChangeLossSettingExcel_Import_ProductNoExist() );
--
Gitblit v1.9.3