From c0edfe950f34c07f69c2d1df7728e336a9567368 Mon Sep 17 00:00:00 2001 From: funa <1559646174@qq.com> Date: Mon, 2 Nov 2026 17:23:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A3=80=E9=AA=8C=20=E5=9D=AF=E5=B8=83?= =?UTF-8?q?=E4=BB=93=E5=BA=93=20=E6=B1=87=E6=80=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- E03梭织坯布检验/U_TatMachInsp.dfm | 78 ++++++++++----------- E03梭织坯布检验/U_TatMachInsp.pas | 2 +- E04梭织坯布仓库/U_TatClothStkHZList.dfm | 33 +++++++++ E04梭织坯布仓库/U_TatClothStkHZList.pas | 7 +- T02贸易汇总仓库/U_TradeGreyClothInEdit.dfm | 15 ++++ T02贸易汇总仓库/U_TradeGreyClothInEdit.pas | 25 +++++++ T02贸易汇总仓库/U_TradeGreyClothInList.dfm | 37 ++++++++-- T02贸易汇总仓库/U_TradeGreyClothInList.pas | 3 + T02贸易汇总仓库/U_TradeGreyClothOutEdit.dfm | 1 + T02贸易汇总仓库/U_TradeGreyClothOutList.dfm | 8 +++ T02贸易汇总仓库/U_TradeGreyClothOutList.pas | 1 + T02贸易汇总仓库/U_TradeGreyClothStkList.dfm | 25 ++++--- T02贸易汇总仓库/U_TradeGreyClothStkList.pas | 7 +- 13 files changed, 183 insertions(+), 59 deletions(-) diff --git a/E03梭织坯布检验/U_TatMachInsp.dfm b/E03梭织坯布检验/U_TatMachInsp.dfm index 9d5c1e9..ce47830 100644 --- a/E03梭织坯布检验/U_TatMachInsp.dfm +++ b/E03梭织坯布检验/U_TatMachInsp.dfm @@ -37,6 +37,8 @@ ParentBackground = False ParentFont = False TabOrder = 0 + ExplicitLeft = 2 + ExplicitTop = 126 object lblLenUnit: TLabel Left = 218 Top = 65 @@ -347,8 +349,8 @@ Visible = False end object Label54: TLabel - Left = 50 - Top = 149 + Left = 138 + Top = 152 Width = 42 Height = 24 Caption = #38376#24133 @@ -360,8 +362,8 @@ ParentFont = False end object Label55: TLabel - Left = 279 - Top = 147 + Left = 306 + Top = 152 Width = 42 Height = 24 Caption = #20811#37325 @@ -385,6 +387,19 @@ Font.Style = [fsBold] ParentFont = False 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 Left = 98 Top = 61 @@ -842,8 +857,8 @@ OnClick = Button3Click end object MF: TEdit - Left = 98 - Top = 147 + Left = 186 + Top = 144 Width = 114 Height = 32 Font.Charset = ANSI_CHARSET @@ -855,7 +870,7 @@ TabOrder = 26 end object KZ: TEdit - Left = 327 + Left = 354 Top = 144 Width = 122 Height = 32 @@ -882,6 +897,22 @@ ParentFont = False TabOrder = 28 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 object Panel10: TPanel Left = 1 @@ -2933,10 +2964,6 @@ object 查看: TcxTabSheet Caption = #26597#30475 ImageIndex = 1 - ExplicitLeft = 0 - ExplicitTop = 0 - ExplicitWidth = 0 - ExplicitHeight = 0 object cxGrid1: TcxGrid Left = 0 Top = 0 @@ -3372,19 +3399,6 @@ Font.Style = [fsBold] ParentFont = False 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 Left = 54 Top = 52 @@ -3601,22 +3615,6 @@ OnClick = edtMaxClick OnKeyPress = MJstr3KeyPress 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 object Panel3: TPanel [4] Left = 8 diff --git a/E03梭织坯布检验/U_TatMachInsp.pas b/E03梭织坯布检验/U_TatMachInsp.pas index d58d31e..c07585a 100644 --- a/E03梭织坯布检验/U_TatMachInsp.pas +++ b/E03梭织坯布检验/U_TatMachInsp.pas @@ -721,7 +721,7 @@ begin Tare.Text := ''; InputWeight.Text := ''; code_table_length.Text := ''; - add_weight.Text := ''; +// add_weight.Text := ''; FLenUnit := ''; FLoom := ''; C_LongitudeBatchNo.Text := ''; diff --git a/E04梭织坯布仓库/U_TatClothStkHZList.dfm b/E04梭织坯布仓库/U_TatClothStkHZList.dfm index d0726ae..f6bf5ed 100644 --- a/E04梭织坯布仓库/U_TatClothStkHZList.dfm +++ b/E04梭织坯布仓库/U_TatClothStkHZList.dfm @@ -98,6 +98,20 @@ inherited frmTatClothStkHZList: TfrmTatClothStkHZList Font.Style = [fsBold] ParentFont = False 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 Left = 88 Top = 6 @@ -163,6 +177,16 @@ inherited frmTatClothStkHZList: TfrmTatClothStkHZList TabOrder = 5 OnKeyPress = C_NameKeyPress end + object ContractBuyName: TEdit + Tag = 2 + Left = 237 + Top = 32 + Width = 100 + Height = 20 + Hint = '0' + TabOrder = 6 + OnKeyPress = C_NameKeyPress + end end object cxGrid1: TcxGrid [2] Left = 0 @@ -179,6 +203,7 @@ inherited frmTatClothStkHZList: TfrmTatClothStkHZList ParentFont = False PopupMenu = PM_1 TabOrder = 2 + ExplicitTop = 96 object Tv1: TcxGridDBTableView Navigator.Buttons.CustomButtons = <> ScrollbarAnnotations.CustomAnnotations = <> @@ -265,6 +290,14 @@ inherited frmTatClothStkHZList: TfrmTatClothStkHZList Options.Editing = False Width = 66 end + object Tv1ContractBuyName: TcxGridDBColumn + Caption = #23458#25143 + DataBinding.FieldName = 'ContractBuyName' + DataBinding.IsNullValueType = True + HeaderAlignmentHorz = taCenter + Options.Editing = False + Width = 80 + end object v1Column23: TcxGridDBColumn Caption = #21367#25968 DataBinding.FieldName = 'js' diff --git a/E04梭织坯布仓库/U_TatClothStkHZList.pas b/E04梭织坯布仓库/U_TatClothStkHZList.pas index d31d8e3..4c4212e 100644 --- a/E04梭织坯布仓库/U_TatClothStkHZList.pas +++ b/E04梭织坯布仓库/U_TatClothStkHZList.pas @@ -48,6 +48,9 @@ type PM11: TMenuItem; N1: TMenuItem; Tv1Column1: TcxGridDBColumn; + Tv1ContractBuyName: TcxGridDBColumn; + ContractBuyName: TEdit; + Label1: TLabel; procedure FormClose(Sender: TObject; var Action: TCloseAction); procedure FormCreate(Sender: TObject); procedure TBRafreshClick(Sender: TObject); @@ -132,8 +135,8 @@ begin Close; 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('group by C_NAME'); + 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,ContractBuyName'); // showmessage(sql.text); Open; diff --git a/T02贸易汇总仓库/U_TradeGreyClothInEdit.dfm b/T02贸易汇总仓库/U_TradeGreyClothInEdit.dfm index 8e86c79..22c01be 100644 --- a/T02贸易汇总仓库/U_TradeGreyClothInEdit.dfm +++ b/T02贸易汇总仓库/U_TradeGreyClothInEdit.dfm @@ -118,6 +118,21 @@ inherited frmTradeGreyClothInEdit: TfrmTradeGreyClothInEdit HeaderAlignmentHorz = taCenter Width = 81 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 Caption = #19994#21153#21592 DataBinding.FieldName = 'Saleser' diff --git a/T02贸易汇总仓库/U_TradeGreyClothInEdit.pas b/T02贸易汇总仓库/U_TradeGreyClothInEdit.pas index 993b9ab..4d46492 100644 --- a/T02贸易汇总仓库/U_TradeGreyClothInEdit.pas +++ b/T02贸易汇总仓库/U_TradeGreyClothInEdit.pas @@ -56,6 +56,7 @@ type Tv1Column4: TcxGridDBColumn; ToolButton1: TToolButton; Tv1Column6: TcxGridDBColumn; + Tv1CustName: TcxGridDBColumn; procedure FormClose(Sender: TObject; var Action: TCloseAction); procedure TBAddClick(Sender: TObject); procedure TBCloseClick(Sender: TObject); @@ -69,6 +70,7 @@ type procedure ToolButton1Click(Sender: TObject); procedure Tv1Column6PropertiesButtonClick(Sender: TObject; AButtonIndex: Integer); + procedure Tv1CustNamePropertiesButtonClick(Sender: TObject; AButtonIndex: Integer); private { Private declarations } @@ -178,6 +180,7 @@ begin RTSetSaveDataCDS(ADOQueryCmd, Tv1, CDS_Sub, 'BS_Cloth_IO', 0); FieldByName('FromCoNo').Value := CDS_Sub.fieldbyname('FromCoNo').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('STKID').Value := Trim(Maxno); FieldByName('STKName').Value := FSTKName; @@ -436,6 +439,28 @@ begin 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); begin diff --git a/T02贸易汇总仓库/U_TradeGreyClothInList.dfm b/T02贸易汇总仓库/U_TradeGreyClothInList.dfm index fe50a03..28594c0 100644 --- a/T02贸易汇总仓库/U_TradeGreyClothInList.dfm +++ b/T02贸易汇总仓库/U_TradeGreyClothInList.dfm @@ -3,8 +3,8 @@ inherited frmTradeGreyClothInList: TfrmTradeGreyClothInList Top = 111 Caption = #22383#24067#20837#24211#21015#34920 ClientHeight = 478 - ClientWidth = 1284 - ExplicitWidth = 1300 + ClientWidth = 1339 + ExplicitWidth = 1355 ExplicitHeight = 517 PixelsPerInch = 96 TextHeight = 12 @@ -12,7 +12,7 @@ inherited frmTradeGreyClothInList: TfrmTradeGreyClothInList Tag = 1 Left = 0 Top = 0 - Width = 1284 + Width = 1339 Height = 38 AutoSize = True ButtonHeight = 38 @@ -30,6 +30,7 @@ inherited frmTradeGreyClothInList: TfrmTradeGreyClothInList ParentFont = False ShowCaptions = True TabOrder = 0 + ExplicitWidth = 1284 object TBRafresh: TToolButton Left = 0 Top = 0 @@ -107,7 +108,7 @@ inherited frmTradeGreyClothInList: TfrmTradeGreyClothInList object Panel1: TPanel [1] Left = 0 Top = 38 - Width = 1284 + Width = 1339 Height = 58 Align = alTop BevelInner = bvRaised @@ -115,6 +116,7 @@ inherited frmTradeGreyClothInList: TfrmTradeGreyClothInList Color = clWhite ParentBackground = False TabOrder = 1 + ExplicitWidth = 1284 object Label1: TLabel Left = 28 Top = 12 @@ -171,6 +173,13 @@ inherited frmTradeGreyClothInList: TfrmTradeGreyClothInList Height = 12 Caption = #25209' '#21495 end + object Label6: TLabel + Left = 656 + Top = 12 + Width = 24 + Height = 12 + Caption = #23458#25143 + end object BegDate: TDateTimePicker Left = 77 Top = 8 @@ -252,15 +261,25 @@ inherited frmTradeGreyClothInList: TfrmTradeGreyClothInList TabOrder = 7 OnChange = FromCoNameChange end + object cust_name: TEdit + Tag = 2 + Left = 683 + Top = 8 + Width = 100 + Height = 20 + TabOrder = 8 + OnChange = TBFindClick + end end object cxGrid1: TcxGrid [2] Left = 0 Top = 96 - Width = 1284 + Width = 1339 Height = 382 Align = alClient PopupMenu = PopupMenu1 TabOrder = 2 + ExplicitWidth = 1284 object Tv1: TcxGridDBTableView Navigator.Buttons.CustomButtons = <> ScrollbarAnnotations.CustomAnnotations = <> @@ -369,6 +388,14 @@ inherited frmTradeGreyClothInList: TfrmTradeGreyClothInList HeaderAlignmentHorz = taCenter Width = 65 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 Tag = 2 Caption = #21697#21517 diff --git a/T02贸易汇总仓库/U_TradeGreyClothInList.pas b/T02贸易汇总仓库/U_TradeGreyClothInList.pas index 139126f..cc437d6 100644 --- a/T02贸易汇总仓库/U_TradeGreyClothInList.pas +++ b/T02贸易汇总仓库/U_TradeGreyClothInList.pas @@ -59,6 +59,7 @@ type Label5: TLabel; Label8: TLabel; Label12: TLabel; + Label6: TLabel; C_name: TEdit; FromCoName: TEdit; BCIOID: TEdit; @@ -80,6 +81,7 @@ type v1Column10: TcxGridDBColumn; Label10: TLabel; BatchNo: TEdit; + cust_name: TEdit; v1Column11: TcxGridDBColumn; v1Column13: TcxGridDBColumn; v1Column15: TcxGridDBColumn; @@ -95,6 +97,7 @@ type Tv1Column4: TcxGridDBColumn; Tv1Column6: TcxGridDBColumn; Tv1Column7: TcxGridDBColumn; + Tv1CustName: TcxGridDBColumn; procedure FormClose(Sender: TObject; var Action: TCloseAction); procedure FormCreate(Sender: TObject); procedure TBRafreshClick(Sender: TObject); diff --git a/T02贸易汇总仓库/U_TradeGreyClothOutEdit.dfm b/T02贸易汇总仓库/U_TradeGreyClothOutEdit.dfm index ebc4782..7a6c36d 100644 --- a/T02贸易汇总仓库/U_TradeGreyClothOutEdit.dfm +++ b/T02贸易汇总仓库/U_TradeGreyClothOutEdit.dfm @@ -189,6 +189,7 @@ inherited frmTradeGreyClothOutEdit: TfrmTradeGreyClothOutEdit Width = 99 end object Tv1Column2: TcxGridDBColumn + Tag = 2 Caption = #20986#21040#21333#20301 DataBinding.FieldName = 'ToCoName' DataBinding.IsNullValueType = True diff --git a/T02贸易汇总仓库/U_TradeGreyClothOutList.dfm b/T02贸易汇总仓库/U_TradeGreyClothOutList.dfm index 2396b84..c747fd1 100644 --- a/T02贸易汇总仓库/U_TradeGreyClothOutList.dfm +++ b/T02贸易汇总仓库/U_TradeGreyClothOutList.dfm @@ -406,6 +406,14 @@ inherited frmTradeGreyClothOutList: TfrmTradeGreyClothOutList HeaderAlignmentHorz = taCenter Width = 65 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 Caption = #38376#24133 DataBinding.FieldName = 'C_Width' diff --git a/T02贸易汇总仓库/U_TradeGreyClothOutList.pas b/T02贸易汇总仓库/U_TradeGreyClothOutList.pas index 0c08e07..a8068aa 100644 --- a/T02贸易汇总仓库/U_TradeGreyClothOutList.pas +++ b/T02贸易汇总仓库/U_TradeGreyClothOutList.pas @@ -84,6 +84,7 @@ type Tv1Column8: TcxGridDBColumn; Tv1Column12: TcxGridDBColumn; Tv1Column13: TcxGridDBColumn; + Tv1ToCoName: TcxGridDBColumn; procedure FormClose(Sender: TObject; var Action: TCloseAction); procedure FormCreate(Sender: TObject); procedure TBRafreshClick(Sender: TObject); diff --git a/T02贸易汇总仓库/U_TradeGreyClothStkList.dfm b/T02贸易汇总仓库/U_TradeGreyClothStkList.dfm index 172fd88..69f658a 100644 --- a/T02贸易汇总仓库/U_TradeGreyClothStkList.dfm +++ b/T02贸易汇总仓库/U_TradeGreyClothStkList.dfm @@ -5,6 +5,7 @@ inherited frmTradeGreyClothStkList: TfrmTradeGreyClothStkList ClientHeight = 472 ClientWidth = 1400 Position = poDefault + ExplicitLeft = -71 ExplicitWidth = 1416 ExplicitHeight = 511 PixelsPerInch = 96 @@ -120,14 +121,14 @@ inherited frmTradeGreyClothStkList: TfrmTradeGreyClothStkList TabOrder = 0 OnChange = TBFindClick end - object FromCoName: TEdit + object cust_name: TEdit Tag = 2 - Left = 88 - Top = 7 + Left = 89 + Top = 6 Width = 78 Height = 20 TabOrder = 1 - OnChange = FromCoNameChange + OnChange = cust_nameChange end object C_spec: TEdit Tag = 2 @@ -145,7 +146,7 @@ inherited frmTradeGreyClothStkList: TfrmTradeGreyClothStkList Width = 78 Height = 20 TabOrder = 3 - OnChange = FromCoNameChange + OnChange = cust_nameChange end object Saleser: TEdit Tag = 2 @@ -154,7 +155,7 @@ inherited frmTradeGreyClothStkList: TfrmTradeGreyClothStkList Width = 78 Height = 20 TabOrder = 4 - OnChange = FromCoNameChange + OnChange = cust_nameChange end end object cxGrid1: TcxGrid [2] @@ -245,7 +246,7 @@ inherited frmTradeGreyClothStkList: TfrmTradeGreyClothStkList object v1Column14: TcxGridDBColumn Tag = 2 Caption = #23458#25143 - DataBinding.FieldName = 'FromCoName' + DataBinding.FieldName = 'cust_name' DataBinding.IsNullValueType = True PropertiesClassName = 'TcxButtonEditProperties' Properties.Alignment.Horz = taLeftJustify @@ -261,7 +262,7 @@ inherited frmTradeGreyClothStkList: TfrmTradeGreyClothStkList end object v1Column2: TcxGridDBColumn Caption = #23458#25143#32534#21495 - DataBinding.FieldName = 'FromCoNo' + DataBinding.FieldName = 'cust_no' DataBinding.IsNullValueType = True HeaderAlignmentHorz = taCenter Options.Editing = False @@ -400,6 +401,14 @@ inherited frmTradeGreyClothStkList: TfrmTradeGreyClothStkList HeaderAlignmentHorz = taCenter Width = 65 end + object Tv1Note: TcxGridDBColumn + Caption = #22791#27880 + DataBinding.FieldName = 'Note' + DataBinding.IsNullValueType = True + HeaderAlignmentHorz = taCenter + Options.Editing = False + Width = 80 + end end object cxGrid1Level1: TcxGridLevel GridView = Tv1 diff --git a/T02贸易汇总仓库/U_TradeGreyClothStkList.pas b/T02贸易汇总仓库/U_TradeGreyClothStkList.pas index 89182dd..af9f9ed 100644 --- a/T02贸易汇总仓库/U_TradeGreyClothStkList.pas +++ b/T02贸易汇总仓库/U_TradeGreyClothStkList.pas @@ -48,7 +48,7 @@ type Label8: TLabel; Label2: TLabel; C_name: TEdit; - FromCoName: TEdit; + cust_name: TEdit; C_spec: TEdit; BatchNo: TEdit; v1Column6: TcxGridDBColumn; @@ -62,6 +62,7 @@ type Tv1Column1: TcxGridDBColumn; Tv1Column2: TcxGridDBColumn; Tv1Column3: TcxGridDBColumn; + Tv1Note: TcxGridDBColumn; procedure FormDestroy(Sender: TObject); procedure FormClose(Sender: TObject; var Action: TCloseAction); procedure TBRafreshClick(Sender: TObject); @@ -71,7 +72,7 @@ type procedure TBFindClick(Sender: TObject); procedure MPRTCodeNameChange(Sender: TObject); procedure SXBatchNOChange(Sender: TObject); - procedure FromCoNameChange(Sender: TObject); + procedure cust_nameChange(Sender: TObject); procedure ToolButton1Click(Sender: TObject); procedure Tv1CellDblClick(Sender: TcxCustomGridTableView; ACellViewInfo: TcxGridTableDataCellViewInfo; AButton: TMouseButton; AShift: TShiftState; var AHandled: Boolean); procedure FormCreate(Sender: TObject); @@ -181,7 +182,7 @@ begin TBFind.Click; end; -procedure TfrmTradeGreyClothStkList.FromCoNameChange(Sender: TObject); +procedure TfrmTradeGreyClothStkList.cust_nameChange(Sender: TObject); begin TBFind.Click; end;