~
This commit is contained in:
parent
da8675e4a7
commit
a26334784d
|
@ -209,7 +209,7 @@ object frmMLXXList: TfrmMLXXList
|
||||||
Width = 94
|
Width = 94
|
||||||
end
|
end
|
||||||
object v2Column6: TcxGridDBColumn
|
object v2Column6: TcxGridDBColumn
|
||||||
Caption = #36741#26009#21517#31216
|
Caption = #38754#36741#26009#21517#31216' '
|
||||||
DataBinding.FieldName = 'MLName'
|
DataBinding.FieldName = 'MLName'
|
||||||
PropertiesClassName = 'TcxButtonEditProperties'
|
PropertiesClassName = 'TcxButtonEditProperties'
|
||||||
Properties.Buttons = <
|
Properties.Buttons = <
|
||||||
|
@ -359,6 +359,11 @@ object frmMLXXList: TfrmMLXXList
|
||||||
HeaderAlignmentHorz = taCenter
|
HeaderAlignmentHorz = taCenter
|
||||||
Width = 60
|
Width = 60
|
||||||
end
|
end
|
||||||
|
object Tv2Column8: TcxGridDBColumn
|
||||||
|
Caption = #33394#21495
|
||||||
|
DataBinding.FieldName = 'MLSH'
|
||||||
|
Width = 60
|
||||||
|
end
|
||||||
end
|
end
|
||||||
object cxGridLevel1: TcxGridLevel
|
object cxGridLevel1: TcxGridLevel
|
||||||
GridView = Tv2
|
GridView = Tv2
|
||||||
|
|
|
@ -32,7 +32,7 @@ type
|
||||||
FdDy = record
|
FdDy = record
|
||||||
inc: integer; //客户端套接字句柄
|
inc: integer; //客户端套接字句柄
|
||||||
FDdys: string[32]; //客户端套接字
|
FDdys: string[32]; //客户端套接字
|
||||||
FdDysName: string[32]; //客户端套接字
|
FdDysName: string[32]; //客户端套接字
|
||||||
end;
|
end;
|
||||||
|
|
||||||
TfrmMLXXList = class(TForm)
|
TfrmMLXXList = class(TForm)
|
||||||
|
@ -84,6 +84,7 @@ type
|
||||||
Tv2Column5: TcxGridDBColumn;
|
Tv2Column5: TcxGridDBColumn;
|
||||||
Tv2Column6: TcxGridDBColumn;
|
Tv2Column6: TcxGridDBColumn;
|
||||||
Tv2Column7: TcxGridDBColumn;
|
Tv2Column7: TcxGridDBColumn;
|
||||||
|
Tv2Column8: TcxGridDBColumn;
|
||||||
procedure FormDestroy(Sender: TObject);
|
procedure FormDestroy(Sender: TObject);
|
||||||
procedure FormClose(Sender: TObject; var Action: TCloseAction);
|
procedure FormClose(Sender: TObject; var Action: TCloseAction);
|
||||||
procedure TBCloseClick(Sender: TObject);
|
procedure TBCloseClick(Sender: TObject);
|
||||||
|
|
|
@ -222,7 +222,7 @@ object frmMLXXListSel: TfrmMLXXListSel
|
||||||
Width = 94
|
Width = 94
|
||||||
end
|
end
|
||||||
object v2Column6: TcxGridDBColumn
|
object v2Column6: TcxGridDBColumn
|
||||||
Caption = #36741#26009#21517#31216
|
Caption = #38754#36741#26009#21517#31216' '
|
||||||
DataBinding.FieldName = 'MLName'
|
DataBinding.FieldName = 'MLName'
|
||||||
PropertiesClassName = 'TcxButtonEditProperties'
|
PropertiesClassName = 'TcxButtonEditProperties'
|
||||||
Properties.Buttons = <
|
Properties.Buttons = <
|
||||||
|
@ -380,6 +380,12 @@ object frmMLXXListSel: TfrmMLXXListSel
|
||||||
Properties.NullStyle = nssUnchecked
|
Properties.NullStyle = nssUnchecked
|
||||||
Width = 60
|
Width = 60
|
||||||
end
|
end
|
||||||
|
object Tv2Column9: TcxGridDBColumn
|
||||||
|
Caption = #33394#21495
|
||||||
|
DataBinding.FieldName = 'MLSH'
|
||||||
|
HeaderAlignmentHorz = taCenter
|
||||||
|
Width = 60
|
||||||
|
end
|
||||||
end
|
end
|
||||||
object cxGridLevel1: TcxGridLevel
|
object cxGridLevel1: TcxGridLevel
|
||||||
GridView = Tv2
|
GridView = Tv2
|
||||||
|
|
|
@ -86,6 +86,7 @@ type
|
||||||
Tv2Column7: TcxGridDBColumn;
|
Tv2Column7: TcxGridDBColumn;
|
||||||
cxGridLevel1: TcxGridLevel;
|
cxGridLevel1: TcxGridLevel;
|
||||||
Tv2Column8: TcxGridDBColumn;
|
Tv2Column8: TcxGridDBColumn;
|
||||||
|
Tv2Column9: TcxGridDBColumn;
|
||||||
procedure FormDestroy(Sender: TObject);
|
procedure FormDestroy(Sender: TObject);
|
||||||
procedure FormClose(Sender: TObject; var Action: TCloseAction);
|
procedure FormClose(Sender: TObject; var Action: TCloseAction);
|
||||||
procedure TBCloseClick(Sender: TObject);
|
procedure TBCloseClick(Sender: TObject);
|
||||||
|
|
|
@ -178,6 +178,12 @@ object frmMLXXinput: TfrmMLXXinput
|
||||||
HeaderAlignmentHorz = taCenter
|
HeaderAlignmentHorz = taCenter
|
||||||
Width = 60
|
Width = 60
|
||||||
end
|
end
|
||||||
|
object Tv1Column9: TcxGridDBColumn
|
||||||
|
Caption = #33394#21495
|
||||||
|
DataBinding.FieldName = 'MLSH'
|
||||||
|
HeaderAlignmentHorz = taCenter
|
||||||
|
Width = 60
|
||||||
|
end
|
||||||
end
|
end
|
||||||
object cxGridLevel1: TcxGridLevel
|
object cxGridLevel1: TcxGridLevel
|
||||||
GridView = Tv1
|
GridView = Tv1
|
||||||
|
|
|
@ -60,6 +60,7 @@ type
|
||||||
ToolButton4: TToolButton;
|
ToolButton4: TToolButton;
|
||||||
OpenDialog1: TOpenDialog;
|
OpenDialog1: TOpenDialog;
|
||||||
CDS_LM: TClientDataSet;
|
CDS_LM: TClientDataSet;
|
||||||
|
Tv1Column9: TcxGridDBColumn;
|
||||||
procedure FormDestroy(Sender: TObject);
|
procedure FormDestroy(Sender: TObject);
|
||||||
procedure FormClose(Sender: TObject; var Action: TCloseAction);
|
procedure FormClose(Sender: TObject; var Action: TCloseAction);
|
||||||
procedure TBCloseClick(Sender: TObject);
|
procedure TBCloseClick(Sender: TObject);
|
||||||
|
@ -499,7 +500,7 @@ begin
|
||||||
except
|
except
|
||||||
WorkBook.Close;
|
WorkBook.Close;
|
||||||
excelApp.Quit;
|
excelApp.Quit;
|
||||||
excelApp := Unassigned;
|
excelApp := Unassigned;
|
||||||
WorkBook := Unassigned;
|
WorkBook := Unassigned;
|
||||||
exit;
|
exit;
|
||||||
end;
|
end;
|
||||||
|
|
|
@ -547,6 +547,13 @@ object frmZdyAttInputCP_CB: TfrmZdyAttInputCP_CB
|
||||||
object V1Column1: TcxGridDBColumn
|
object V1Column1: TcxGridDBColumn
|
||||||
Caption = #38754#36741#26009#21517#31216
|
Caption = #38754#36741#26009#21517#31216
|
||||||
DataBinding.FieldName = 'defstr1'
|
DataBinding.FieldName = 'defstr1'
|
||||||
|
PropertiesClassName = 'TcxButtonEditProperties'
|
||||||
|
Properties.Buttons = <
|
||||||
|
item
|
||||||
|
Default = True
|
||||||
|
Kind = bkEllipsis
|
||||||
|
end>
|
||||||
|
Properties.OnButtonClick = V1Column1PropertiesButtonClick
|
||||||
HeaderAlignmentHorz = taCenter
|
HeaderAlignmentHorz = taCenter
|
||||||
Width = 100
|
Width = 100
|
||||||
end
|
end
|
||||||
|
@ -1142,7 +1149,7 @@ object frmZdyAttInputCP_CB: TfrmZdyAttInputCP_CB
|
||||||
Aggregates = <>
|
Aggregates = <>
|
||||||
Params = <>
|
Params = <>
|
||||||
Left = 212
|
Left = 212
|
||||||
Top = 347
|
Top = 387
|
||||||
end
|
end
|
||||||
object CDS3: TClientDataSet
|
object CDS3: TClientDataSet
|
||||||
Aggregates = <>
|
Aggregates = <>
|
||||||
|
|
|
@ -193,6 +193,7 @@ type
|
||||||
procedure CYColorBtnClick(Sender: TObject);
|
procedure CYColorBtnClick(Sender: TObject);
|
||||||
procedure ToolButton13Click(Sender: TObject);
|
procedure ToolButton13Click(Sender: TObject);
|
||||||
procedure ToolButton14Click(Sender: TObject);
|
procedure ToolButton14Click(Sender: TObject);
|
||||||
|
procedure V1Column1PropertiesButtonClick(Sender: TObject; AButtonIndex: Integer);
|
||||||
private
|
private
|
||||||
function savedata(): Boolean;
|
function savedata(): Boolean;
|
||||||
function savedatacb(): Boolean;
|
function savedatacb(): Boolean;
|
||||||
|
@ -1438,5 +1439,41 @@ begin
|
||||||
jscb();
|
jscb();
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
procedure TfrmZdyAttInputCP_CB.V1Column1PropertiesButtonClick(Sender: TObject; AButtonIndex: Integer);
|
||||||
|
begin
|
||||||
|
frmMLXXListSel := TfrmMLXXListSel.create(self);
|
||||||
|
with frmMLXXListSel do
|
||||||
|
begin
|
||||||
|
if showmodal = 1 then
|
||||||
|
begin
|
||||||
|
with CDS_HZ do
|
||||||
|
begin
|
||||||
|
DisableControls;
|
||||||
|
// First;
|
||||||
|
// while not eof do
|
||||||
|
// begin
|
||||||
|
if Fieldbyname('ssel').AsBoolean then
|
||||||
|
begin
|
||||||
|
cds1.edit;
|
||||||
|
cds1.FieldByName('DEFstr1').Value := trim(CDS_HZ.fieldbyname('MLName').AsString);
|
||||||
|
cds1.FieldByName('CBColor').Value := trim(CDS_HZ.fieldbyname('Color').AsString);
|
||||||
|
cds1.FieldByName('defstr4').Value := trim(CDS_HZ.fieldbyname('GYS').AsString);
|
||||||
|
cds1.FieldByName('defstr2').Value := trim(CDS_HZ.fieldbyname('Adultamount').AsString);
|
||||||
|
cds1.FieldByName('defstr3').Value := trim(CDS_HZ.fieldbyname('childamount').AsString);
|
||||||
|
cds1.FieldByName('CBdj').Value := trim(CDS_HZ.fieldbyname('Price').AsString);
|
||||||
|
cds1.post;
|
||||||
|
end;
|
||||||
|
|
||||||
|
// next;
|
||||||
|
// end;
|
||||||
|
EnableControls;
|
||||||
|
end;
|
||||||
|
|
||||||
|
tv1.Controller.EditingController.ShowEdit();
|
||||||
|
free;
|
||||||
|
end;
|
||||||
|
end;
|
||||||
|
end;
|
||||||
|
|
||||||
end.
|
end.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user