样品信息管理-----登记窗口、查询窗口增加字段‘内部备注’

This commit is contained in:
DESKTOP-E401PHE\Administrator 2025-10-14 14:37:25 +08:00
parent b1ba2e69fd
commit 7a36717ea5
8 changed files with 72 additions and 33 deletions

View File

@ -9,15 +9,15 @@ MAKE = $(ROOT)\bin\make.exe -$(MAKEFLAGS) -f$**
DCC = $(ROOT)\bin\dcc32.exe $** DCC = $(ROOT)\bin\dcc32.exe $**
BRCC = $(ROOT)\bin\brcc32.exe $** BRCC = $(ROOT)\bin\brcc32.exe $**
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
PROJECTS = testDll.exe ProductPrice.dll PROJECTS = YPGL.dll testDll.exe
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
default: $(PROJECTS) default: $(PROJECTS)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
YPGL.dll: YPGL.dpr
$(DCC)
testDll.exe: testDll.dpr testDll.exe: testDll.dpr
$(DCC) $(DCC)
ProductPrice.dll: ProductPrice.dpr
$(DCC)

23
样品/ProjectGroup1.~bpg Normal file
View File

@ -0,0 +1,23 @@
#------------------------------------------------------------------------------
VERSION = BWS.01
#------------------------------------------------------------------------------
!ifndef ROOT
ROOT = $(MAKEDIR)\..
!endif
#------------------------------------------------------------------------------
MAKE = $(ROOT)\bin\make.exe -$(MAKEFLAGS) -f$**
DCC = $(ROOT)\bin\dcc32.exe $**
BRCC = $(ROOT)\bin\brcc32.exe $**
#------------------------------------------------------------------------------
PROJECTS = testDll.exe ProductPrice.dll
#------------------------------------------------------------------------------
default: $(PROJECTS)
#------------------------------------------------------------------------------
testDll.exe: testDll.dpr
$(DCC)
ProductPrice.dll: ProductPrice.dpr
$(DCC)

View File

@ -19,7 +19,7 @@ object frmCPAdd: TfrmCPAdd
object ToolBar1: TToolBar object ToolBar1: TToolBar
Left = 0 Left = 0
Top = 0 Top = 0
Width = 1280 Width = 1288
Height = 33 Height = 33
ButtonHeight = 30 ButtonHeight = 30
ButtonWidth = 59 ButtonWidth = 59
@ -114,8 +114,8 @@ object frmCPAdd: TfrmCPAdd
object cxGrid1: TcxGrid object cxGrid1: TcxGrid
Left = 0 Left = 0
Top = 33 Top = 33
Width = 1280 Width = 1288
Height = 443 Height = 451
Align = alClient Align = alClient
TabOrder = 1 TabOrder = 1
object Tv1: TcxGridDBTableView object Tv1: TcxGridDBTableView
@ -494,6 +494,13 @@ object frmCPAdd: TfrmCPAdd
HeaderAlignmentHorz = taCenter HeaderAlignmentHorz = taCenter
Width = 60 Width = 60
end end
object Tv1Column2: TcxGridDBColumn
Tag = 3
Caption = #20869#37096#22791#27880
DataBinding.FieldName = 'InternalNote'
HeaderAlignmentHorz = taCenter
Width = 70
end
end end
object cxGrid1Level1: TcxGridLevel object cxGrid1Level1: TcxGridLevel
GridView = Tv1 GridView = Tv1

View File

@ -77,6 +77,7 @@ type
CheckBox2: TCheckBox; CheckBox2: TCheckBox;
CYNO1: TEdit; CYNO1: TEdit;
ADOQuery1: TADOQuery; ADOQuery1: TADOQuery;
Tv1Column2: TcxGridDBColumn;
procedure FormShow(Sender: TObject); procedure FormShow(Sender: TObject);
procedure TBCloseClick(Sender: TObject); procedure TBCloseClick(Sender: TObject);
procedure ToolButton1Click(Sender: TObject); procedure ToolButton1Click(Sender: TObject);

View File

@ -1,6 +1,6 @@
object frmCPManage: TfrmCPManage object frmCPManage: TfrmCPManage
Left = 188 Left = 432
Top = 159 Top = 223
Width = 1382 Width = 1382
Height = 754 Height = 754
Caption = #20135#21697#26723#26696 Caption = #20135#21697#26723#26696
@ -20,7 +20,7 @@ object frmCPManage: TfrmCPManage
object ToolBar1: TToolBar object ToolBar1: TToolBar
Left = 0 Left = 0
Top = 0 Top = 0
Width = 1366 Width = 1374
Height = 31 Height = 31
ButtonHeight = 30 ButtonHeight = 30
ButtonWidth = 95 ButtonWidth = 95
@ -95,43 +95,44 @@ object frmCPManage: TfrmCPManage
AutoSize = True AutoSize = True
Caption = #23548#20986 Caption = #23548#20986
ImageIndex = 53 ImageIndex = 53
Wrap = True
OnClick = ToolButton1Click OnClick = ToolButton1Click
end end
object ToolButton4: TToolButton object ToolButton4: TToolButton
Left = 528 Left = 0
Top = 0 Top = 30
AutoSize = True AutoSize = True
Caption = #26631#31614#25171#21360 Caption = #26631#31614#25171#21360
ImageIndex = 12 ImageIndex = 12
OnClick = ToolButton4Click OnClick = ToolButton4Click
end end
object ToolButton8: TToolButton object ToolButton8: TToolButton
Left = 615 Left = 87
Top = 0 Top = 30
AutoSize = True AutoSize = True
Caption = #26631#31614#39044#35272 Caption = #26631#31614#39044#35272
ImageIndex = 12 ImageIndex = 12
OnClick = ToolButton8Click OnClick = ToolButton8Click
end end
object ToolButton9: TToolButton object ToolButton9: TToolButton
Left = 702 Left = 174
Top = 0 Top = 30
AutoSize = True AutoSize = True
Caption = #25171#21360 Caption = #25171#21360
ImageIndex = 12 ImageIndex = 12
OnClick = ToolButton9Click OnClick = ToolButton9Click
end end
object ToolButton5: TToolButton object ToolButton5: TToolButton
Left = 765 Left = 237
Top = 0 Top = 30
AutoSize = True AutoSize = True
Caption = #22270#29255#19978#20256 Caption = #22270#29255#19978#20256
ImageIndex = 109 ImageIndex = 109
OnClick = ToolButton5Click OnClick = ToolButton5Click
end end
object ToolButton6: TToolButton object ToolButton6: TToolButton
Left = 852 Left = 324
Top = 0 Top = 30
AutoSize = True AutoSize = True
Caption = #22270#29255#19979#36733 Caption = #22270#29255#19979#36733
ImageIndex = 104 ImageIndex = 104
@ -139,16 +140,16 @@ object frmCPManage: TfrmCPManage
OnClick = ToolButton6Click OnClick = ToolButton6Click
end end
object TBClose: TToolButton object TBClose: TToolButton
Left = 939 Left = 411
Top = 0 Top = 30
AutoSize = True AutoSize = True
Caption = #20851#38381 Caption = #20851#38381
ImageIndex = 55 ImageIndex = 55
OnClick = TBCloseClick OnClick = TBCloseClick
end end
object ComboBox1: TComboBox object ComboBox1: TComboBox
Left = 1002 Left = 474
Top = 5 Top = 35
Width = 112 Width = 112
Height = 20 Height = 20
Style = csDropDownList Style = csDropDownList
@ -162,8 +163,8 @@ object frmCPManage: TfrmCPManage
#33521#25991#26631#31614) #33521#25991#26631#31614)
end end
object ToolButton11: TToolButton object ToolButton11: TToolButton
Left = 1114 Left = 586
Top = 0 Top = 30
Caption = #20462#25913#26368#22823#21495 Caption = #20462#25913#26368#22823#21495
ImageIndex = 16 ImageIndex = 16
OnClick = ToolButton11Click OnClick = ToolButton11Click
@ -173,14 +174,14 @@ object frmCPManage: TfrmCPManage
Left = 213 Left = 213
Top = 93 Top = 93
Width = 8 Width = 8
Height = 622 Height = 630
HotZoneClassName = 'TcxMediaPlayer9Style' HotZoneClassName = 'TcxMediaPlayer9Style'
Control = Panel5 Control = Panel5
end end
object Panel1: TPanel object Panel1: TPanel
Left = 0 Left = 0
Top = 31 Top = 31
Width = 1366 Width = 1374
Height = 62 Height = 62
Align = alTop Align = alTop
BevelInner = bvRaised BevelInner = bvRaised
@ -488,7 +489,7 @@ object frmCPManage: TfrmCPManage
Left = 0 Left = 0
Top = 93 Top = 93
Width = 213 Width = 213
Height = 622 Height = 630
Align = alLeft Align = alLeft
BevelInner = bvRaised BevelInner = bvRaised
BevelOuter = bvLowered BevelOuter = bvLowered
@ -497,7 +498,7 @@ object frmCPManage: TfrmCPManage
Left = 2 Left = 2
Top = 2 Top = 2
Width = 209 Width = 209
Height = 618 Height = 626
Align = alClient Align = alClient
Bands = < Bands = <
item item
@ -937,6 +938,12 @@ object frmCPManage: TfrmCPManage
Options.Editing = False Options.Editing = False
Width = 60 Width = 60
end end
object Tv1Column1: TcxGridDBColumn
Caption = #20869#37096#22791#27880
DataBinding.FieldName = 'InternalNote'
HeaderAlignmentHorz = taCenter
Width = 70
end
end end
object cxGrid1Level1: TcxGridLevel object cxGrid1Level1: TcxGridLevel
GridView = Tv1 GridView = Tv1

View File

@ -148,6 +148,7 @@ type
RMXLSExport1: TRMXLSExport; RMXLSExport1: TRMXLSExport;
ToolButton10: TToolButton; ToolButton10: TToolButton;
ToolButton11: TToolButton; ToolButton11: TToolButton;
Tv1Column1: TcxGridDBColumn;
procedure FormDestroy(Sender: TObject); procedure FormDestroy(Sender: TObject);
procedure FormClose(Sender: TObject; var Action: TCloseAction); procedure FormClose(Sender: TObject; var Action: TCloseAction);
procedure TBCloseClick(Sender: TObject); procedure TBCloseClick(Sender: TObject);

View File

@ -101,7 +101,7 @@ DebugSourceDirs=
UsePackages=0 UsePackages=0
[Parameters] [Parameters]
RunParams= RunParams=
HostApplication=D:\Ðì¼ÓÑÞÏîÄ¿´úÂë\ÏîÄ¿´úÂë\Óþ²©\ÑùÆ·\testDll.exe HostApplication=D:\Dp7Repo\ÏîÄ¿´úÂë\D7YPyubo\ÑùÆ·\testDll.exe
Launcher= Launcher=
UseLauncher=0 UseLauncher=0
DebugCWD= DebugCWD=

View File

@ -31,8 +31,8 @@
-M -M
-$M16384,1048576 -$M16384,1048576
-K$00400000 -K$00400000
-LE"c:\program files\borland\delphi7\Projects\Bpl" -LE"c:\program files (x86)\borland\delphi7\Projects\Bpl"
-LN"c:\program files\borland\delphi7\Projects\Bpl" -LN"c:\program files (x86)\borland\delphi7\Projects\Bpl"
-w-UNSAFE_TYPE -w-UNSAFE_TYPE
-w-UNSAFE_CODE -w-UNSAFE_CODE
-w-UNSAFE_CAST -w-UNSAFE_CAST