检验过滤

This commit is contained in:
DESKTOP-E401PHE\Administrator 2025-09-15 13:41:20 +08:00
parent b2c5bc61f4
commit cb67231fec
6 changed files with 78 additions and 27 deletions

View File

@ -101,7 +101,7 @@ DebugSourceDirs=
UsePackages=0 UsePackages=0
[Parameters] [Parameters]
RunParams= RunParams=
HostApplication=D:\Dp7Repo\ÏîÄ¿´úÂë\ÍØÐù\ȾÕû¼Æ»®(DyeingFinishingPlan.dll)\testDll.exe HostApplication=E:\项目资料\06_贸易公司\拓轩\D7myTuoxuan\染整计划(DyeingFinishingPlan.dll)\testDll.exe
Launcher= Launcher=
UseLauncher=0 UseLauncher=0
DebugCWD= DebugCWD=

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 = DyeingFinishingPlan.dll testDll.exe
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
default: $(PROJECTS) default: $(PROJECTS)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
DyeingFinishingPlan.dll: DyeingFinishingPlan.dpr
$(DCC)
testDll.exe: testDll.dpr testDll.exe: testDll.dpr
$(DCC) $(DCC)
ProductPrice.dll: ProductPrice.dpr
$(DCC)

View File

@ -74,7 +74,8 @@ begin
SetLength(dtbase, 255); SetLength(dtbase, 255);
SetLength(user, 255); SetLength(user, 255);
SetLength(pswd, 255); SetLength(pswd, 255);
if Trim(DataBaseStr) = '' then
begin
server := '121.40.233.100,7781'; server := '121.40.233.100,7781';
// server := '.'; // server := '.';
dtbase := 'tuoxuan10data'; dtbase := 'tuoxuan10data';
@ -83,9 +84,14 @@ begin
pswd := 'rightsoft@123'; pswd := 'rightsoft@123';
// pswd := 'rightsoft'; // pswd := 'rightsoft';
DConString := 'Provider=SQLOLEDB.1;Password=' + pswd + ';Persist Security Info=True;User ID=' + user + ';Initial Catalog=' + dtbase + ';Data Source=' + server; DConString := 'Provider=SQLOLEDB.1;Password=' + pswd + ';Persist Security Info=True;User ID=' + user + ';Initial Catalog=' + dtbase + ';Data Source=' + server;
// DConString := DataBaseStr;
// DName:='admin'; // DName:='admin';
// DParameters1 := '¼Èë'; // DParameters1 := '¼Èë';
end
else
begin
DConString := DataBaseStr;
end;
if not ConnData() then if not ConnData() then
begin begin
result := 0; result := 0;

View File

@ -20,7 +20,7 @@ object frmJYOrderCDList: TfrmJYOrderCDList
object ToolBar1: TToolBar object ToolBar1: TToolBar
Left = 0 Left = 0
Top = 0 Top = 0
Width = 1341 Width = 1349
AutoSize = True AutoSize = True
ButtonHeight = 30 ButtonHeight = 30
ButtonWidth = 107 ButtonWidth = 107
@ -114,7 +114,7 @@ object frmJYOrderCDList: TfrmJYOrderCDList
object Panel1: TPanel object Panel1: TPanel
Left = 0 Left = 0
Top = 32 Top = 32
Width = 1341 Width = 1349
Height = 69 Height = 69
Align = alTop Align = alTop
BevelInner = bvRaised BevelInner = bvRaised
@ -226,7 +226,7 @@ object frmJYOrderCDList: TfrmJYOrderCDList
ParentFont = False ParentFont = False
end end
object Label18: TLabel object Label18: TLabel
Left = 1048 Left = 1192
Top = 12 Top = 12
Width = 52 Width = 52
Height = 12 Height = 12
@ -240,7 +240,7 @@ object frmJYOrderCDList: TfrmJYOrderCDList
end end
object lbl1: TLabel object lbl1: TLabel
Left = 867 Left = 867
Top = 11 Top = 12
Width = 52 Width = 52
Height = 12 Height = 12
Caption = #20837#24211#21333#21495 Caption = #20837#24211#21333#21495
@ -253,7 +253,7 @@ object frmJYOrderCDList: TfrmJYOrderCDList
end end
object Label2: TLabel object Label2: TLabel
Left = 867 Left = 867
Top = 35 Top = 36
Width = 52 Width = 52
Height = 12 Height = 12
Caption = #26579#21378#32568#21495 Caption = #26579#21378#32568#21495
@ -266,7 +266,7 @@ object frmJYOrderCDList: TfrmJYOrderCDList
end end
object Label14: TLabel object Label14: TLabel
Left = 1058 Left = 1058
Top = 35 Top = 36
Width = 26 Width = 26
Height = 12 Height = 12
Caption = #27454#21495 Caption = #27454#21495
@ -277,6 +277,19 @@ object frmJYOrderCDList: TfrmJYOrderCDList
Font.Style = [fsBold] Font.Style = [fsBold]
ParentFont = False ParentFont = False
end end
object Label1: TLabel
Left = 1032
Top = 12
Width = 52
Height = 12
Caption = #20135#21697#32534#21495
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 = 81 Left = 81
Top = 8 Top = 8
@ -360,7 +373,7 @@ object frmJYOrderCDList: TfrmJYOrderCDList
OnKeyPress = conNOKeyPress OnKeyPress = conNOKeyPress
end end
object ComboBox1: TComboBox object ComboBox1: TComboBox
Left = 1104 Left = 1248
Top = 8 Top = 8
Width = 70 Width = 70
Height = 20 Height = 20
@ -394,7 +407,7 @@ object frmJYOrderCDList: TfrmJYOrderCDList
object APID: TEdit object APID: TEdit
Tag = 2 Tag = 2
Left = 922 Left = 922
Top = 7 Top = 8
Width = 100 Width = 100
Height = 20 Height = 20
TabOrder = 10 TabOrder = 10
@ -403,7 +416,7 @@ object frmJYOrderCDList: TfrmJYOrderCDList
object RCGangNo: TEdit object RCGangNo: TEdit
Tag = 2 Tag = 2
Left = 922 Left = 922
Top = 31 Top = 32
Width = 100 Width = 100
Height = 20 Height = 20
TabOrder = 11 TabOrder = 11
@ -412,7 +425,7 @@ object frmJYOrderCDList: TfrmJYOrderCDList
object KuanHao: TEdit object KuanHao: TEdit
Tag = 2 Tag = 2
Left = 1086 Left = 1086
Top = 31 Top = 32
Width = 100 Width = 100
Height = 20 Height = 20
TabOrder = 12 TabOrder = 12
@ -452,12 +465,21 @@ object frmJYOrderCDList: TfrmJYOrderCDList
#24453#23450 #24453#23450
'') '')
end end
object MPRTCode: TEdit
Tag = 2
Left = 1086
Top = 8
Width = 100
Height = 20
TabOrder = 15
OnKeyPress = KHConNOKeyPress
end
end end
object cxGrid1: TcxGrid object cxGrid1: TcxGrid
Left = 0 Left = 0
Top = 129 Top = 129
Width = 1341 Width = 1349
Height = 553 Height = 561
Align = alClient Align = alClient
PopupMenu = PopupMenu1 PopupMenu = PopupMenu1
TabOrder = 3 TabOrder = 3
@ -813,6 +835,13 @@ object frmJYOrderCDList: TfrmJYOrderCDList
Options.Editing = False Options.Editing = False
Width = 67 Width = 67
end end
object Tv1Column3: TcxGridDBColumn
Caption = #20135#21697#32534#21495
DataBinding.FieldName = 'MPRTCode'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Width = 66
end
end end
object cxGrid1Level1: TcxGridLevel object cxGrid1Level1: TcxGridLevel
GridView = Tv1 GridView = Tv1
@ -963,14 +992,14 @@ object frmJYOrderCDList: TfrmJYOrderCDList
object Panel6: TPanel object Panel6: TPanel
Left = 0 Left = 0
Top = 101 Top = 101
Width = 1341 Width = 1349
Height = 28 Height = 28
Align = alTop Align = alTop
AutoSize = True AutoSize = True
BorderStyle = bsSingle BorderStyle = bsSingle
TabOrder = 2 TabOrder = 2
DesignSize = ( DesignSize = (
1337 1345
24) 24)
object Label31: TLabel object Label31: TLabel
Left = 25 Left = 25

View File

@ -154,6 +154,9 @@ type
Tv1Column1: TcxGridDBColumn; Tv1Column1: TcxGridDBColumn;
Tv1Column2: TcxGridDBColumn; Tv1Column2: TcxGridDBColumn;
ToolButton4: TToolButton; ToolButton4: TToolButton;
Label1: TLabel;
MPRTCode: TEdit;
Tv1Column3: TcxGridDBColumn;
procedure FormClose(Sender: TObject; var Action: TCloseAction); procedure FormClose(Sender: TObject; var Action: TCloseAction);
procedure FormCreate(Sender: TObject); procedure FormCreate(Sender: TObject);
procedure TBCloseClick(Sender: TObject); procedure TBCloseClick(Sender: TObject);

View File

@ -12,7 +12,20 @@ uses
cxCurrencyEdit, cxGridCustomPopupMenu, cxGridPopupMenu, cxDropDownEdit, cxCurrencyEdit, cxGridCustomPopupMenu, cxGridPopupMenu, cxDropDownEdit,
RM_Common, RM_Preview, RM_System, RM_Class, RM_GridReport, cxLookAndFeels, RM_Common, RM_Preview, RM_System, RM_Class, RM_GridReport, cxLookAndFeels,
cxLookAndFeelPainters, cxNavigator, dxSkinsCore, dxSkinsDefaultPainters, cxLookAndFeelPainters, cxNavigator, dxSkinsCore, dxSkinsDefaultPainters,
dxSkinscxPCPainter; dxSkinscxPCPainter, dxSkinBlack, dxSkinBlue, dxSkinBlueprint,
dxSkinCaramel, dxSkinCoffee, dxSkinDarkRoom, dxSkinDarkSide,
dxSkinDevExpressDarkStyle, dxSkinDevExpressStyle, dxSkinFoggy,
dxSkinGlassOceans, dxSkinHighContrast, dxSkiniMaginary, dxSkinLilian,
dxSkinLiquidSky, dxSkinLondonLiquidSky, dxSkinMcSkin, dxSkinMetropolis,
dxSkinMetropolisDark, dxSkinMoneyTwins, dxSkinOffice2007Black,
dxSkinOffice2007Blue, dxSkinOffice2007Green, dxSkinOffice2007Pink,
dxSkinOffice2007Silver, dxSkinOffice2010Black, dxSkinOffice2010Blue,
dxSkinOffice2010Silver, dxSkinOffice2013DarkGray,
dxSkinOffice2013LightGray, dxSkinOffice2013White, dxSkinPumpkin,
dxSkinSeven, dxSkinSevenClassic, dxSkinSharp, dxSkinSharpPlus,
dxSkinSilver, dxSkinSpringTime, dxSkinStardust, dxSkinSummer2008,
dxSkinTheAsphaltWorld, dxSkinValentine, dxSkinVS2010, dxSkinWhiteprint,
dxSkinXmas2008Blue;
type type
TfrmOrderInPut = class(TForm) TfrmOrderInPut = class(TForm)