You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
68 lines
1.4 KiB
Plaintext
68 lines
1.4 KiB
Plaintext
unit u_web_user_client_add;
|
|
|
|
interface
|
|
|
|
uses
|
|
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
|
|
Dialogs, BusinessSkinForm, bsSkinCtrls, StdCtrls, wwdbdatetimepicker, DB,
|
|
RxLookup,adodb;
|
|
|
|
type
|
|
Tfrm_web_user_client_add = class(TForm)
|
|
bsBusinessSkinForm1: TbsBusinessSkinForm;
|
|
bsSkinGroupBox1: TbsSkinGroupBox;
|
|
bsSkinButton1: TbsSkinButton;
|
|
bsSkinButton2: TbsSkinButton;
|
|
data1: TDataSource;
|
|
data2: TDataSource;
|
|
data3: TDataSource;
|
|
Label9: TLabel;
|
|
RxDBLookupCombo2: TRxDBLookupCombo;
|
|
procedure bsSkinButton3Click(Sender: TObject);
|
|
procedure bsSkinButton2Click(Sender: TObject);
|
|
private
|
|
{ Private declarations }
|
|
public
|
|
{ Public declarations }
|
|
end;
|
|
|
|
var
|
|
frm_web_user_client_add: Tfrm_web_user_client_add;
|
|
frm_op_seae_add_num:integer;
|
|
|
|
implementation
|
|
|
|
uses u_main, my_sys_function, u_data_share;
|
|
|
|
{$R *.dfm}
|
|
|
|
procedure Tfrm_web_user_client_add.bsSkinButton2Click(Sender: TObject);
|
|
begin
|
|
close;
|
|
end;
|
|
|
|
procedure Tfrm_web_user_client_add.bsSkinButton3Click(Sender: TObject);
|
|
var
|
|
i: Integer;
|
|
bsno,ywno:String;
|
|
aQuery:TAdoQuery;
|
|
begin
|
|
if (RxDBLookupCombo2.DisplayValue='') then begin
|
|
MessageDlg('ËùÓÐÏîÄ¿¶¼²»Îª¿Õ£¡', mtConfirmation, [mbYes],0);
|
|
exit;
|
|
|
|
end;
|
|
|
|
data1.DataSet.Edit;
|
|
data1.DataSet['INFO_CLIENT']:=RxDBLookupCombo2.DisplayValue;
|
|
data1.DataSet['IDENTIFICATION_STATE']:='Indentified';
|
|
data1.DataSet.Post;
|
|
|
|
|
|
|
|
close;
|
|
|
|
end;
|
|
|
|
end.
|