产品 合同 检验

This commit is contained in:
funa 2026-10-31 17:23:23 +08:00
parent 1cd073979d
commit 66103e766d
7 changed files with 485 additions and 360 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -827,7 +827,7 @@ inherited frmSalesConInPut: TfrmSalesConInPut
Width = 55 Width = 55
end end
object VC_SCSCode: TcxGridDBColumn object VC_SCSCode: TcxGridDBColumn
Caption = #20135#21697#32534#21495 Caption = #24037#33402#32534#21495
DataBinding.FieldName = 'C_Code' DataBinding.FieldName = 'C_Code'
DataBinding.IsNullValueType = True DataBinding.IsNullValueType = True
PropertiesClassName = 'TcxButtonEditProperties' PropertiesClassName = 'TcxButtonEditProperties'
@ -842,7 +842,7 @@ inherited frmSalesConInPut: TfrmSalesConInPut
Width = 77 Width = 77
end end
object v1Column4: TcxGridDBColumn object v1Column4: TcxGridDBColumn
Caption = #20135#21697#21517#31216 Caption = #24037#33402#21517#31216
DataBinding.FieldName = 'C_Name' DataBinding.FieldName = 'C_Name'
DataBinding.IsNullValueType = True DataBinding.IsNullValueType = True
HeaderAlignmentHorz = taCenter HeaderAlignmentHorz = taCenter

View File

@ -701,7 +701,6 @@ inherited frmSalesContractList: TfrmSalesContractList
Align = alBottom Align = alBottom
BorderStyle = cxcbsNone BorderStyle = cxcbsNone
TabOrder = 5 TabOrder = 5
ExplicitTop = 470
object TV2: TcxGridDBTableView object TV2: TcxGridDBTableView
Navigator.Buttons.CustomButtons = <> Navigator.Buttons.CustomButtons = <>
ScrollbarAnnotations.CustomAnnotations = <> ScrollbarAnnotations.CustomAnnotations = <>
@ -755,7 +754,7 @@ inherited frmSalesContractList: TfrmSalesContractList
Width = 55 Width = 55
end end
object VC_SCSCode: TcxGridDBColumn object VC_SCSCode: TcxGridDBColumn
Caption = #20135#21697#32534#21495 Caption = #24037#33402#32534#21495
DataBinding.FieldName = 'C_Code' DataBinding.FieldName = 'C_Code'
DataBinding.IsNullValueType = True DataBinding.IsNullValueType = True
PropertiesClassName = 'TcxButtonEditProperties' PropertiesClassName = 'TcxButtonEditProperties'
@ -770,7 +769,7 @@ inherited frmSalesContractList: TfrmSalesContractList
Width = 77 Width = 77
end end
object cxGridDBColumn2: TcxGridDBColumn object cxGridDBColumn2: TcxGridDBColumn
Caption = #20135#21697#21517#31216 Caption = #24037#33402#21517#31216
DataBinding.FieldName = 'C_Name' DataBinding.FieldName = 'C_Name'
DataBinding.IsNullValueType = True DataBinding.IsNullValueType = True
HeaderAlignmentHorz = taCenter HeaderAlignmentHorz = taCenter

View File

@ -76,7 +76,7 @@ begin
user := 'rightsoftsa'; user := 'rightsoftsa';
pswd := 'right,.soft@2377'; pswd := 'right,.soft@2377';
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;
Parameters1 := '²éѯ'; Parameters1 := '管理';
dname := '666'; dname := '666';
// dname := '777'; // dname := '777';
end end

View File

@ -132,6 +132,19 @@ inherited frmTatFlawQuery: TfrmTatFlawQuery
Font.Style = [fsBold] Font.Style = [fsBold]
ParentFont = False ParentFont = False
end end
object Label3: TLabel
Left = 710
Top = 15
Width = 52
Height = 12
Caption = #20135#21697#21517#31216
Font.Charset = GB2312_CHARSET
Font.Color = clWindowText
Font.Height = -12
Font.Name = #23435#20307
Font.Style = [fsBold]
ParentFont = False
end
object weaver_name: TEdit object weaver_name: TEdit
Tag = 2 Tag = 2
Left = 594 Left = 594
@ -188,6 +201,16 @@ inherited frmTatFlawQuery: TfrmTatFlawQuery
Time = 0.464742650459811600 Time = 0.464742650459811600
TabOrder = 4 TabOrder = 4
end end
object C_name: TEdit
Tag = 2
Left = 768
Top = 10
Width = 110
Height = 20
Hint = '0'
TabOrder = 5
OnKeyPress = weaver_nameKeyPress
end
end end
object cxPageControl1: TcxPageControl [2] object cxPageControl1: TcxPageControl [2]
Left = 0 Left = 0
@ -196,7 +219,7 @@ inherited frmTatFlawQuery: TfrmTatFlawQuery
Height = 536 Height = 536
Align = alClient Align = alClient
TabOrder = 2 TabOrder = 2
Properties.ActivePage = TabDet Properties.ActivePage = TabSum
Properties.CustomButtons.Buttons = <> Properties.CustomButtons.Buttons = <>
ClientRectBottom = 534 ClientRectBottom = 534
ClientRectLeft = 2 ClientRectLeft = 2
@ -219,7 +242,6 @@ inherited frmTatFlawQuery: TfrmTatFlawQuery
Font.Style = [] Font.Style = []
ParentFont = False ParentFont = False
TabOrder = 0 TabOrder = 0
ExplicitTop = 0
object TvS: TcxGridDBTableView object TvS: TcxGridDBTableView
Navigator.Buttons.CustomButtons = <> Navigator.Buttons.CustomButtons = <>
ScrollbarAnnotations.CustomAnnotations = <> ScrollbarAnnotations.CustomAnnotations = <>
@ -251,6 +273,14 @@ inherited frmTatFlawQuery: TfrmTatFlawQuery
Options.Editing = False Options.Editing = False
Width = 160 Width = 160
end end
object TvSC_name: TcxGridDBColumn
Caption = #20135#21697#21517#31216
DataBinding.FieldName = 'C_name'
DataBinding.IsNullValueType = True
HeaderAlignmentHorz = taCenter
Options.Editing = False
Width = 80
end
object TvSSumPoints: TcxGridDBColumn object TvSSumPoints: TcxGridDBColumn
Caption = #25187#20998#24635#25968 Caption = #25187#20998#24635#25968
DataBinding.FieldName = 'SumPoints' DataBinding.FieldName = 'SumPoints'
@ -271,8 +301,6 @@ inherited frmTatFlawQuery: TfrmTatFlawQuery
Height = 30 Height = 30
Align = alTop Align = alTop
TabOrder = 1 TabOrder = 1
ExplicitLeft = -3
ExplicitTop = -16
object LabelS1: TLabel object LabelS1: TLabel
Left = 10 Left = 10
Top = 8 Top = 8
@ -370,7 +398,6 @@ inherited frmTatFlawQuery: TfrmTatFlawQuery
Font.Style = [] Font.Style = []
ParentFont = False ParentFont = False
TabOrder = 0 TabOrder = 0
ExplicitTop = 0
object TvD: TcxGridDBTableView object TvD: TcxGridDBTableView
Navigator.Buttons.CustomButtons = <> Navigator.Buttons.CustomButtons = <>
ScrollbarAnnotations.CustomAnnotations = <> ScrollbarAnnotations.CustomAnnotations = <>
@ -421,6 +448,14 @@ inherited frmTatFlawQuery: TfrmTatFlawQuery
Options.Editing = False Options.Editing = False
Width = 120 Width = 120
end end
object TvDC_name: TcxGridDBColumn
Caption = #20135#21697#21517#31216
DataBinding.FieldName = 'C_name'
DataBinding.IsNullValueType = True
HeaderAlignmentHorz = taCenter
Options.Editing = False
Width = 80
end
object TvDweaver_name: TcxGridDBColumn object TvDweaver_name: TcxGridDBColumn
Caption = #25377#36710#24037#21517#31216 Caption = #25377#36710#24037#21517#31216
DataBinding.FieldName = 'weaver_name' DataBinding.FieldName = 'weaver_name'
@ -490,7 +525,6 @@ inherited frmTatFlawQuery: TfrmTatFlawQuery
Height = 30 Height = 30
Align = alTop Align = alTop
TabOrder = 1 TabOrder = 1
ExplicitTop = 482
object LabelD1: TLabel object LabelD1: TLabel
Left = 10 Left = 10
Top = 8 Top = 8

View File

@ -72,6 +72,10 @@ type
DS_D: TDataSource; DS_D: TDataSource;
CDS_Sum: TClientDataSet; CDS_Sum: TClientDataSet;
CDS_Detail: TClientDataSet; CDS_Detail: TClientDataSet;
C_name: TEdit;
Label3: TLabel;
TvDC_name: TcxGridDBColumn;
TvSC_name: TcxGridDBColumn;
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);