diff --git a/HEZON_ITK/bs_sap.cpp b/HEZON_ITK/bs_sap.cpp index 2f0a761..a522fe3 100644 --- a/HEZON_ITK/bs_sap.cpp +++ b/HEZON_ITK/bs_sap.cpp @@ -243,9 +243,9 @@ void get_bom(System::Collections::Generic::List(index + 3)) + if(index!=-1&&quantity.length()>(index + 4)) { - quantity = quantity.substr(0, index + 3); + quantity = quantity.substr(0,index + 4); } }else {