MaiXinRong преди 9 години
родител
ревизия
675086b437
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      DataModules/BillsCompileDm.pas

+ 1 - 1
DataModules/BillsCompileDm.pas

@@ -685,7 +685,7 @@ procedure TBillsCompileData.sdvBillsCompileSetText(var Text: String;
 
   function CheckValidData: Boolean;
   begin
-    Result := (AValue.AsString = Text);
+    Result := (AValue.AsString <> Text);
     if SameText(AColumn.FieldName, 'OrgQuantity') or
        SameText(AColumn.FieldName, 'OrgTotalPrice') or
        SameText(AColumn.FieldName, 'MisQuantity') or