资料 坯布仓库 财务

This commit is contained in:
funa 2026-11-09 17:24:37 +08:00
parent 6bdaaf1b9a
commit a7e6fb4bb5
14 changed files with 161 additions and 20 deletions

View File

@ -141,6 +141,12 @@
<Form>frmLabelPrint</Form> <Form>frmLabelPrint</Form>
<FormType>dfm</FormType> <FormType>dfm</FormType>
</DCCReference> </DCCReference>
<DCCReference Include="..\A00通用窗体\U_TatClothInfoSel.pas">
<Form>frmTatClothInfoSel</Form>
</DCCReference>
<DCCReference Include="..\A00通用窗体\U_SalesContractSel.pas">
<Form>frmSalesContractSel</Form>
</DCCReference>
<DCCReference Include="..\..\..\public10\design\U_BaseDataLink.pas"> <DCCReference Include="..\..\..\public10\design\U_BaseDataLink.pas">
<Form>BaseDataLink</Form> <Form>BaseDataLink</Form>
<FormType>dfm</FormType> <FormType>dfm</FormType>

View File

@ -93,7 +93,7 @@ inherited frmMachineManage: TfrmMachineManage
OnClick = tbBindProdClick OnClick = tbBindProdClick
end end
object tbBindProd2: TToolButton object tbBindProd2: TToolButton
Left = 699 Left = 598
Top = 0 Top = 0
AutoSize = True AutoSize = True
Caption = #32465#23450#20135#21697'2' Caption = #32465#23450#20135#21697'2'
@ -101,7 +101,7 @@ inherited frmMachineManage: TfrmMachineManage
OnClick = tbBindProd2Click OnClick = tbBindProd2Click
end end
object ToolButton3: TToolButton object ToolButton3: TToolButton
Left = 901 Left = 699
Top = 0 Top = 0
AutoSize = True AutoSize = True
Caption = #25171#21360 Caption = #25171#21360
@ -109,7 +109,7 @@ inherited frmMachineManage: TfrmMachineManage
OnClick = ToolButton3Click OnClick = ToolButton3Click
end end
object ToolButton1: TToolButton object ToolButton1: TToolButton
Left = 972 Left = 770
Top = 0 Top = 0
AutoSize = True AutoSize = True
Caption = #23548#20986 Caption = #23548#20986
@ -117,7 +117,7 @@ inherited frmMachineManage: TfrmMachineManage
OnClick = ToolButton1Click OnClick = ToolButton1Click
end end
object TbSaveFormat: TToolButton object TbSaveFormat: TToolButton
Left = 1043 Left = 841
Top = 0 Top = 0
AutoSize = True AutoSize = True
Caption = #20445#23384#26684#24335 Caption = #20445#23384#26684#24335
@ -125,7 +125,7 @@ inherited frmMachineManage: TfrmMachineManage
OnClick = TbSaveFormatClick OnClick = TbSaveFormatClick
end end
object TBClose: TToolButton object TBClose: TToolButton
Left = 1138 Left = 936
Top = 0 Top = 0
AutoSize = True AutoSize = True
Caption = #20851#38381 Caption = #20851#38381
@ -275,6 +275,13 @@ inherited frmMachineManage: TfrmMachineManage
Height = 12 Height = 12
Caption = #26426#21488#21495 Caption = #26426#21488#21495
end end
object Label2: TLabel
Left = 220
Top = 20
Width = 48
Height = 12
Caption = #20135#21697#21517#31216
end
object MCNO: TEdit object MCNO: TEdit
Tag = 2 Tag = 2
Left = 105 Left = 105
@ -284,6 +291,14 @@ inherited frmMachineManage: TfrmMachineManage
TabOrder = 0 TabOrder = 0
OnChange = CustomerChange OnChange = CustomerChange
end end
object CName: TEdit
Left = 272
Top = 16
Width = 140
Height = 20
TabOrder = 1
OnChange = CustomerChange
end
end end
object cxTabControl1: TcxTabControl [3] object cxTabControl1: TcxTabControl [3]
Left = 0 Left = 0

View File

@ -40,6 +40,8 @@ type
N4: TMenuItem; N4: TMenuItem;
Panel1: TPanel; Panel1: TPanel;
MCNO: TEdit; MCNO: TEdit;
Label2: TLabel;
CName: TEdit;
v2Column8: TcxGridDBColumn; v2Column8: TcxGridDBColumn;
Label1: TLabel; Label1: TLabel;
v2Column12: TcxGridDBColumn; v2Column12: TcxGridDBColumn;
@ -179,11 +181,20 @@ end;
procedure TfrmMachineManage.ToolButton2Click(Sender: TObject); procedure TfrmMachineManage.ToolButton2Click(Sender: TObject);
var var
sql: string; sql, MCName: string;
begin begin
if ADOQueryMain.Active then if ADOQueryMain.Active then
begin begin
sql := SGetFilters(Panel1, 1, 2); sql := SGetFilters(Panel1, 1, 2);
//产品名称同时匹配产品1/产品2;SGetFilters为空串时不能拼and开头,否则ADO过滤表达式非法
MCName := Trim(CName.Text);
if MCName <> '' then
begin
if sql <> '' then
sql := sql + ' and';
sql := sql + ' (C_Name like ' + QuotedStr('%' + MCName + '%')
+ ' or C_Name2 like ' + QuotedStr('%' + MCName + '%') + ')';
end;
SDofilter(ADOQueryMain, sql); SDofilter(ADOQueryMain, sql);
SCreateCDS(ADOQueryMain, CDS_HZ); SCreateCDS(ADOQueryMain, CDS_HZ);
SInitCDSData(ADOQueryMain, CDS_HZ); SInitCDSData(ADOQueryMain, CDS_HZ);

View File

@ -14,7 +14,7 @@ uses
IdTCPClient, IdFTP, ShellAPI, IniFiles, cxCheckBox, cxCalendar, cxButtonEdit, IdTCPClient, IdFTP, ShellAPI, IniFiles, cxCheckBox, cxCalendar, cxButtonEdit,
cxTextEdit, cxDropDownEdit, BtnEdit, cxLookAndFeels, cxLookAndFeelPainters, cxTextEdit, cxDropDownEdit, BtnEdit, cxLookAndFeels, cxLookAndFeelPainters,
cxNavigator, dxSkinsCore, dxSkinsDefaultPainters, dxDateRanges, cxNavigator, dxSkinsCore, dxSkinsDefaultPainters, dxDateRanges,
dxBarBuiltInMenu, U_BaseList, cxContainer, cxCurrencyEdit; dxBarBuiltInMenu, U_BaseList, cxContainer, cxCurrencyEdit, dxSkinWXI;
type type
TfrmReceivableInput = class(TForm) TfrmReceivableInput = class(TForm)
@ -292,6 +292,30 @@ begin
begin begin
self.ConNo.Text := Trim(frmFinTradeSalesContractSel.CDS_1.fieldbyname('ConNo').AsString); self.ConNo.Text := Trim(frmFinTradeSalesContractSel.CDS_1.fieldbyname('ConNo').AsString);
with frmFinTradeSalesContractSel.CDS_1 do
begin
if Trim(fieldbyname('BuyName').AsString) <> '' then
begin
self.OppCoName.Text := Trim(fieldbyname('BuyName').AsString);
self.OppCoName.TxtCode := Trim(fieldbyname('BuyNo').AsString);
end;
if Trim(fieldbyname('Payment').AsString) <> '' then
self.PayMent.Text := Trim(fieldbyname('Payment').AsString);
if Trim(fieldbyname('C_Code').AsString) <> '' then
self.F_Code.Text := Trim(fieldbyname('C_Code').AsString);
if Trim(fieldbyname('C_Name').AsString) <> '' then
self.F_Name.Text := Trim(fieldbyname('C_Name').AsString);
if Trim(fieldbyname('C_Width').AsString) <> '' then
self.F_Width.Text := Trim(fieldbyname('C_Width').AsString);
if Trim(fieldbyname('C_GramWeight').AsString) <> '' then
self.F_GramWeight.Text := Trim(fieldbyname('C_GramWeight').AsString);
if not fieldbyname('ConPrice').IsNull then
self.Price.Value := fieldbyname('ConPrice').AsFloat;
if Trim(fieldbyname('IsTax').AsString) = 'ÊÇ' then
self.IsInvoice.ItemIndex := 0
else if Trim(fieldbyname('IsTax').AsString) = '·ñ' then
self.IsInvoice.ItemIndex := 1;
end;
end; end;
end; end;

View File

@ -295,6 +295,16 @@ inherited frmTatClothCKHZList: TfrmTatClothCKHZList
Options.Editing = False Options.Editing = False
Width = 100 Width = 100
end end
object Tv1UnitPrice: TcxGridDBColumn
Caption = #21333#20215
DataBinding.FieldName = 'unit_price'
DataBinding.IsNullValueType = True
PropertiesClassName = 'TcxCurrencyEditProperties'
Properties.DisplayFormat = '0.00'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Width = 66
end
object v1Column23: TcxGridDBColumn object v1Column23: TcxGridDBColumn
Caption = #21367#25968 Caption = #21367#25968
DataBinding.FieldName = 'js' DataBinding.FieldName = 'js'

View File

@ -11,9 +11,10 @@ uses
ExtCtrls, ToolWin, cxGridCustomPopupMenu, cxGridPopupMenu, ADODB, DBClient, ExtCtrls, ToolWin, cxGridCustomPopupMenu, cxGridPopupMenu, ADODB, DBClient,
cxDropDownEdit, cxCheckBox, RM_Common, RM_Class, RM_e_Xls, RM_Dataset, cxDropDownEdit, cxCheckBox, RM_Common, RM_Class, RM_e_Xls, RM_Dataset,
RM_System, RM_GridReport, Menus, cxCalendar, MovePanel, Math, Clipbrd, RM_System, RM_GridReport, Menus, cxCalendar, MovePanel, Math, Clipbrd,
cxLookAndFeels, cxLookAndFeelPainters, cxNavigator, cxTextEdit, dxSkinsCore, cxLookAndFeels, cxLookAndFeelPainters, cxNavigator, cxTextEdit, cxCurrencyEdit, dxSkinsCore,
dxSkinsDefaultPainters, dxDateRanges, dxBarBuiltInMenu, U_BaseList, cxPC, dxSkinsDefaultPainters, dxDateRanges, dxBarBuiltInMenu, U_BaseList, cxPC,
System.StrUtils, dxSkinWXI, dxScrollbarAnnotations; System.StrUtils, dxSkinWXI,
dxScrollbarAnnotations;
type type
TfrmTatClothCKHZList = class(TfrmBaseList) TfrmTatClothCKHZList = class(TfrmBaseList)
@ -45,6 +46,7 @@ type
v1Column25: TcxGridDBColumn; v1Column25: TcxGridDBColumn;
v1Column26: TcxGridDBColumn; v1Column26: TcxGridDBColumn;
v1Column27: TcxGridDBColumn; v1Column27: TcxGridDBColumn;
Tv1UnitPrice: TcxGridDBColumn;
cxGrid1Level1: TcxGridLevel; cxGrid1Level1: TcxGridLevel;
Label5: TLabel; Label5: TLabel;
C_Name: TEdit; C_Name: TEdit;
@ -145,7 +147,7 @@ begin
end end
else else
begin begin
sql.Add('select ContractBuyName,IONo,C_NAME,COUNT(*)JS,SUM(Meter)stkMeter,SUM(Yardage)StkYardage,SUM(NetWeight)StkWeight'); sql.Add('select ContractBuyName,IONo,C_NAME,MAX(A.DR_unit_price) unit_price,COUNT(*)JS,SUM(Meter)stkMeter,SUM(Yardage)StkYardage,SUM(NetWeight)StkWeight');
sql.Add(' FROM V_Tat_Cloth_IO A where A.IOFlag = ''³ö¿â'' ' + WSql); sql.Add(' FROM V_Tat_Cloth_IO A where A.IOFlag = ''³ö¿â'' ' + WSql);
sql.Add(' group by ContractBuyName,IONo,C_NAME'); sql.Add(' group by ContractBuyName,IONo,C_NAME');
end; end;
@ -156,6 +158,7 @@ begin
Tv1carno.Visible := cxTabControl1.TabIndex = 0; Tv1carno.Visible := cxTabControl1.TabIndex = 0;
v1Column25.Visible := cxTabControl1.TabIndex = 1; v1Column25.Visible := cxTabControl1.TabIndex = 1;
v1Column26.Visible := cxTabControl1.TabIndex = 1; v1Column26.Visible := cxTabControl1.TabIndex = 1;
Tv1UnitPrice.Visible := cxTabControl1.TabIndex = 1;
SCreateCDS(ADOQueryMain, CDS_1); SCreateCDS(ADOQueryMain, CDS_1);
SInitCDSData(ADOQueryMain, CDS_1); SInitCDSData(ADOQueryMain, CDS_1);

View File

@ -363,4 +363,10 @@ inherited frmTatClothJXCList: TfrmTatClothJXCList
Left = 776 Left = 776
Top = 284 Top = 284
end end
object GPM_1: TcxGridPopupMenu
Grid = cxGrid1
PopupMenus = <>
Left = 728
Top = 288
end
end end

View File

@ -9,7 +9,8 @@ uses
cxGridCustomView, cxGridDBTableView, cxGridLevel, cxClasses, cxControls, cxGridCustomView, cxGridDBTableView, cxGridLevel, cxClasses, cxControls,
cxGrid, StdCtrls, ComCtrls, ExtCtrls, ToolWin, ADODB, DBClient, cxGrid, StdCtrls, ComCtrls, ExtCtrls, ToolWin, ADODB, DBClient,
cxLookAndFeels, cxLookAndFeelPainters, cxNavigator, dxSkinsCore, cxLookAndFeels, cxLookAndFeelPainters, cxNavigator, dxSkinsCore,
dxScrollbarAnnotations, U_BaseList, dxSkinWXI, dxDateRanges; dxScrollbarAnnotations, U_BaseList, dxSkinWXI, dxDateRanges, dxBarBuiltInMenu,
cxGridCustomPopupMenu, cxGridPopupMenu;
type type
TfrmTatClothJXCList = class(TfrmBaseList) TfrmTatClothJXCList = class(TfrmBaseList)
@ -45,6 +46,7 @@ type
ADOQueryTemp: TADOQuery; ADOQueryTemp: TADOQuery;
DS_1: TDataSource; DS_1: TDataSource;
CDS_1: TClientDataSet; CDS_1: TClientDataSet;
GPM_1: TcxGridPopupMenu;
procedure FormClose(Sender: TObject; var Action: TCloseAction); procedure FormClose(Sender: TObject; var Action: TCloseAction);
procedure FormCreate(Sender: TObject); procedure FormCreate(Sender: TObject);
procedure FormShow(Sender: TObject); procedure FormShow(Sender: TObject);

View File

@ -164,11 +164,34 @@ inherited frmTatClothRKHZList: TfrmTatClothRKHZList
OnKeyPress = C_NameKeyPress OnKeyPress = C_NameKeyPress
end end
end end
object cxGrid1: TcxGrid [2] object cxTabControl1: TcxTabControl [2]
Left = 0 Left = 0
Top = 105 Top = 105
Width = 1540 Width = 1540
Height = 495 Height = 19
Align = alTop
Font.Charset = GB2312_CHARSET
Font.Color = clWindowText
Font.Height = -12
Font.Name = #23435#20307
Font.Style = []
ParentFont = False
TabOrder = 3
Properties.CustomButtons.Buttons = <>
Properties.Style = 9
Properties.TabIndex = 0
Properties.Tabs.Strings = (
#26426#21488#27719#24635
#20135#21697#27719#24635)
OnChange = cxTabControl1Change
ClientRectRight = 0
ClientRectTop = 0
end
object cxGrid1: TcxGrid [3]
Left = 0
Top = 124
Width = 1540
Height = 476
Align = alClient Align = alClient
BorderStyle = cxcbsNone BorderStyle = cxcbsNone
Font.Charset = GB2312_CHARSET Font.Charset = GB2312_CHARSET
@ -179,6 +202,8 @@ inherited frmTatClothRKHZList: TfrmTatClothRKHZList
ParentFont = False ParentFont = False
PopupMenu = PM_1 PopupMenu = PM_1
TabOrder = 2 TabOrder = 2
ExplicitTop = 137
ExplicitHeight = 463
object Tv1: TcxGridDBTableView object Tv1: TcxGridDBTableView
Navigator.Buttons.CustomButtons = <> Navigator.Buttons.CustomButtons = <>
ScrollbarAnnotations.CustomAnnotations = <> ScrollbarAnnotations.CustomAnnotations = <>

View File

@ -50,6 +50,7 @@ type
Tv1Column1: TcxGridDBColumn; Tv1Column1: TcxGridDBColumn;
Tv1carno: TcxGridDBColumn; Tv1carno: TcxGridDBColumn;
Tv1StkNetWeight: TcxGridDBColumn; Tv1StkNetWeight: TcxGridDBColumn;
cxTabControl1: TcxTabControl;
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);
@ -63,7 +64,7 @@ type
procedure TCBNORChange(Sender: TObject); procedure TCBNORChange(Sender: TObject);
procedure JYTypeChange(Sender: TObject); procedure JYTypeChange(Sender: TObject);
procedure ToolButton2Click(Sender: TObject); procedure ToolButton2Click(Sender: TObject);
procedure cxPageControl1Change(Sender: TObject); procedure cxTabControl1Change(Sender: TObject);
procedure CDS_1BeforeOpen(DataSet: TDataSet); procedure CDS_1BeforeOpen(DataSet: TDataSet);
procedure Tv1DataControllerFilterBeforeChange(Sender: TcxDBDataFilterCriteria; ADataSet: TDataSet; const AFilterText: string); procedure Tv1DataControllerFilterBeforeChange(Sender: TcxDBDataFilterCriteria; ADataSet: TDataSet; const AFilterText: string);
@ -134,12 +135,25 @@ begin
Close; Close;
sql.Clear; sql.Clear;
sql.Add('select C_NAME,carno,COUNT(*)JS,SUM(Meter)stkMeter,SUM(Yardage)StkYardage,SUM(NetWeight)StkNetWeight from V_Tat_Cloth_IO A where A.IOFlag = ''Èë¿â'' ' + WSql); if cxTabControl1.TabIndex = 0 then
sql.Add('group by C_NAME,carno'); begin
sql.Add('select C_NAME,carno,COUNT(*)JS,SUM(Meter)stkMeter,SUM(Yardage)StkYardage,SUM(NetWeight)StkNetWeight');
sql.Add(' from V_Tat_Cloth_IO A where A.IOFlag = ''Èë¿â'' ' + WSql);
sql.Add(' group by C_NAME,carno order by C_NAME,carno');
end
else
begin
sql.Add('select C_NAME,COUNT(*)JS,SUM(Meter)stkMeter,SUM(NetWeight)StkNetWeight');
sql.Add(' from V_Tat_Cloth_IO A where A.IOFlag = ''Èë¿â'' ' + WSql);
sql.Add(' group by C_NAME order by C_NAME');
end;
// showmessage(sql.text); // showmessage(sql.text);
Open; Open;
end; end;
v1Column22.Visible := cxTabControl1.TabIndex = 0;
Tv1carno.Visible := cxTabControl1.TabIndex = 0;
Tv1Column1.Visible := cxTabControl1.TabIndex = 0;
SCreateCDS(ADOQueryMain, CDS_1); SCreateCDS(ADOQueryMain, CDS_1);
SInitCDSData(ADOQueryMain, CDS_1); SInitCDSData(ADOQueryMain, CDS_1);
@ -176,10 +190,10 @@ begin
end; end;
end; end;
procedure TfrmTatClothRKHZList.cxPageControl1Change(Sender: TObject); procedure TfrmTatClothRKHZList.cxTabControl1Change(Sender: TObject);
begin begin
inherited;
CurrentPage := 1; CurrentPage := 1;
SetStatus();
InitGrid(); InitGrid();
end; end;

View File

@ -605,6 +605,18 @@ inherited frmTatDRList: TfrmTatDRList
Options.Editing = False Options.Editing = False
Width = 90 Width = 90
end end
object TV2UnitPrice: TcxGridDBColumn
Caption = #21333#20215
DataBinding.FieldName = 'unit_price'
DataBinding.IsNullValueType = True
PropertiesClassName = 'TcxCurrencyEditProperties'
Properties.AssignedValues.DisplayFormat = True
Properties.DisplayFormat = '0.00'
Properties.UseThousandSeparator = False
HeaderAlignmentHorz = taCenter
Options.Editing = False
Width = 70
end
object TV2Column1: TcxGridDBColumn object TV2Column1: TcxGridDBColumn
Caption = #25968#37327#21333#20301 Caption = #25968#37327#21333#20301
DataBinding.FieldName = 'QtyUnit' DataBinding.FieldName = 'QtyUnit'

View File

@ -10,7 +10,7 @@ uses
cxGridCustomView, cxGridCustomTableView, cxGridTableView, cxGridDBTableView, cxGridCustomView, cxGridCustomTableView, cxGridTableView, cxGridDBTableView,
cxGrid, DBClient, cxCheckBox, cxCalendar, cxSplitter, RM_Dataset, RM_System, cxGrid, DBClient, cxCheckBox, cxCalendar, cxSplitter, RM_Dataset, RM_System,
RM_Common, RM_Class, RM_GridReport, RM_e_Xls, Menus, cxPC, cxButtonEdit, RM_Common, RM_Class, RM_GridReport, RM_e_Xls, Menus, cxPC, cxButtonEdit,
cxDropDownEdit, cxTextEdit, cxLookAndFeels, cxLookAndFeelPainters, cxNavigator, cxDropDownEdit, cxCurrencyEdit, cxTextEdit, cxLookAndFeels, cxLookAndFeelPainters, cxNavigator,
dxBarBuiltInMenu, dxSkinsCore, dxSkinsDefaultPainters, U_BaseList, dxBarBuiltInMenu, dxSkinsCore, dxSkinsDefaultPainters, U_BaseList,
dxDateRanges, dxScrollbarAnnotations, IdBaseComponent, IdComponent, dxDateRanges, dxScrollbarAnnotations, IdBaseComponent, IdComponent,
IdTCPConnection, IdTCPClient, IdHTTP, dxSkinWXI; IdTCPConnection, IdTCPClient, IdHTTP, dxSkinWXI;
@ -89,6 +89,7 @@ type
IdHTTP1: TIdHTTP; IdHTTP1: TIdHTTP;
TV2DR_LongitudeBatchNo: TcxGridDBColumn; TV2DR_LongitudeBatchNo: TcxGridDBColumn;
TV2DR_LatitudeBatchNo: TcxGridDBColumn; TV2DR_LatitudeBatchNo: TcxGridDBColumn;
TV2UnitPrice: TcxGridDBColumn;
//RMllPDFExport1: TRMllPDFExport; //RMllPDFExport1: TRMllPDFExport;
procedure FormDestroy(Sender: TObject); procedure FormDestroy(Sender: TObject);
procedure FormClose(Sender: TObject; var Action: TCloseAction); procedure FormClose(Sender: TObject; var Action: TCloseAction);

View File

@ -376,6 +376,17 @@ object frmTatDRtInPut: TfrmTatDRtInPut
HeaderAlignmentHorz = taCenter HeaderAlignmentHorz = taCenter
Width = 90 Width = 90
end end
object Tv1UnitPrice: TcxGridDBColumn
Caption = #21333#20215
DataBinding.FieldName = 'unit_price'
DataBinding.IsNullValueType = True
PropertiesClassName = 'TcxCurrencyEditProperties'
Properties.AssignedValues.DisplayFormat = True
Properties.DisplayFormat = '0.00'
Properties.UseThousandSeparator = False
HeaderAlignmentHorz = taCenter
Width = 70
end
object Tv1Column3: TcxGridDBColumn object Tv1Column3: TcxGridDBColumn
Caption = #35745#21010#21333#21495 Caption = #35745#21010#21333#21495
DataBinding.FieldName = 'orderno' DataBinding.FieldName = 'orderno'

View File

@ -9,7 +9,7 @@ uses
cxGridDBTableView, cxClasses, cxControls, cxGridCustomView, cxGrid, cxMemo, cxGridDBTableView, cxClasses, cxControls, cxGridCustomView, cxGrid, cxMemo,
cxRichEdit, ComCtrls, cxContainer, cxTextEdit, cxMaskEdit, cxButtonEdit, cxRichEdit, ComCtrls, cxContainer, cxTextEdit, cxMaskEdit, cxButtonEdit,
StdCtrls, ToolWin, DBClient, ADODB, ExtCtrls, BtnEdit, cxCalendar, StrUtils, StdCtrls, ToolWin, DBClient, ADODB, ExtCtrls, BtnEdit, cxCalendar, StrUtils,
cxDropDownEdit, cxGridCustomPopupMenu, cxGridPopupMenu, cxLookAndFeels, cxDropDownEdit, cxCurrencyEdit, cxGridCustomPopupMenu, cxGridPopupMenu, cxLookAndFeels,
cxLookAndFeelPainters, cxNavigator, dxSkinsCore, dxSkinsDefaultPainters, cxLookAndFeelPainters, cxNavigator, dxSkinsCore, dxSkinsDefaultPainters,
dxDateRanges, dxBarBuiltInMenu, U_BaseList, dxSkinWXI, dxScrollbarAnnotations; dxDateRanges, dxBarBuiltInMenu, U_BaseList, dxSkinWXI, dxScrollbarAnnotations;
@ -58,6 +58,7 @@ type
Tv1C_code: TcxGridDBColumn; Tv1C_code: TcxGridDBColumn;
Tv1DR_LongitudeBatchNo: TcxGridDBColumn; Tv1DR_LongitudeBatchNo: TcxGridDBColumn;
Tv1DR_LatitudeBatchNo: TcxGridDBColumn; Tv1DR_LatitudeBatchNo: TcxGridDBColumn;
Tv1UnitPrice: TcxGridDBColumn;
ToolButton7: TToolButton; ToolButton7: TToolButton;
procedure TBCloseClick(Sender: TObject); procedure TBCloseClick(Sender: TObject);
procedure FormShow(Sender: TObject); procedure FormShow(Sender: TObject);