检验 坯布仓库 汇总
This commit is contained in:
parent
66103e766d
commit
c0edfe950f
|
|
@ -37,6 +37,8 @@
|
||||||
ParentBackground = False
|
ParentBackground = False
|
||||||
ParentFont = False
|
ParentFont = False
|
||||||
TabOrder = 0
|
TabOrder = 0
|
||||||
|
ExplicitLeft = 2
|
||||||
|
ExplicitTop = 126
|
||||||
object lblLenUnit: TLabel
|
object lblLenUnit: TLabel
|
||||||
Left = 218
|
Left = 218
|
||||||
Top = 65
|
Top = 65
|
||||||
|
|
@ -347,8 +349,8 @@
|
||||||
Visible = False
|
Visible = False
|
||||||
end
|
end
|
||||||
object Label54: TLabel
|
object Label54: TLabel
|
||||||
Left = 50
|
Left = 138
|
||||||
Top = 149
|
Top = 152
|
||||||
Width = 42
|
Width = 42
|
||||||
Height = 24
|
Height = 24
|
||||||
Caption = #38376#24133
|
Caption = #38376#24133
|
||||||
|
|
@ -360,8 +362,8 @@
|
||||||
ParentFont = False
|
ParentFont = False
|
||||||
end
|
end
|
||||||
object Label55: TLabel
|
object Label55: TLabel
|
||||||
Left = 279
|
Left = 306
|
||||||
Top = 147
|
Top = 152
|
||||||
Width = 42
|
Width = 42
|
||||||
Height = 24
|
Height = 24
|
||||||
Caption = #20811#37325
|
Caption = #20811#37325
|
||||||
|
|
@ -385,6 +387,19 @@
|
||||||
Font.Style = [fsBold]
|
Font.Style = [fsBold]
|
||||||
ParentFont = False
|
ParentFont = False
|
||||||
end
|
end
|
||||||
|
object Label60: TLabel
|
||||||
|
Left = 14
|
||||||
|
Top = 153
|
||||||
|
Width = 42
|
||||||
|
Height = 23
|
||||||
|
Caption = #21152#37325
|
||||||
|
Font.Charset = ANSI_CHARSET
|
||||||
|
Font.Color = clBlack
|
||||||
|
Font.Height = -20
|
||||||
|
Font.Name = 'Times New Roman'
|
||||||
|
Font.Style = [fsBold]
|
||||||
|
ParentFont = False
|
||||||
|
end
|
||||||
object InputLen: TEdit
|
object InputLen: TEdit
|
||||||
Left = 98
|
Left = 98
|
||||||
Top = 61
|
Top = 61
|
||||||
|
|
@ -842,8 +857,8 @@
|
||||||
OnClick = Button3Click
|
OnClick = Button3Click
|
||||||
end
|
end
|
||||||
object MF: TEdit
|
object MF: TEdit
|
||||||
Left = 98
|
Left = 186
|
||||||
Top = 147
|
Top = 144
|
||||||
Width = 114
|
Width = 114
|
||||||
Height = 32
|
Height = 32
|
||||||
Font.Charset = ANSI_CHARSET
|
Font.Charset = ANSI_CHARSET
|
||||||
|
|
@ -855,7 +870,7 @@
|
||||||
TabOrder = 26
|
TabOrder = 26
|
||||||
end
|
end
|
||||||
object KZ: TEdit
|
object KZ: TEdit
|
||||||
Left = 327
|
Left = 354
|
||||||
Top = 144
|
Top = 144
|
||||||
Width = 122
|
Width = 122
|
||||||
Height = 32
|
Height = 32
|
||||||
|
|
@ -882,6 +897,22 @@
|
||||||
ParentFont = False
|
ParentFont = False
|
||||||
TabOrder = 28
|
TabOrder = 28
|
||||||
end
|
end
|
||||||
|
object add_weight: TEdit
|
||||||
|
Left = 62
|
||||||
|
Top = 148
|
||||||
|
Width = 63
|
||||||
|
Height = 28
|
||||||
|
Font.Charset = ANSI_CHARSET
|
||||||
|
Font.Color = clWindowText
|
||||||
|
Font.Height = -20
|
||||||
|
Font.Name = #23435#20307
|
||||||
|
Font.Style = [fsBold]
|
||||||
|
ParentFont = False
|
||||||
|
TabOrder = 29
|
||||||
|
OnChange = add_weightChange
|
||||||
|
OnClick = CIFBegClick
|
||||||
|
OnKeyPress = MJstr3KeyPress
|
||||||
|
end
|
||||||
end
|
end
|
||||||
object Panel10: TPanel
|
object Panel10: TPanel
|
||||||
Left = 1
|
Left = 1
|
||||||
|
|
@ -2933,10 +2964,6 @@
|
||||||
object 查看: TcxTabSheet
|
object 查看: TcxTabSheet
|
||||||
Caption = #26597#30475
|
Caption = #26597#30475
|
||||||
ImageIndex = 1
|
ImageIndex = 1
|
||||||
ExplicitLeft = 0
|
|
||||||
ExplicitTop = 0
|
|
||||||
ExplicitWidth = 0
|
|
||||||
ExplicitHeight = 0
|
|
||||||
object cxGrid1: TcxGrid
|
object cxGrid1: TcxGrid
|
||||||
Left = 0
|
Left = 0
|
||||||
Top = 0
|
Top = 0
|
||||||
|
|
@ -3372,19 +3399,6 @@
|
||||||
Font.Style = [fsBold]
|
Font.Style = [fsBold]
|
||||||
ParentFont = False
|
ParentFont = False
|
||||||
end
|
end
|
||||||
object Label60: TLabel
|
|
||||||
Left = 6
|
|
||||||
Top = 353
|
|
||||||
Width = 42
|
|
||||||
Height = 23
|
|
||||||
Caption = #21152#37325
|
|
||||||
Font.Charset = ANSI_CHARSET
|
|
||||||
Font.Color = clBlack
|
|
||||||
Font.Height = -20
|
|
||||||
Font.Name = 'Times New Roman'
|
|
||||||
Font.Style = [fsBold]
|
|
||||||
ParentFont = False
|
|
||||||
end
|
|
||||||
object edtChen: TEdit
|
object edtChen: TEdit
|
||||||
Left = 54
|
Left = 54
|
||||||
Top = 52
|
Top = 52
|
||||||
|
|
@ -3601,22 +3615,6 @@
|
||||||
OnClick = edtMaxClick
|
OnClick = edtMaxClick
|
||||||
OnKeyPress = MJstr3KeyPress
|
OnKeyPress = MJstr3KeyPress
|
||||||
end
|
end
|
||||||
object add_weight: TEdit
|
|
||||||
Left = 54
|
|
||||||
Top = 349
|
|
||||||
Width = 63
|
|
||||||
Height = 28
|
|
||||||
Font.Charset = ANSI_CHARSET
|
|
||||||
Font.Color = clWindowText
|
|
||||||
Font.Height = -20
|
|
||||||
Font.Name = #23435#20307
|
|
||||||
Font.Style = [fsBold]
|
|
||||||
ParentFont = False
|
|
||||||
TabOrder = 13
|
|
||||||
OnChange = add_weightChange
|
|
||||||
OnClick = CIFBegClick
|
|
||||||
OnKeyPress = MJstr3KeyPress
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
object Panel3: TPanel [4]
|
object Panel3: TPanel [4]
|
||||||
Left = 8
|
Left = 8
|
||||||
|
|
|
||||||
|
|
@ -721,7 +721,7 @@ begin
|
||||||
Tare.Text := '';
|
Tare.Text := '';
|
||||||
InputWeight.Text := '';
|
InputWeight.Text := '';
|
||||||
code_table_length.Text := '';
|
code_table_length.Text := '';
|
||||||
add_weight.Text := '';
|
// add_weight.Text := '';
|
||||||
FLenUnit := '';
|
FLenUnit := '';
|
||||||
FLoom := '';
|
FLoom := '';
|
||||||
C_LongitudeBatchNo.Text := '';
|
C_LongitudeBatchNo.Text := '';
|
||||||
|
|
|
||||||
|
|
@ -98,6 +98,20 @@ inherited frmTatClothStkHZList: TfrmTatClothStkHZList
|
||||||
Font.Style = [fsBold]
|
Font.Style = [fsBold]
|
||||||
ParentFont = False
|
ParentFont = False
|
||||||
end
|
end
|
||||||
|
object Label1: TLabel
|
||||||
|
Left = 190
|
||||||
|
Top = 36
|
||||||
|
Width = 26
|
||||||
|
Height = 12
|
||||||
|
Hint = '0'
|
||||||
|
Caption = #23458#25143
|
||||||
|
Font.Charset = GB2312_CHARSET
|
||||||
|
Font.Color = clWindowText
|
||||||
|
Font.Height = -12
|
||||||
|
Font.Name = #23435#20307
|
||||||
|
Font.Style = [fsBold]
|
||||||
|
ParentFont = False
|
||||||
|
end
|
||||||
object BegDate: TDateTimePicker
|
object BegDate: TDateTimePicker
|
||||||
Left = 88
|
Left = 88
|
||||||
Top = 6
|
Top = 6
|
||||||
|
|
@ -163,6 +177,16 @@ inherited frmTatClothStkHZList: TfrmTatClothStkHZList
|
||||||
TabOrder = 5
|
TabOrder = 5
|
||||||
OnKeyPress = C_NameKeyPress
|
OnKeyPress = C_NameKeyPress
|
||||||
end
|
end
|
||||||
|
object ContractBuyName: TEdit
|
||||||
|
Tag = 2
|
||||||
|
Left = 237
|
||||||
|
Top = 32
|
||||||
|
Width = 100
|
||||||
|
Height = 20
|
||||||
|
Hint = '0'
|
||||||
|
TabOrder = 6
|
||||||
|
OnKeyPress = C_NameKeyPress
|
||||||
|
end
|
||||||
end
|
end
|
||||||
object cxGrid1: TcxGrid [2]
|
object cxGrid1: TcxGrid [2]
|
||||||
Left = 0
|
Left = 0
|
||||||
|
|
@ -179,6 +203,7 @@ inherited frmTatClothStkHZList: TfrmTatClothStkHZList
|
||||||
ParentFont = False
|
ParentFont = False
|
||||||
PopupMenu = PM_1
|
PopupMenu = PM_1
|
||||||
TabOrder = 2
|
TabOrder = 2
|
||||||
|
ExplicitTop = 96
|
||||||
object Tv1: TcxGridDBTableView
|
object Tv1: TcxGridDBTableView
|
||||||
Navigator.Buttons.CustomButtons = <>
|
Navigator.Buttons.CustomButtons = <>
|
||||||
ScrollbarAnnotations.CustomAnnotations = <>
|
ScrollbarAnnotations.CustomAnnotations = <>
|
||||||
|
|
@ -265,6 +290,14 @@ inherited frmTatClothStkHZList: TfrmTatClothStkHZList
|
||||||
Options.Editing = False
|
Options.Editing = False
|
||||||
Width = 66
|
Width = 66
|
||||||
end
|
end
|
||||||
|
object Tv1ContractBuyName: TcxGridDBColumn
|
||||||
|
Caption = #23458#25143
|
||||||
|
DataBinding.FieldName = 'ContractBuyName'
|
||||||
|
DataBinding.IsNullValueType = True
|
||||||
|
HeaderAlignmentHorz = taCenter
|
||||||
|
Options.Editing = False
|
||||||
|
Width = 80
|
||||||
|
end
|
||||||
object v1Column23: TcxGridDBColumn
|
object v1Column23: TcxGridDBColumn
|
||||||
Caption = #21367#25968
|
Caption = #21367#25968
|
||||||
DataBinding.FieldName = 'js'
|
DataBinding.FieldName = 'js'
|
||||||
|
|
|
||||||
|
|
@ -48,6 +48,9 @@ type
|
||||||
PM11: TMenuItem;
|
PM11: TMenuItem;
|
||||||
N1: TMenuItem;
|
N1: TMenuItem;
|
||||||
Tv1Column1: TcxGridDBColumn;
|
Tv1Column1: TcxGridDBColumn;
|
||||||
|
Tv1ContractBuyName: TcxGridDBColumn;
|
||||||
|
ContractBuyName: TEdit;
|
||||||
|
Label1: TLabel;
|
||||||
procedure FormClose(Sender: TObject; var Action: TCloseAction);
|
procedure FormClose(Sender: TObject; var Action: TCloseAction);
|
||||||
procedure FormCreate(Sender: TObject);
|
procedure FormCreate(Sender: TObject);
|
||||||
procedure TBRafreshClick(Sender: TObject);
|
procedure TBRafreshClick(Sender: TObject);
|
||||||
|
|
@ -132,8 +135,8 @@ begin
|
||||||
Close;
|
Close;
|
||||||
sql.Clear;
|
sql.Clear;
|
||||||
|
|
||||||
sql.Add('select C_NAME,COUNT(*)JS,SUM(stkMeter)stkMeter,SUM(StkYardage)StkYardage from V_Tat_Cloth_Stk AA where 1=1 ' + WSql);
|
sql.Add('select C_NAME,ContractBuyName,COUNT(*)JS,SUM(stkMeter)stkMeter,SUM(StkYardage)StkYardage from V_Tat_Cloth_Stk AA where 1=1 ' + WSql);
|
||||||
sql.Add('group by C_NAME');
|
sql.Add('group by C_NAME,ContractBuyName');
|
||||||
|
|
||||||
// showmessage(sql.text);
|
// showmessage(sql.text);
|
||||||
Open;
|
Open;
|
||||||
|
|
|
||||||
|
|
@ -118,6 +118,21 @@ inherited frmTradeGreyClothInEdit: TfrmTradeGreyClothInEdit
|
||||||
HeaderAlignmentHorz = taCenter
|
HeaderAlignmentHorz = taCenter
|
||||||
Width = 81
|
Width = 81
|
||||||
end
|
end
|
||||||
|
object Tv1CustName: TcxGridDBColumn
|
||||||
|
Caption = #23458#25143
|
||||||
|
DataBinding.FieldName = 'cust_name'
|
||||||
|
DataBinding.IsNullValueType = True
|
||||||
|
PropertiesClassName = 'TcxButtonEditProperties'
|
||||||
|
Properties.Buttons = <
|
||||||
|
item
|
||||||
|
Default = True
|
||||||
|
Kind = bkEllipsis
|
||||||
|
end>
|
||||||
|
Properties.ReadOnly = True
|
||||||
|
Properties.OnButtonClick = Tv1CustNamePropertiesButtonClick
|
||||||
|
HeaderAlignmentHorz = taCenter
|
||||||
|
Width = 93
|
||||||
|
end
|
||||||
object v1YWY: TcxGridDBColumn
|
object v1YWY: TcxGridDBColumn
|
||||||
Caption = #19994#21153#21592
|
Caption = #19994#21153#21592
|
||||||
DataBinding.FieldName = 'Saleser'
|
DataBinding.FieldName = 'Saleser'
|
||||||
|
|
|
||||||
|
|
@ -56,6 +56,7 @@ type
|
||||||
Tv1Column4: TcxGridDBColumn;
|
Tv1Column4: TcxGridDBColumn;
|
||||||
ToolButton1: TToolButton;
|
ToolButton1: TToolButton;
|
||||||
Tv1Column6: TcxGridDBColumn;
|
Tv1Column6: TcxGridDBColumn;
|
||||||
|
Tv1CustName: TcxGridDBColumn;
|
||||||
procedure FormClose(Sender: TObject; var Action: TCloseAction);
|
procedure FormClose(Sender: TObject; var Action: TCloseAction);
|
||||||
procedure TBAddClick(Sender: TObject);
|
procedure TBAddClick(Sender: TObject);
|
||||||
procedure TBCloseClick(Sender: TObject);
|
procedure TBCloseClick(Sender: TObject);
|
||||||
|
|
@ -69,6 +70,7 @@ type
|
||||||
|
|
||||||
procedure ToolButton1Click(Sender: TObject);
|
procedure ToolButton1Click(Sender: TObject);
|
||||||
procedure Tv1Column6PropertiesButtonClick(Sender: TObject; AButtonIndex: Integer);
|
procedure Tv1Column6PropertiesButtonClick(Sender: TObject; AButtonIndex: Integer);
|
||||||
|
procedure Tv1CustNamePropertiesButtonClick(Sender: TObject; AButtonIndex: Integer);
|
||||||
|
|
||||||
private
|
private
|
||||||
{ Private declarations }
|
{ Private declarations }
|
||||||
|
|
@ -178,6 +180,7 @@ begin
|
||||||
RTSetSaveDataCDS(ADOQueryCmd, Tv1, CDS_Sub, 'BS_Cloth_IO', 0);
|
RTSetSaveDataCDS(ADOQueryCmd, Tv1, CDS_Sub, 'BS_Cloth_IO', 0);
|
||||||
FieldByName('FromCoNo').Value := CDS_Sub.fieldbyname('FromCoNo').Value;
|
FieldByName('FromCoNo').Value := CDS_Sub.fieldbyname('FromCoNo').Value;
|
||||||
FieldByName('StkCoNo').Value := CDS_Sub.fieldbyname('StkCoNo').Value;
|
FieldByName('StkCoNo').Value := CDS_Sub.fieldbyname('StkCoNo').Value;
|
||||||
|
FieldByName('cust_no').Value := CDS_Sub.fieldbyname('cust_no').Value;
|
||||||
FieldByName('BCIOID').Value := Trim(Maxno);
|
FieldByName('BCIOID').Value := Trim(Maxno);
|
||||||
FieldByName('STKID').Value := Trim(Maxno);
|
FieldByName('STKID').Value := Trim(Maxno);
|
||||||
FieldByName('STKName').Value := FSTKName;
|
FieldByName('STKName').Value := FSTKName;
|
||||||
|
|
@ -436,6 +439,28 @@ begin
|
||||||
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
procedure TfrmTradeGreyClothInEdit.Tv1CustNamePropertiesButtonClick(Sender: TObject; AButtonIndex: Integer);
|
||||||
|
begin
|
||||||
|
try
|
||||||
|
frmCompanySel := TfrmCompanySel.Create(Application);
|
||||||
|
with frmCompanySel do
|
||||||
|
begin
|
||||||
|
FCoType := '¿Í»§';
|
||||||
|
if ShowModal = 1 then
|
||||||
|
begin
|
||||||
|
with Self.CDS_Sub do
|
||||||
|
begin
|
||||||
|
Edit;
|
||||||
|
FieldByName('cust_no').Value := Trim(CDS_1.fieldbyname('CoCode').AsString);
|
||||||
|
FieldByName('cust_name').Value := Trim(CDS_1.fieldbyname('CoAbbrName').AsString);
|
||||||
|
end;
|
||||||
|
end;
|
||||||
|
end;
|
||||||
|
finally
|
||||||
|
frmCompanySel.Free;
|
||||||
|
end;
|
||||||
|
end;
|
||||||
|
|
||||||
procedure TfrmTradeGreyClothInEdit.v1Column14PropertiesButtonClick(Sender: TObject; AButtonIndex: Integer);
|
procedure TfrmTradeGreyClothInEdit.v1Column14PropertiesButtonClick(Sender: TObject; AButtonIndex: Integer);
|
||||||
begin
|
begin
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,8 @@ inherited frmTradeGreyClothInList: TfrmTradeGreyClothInList
|
||||||
Top = 111
|
Top = 111
|
||||||
Caption = #22383#24067#20837#24211#21015#34920
|
Caption = #22383#24067#20837#24211#21015#34920
|
||||||
ClientHeight = 478
|
ClientHeight = 478
|
||||||
ClientWidth = 1284
|
ClientWidth = 1339
|
||||||
ExplicitWidth = 1300
|
ExplicitWidth = 1355
|
||||||
ExplicitHeight = 517
|
ExplicitHeight = 517
|
||||||
PixelsPerInch = 96
|
PixelsPerInch = 96
|
||||||
TextHeight = 12
|
TextHeight = 12
|
||||||
|
|
@ -12,7 +12,7 @@ inherited frmTradeGreyClothInList: TfrmTradeGreyClothInList
|
||||||
Tag = 1
|
Tag = 1
|
||||||
Left = 0
|
Left = 0
|
||||||
Top = 0
|
Top = 0
|
||||||
Width = 1284
|
Width = 1339
|
||||||
Height = 38
|
Height = 38
|
||||||
AutoSize = True
|
AutoSize = True
|
||||||
ButtonHeight = 38
|
ButtonHeight = 38
|
||||||
|
|
@ -30,6 +30,7 @@ inherited frmTradeGreyClothInList: TfrmTradeGreyClothInList
|
||||||
ParentFont = False
|
ParentFont = False
|
||||||
ShowCaptions = True
|
ShowCaptions = True
|
||||||
TabOrder = 0
|
TabOrder = 0
|
||||||
|
ExplicitWidth = 1284
|
||||||
object TBRafresh: TToolButton
|
object TBRafresh: TToolButton
|
||||||
Left = 0
|
Left = 0
|
||||||
Top = 0
|
Top = 0
|
||||||
|
|
@ -107,7 +108,7 @@ inherited frmTradeGreyClothInList: TfrmTradeGreyClothInList
|
||||||
object Panel1: TPanel [1]
|
object Panel1: TPanel [1]
|
||||||
Left = 0
|
Left = 0
|
||||||
Top = 38
|
Top = 38
|
||||||
Width = 1284
|
Width = 1339
|
||||||
Height = 58
|
Height = 58
|
||||||
Align = alTop
|
Align = alTop
|
||||||
BevelInner = bvRaised
|
BevelInner = bvRaised
|
||||||
|
|
@ -115,6 +116,7 @@ inherited frmTradeGreyClothInList: TfrmTradeGreyClothInList
|
||||||
Color = clWhite
|
Color = clWhite
|
||||||
ParentBackground = False
|
ParentBackground = False
|
||||||
TabOrder = 1
|
TabOrder = 1
|
||||||
|
ExplicitWidth = 1284
|
||||||
object Label1: TLabel
|
object Label1: TLabel
|
||||||
Left = 28
|
Left = 28
|
||||||
Top = 12
|
Top = 12
|
||||||
|
|
@ -171,6 +173,13 @@ inherited frmTradeGreyClothInList: TfrmTradeGreyClothInList
|
||||||
Height = 12
|
Height = 12
|
||||||
Caption = #25209' '#21495
|
Caption = #25209' '#21495
|
||||||
end
|
end
|
||||||
|
object Label6: TLabel
|
||||||
|
Left = 656
|
||||||
|
Top = 12
|
||||||
|
Width = 24
|
||||||
|
Height = 12
|
||||||
|
Caption = #23458#25143
|
||||||
|
end
|
||||||
object BegDate: TDateTimePicker
|
object BegDate: TDateTimePicker
|
||||||
Left = 77
|
Left = 77
|
||||||
Top = 8
|
Top = 8
|
||||||
|
|
@ -252,15 +261,25 @@ inherited frmTradeGreyClothInList: TfrmTradeGreyClothInList
|
||||||
TabOrder = 7
|
TabOrder = 7
|
||||||
OnChange = FromCoNameChange
|
OnChange = FromCoNameChange
|
||||||
end
|
end
|
||||||
|
object cust_name: TEdit
|
||||||
|
Tag = 2
|
||||||
|
Left = 683
|
||||||
|
Top = 8
|
||||||
|
Width = 100
|
||||||
|
Height = 20
|
||||||
|
TabOrder = 8
|
||||||
|
OnChange = TBFindClick
|
||||||
|
end
|
||||||
end
|
end
|
||||||
object cxGrid1: TcxGrid [2]
|
object cxGrid1: TcxGrid [2]
|
||||||
Left = 0
|
Left = 0
|
||||||
Top = 96
|
Top = 96
|
||||||
Width = 1284
|
Width = 1339
|
||||||
Height = 382
|
Height = 382
|
||||||
Align = alClient
|
Align = alClient
|
||||||
PopupMenu = PopupMenu1
|
PopupMenu = PopupMenu1
|
||||||
TabOrder = 2
|
TabOrder = 2
|
||||||
|
ExplicitWidth = 1284
|
||||||
object Tv1: TcxGridDBTableView
|
object Tv1: TcxGridDBTableView
|
||||||
Navigator.Buttons.CustomButtons = <>
|
Navigator.Buttons.CustomButtons = <>
|
||||||
ScrollbarAnnotations.CustomAnnotations = <>
|
ScrollbarAnnotations.CustomAnnotations = <>
|
||||||
|
|
@ -369,6 +388,14 @@ inherited frmTradeGreyClothInList: TfrmTradeGreyClothInList
|
||||||
HeaderAlignmentHorz = taCenter
|
HeaderAlignmentHorz = taCenter
|
||||||
Width = 65
|
Width = 65
|
||||||
end
|
end
|
||||||
|
object Tv1CustName: TcxGridDBColumn
|
||||||
|
Caption = #23458#25143
|
||||||
|
DataBinding.FieldName = 'cust_name'
|
||||||
|
DataBinding.IsNullValueType = True
|
||||||
|
HeaderAlignmentHorz = taCenter
|
||||||
|
Options.Editing = False
|
||||||
|
Width = 90
|
||||||
|
end
|
||||||
object v2Column1: TcxGridDBColumn
|
object v2Column1: TcxGridDBColumn
|
||||||
Tag = 2
|
Tag = 2
|
||||||
Caption = #21697#21517
|
Caption = #21697#21517
|
||||||
|
|
|
||||||
|
|
@ -59,6 +59,7 @@ type
|
||||||
Label5: TLabel;
|
Label5: TLabel;
|
||||||
Label8: TLabel;
|
Label8: TLabel;
|
||||||
Label12: TLabel;
|
Label12: TLabel;
|
||||||
|
Label6: TLabel;
|
||||||
C_name: TEdit;
|
C_name: TEdit;
|
||||||
FromCoName: TEdit;
|
FromCoName: TEdit;
|
||||||
BCIOID: TEdit;
|
BCIOID: TEdit;
|
||||||
|
|
@ -80,6 +81,7 @@ type
|
||||||
v1Column10: TcxGridDBColumn;
|
v1Column10: TcxGridDBColumn;
|
||||||
Label10: TLabel;
|
Label10: TLabel;
|
||||||
BatchNo: TEdit;
|
BatchNo: TEdit;
|
||||||
|
cust_name: TEdit;
|
||||||
v1Column11: TcxGridDBColumn;
|
v1Column11: TcxGridDBColumn;
|
||||||
v1Column13: TcxGridDBColumn;
|
v1Column13: TcxGridDBColumn;
|
||||||
v1Column15: TcxGridDBColumn;
|
v1Column15: TcxGridDBColumn;
|
||||||
|
|
@ -95,6 +97,7 @@ type
|
||||||
Tv1Column4: TcxGridDBColumn;
|
Tv1Column4: TcxGridDBColumn;
|
||||||
Tv1Column6: TcxGridDBColumn;
|
Tv1Column6: TcxGridDBColumn;
|
||||||
Tv1Column7: TcxGridDBColumn;
|
Tv1Column7: TcxGridDBColumn;
|
||||||
|
Tv1CustName: TcxGridDBColumn;
|
||||||
procedure FormClose(Sender: TObject; var Action: TCloseAction);
|
procedure FormClose(Sender: TObject; var Action: TCloseAction);
|
||||||
procedure FormCreate(Sender: TObject);
|
procedure FormCreate(Sender: TObject);
|
||||||
procedure TBRafreshClick(Sender: TObject);
|
procedure TBRafreshClick(Sender: TObject);
|
||||||
|
|
|
||||||
|
|
@ -189,6 +189,7 @@ inherited frmTradeGreyClothOutEdit: TfrmTradeGreyClothOutEdit
|
||||||
Width = 99
|
Width = 99
|
||||||
end
|
end
|
||||||
object Tv1Column2: TcxGridDBColumn
|
object Tv1Column2: TcxGridDBColumn
|
||||||
|
Tag = 2
|
||||||
Caption = #20986#21040#21333#20301
|
Caption = #20986#21040#21333#20301
|
||||||
DataBinding.FieldName = 'ToCoName'
|
DataBinding.FieldName = 'ToCoName'
|
||||||
DataBinding.IsNullValueType = True
|
DataBinding.IsNullValueType = True
|
||||||
|
|
|
||||||
|
|
@ -406,6 +406,14 @@ inherited frmTradeGreyClothOutList: TfrmTradeGreyClothOutList
|
||||||
HeaderAlignmentHorz = taCenter
|
HeaderAlignmentHorz = taCenter
|
||||||
Width = 65
|
Width = 65
|
||||||
end
|
end
|
||||||
|
object Tv1ToCoName: TcxGridDBColumn
|
||||||
|
Caption = #20986#21040#21333#20301
|
||||||
|
DataBinding.FieldName = 'ToCoName'
|
||||||
|
DataBinding.IsNullValueType = True
|
||||||
|
HeaderAlignmentHorz = taCenter
|
||||||
|
Options.Editing = False
|
||||||
|
Width = 80
|
||||||
|
end
|
||||||
object v1Column13: TcxGridDBColumn
|
object v1Column13: TcxGridDBColumn
|
||||||
Caption = #38376#24133
|
Caption = #38376#24133
|
||||||
DataBinding.FieldName = 'C_Width'
|
DataBinding.FieldName = 'C_Width'
|
||||||
|
|
|
||||||
|
|
@ -84,6 +84,7 @@ type
|
||||||
Tv1Column8: TcxGridDBColumn;
|
Tv1Column8: TcxGridDBColumn;
|
||||||
Tv1Column12: TcxGridDBColumn;
|
Tv1Column12: TcxGridDBColumn;
|
||||||
Tv1Column13: TcxGridDBColumn;
|
Tv1Column13: TcxGridDBColumn;
|
||||||
|
Tv1ToCoName: TcxGridDBColumn;
|
||||||
procedure FormClose(Sender: TObject; var Action: TCloseAction);
|
procedure FormClose(Sender: TObject; var Action: TCloseAction);
|
||||||
procedure FormCreate(Sender: TObject);
|
procedure FormCreate(Sender: TObject);
|
||||||
procedure TBRafreshClick(Sender: TObject);
|
procedure TBRafreshClick(Sender: TObject);
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@ inherited frmTradeGreyClothStkList: TfrmTradeGreyClothStkList
|
||||||
ClientHeight = 472
|
ClientHeight = 472
|
||||||
ClientWidth = 1400
|
ClientWidth = 1400
|
||||||
Position = poDefault
|
Position = poDefault
|
||||||
|
ExplicitLeft = -71
|
||||||
ExplicitWidth = 1416
|
ExplicitWidth = 1416
|
||||||
ExplicitHeight = 511
|
ExplicitHeight = 511
|
||||||
PixelsPerInch = 96
|
PixelsPerInch = 96
|
||||||
|
|
@ -120,14 +121,14 @@ inherited frmTradeGreyClothStkList: TfrmTradeGreyClothStkList
|
||||||
TabOrder = 0
|
TabOrder = 0
|
||||||
OnChange = TBFindClick
|
OnChange = TBFindClick
|
||||||
end
|
end
|
||||||
object FromCoName: TEdit
|
object cust_name: TEdit
|
||||||
Tag = 2
|
Tag = 2
|
||||||
Left = 88
|
Left = 89
|
||||||
Top = 7
|
Top = 6
|
||||||
Width = 78
|
Width = 78
|
||||||
Height = 20
|
Height = 20
|
||||||
TabOrder = 1
|
TabOrder = 1
|
||||||
OnChange = FromCoNameChange
|
OnChange = cust_nameChange
|
||||||
end
|
end
|
||||||
object C_spec: TEdit
|
object C_spec: TEdit
|
||||||
Tag = 2
|
Tag = 2
|
||||||
|
|
@ -145,7 +146,7 @@ inherited frmTradeGreyClothStkList: TfrmTradeGreyClothStkList
|
||||||
Width = 78
|
Width = 78
|
||||||
Height = 20
|
Height = 20
|
||||||
TabOrder = 3
|
TabOrder = 3
|
||||||
OnChange = FromCoNameChange
|
OnChange = cust_nameChange
|
||||||
end
|
end
|
||||||
object Saleser: TEdit
|
object Saleser: TEdit
|
||||||
Tag = 2
|
Tag = 2
|
||||||
|
|
@ -154,7 +155,7 @@ inherited frmTradeGreyClothStkList: TfrmTradeGreyClothStkList
|
||||||
Width = 78
|
Width = 78
|
||||||
Height = 20
|
Height = 20
|
||||||
TabOrder = 4
|
TabOrder = 4
|
||||||
OnChange = FromCoNameChange
|
OnChange = cust_nameChange
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
object cxGrid1: TcxGrid [2]
|
object cxGrid1: TcxGrid [2]
|
||||||
|
|
@ -245,7 +246,7 @@ inherited frmTradeGreyClothStkList: TfrmTradeGreyClothStkList
|
||||||
object v1Column14: TcxGridDBColumn
|
object v1Column14: TcxGridDBColumn
|
||||||
Tag = 2
|
Tag = 2
|
||||||
Caption = #23458#25143
|
Caption = #23458#25143
|
||||||
DataBinding.FieldName = 'FromCoName'
|
DataBinding.FieldName = 'cust_name'
|
||||||
DataBinding.IsNullValueType = True
|
DataBinding.IsNullValueType = True
|
||||||
PropertiesClassName = 'TcxButtonEditProperties'
|
PropertiesClassName = 'TcxButtonEditProperties'
|
||||||
Properties.Alignment.Horz = taLeftJustify
|
Properties.Alignment.Horz = taLeftJustify
|
||||||
|
|
@ -261,7 +262,7 @@ inherited frmTradeGreyClothStkList: TfrmTradeGreyClothStkList
|
||||||
end
|
end
|
||||||
object v1Column2: TcxGridDBColumn
|
object v1Column2: TcxGridDBColumn
|
||||||
Caption = #23458#25143#32534#21495
|
Caption = #23458#25143#32534#21495
|
||||||
DataBinding.FieldName = 'FromCoNo'
|
DataBinding.FieldName = 'cust_no'
|
||||||
DataBinding.IsNullValueType = True
|
DataBinding.IsNullValueType = True
|
||||||
HeaderAlignmentHorz = taCenter
|
HeaderAlignmentHorz = taCenter
|
||||||
Options.Editing = False
|
Options.Editing = False
|
||||||
|
|
@ -400,6 +401,14 @@ inherited frmTradeGreyClothStkList: TfrmTradeGreyClothStkList
|
||||||
HeaderAlignmentHorz = taCenter
|
HeaderAlignmentHorz = taCenter
|
||||||
Width = 65
|
Width = 65
|
||||||
end
|
end
|
||||||
|
object Tv1Note: TcxGridDBColumn
|
||||||
|
Caption = #22791#27880
|
||||||
|
DataBinding.FieldName = 'Note'
|
||||||
|
DataBinding.IsNullValueType = True
|
||||||
|
HeaderAlignmentHorz = taCenter
|
||||||
|
Options.Editing = False
|
||||||
|
Width = 80
|
||||||
|
end
|
||||||
end
|
end
|
||||||
object cxGrid1Level1: TcxGridLevel
|
object cxGrid1Level1: TcxGridLevel
|
||||||
GridView = Tv1
|
GridView = Tv1
|
||||||
|
|
|
||||||
|
|
@ -48,7 +48,7 @@ type
|
||||||
Label8: TLabel;
|
Label8: TLabel;
|
||||||
Label2: TLabel;
|
Label2: TLabel;
|
||||||
C_name: TEdit;
|
C_name: TEdit;
|
||||||
FromCoName: TEdit;
|
cust_name: TEdit;
|
||||||
C_spec: TEdit;
|
C_spec: TEdit;
|
||||||
BatchNo: TEdit;
|
BatchNo: TEdit;
|
||||||
v1Column6: TcxGridDBColumn;
|
v1Column6: TcxGridDBColumn;
|
||||||
|
|
@ -62,6 +62,7 @@ type
|
||||||
Tv1Column1: TcxGridDBColumn;
|
Tv1Column1: TcxGridDBColumn;
|
||||||
Tv1Column2: TcxGridDBColumn;
|
Tv1Column2: TcxGridDBColumn;
|
||||||
Tv1Column3: TcxGridDBColumn;
|
Tv1Column3: TcxGridDBColumn;
|
||||||
|
Tv1Note: TcxGridDBColumn;
|
||||||
procedure FormDestroy(Sender: TObject);
|
procedure FormDestroy(Sender: TObject);
|
||||||
procedure FormClose(Sender: TObject; var Action: TCloseAction);
|
procedure FormClose(Sender: TObject; var Action: TCloseAction);
|
||||||
procedure TBRafreshClick(Sender: TObject);
|
procedure TBRafreshClick(Sender: TObject);
|
||||||
|
|
@ -71,7 +72,7 @@ type
|
||||||
procedure TBFindClick(Sender: TObject);
|
procedure TBFindClick(Sender: TObject);
|
||||||
procedure MPRTCodeNameChange(Sender: TObject);
|
procedure MPRTCodeNameChange(Sender: TObject);
|
||||||
procedure SXBatchNOChange(Sender: TObject);
|
procedure SXBatchNOChange(Sender: TObject);
|
||||||
procedure FromCoNameChange(Sender: TObject);
|
procedure cust_nameChange(Sender: TObject);
|
||||||
procedure ToolButton1Click(Sender: TObject);
|
procedure ToolButton1Click(Sender: TObject);
|
||||||
procedure Tv1CellDblClick(Sender: TcxCustomGridTableView; ACellViewInfo: TcxGridTableDataCellViewInfo; AButton: TMouseButton; AShift: TShiftState; var AHandled: Boolean);
|
procedure Tv1CellDblClick(Sender: TcxCustomGridTableView; ACellViewInfo: TcxGridTableDataCellViewInfo; AButton: TMouseButton; AShift: TShiftState; var AHandled: Boolean);
|
||||||
procedure FormCreate(Sender: TObject);
|
procedure FormCreate(Sender: TObject);
|
||||||
|
|
@ -181,7 +182,7 @@ begin
|
||||||
TBFind.Click;
|
TBFind.Click;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TfrmTradeGreyClothStkList.FromCoNameChange(Sender: TObject);
|
procedure TfrmTradeGreyClothStkList.cust_nameChange(Sender: TObject);
|
||||||
begin
|
begin
|
||||||
TBFind.Click;
|
TBFind.Click;
|
||||||
end;
|
end;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user