Kaynağa Gözat

Bug #836 锁定列问题

MaiXinRong 9 yıl önce
ebeveyn
işleme
675086b437
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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