Browse Source

修复代码丢失

MaiXinRong 9 years ago
parent
commit
0a22c37405
1 changed files with 14 additions and 0 deletions
  1. 14 0
      Frames/BillsCompileFme.pas

+ 14 - 0
Frames/BillsCompileFme.pas

@@ -67,6 +67,8 @@ type
     procedure actnImportGclBillsToXmjUpdate(Sender: TObject);
     procedure actnImportGclBillsToXmjUpdate(Sender: TObject);
     procedure actnImportGclBillsToXmjExecute(Sender: TObject);
     procedure actnImportGclBillsToXmjExecute(Sender: TObject);
     procedure actnImportPlaneFxBillsToXmjExecute(Sender: TObject);
     procedure actnImportPlaneFxBillsToXmjExecute(Sender: TObject);
+    procedure zgBillsCompileCellTextChanged(Sender: TObject; Col,
+      Row: Integer);    
   private
   private
     FBillsCompileData: TBillsCompileData;
     FBillsCompileData: TBillsCompileData;
     FShowIDField: Boolean;
     FShowIDField: Boolean;
@@ -646,4 +648,16 @@ begin
     CommonExpand(stnNode);
     CommonExpand(stnNode);
 end;
 end;
 
 
+procedure TBillsCompileFrame.zgBillsCompileCellTextChanged(Sender: TObject;
+  Col, Row: Integer);
+begin
+  if CheckExprsColumn then
+    laEdtExprs.Text := zgBillsCompile.CurCell.EditText
+  else
+    laEdtExprs.Text := '';
+  with stdBillsCompile.DataView do
+    if Assigned(Current) then
+      laEdtExprs.ReadOnly := Current.ValueByName('LockedInfo').AsBoolean;
+end;
+
 end.
 end.