~
This commit is contained in:
parent
9ff30f3ceb
commit
c677526d36
|
|
@ -14,8 +14,8 @@
|
||||||
重量下限=0
|
重量下限=0
|
||||||
重量上限=222
|
重量上限=222
|
||||||
米数小数位=0
|
米数小数位=0
|
||||||
码数小数位=0
|
码数小数位=2
|
||||||
重量小数位=0
|
重量小数位=1
|
||||||
自定义字母键1=A
|
自定义字母键1=A
|
||||||
自定义字母键2=-
|
自定义字母键2=-
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2354,11 +2354,9 @@
|
||||||
OnClick = FrameKeyBoard1SpeedButton1Click
|
OnClick = FrameKeyBoard1SpeedButton1Click
|
||||||
end
|
end
|
||||||
inherited SpeedButton5: TSpeedButton
|
inherited SpeedButton5: TSpeedButton
|
||||||
Left = 58
|
Top = 62
|
||||||
Top = 59
|
|
||||||
OnClick = FrameKeyBoard1SpeedButton1Click
|
OnClick = FrameKeyBoard1SpeedButton1Click
|
||||||
ExplicitLeft = 58
|
ExplicitTop = 62
|
||||||
ExplicitTop = 59
|
|
||||||
end
|
end
|
||||||
inherited SpeedButton8: TSpeedButton
|
inherited SpeedButton8: TSpeedButton
|
||||||
OnClick = FrameKeyBoard1SpeedButton1Click
|
OnClick = FrameKeyBoard1SpeedButton1Click
|
||||||
|
|
|
||||||
|
|
@ -448,7 +448,7 @@ begin
|
||||||
Application.MessageBox('该颜色未在待检布仓库,不可以检验该颜色!', '提示信息', MB_ICONERROR);
|
Application.MessageBox('该颜色未在待检布仓库,不可以检验该颜色!', '提示信息', MB_ICONERROR);
|
||||||
exit;
|
exit;
|
||||||
end;
|
end;
|
||||||
if ((trim(Coefficient.text) = '') and ((trim(lblRuleConversion.text) = 'ÎÞÐèת»»') or (trim(lblRuleConversion.text) = ''))) or (trim(C_Width.text) = '') or (trim(C_GramWeight.text) = '') then
|
if ((trim(Coefficient.text) = '') and ((trim(lblRuleConversion.text) = 'ÎÞÐèת»»') or (trim(lblRuleConversion.text) = ''))) or (trim(C_Width.text) = '') or (trim(C_GramWeight.text) = '') then
|
||||||
begin
|
begin
|
||||||
with ADOCmd do
|
with ADOCmd do
|
||||||
begin
|
begin
|
||||||
|
|
@ -2559,15 +2559,17 @@ begin
|
||||||
end;
|
end;
|
||||||
// if not cds_params.IsEmpty then
|
// if not cds_params.IsEmpty then
|
||||||
// begin
|
// begin
|
||||||
cds_params.Edit;
|
|
||||||
with cds_params do
|
with cds_params do
|
||||||
begin
|
begin
|
||||||
|
cds_params.Edit;
|
||||||
if Trim(edtMaBiao.Text) = '√' then
|
if Trim(edtMaBiao.Text) = '√' then
|
||||||
cds_params.fieldByName('mabiao').Value := '1'
|
cds_params.fieldByName('mabiao').Value := '1'
|
||||||
else
|
else
|
||||||
cds_params.fieldByName('mabiao').Value := '0';
|
cds_params.fieldByName('mabiao').Value := '0';
|
||||||
|
cds_params.Post;
|
||||||
end;
|
end;
|
||||||
cds_params.Post;
|
|
||||||
// end;
|
// end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
@ -3236,10 +3238,18 @@ begin
|
||||||
frameBads1.lblCIFName.Caption := trim(TSpeedButton(Sender).Hint);
|
frameBads1.lblCIFName.Caption := trim(TSpeedButton(Sender).Hint);
|
||||||
|
|
||||||
frameBads1.CIFNumber.SetFocus;
|
frameBads1.CIFNumber.SetFocus;
|
||||||
|
|
||||||
frameBads1.CIFNumber.text := '1';
|
frameBads1.CIFNumber.text := '1';
|
||||||
frameBads1.CIFBeg.text := trim(Self.InputLen.text);
|
// frameBads1.CIFBeg.text := trim(Self.InputLen.text);
|
||||||
frameBads1cxCheckBox_readLenPropertiesChange(frameBads1.IsSubtract);
|
frameBads1cxCheckBox_readLenPropertiesChange(frameBads1.IsSubtract);
|
||||||
|
|
||||||
|
frameBads1.cxCheck_len.Checked := true;
|
||||||
|
if frameBads1.cxCheck_len.Checked and (trim(InputLen.Text) <> '') then
|
||||||
|
begin
|
||||||
|
frameBads1.CIFBeg.Text := trim(InputLen.Text);
|
||||||
|
frameBads1.CIFEnd.SetFocus;
|
||||||
|
end;
|
||||||
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TfrmMachRollMain.On1301(var Message: Tmessage);
|
procedure TfrmMachRollMain.On1301(var Message: Tmessage);
|
||||||
|
|
|
||||||
|
|
@ -398,7 +398,7 @@ inherited frmProductListHelp: TfrmProductListHelp
|
||||||
AllowRemove = False
|
AllowRemove = False
|
||||||
CaptionOptions.Text = #35746#21333#21495
|
CaptionOptions.Text = #35746#21333#21495
|
||||||
Control = OrderNo
|
Control = OrderNo
|
||||||
ControlOptions.OriginalHeight = 33
|
ControlOptions.OriginalHeight = 21
|
||||||
ControlOptions.OriginalWidth = 109
|
ControlOptions.OriginalWidth = 109
|
||||||
ControlOptions.ShowBorder = False
|
ControlOptions.ShowBorder = False
|
||||||
Index = 2
|
Index = 2
|
||||||
|
|
@ -408,7 +408,7 @@ inherited frmProductListHelp: TfrmProductListHelp
|
||||||
AllowRemove = False
|
AllowRemove = False
|
||||||
CaptionOptions.Text = #23458#25143#21517#31216
|
CaptionOptions.Text = #23458#25143#21517#31216
|
||||||
Control = custName
|
Control = custName
|
||||||
ControlOptions.OriginalHeight = 33
|
ControlOptions.OriginalHeight = 21
|
||||||
ControlOptions.OriginalWidth = 109
|
ControlOptions.OriginalWidth = 109
|
||||||
ControlOptions.ShowBorder = False
|
ControlOptions.ShowBorder = False
|
||||||
Index = 3
|
Index = 3
|
||||||
|
|
@ -416,7 +416,7 @@ inherited frmProductListHelp: TfrmProductListHelp
|
||||||
object dxLayoutItem_color: TdxLayoutItem
|
object dxLayoutItem_color: TdxLayoutItem
|
||||||
CaptionOptions.Text = #39068#33394
|
CaptionOptions.Text = #39068#33394
|
||||||
Control = C_Color
|
Control = C_Color
|
||||||
ControlOptions.OriginalHeight = 33
|
ControlOptions.OriginalHeight = 21
|
||||||
ControlOptions.OriginalWidth = 121
|
ControlOptions.OriginalWidth = 121
|
||||||
ControlOptions.ShowBorder = False
|
ControlOptions.ShowBorder = False
|
||||||
Index = -1
|
Index = -1
|
||||||
|
|
@ -436,8 +436,8 @@ inherited frmProductListHelp: TfrmProductListHelp
|
||||||
SizeOptions.Width = 197
|
SizeOptions.Width = 197
|
||||||
CaptionOptions.Text = #21046#21333#26085#26399
|
CaptionOptions.Text = #21046#21333#26085#26399
|
||||||
Control = begdate
|
Control = begdate
|
||||||
ControlOptions.OriginalHeight = 33
|
ControlOptions.OriginalHeight = 21
|
||||||
ControlOptions.OriginalWidth = 133
|
ControlOptions.OriginalWidth = 138
|
||||||
ControlOptions.ShowBorder = False
|
ControlOptions.ShowBorder = False
|
||||||
Index = 0
|
Index = 0
|
||||||
end
|
end
|
||||||
|
|
@ -446,8 +446,8 @@ inherited frmProductListHelp: TfrmProductListHelp
|
||||||
SizeOptions.Width = 152
|
SizeOptions.Width = 152
|
||||||
CaptionOptions.Text = '--'
|
CaptionOptions.Text = '--'
|
||||||
Control = enddate
|
Control = enddate
|
||||||
ControlOptions.OriginalHeight = 33
|
ControlOptions.OriginalHeight = 21
|
||||||
ControlOptions.OriginalWidth = 117
|
ControlOptions.OriginalWidth = 133
|
||||||
ControlOptions.ShowBorder = False
|
ControlOptions.ShowBorder = False
|
||||||
Index = 1
|
Index = 1
|
||||||
end
|
end
|
||||||
|
|
@ -455,7 +455,7 @@ inherited frmProductListHelp: TfrmProductListHelp
|
||||||
Parent = dxLayoutControl_queryGroup_Root
|
Parent = dxLayoutControl_queryGroup_Root
|
||||||
CaptionOptions.Text = #21512#21516#21495
|
CaptionOptions.Text = #21512#21516#21495
|
||||||
Control = conNo
|
Control = conNo
|
||||||
ControlOptions.OriginalHeight = 33
|
ControlOptions.OriginalHeight = 21
|
||||||
ControlOptions.OriginalWidth = 105
|
ControlOptions.OriginalWidth = 105
|
||||||
ControlOptions.ShowBorder = False
|
ControlOptions.ShowBorder = False
|
||||||
Index = 4
|
Index = 4
|
||||||
|
|
@ -463,7 +463,7 @@ inherited frmProductListHelp: TfrmProductListHelp
|
||||||
object dxLayoutItem_khdh: TdxLayoutItem
|
object dxLayoutItem_khdh: TdxLayoutItem
|
||||||
CaptionOptions.Text = #23458#25143#21333#21495
|
CaptionOptions.Text = #23458#25143#21333#21495
|
||||||
Control = BuyConNo
|
Control = BuyConNo
|
||||||
ControlOptions.OriginalHeight = 33
|
ControlOptions.OriginalHeight = 21
|
||||||
ControlOptions.OriginalWidth = 121
|
ControlOptions.OriginalWidth = 121
|
||||||
ControlOptions.ShowBorder = False
|
ControlOptions.ShowBorder = False
|
||||||
Index = -1
|
Index = -1
|
||||||
|
|
@ -471,7 +471,7 @@ inherited frmProductListHelp: TfrmProductListHelp
|
||||||
object dxLayoutItem_Pattern: TdxLayoutItem
|
object dxLayoutItem_Pattern: TdxLayoutItem
|
||||||
CaptionOptions.Text = #33457#22411
|
CaptionOptions.Text = #33457#22411
|
||||||
Control = C_Pattern
|
Control = C_Pattern
|
||||||
ControlOptions.OriginalHeight = 33
|
ControlOptions.OriginalHeight = 21
|
||||||
ControlOptions.OriginalWidth = 121
|
ControlOptions.OriginalWidth = 121
|
||||||
ControlOptions.ShowBorder = False
|
ControlOptions.ShowBorder = False
|
||||||
Index = -1
|
Index = -1
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,8 @@ uses
|
||||||
Vcl.ToolWin, Data.Win.ADODB, U_BaseHelp, U_BaseList, System.ImageList,
|
Vcl.ToolWin, Data.Win.ADODB, U_BaseHelp, U_BaseList, System.ImageList,
|
||||||
Vcl.ImgList, Datasnap.DBClient, dxBarBuiltInMenu, cxGridCustomPopupMenu,
|
Vcl.ImgList, Datasnap.DBClient, dxBarBuiltInMenu, cxGridCustomPopupMenu,
|
||||||
cxGridPopupMenu, dxLayoutContainer, dxLayoutControl, cxContainer, dxCore,
|
cxGridPopupMenu, dxLayoutContainer, dxLayoutControl, cxContainer, dxCore,
|
||||||
cxDateUtils, dxLayoutcxEditAdapters, cxMaskEdit, cxDropDownEdit, cxTextEdit;
|
cxDateUtils, dxLayoutcxEditAdapters, cxMaskEdit, cxDropDownEdit, cxTextEdit,
|
||||||
|
dxSkinsCore;
|
||||||
|
|
||||||
type
|
type
|
||||||
TfrmProductListHelp = class(TfrmBaseHelp)
|
TfrmProductListHelp = class(TfrmBaseHelp)
|
||||||
|
|
@ -94,7 +95,7 @@ procedure TfrmProductListHelp.FormCreate(Sender: TObject);
|
||||||
begin
|
begin
|
||||||
inherited;
|
inherited;
|
||||||
cxGrid2.Align:=alClient;
|
cxGrid2.Align:=alClient;
|
||||||
BegDate.Date:=SGetServerDateTime(ADOQueryBaseTemp)-3;
|
BegDate.Date:=SGetServerDateTime(ADOQueryBaseTemp)-30;
|
||||||
endDate.Date:=SGetServerDateTime(ADOQueryBaseTemp)
|
endDate.Date:=SGetServerDateTime(ADOQueryBaseTemp)
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user