亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? cllrsh.pas

?? 應對服裝行業的生產成本控制系統
?? PAS
?? 第 1 頁 / 共 2 頁
字號:
unit cllrsh;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, StdCtrls, Buttons, ComCtrls, Grids, DBGrids, ExtCtrls, DBCtrls,
  DB, ADODB, DBClient;

type
  TFrmcllrsh = class(TForm)
    Pz: TPanel;
    help: TLabel;
    Label7: TLabel;
    Pd: TPanel;
    pq: TPanel;
    GroupBox1: TGroupBox;
    DBGrid5: TDBGrid;
    Ccm: TCheckBox;
    cqq: TCheckBox;
    cddh: TCheckBox;
    qddh: TEdit;
    cclh: TCheckBox;
    czq: TCheckBox;
    zq: TDateTimePicker;
    qclh: TEdit;
    cgh: TCheckBox;
    qgh: TEdit;
    cfb: TCheckBox;
    qfb: TEdit;
    csl: TCheckBox;
    cfz: TCheckBox;
    qsl: TEdit;
    qfz: TEdit;
    cyg: TCheckBox;
    cgxmc: TCheckBox;
    qyg: TEdit;
    qgxmc: TEdit;
    qq: TDateTimePicker;
    cbh: TCheckBox;
    cdj: TCheckBox;
    qbh: TEdit;
    qdj: TEdit;
    Ccz: TCheckBox;
    qcz: TEdit;
    Cbz: TCheckBox;
    qbz: TEdit;
    Cczy: TCheckBox;
    qczy: TEdit;
    Cys: TCheckBox;
    qys: TEdit;
    qcm: TEdit;
    Cxs: TCheckBox;
    qxs: TEdit;
    bprint: TBitBtn;
    breturn: TBitBtn;
    Bquery: TBitBtn;
    bprintc: TBitBtn;
    bsh: TBitBtn;
    bfs: TBitBtn;
    bquerys: TBitBtn;
    OpenDialog1: TOpenDialog;
    procedure bprintClick(Sender: TObject);
    procedure breturnClick(Sender: TObject);
    procedure FormActivate(Sender: TObject);
    procedure FormClose(Sender: TObject; var Action: TCloseAction);
    procedure BqueryClick(Sender: TObject);
    procedure DBGrid5TitleClick(Column: TColumn);
    procedure DBGrid5DrawColumnCell(Sender: TObject; const Rect: TRect;
      DataCol: Integer; Column: TColumn; State: TGridDrawState);
    procedure bshClick(Sender: TObject);
    procedure bquerysClick(Sender: TObject);
    procedure bfsClick(Sender: TObject);
    procedure bprintcClick(Sender: TObject);
  private
    { Private declarations }
      rzczy,rzsj,rzjsj,rzcsj,clh:string;
      errzt: integer;
      errcode:boolean;
  commandstring,commandstringq: string;
  public
    { Public declarations }

  end;

var
  Frmcllrsh: TFrmcllrsh;

implementation

uses unit28, Unit1, Unit16, func;

{$R *.dfm}

procedure TFrmcllrsh.bprintClick(Sender: TObject);
begin
help.Caption:='   暫不提供打印功能!';
end;

procedure TFrmcllrsh.breturnClick(Sender: TObject);
begin
try
rzcsj:=datetimetostr(now);
form16.WriteTorz(rzczy,rzsj,rzjsj,rzcsj);
DataModule1.ClientDataSet25.IndexFieldNames:='';
if DataModule1.clientdataset25.Active then  DataModule1.ClientDataSet25.Active:=false;
except
showmessage('數據庫沒有打開!');
end;
close;
end;

procedure TFrmcllrsh.FormActivate(Sender: TObject);
var
commandstring,relation,cx,str:string;
begin
rzjsj:=datetimetostr(now);
rzczy:=form1.StatusBar1.Panels[4].Text;
rzsj:='員工產量審核';
qq.DateTime:=date-30;
zq.DateTime:=date;
help.Caption:='';
help.Caption:='  請您點擊< 查詢>按鈕開始查詢產量記錄!';
end;

procedure TFrmcllrsh.FormClose(Sender: TObject; var Action: TCloseAction);
begin
try
DataModule1.ClientDataSet25.IndexFieldNames:='';
if DataModule1.clientdataset25.Active then  DataModule1.ClientDataSet25.Active:=false;
if rzcsj<>'' then exit;
rzcsj:=datetimetostr(now);
form16.WriteTorz(rzczy,rzsj,rzjsj,rzcsj);
except
showmessage('數據庫沒有打開!');
end;
close;
end;

procedure TFrmcllrsh.BqueryClick(Sender: TObject);
var
commandtring1,relation,cx:string;
begin
 relation:=' like ''';
    cx:='%';
commandstring:='select * from dbo.cllrb';
commandtring1:='select * from dbo.cllrb';
  try
if (trim(qddh.Text)<>'') and (cddh.Checked) then
   begin
 relation:=' like ''';
    cx:='%';
  if  commandstring=commandtring1 then
  begin
commandstring:=commandstring+' where (dbo.cllrb.ddh'+relation+cx+trim(qddh.Text)+cx+''')';
end
else
begin
commandstring:=commandstring+' and (dbo.cllrb.ddh'+relation+cx+trim(qddh.Text)+cx+''')';
end;
end
else
begin
qddh.Text:='';
end;
if (trim(qclh.Text)<>'') and (cclh.Checked) then
   begin
 relation:=' like ''';
    cx:='%';
  if  commandstring=commandtring1 then
  begin
commandstring:=commandstring+' where (dbo.cllrb.clh'+relation+cx+trim(qclh.Text)+cx+''')';
end
else
begin
commandstring:=commandstring+' and (dbo.cllrb.clh'+relation+cx+trim(qclh.Text)+cx+''')';
end;
end
else
begin
qclh.Text:='';
end;
if cqq.Checked then
 begin
if commandstring=commandtring1 then
begin
relation:=' >= ''';
    cx:='';
commandstring:=commandstring+' where (dbo.cllrb.rq'+ relation+FormatDateTime('yyyy-mm-dd',qq.Date)+cx+''')';
end
else
begin
relation:=' >= ''';
    cx:='';
commandstring:=commandstring+' and (dbo.cllrb.rq'+ relation+FormatDateTime('yyyy-mm-dd',qq.Date)+cx+''')';
end;
end;
if czq.Checked then
 begin
if commandstring=commandtring1 then
begin
relation:=' < ''';
    cx:='';
commandstring:=commandstring+' where (dbo.cllrb.rq'+ relation+FormatDateTime('yyyy-mm-dd',zq.Date+1)+cx+''')';
end
else
begin
relation:=' < ''';
    cx:='';
commandstring:=commandstring+' and (dbo.cllrb.rq'+ relation+FormatDateTime('yyyy-mm-dd',zq.Date+1)+cx+''')';
end;
end;
if (trim(qgh.Text)<>'') and (cgh.Checked) then
   begin
    relation:=' like ''';
    cx:='%';
  if  commandstring=commandtring1 then
  begin
commandstring:=commandstring+' where (dbo.cllrb.gh'+relation+cx+trim(qgh.Text)+cx+''')';
end
else
begin
commandstring:=commandstring+' and (dbo.cllrb.gh'+relation+cx+trim(qgh.Text)+cx+''')';
end;
end
else
begin
qgh.Text:='';
end;
if (trim(qfb.Text)<>'') and (cfb.Checked) then
   begin
    relation:=' like ''';
    cx:='%';
  if  commandstring=commandtring1 then
  begin
commandstring:=commandstring+' where (dbo.cllrb.fb'+relation+cx+trim(qfb.Text)+cx+''')';
end
else
begin
commandstring:=commandstring+' and (dbo.cllrb.fb'+relation+cx+trim(qfb.Text)+cx+''')';
end;
end
else
begin
qfb.Text:='';
end;
if (trim(qfz.Text)<>'') and (cfz.Checked) then
   begin
    relation:=' like ''';
    cx:='%';
  if  commandstring=commandtring1 then
  begin
commandstring:=commandstring+' where (dbo.cllrb.fz'+relation+cx+trim(qfz.Text)+cx+''')';
end
else
begin
commandstring:=commandstring+' and (dbo.cllrb.fz'+relation+cx+trim(qfz.Text)+cx+''')';
end;
end
else
begin
qfz.Text:='';
end;
if (trim(qyg.Text)<>'') and (cyg.Checked) then
   begin
    relation:=' like ''';
    cx:='%';
  if  commandstring=commandtring1 then
  begin
commandstring:=commandstring+' where (dbo.cllrb.yg'+relation+cx+trim(qyg.Text)+cx+''')';
end
else
begin
commandstring:=commandstring+' and (dbo.cllrb.yg'+relation+cx+trim(qyg.Text)+cx+''')';
end;
end
else
begin
qyg.Text:='';
end;
if (trim(qbh.Text)<>'') and (cbh.Checked) then
   begin
    relation:=' like ''';
    cx:='%';
  if  commandstring=commandtring1 then
  begin
commandstring:=commandstring+' where (dbo.cllrb.bh'+relation+cx+trim(qbh.Text)+cx+''')';
end
else
begin
commandstring:=commandstring+' and (dbo.cllrb.bh'+relation+cx+trim(qbh.Text)+cx+''')';
end;
end
else
begin
qbh.Text:='';
end;
if (trim(qys.Text)<>'') and (cys.Checked) then
   begin
    relation:=' like ''';
    cx:='%';
  if  commandstring=commandtring1 then
  begin
commandstring:=commandstring+' where (dbo.cllrb.ys'+relation+cx+trim(qys.Text)+cx+''')';
end
else
begin
commandstring:=commandstring+' and (dbo.cllrb.ys'+relation+cx+trim(qys.Text)+cx+''')';
end;
end
else
begin
qys.Text:='';
end;
if (trim(qcm.Text)<>'') and (ccm.Checked) then
   begin
    relation:=' like ''';
    cx:='%';
  if  commandstring=commandtring1 then
  begin
commandstring:=commandstring+' where (dbo.cllrb.cm'+relation+cx+trim(qcm.Text)+cx+''')';
end
else
begin
commandstring:=commandstring+' and (dbo.cllrb.cm'+relation+cx+trim(qcm.Text)+cx+''')';
end;
end
else
begin
qcm.Text:='';
end;
if (trim(qsl.Text)<>'') and (csl.Checked) then
   begin
    relation:=' like ''';
    cx:='%';
  if  commandstring=commandtring1 then
  begin
commandstring:=commandstring+' where (dbo.cllrb.sl'+relation+cx+trim(qsl.Text)+cx+''')';
end
else
begin
commandstring:=commandstring+' and (dbo.cllrb.sl'+relation+cx+trim(qsl.Text)+cx+''')';
end;
end
else
begin
qsl.Text:='';
end;
if (trim(qgxmc.Text)<>'') and (cgxmc.Checked) then
   begin
    relation:=' like ''';
    cx:='%';
  if  commandstring=commandtring1 then
  begin
commandstring:=commandstring+' where (dbo.cllrb.gxmc'+relation+cx+trim(qgxmc.Text)+cx+''')';
end
else
begin
commandstring:=commandstring+' and (dbo.cllrb.gxmc'+relation+cx+trim(qgxmc.Text)+cx+''')';
end;
end
else
begin
qgxmc.Text:='';
end;
if (trim(qdj.Text)<>'') and (cdj.Checked) then
   begin
    relation:=' like ''';
    cx:='%';
  if  commandstring=commandtring1 then
  begin
commandstring:=commandstring+' where (dbo.cllrb.dj'+relation+cx+trim(qdj.Text)+cx+''')';
end
else
begin
commandstring:=commandstring+' and (dbo.cllrb.dj'+relation+cx+trim(qdj.Text)+cx+''')';
end;
end
else
begin
qdj.Text:='';
end;
if (trim(qxs.Text)<>'') and (cxs.Checked) then
   begin
    relation:=' like ''';
    cx:='%';
  if  commandstring=commandtring1 then
  begin
commandstring:=commandstring+' where (dbo.cllrb.xs'+relation+cx+trim(qxs.Text)+cx+''')';
end
else
begin
commandstring:=commandstring+' and (dbo.cllrb.xs'+relation+cx+trim(qxs.Text)+cx+''')';
end;
end
else
begin
qxs.Text:='';
end;
if (trim(qcz.Text)<>'') and (ccz.Checked) then
   begin
    relation:=' like ''';
    cx:='%';
  if  commandstring=commandtring1 then
  begin
commandstring:=commandstring+' where (dbo.cllrb.cz'+relation+cx+trim(qcz.Text)+cx+''')';
end
else
begin
commandstring:=commandstring+' and (dbo.cllrb.cz'+relation+cx+trim(qcz.Text)+cx+''')';
end;
end
else
begin
qcz.Text:='';
end;
if (trim(qbz.Text)<>'') and (cbz.Checked) then
   begin
    relation:=' like ''';
    cx:='%';
  if  commandstring=commandtring1 then
  begin
commandstring:=commandstring+' where (dbo.cllrb.bz'+relation+cx+trim(qbz.Text)+cx+''')';
end
else
begin
commandstring:=commandstring+' and (dbo.cllrb.bz'+relation+cx+trim(qbz.Text)+cx+''')';
end;
end
else
begin
qbz.Text:='';
end;
if (trim(qczy.Text)<>'') and (cczy.Checked) then
   begin
    relation:=' like ''';
    cx:='%';
  if  commandstring=commandtring1 then
  begin
commandstring:=commandstring+' where (dbo.cllrb.czy'+relation+cx+trim(qczy.Text)+cx+''')';
end
else
begin
commandstring:=commandstring+' and (dbo.cllrb.czy'+relation+cx+trim(qczy.Text)+cx+''')';
end;
end
else
begin
qczy.Text:='';
end;
if  commandstring=commandtring1 then
  begin
    relation:=' = ''';
    cx:='';
commandstring:=commandstring+' where (dbo.cllrb.shbj'+relation+cx+'0'+cx+''')';
end
else
begin
    relation:=' = ''';
    cx:='';
commandstring:=commandstring+' and (dbo.cllrb.shbj'+relation+cx+'0'+cx+''')';
end;
commandstring:=commandstring+' order by ddh,clh';
commandstringq:=commandstring;
DataModule1.ClientDataSet25.DisableControls;
DataModule1.ClientDataSet25.Close;
DataModule1.ClientDataSet25.CommandText:=commandstring;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品精品国产高清a毛片牛牛| av一本久道久久综合久久鬼色| 欧美色精品在线视频| 一区二区三区国产精华| 色吧成人激情小说| 亚洲va欧美va国产va天堂影院| 欧美最猛黑人xxxxx猛交| 婷婷开心久久网| 日韩美女主播在线视频一区二区三区| 免费一级欧美片在线观看| www精品美女久久久tv| 成人av电影免费观看| 亚洲综合av网| 国产精品护士白丝一区av| av在线综合网| 日韩国产一二三区| 久久网站最新地址| a亚洲天堂av| 日本中文在线一区| 国产精品欧美久久久久一区二区| 在线观看亚洲一区| 国产一区久久久| 一本到不卡精品视频在线观看| 91年精品国产| 国产精品99久久久久久宅男| 久久精品一区二区三区四区| 色综合婷婷久久| 蜜臀久久99精品久久久久久9| 国产精品乱码妇女bbbb| 欧美日韩在线三区| 国产suv精品一区二区三区| 一级中文字幕一区二区| 久久免费电影网| 欧美精品日韩一区| 不卡在线视频中文字幕| 毛片一区二区三区| 一区二区在线看| 2020国产精品| 3751色影院一区二区三区| 成人av在线资源| 国产在线视频一区二区三区| 一区二区三区**美女毛片| 国产日韩精品一区| 日韩免费一区二区| 欧美日韩专区在线| voyeur盗摄精品| 国内精品伊人久久久久影院对白| 亚洲国产va精品久久久不卡综合| 日本一二三不卡| 日韩久久免费av| 欧美乱熟臀69xxxxxx| av中文字幕亚洲| 粉嫩一区二区三区在线看| 免费成人在线观看| 亚洲h精品动漫在线观看| 中文字幕中文字幕中文字幕亚洲无线| 精品欧美黑人一区二区三区| 欧美日韩一级片在线观看| 色婷婷综合久色| 风间由美中文字幕在线看视频国产欧美| 免费欧美高清视频| 日韩国产成人精品| 亚洲一区二区在线观看视频| 亚洲欧美偷拍卡通变态| 国产精品午夜在线| 国产喷白浆一区二区三区| 国产校园另类小说区| 久久久精品综合| 久久久久国产精品厨房| 久久香蕉国产线看观看99| 精品国产一区a| 久久精品视频在线看| 久久亚洲精品小早川怜子| 最新国产精品久久精品| 欧美高清在线一区二区| 国产精品视频麻豆| 亚洲欧洲av色图| 亚洲一二三四在线| 亚洲最色的网站| 午夜视频久久久久久| 日日欢夜夜爽一区| 日本欧美加勒比视频| 毛片基地黄久久久久久天堂| 韩国成人在线视频| 国产成人午夜视频| 成人丝袜18视频在线观看| 99视频在线精品| 91久久久免费一区二区| 欧美精品乱码久久久久久 | 欧美三级电影一区| 欧美人牲a欧美精品| 日韩欧美另类在线| 国产视频一区在线播放| 亚洲婷婷综合色高清在线| 亚洲欧美日韩国产综合| 亚洲一级二级三级在线免费观看| 亚欧色一区w666天堂| 麻豆高清免费国产一区| 国产一区二区三区免费| 白白色 亚洲乱淫| 欧美日本一区二区| 精品国产免费久久| 国产精品电影一区二区三区| 亚洲国产日韩一区二区| 狠狠色丁香久久婷婷综合_中| 成人h动漫精品| 欧美男女性生活在线直播观看| 欧美xxx久久| 专区另类欧美日韩| 日本va欧美va瓶| 国产精品66部| 欧美日韩国产在线播放网站| 精品福利一区二区三区| 一区二区三国产精华液| 免费成人在线影院| 99久久综合99久久综合网站| 欧美日韩激情在线| 国产精品素人一区二区| 午夜激情一区二区三区| 国产91精品久久久久久久网曝门 | 久久人人爽人人爽| 成人欧美一区二区三区黑人麻豆 | 日韩精品成人一区二区三区| 国产精品亚洲第一区在线暖暖韩国| 在线免费观看日韩欧美| 久久精品网站免费观看| 偷拍日韩校园综合在线| 97精品久久久久中文字幕| 日韩丝袜情趣美女图片| 亚洲免费色视频| 国产91精品精华液一区二区三区 | 国产美女一区二区| 欧美日韩精品综合在线| 中文字幕一区二区三区在线播放| 蜜臂av日日欢夜夜爽一区| 一本大道av伊人久久综合| 久久亚洲欧美国产精品乐播| 日韩成人午夜电影| 欧美无人高清视频在线观看| 《视频一区视频二区| 国产成人av自拍| 亚洲精品一区二区三区四区高清| 亚洲综合视频在线观看| 99视频精品免费视频| 国产丝袜美腿一区二区三区| 蜜乳av一区二区三区| 69堂成人精品免费视频| 亚洲一区精品在线| 欧美中文字幕一区二区三区| 中文字幕亚洲区| 成人激情综合网站| 国产午夜精品福利| 国产毛片精品国产一区二区三区| 欧美成人欧美edvon| 日日嗨av一区二区三区四区| 欧美日韩精品一区二区三区| 亚洲国产精品久久人人爱| 在线国产亚洲欧美| 一区二区三区日韩| 欧美系列日韩一区| 亚洲午夜久久久| 欧美色图12p| 亚洲成人先锋电影| 91麻豆精品国产91久久久使用方法 | 国产精品理伦片| 国产精品一区二区在线看| 欧美xxxx老人做受| 国产一区在线不卡| 欧美精品一区二区三区一线天视频| 久国产精品韩国三级视频| 欧美成人性福生活免费看| 精品亚洲成a人| 久久久精品免费网站| 成人午夜激情影院| 亚洲美女屁股眼交3| 在线观看av一区二区| 亚洲成av人片一区二区梦乃| 欧美日韩亚洲国产综合| 日本不卡高清视频| 久久天天做天天爱综合色| 国产91丝袜在线观看| 亚洲欧美经典视频| 欧美日韩一卡二卡| 麻豆久久久久久| 国产日产精品1区| 91麻豆文化传媒在线观看| 亚洲成人av中文| 精品国产乱码久久久久久夜甘婷婷| 国产伦精品一区二区三区在线观看| 欧美激情艳妇裸体舞| 色爱区综合激月婷婷| 日韩精品欧美成人高清一区二区| 日韩欧美一区在线| 国产91精品久久久久久久网曝门| 亚洲美女视频在线观看| 日韩欧美中文字幕制服| 99视频国产精品| 另类小说综合欧美亚洲| 亚洲欧美日韩国产综合在线 | 在线亚洲人成电影网站色www|