SQL.Add('Insert into UserLeave_mas (ID, StartDate, EndDate, RecordDate, Verifier, Operator) Values
VID, :VSD, :VED, :VRD, :VVer, :VOper)');
Parameters.ParamByName('VID').Value := LabelID.Caption;
Parameters.ParamByName('VSD').Value := FormatDateTime('yyyy-mm-dd', DTPBDate.Date) + ' ' + FormatDateTime('hh:mm:ss', DTPBTime.Time);
Parameters.ParamByName('VED').Value := FormatDateTime('yyyy-mm-dd', DTPEDate.Date) + ' ' + FormatDateTime('hh:mm:ss', DTPETime.Time);
Parameters.ParamByName('VRD').Value := Now;
Parameters.ParamByName('VVer').Value := 'Ver';
Parameters.ParamByName('VOper').Value := 'Oper';
ExecSQL;