亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
亚洲国产一区视频| 色婷婷国产精品综合在线观看| 国产福利一区二区三区视频在线 | 国产午夜精品久久| 亚洲一区二区三区四区在线免费观看| 另类小说欧美激情| 色久优优欧美色久优优| 国产日韩欧美在线一区| 老司机免费视频一区二区三区| 在线观看日韩精品| 亚洲欧洲国产日韩| 国产成人午夜电影网| 日韩欧美一区中文| 精品在线播放午夜| 日韩三级高清在线| 日本欧美一区二区在线观看| 精品视频一区三区九区| 亚洲日本电影在线| 99久久777色| 国产精品久久看| 国产福利一区二区| 国产欧美日韩麻豆91| 国产一区二区剧情av在线| 精品少妇一区二区三区在线播放| 三级精品在线观看| 91精品国产综合久久蜜臀| 亚洲国产精品视频| 欧美日韩视频在线第一区| 性久久久久久久久久久久 | 国产成人精品亚洲777人妖| 日韩一区二区三区在线| 日韩国产一区二| 91精品午夜视频| 麻豆国产一区二区| 2023国产精品| 懂色中文一区二区在线播放| 欧美激情艳妇裸体舞| 99久久国产综合精品女不卡| 亚洲精品欧美激情| 欧美性大战久久| 免费高清视频精品| 久久久久久久久久久久久夜| 不卡在线观看av| 亚洲人成网站色在线观看| 91久久线看在观草草青青| 亚洲mv在线观看| 欧美xxxx老人做受| 粉嫩13p一区二区三区| 一区二区三区精品在线观看| 欧美老肥妇做.爰bbww| 裸体歌舞表演一区二区| 国产日产欧美精品一区二区三区| 99久久久无码国产精品| 亚洲一区二区视频在线观看| 日韩视频一区二区在线观看| 国产成人亚洲综合a∨婷婷| 亚洲精品综合在线| 日韩午夜电影av| 99久久婷婷国产精品综合| 香蕉影视欧美成人| 久久免费看少妇高潮| 色综合一个色综合亚洲| 麻豆精品国产传媒mv男同| 中文字幕在线一区| 欧美乱熟臀69xxxxxx| 粉嫩久久99精品久久久久久夜| 国产高清成人在线| 一区二区三区在线观看国产| 欧美一级高清大全免费观看| 成人性色生活片免费看爆迷你毛片| 一区二区激情小说| 久久久久久久久久美女| 在线观看一区日韩| 国产大片一区二区| 午夜视频在线观看一区二区三区| 国产日本一区二区| 制服视频三区第一页精品| 91一区二区三区在线观看| 天堂蜜桃一区二区三区| 国产精品久久久久久户外露出| 69精品人人人人| 99精品视频在线播放观看| 久久99久久精品欧美| 亚洲成人自拍一区| 中文字幕亚洲成人| 久久久久久影视| 日韩一区二区三区视频在线| 色美美综合视频| 菠萝蜜视频在线观看一区| 国产最新精品免费| 青青青爽久久午夜综合久久午夜| 亚洲天堂精品在线观看| 欧美激情艳妇裸体舞| 精品成人一区二区| 56国语精品自产拍在线观看| 在线观看91视频| 色噜噜狠狠成人网p站| 成人三级伦理片| 国产精品一级在线| 国产在线视频一区二区| 六月婷婷色综合| 麻豆免费精品视频| 蜜臀99久久精品久久久久久软件| 亚洲国产精品久久久久婷婷884| 亚洲欧洲另类国产综合| 欧美国产亚洲另类动漫| 国产午夜一区二区三区| 久久久久久免费网| 久久精品一区二区三区不卡牛牛 | 国产精品久线在线观看| 久久美女艺术照精彩视频福利播放| 制服丝袜中文字幕一区| 欧美日韩黄色一区二区| 欧美视频一二三区| 欧美特级限制片免费在线观看| 色哟哟一区二区在线观看| 91在线观看下载| 一本久道久久综合中文字幕| 色婷婷国产精品久久包臀| 欧美最猛性xxxxx直播| 欧美性生活久久| 欧美肥妇bbw| 欧美大白屁股肥臀xxxxxx| 亚洲国产视频a| 亚洲大片免费看| 午夜精品久久久久久久| 看电视剧不卡顿的网站| 国产一区二区精品久久91| 成人激情av网| 欧美性videosxxxxx| 欧美一区二区三区四区高清| 日韩一区二区免费电影| 国产香蕉久久精品综合网| 中文字幕日韩精品一区| 亚洲一区二区av电影| 蜜桃久久精品一区二区| 国产福利不卡视频| 91免费版pro下载短视频| 欧美日韩中文字幕一区二区| 日韩欧美一区在线观看| 欧美激情中文字幕| 亚洲小说春色综合另类电影| 黄色日韩网站视频| 91亚洲精品久久久蜜桃| 欧美精品在线视频| 久久久久99精品一区| 亚洲美女在线国产| 久久电影国产免费久久电影 | 欧美日韩和欧美的一区二区| 精品日韩欧美在线| 日韩毛片一二三区| 日韩成人精品在线| 波多野结衣精品在线| 91精品麻豆日日躁夜夜躁| 亚洲国产激情av| 青椒成人免费视频| 99麻豆久久久国产精品免费| 91精品麻豆日日躁夜夜躁| 国产精品精品国产色婷婷| 丝袜美腿成人在线| aaa欧美日韩| 日韩美女视频在线| 一区二区三区四区在线| 国产精品羞羞答答xxdd| 欧美福利电影网| 亚洲乱码国产乱码精品精的特点| 久久丁香综合五月国产三级网站 | 欧美xfplay| 亚洲专区一二三| 成人激情免费视频| 精品少妇一区二区三区在线视频| 夜夜嗨av一区二区三区网页| 国产ts人妖一区二区| 欧美一区二区播放| 亚洲高清中文字幕| 94-欧美-setu| 国产精品婷婷午夜在线观看| 狠狠狠色丁香婷婷综合激情 | 国产女人18水真多18精品一级做 | 精品日本一线二线三线不卡| 亚洲综合视频网| 99riav一区二区三区| 久久新电视剧免费观看| 99久久99久久综合| 亚洲国产成人一区二区三区| 极品少妇一区二区三区精品视频 | 亚洲欧洲在线观看av| 国产精品66部| 久久蜜桃一区二区| 久久99蜜桃精品| 日韩欧美中文字幕精品| 免费观看在线综合| 欧美另类一区二区三区| 午夜精品久久久久久不卡8050| 欧美日韩一二三区| 亚洲图片欧美综合| 欧美精品日韩一区| 日韩高清不卡一区二区| 日韩精品一区二区在线观看| 蜜桃视频在线观看一区|