ソースを参照

Bug #836 锁定列问题

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