📄 mrp_enter_closemo1.dfm
字号:
inherited Frm_Mrp_Enter_CloseMo1: TFrm_Mrp_Enter_CloseMo1
Left = 137
Top = 100
Caption = #29983#20135#35746#21333#20851#38381
OnDestroy = FormDestroy
PixelsPerInch = 96
TextHeight = 12
inherited ControlBar: TControlBar
inherited ToolBar: TToolBar
inherited TlBtn_Check: TToolButton
Hint = #20851#38381
Caption = #20851#38381
end
inherited TlBtn_CancelCheck: TToolButton
Hint = #25171#24320
Caption = #25171#24320
end
end
end
inherited Pnl_Title: TPanel
Caption = #29983#20135#35746#21333#20851#38381
end
inherited Pnl_Head: TPanel
inherited Lbl_Condition: TLabel
Width = 90
Caption = '('#34892#29366#24577'=6 '#19979#36798')'
end
inherited Lbl_Order: TLabel
Width = 156
Caption = #37096#38376#20195#30721'/'#19979#21333#26085#26399'/'#29983#20135#21333#21495
end
end
inherited Pnl_Hint: TPanel
Top = 408
Height = 33
inherited Image4: TImage
Height = 33
end
object Label1: TLabel
Left = 11
Top = 5
Width = 60
Height = 12
Caption = #29289#26009#26631#35782#65306
end
object DBText1: TDBText
Left = 76
Top = 5
Width = 42
Height = 12
AutoSize = True
DataField = 'ItemFlag'
DataSource = DataSource
end
object Label2: TLabel
Left = 655
Top = 5
Width = 72
Height = 12
Caption = #32422#23450#20132#36135#37327#65306
end
object DBText2: TDBText
Left = 725
Top = 5
Width = 42
Height = 12
AutoSize = True
DataField = 'MOQTY'
DataSource = DataSource
end
object Label3: TLabel
Left = 655
Top = 21
Width = 72
Height = 12
Caption = #32422#23450#20132#36135#26085#65306
end
object DBText3: TDBText
Left = 725
Top = 21
Width = 42
Height = 12
AutoSize = True
DataField = 'MoLineDATE'
DataSource = DataSource
end
object Label4: TLabel
Left = 10
Top = 18
Width = 60
Height = 12
Caption = #20851#38381#22791#27880#65306
end
object DBText4: TDBText
Left = 75
Top = 18
Width = 42
Height = 12
AutoSize = True
DataField = 'CloseRemArk'
DataSource = DataSource
end
end
inherited Pnl_Body: TPanel
Height = 311
inherited Image3: TImage
Height = 311
end
inherited DBGridEh: TDBGridEh
Height = 311
FrozenCols = 6
Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgConfirmDelete, dgCancelOnExit]
ReadOnly = False
OnDblClick = Act_LookExecute
OnTitleClick = DBGridEhTitleClick
Columns = <
Item
Checkboxes = True
EditButtons = <>
FieldName = 'MoLineCheck'
Footers = <>
KeyList.Strings = (
'1'
'0')
PickList.Strings = (
'1'
'0')
Title.Caption = #26631#35760
Title.Font.ChArset = GB2312_CHArSET
Title.Font.Color = clBlue
Title.Font.Height = -12
Title.Font.Name = #23435#20307
Title.Font.Style = []
Width = 30
end
Item
EditButtons = <>
FieldName = 'DeptCode'
Footers = <>
ReadOnly = True
Title.Caption = #37096#38376#20195#30721
Visible = False
Width = 50
end
Item
EditButtons = <>
FieldName = 'DeptName'
Footers = <>
ReadOnly = True
Title.Caption = #37096#38376#21517#31216
Visible = False
Width = 90
end
Item
EditButtons = <>
FieldName = 'DeptFlag'
Footers = <>
Title.Caption = #37096#38376#26631#35782
Width = 69
end
Item
EditButtons = <>
FieldName = 'Pla_EmployeeCode'
Footers = <>
Visible = False
end
Item
EditButtons = <>
FieldName = 'plaflag'
Footers = <>
Width = 90
end
Item
EditButtons = <>
FieldName = 'MODATE'
Footers = <>
ReadOnly = True
Title.Caption = #19979#21333#26085#26399
Width = 67
end
Item
EditButtons = <>
FieldName = 'MONO'
Footers = <>
ReadOnly = True
Title.Caption = #29983#20135#35746#21333#21495
Width = 67
end
Item
EditButtons = <>
FieldName = 'MoLineNO'
Footers = <>
ReadOnly = True
Title.Caption = #35746#21333#34892#21495
Width = 55
end
Item
EditButtons = <>
FieldName = 'MoLineSTATUS'
Footers = <>
KeyList.Strings = (
'1'
'5'
'6'
'7'
'8')
PickList.Strings = (
'1 '#31995#32479#24314#35758
'5 '#20934#22791
'6 '#19979#36798
'7 '#20851#38381
'8 '#27704#20037#20851#38381)
ReadOnly = True
Title.Caption = #34892#29366#24577
Width = 41
end
Item
EditButtons = <>
FieldName = 'ItemCode'
Footers = <>
ReadOnly = True
Title.Caption = #29289#26009#20195#30721
Visible = False
Width = 90
end
Item
EditButtons = <>
FieldName = 'ItemName'
Footers = <>
ReadOnly = True
Title.Caption = #29289#26009#25551#36848
Visible = False
Width = 200
end
Item
EditButtons = <>
FieldName = 'ItemFlag'
Footers = <>
Title.Caption = #29289#26009#26631#35782
Width = 187
end
Item
Alignment = taCenter
EditButtons = <>
FieldName = 'UomName'
Footers = <>
ReadOnly = True
Title.Caption = #21333#20301
Width = 29
end
Item
EditButtons = <>
FieldName = 'MOQTY'
Footers = <>
ReadOnly = True
Title.Caption = #32422#23450#20132#36135#37327
Width = 70
end
Item
EditButtons = <>
FieldName = 'MoNoFinishQTY'
Footers = <>
ReadOnly = True
Title.Caption = #26410#32467#37327
Width = 66
end
Item
Alignment = tArightJustify
EditButtons = <>
FieldName = 'MOStArtWorkDate'
Footers = <>
ReadOnly = True
Title.Caption = #32422#23450#24320#24037#26085
Width = 70
end
Item
Alignment = tArightJustify
EditButtons = <>
FieldName = 'MoLineDATE'
Footers = <>
ReadOnly = True
Title.Caption = #32422#23450#20132#36135#26085
Width = 70
end
Item
EditButtons = <>
FieldName = 'CloseRemArk'
Footers = <>
Title.Caption = #20851#38381#22791#27880
Title.Font.ChArset = GB2312_CHArSET
Title.Font.Color = clBlue
Title.Font.Height = -12
Title.Font.Name = #23435#20307
Title.Font.Style = []
Width = 120
end>
end
end
inherited ActionList: TActionList
inherited Act_CancelCheck: TAction
OnExecute = Act_CancelCheckExecute
end
inherited Act_Look: TAction
Caption = #26597#30475#29983#20135#39046#26009#28165#21333
Enabled = True
Hint = #26597#30475#29983#20135#39046#26009#28165#21333'(Enter)'
Visible = True
OnExecute = Act_LookExecute
end
inherited Act_Check: TAction
OnExecute = Act_CheckExecute
end
end
inherited AdoQry_Head: TAdoQuery
ConnectionString =
'Provider=SQLOLEDB.1;Password=mdrcmrm;Persist Security Info=True;' +
'User ID=mdrcmrm;Initial Catalog=mdrcmrm_B;Data Source=192.168.0.' +
'151'
BeforeInsert = AdoQry_HeadBeforeInsert
SQL.Strings = (
'Select MoLine.*,Mo.*,Dept.DeptName,Item.ItemName '
' ,Uom.UomName ,'
' Item.ItemCode+'#39' '#39'+Item.ItemName As ItemFlag,'
' Item.Pla_EmployeeCode,'
' Item.Pla_EmployeeCode+'#39' '#39'+Employee.EmployeeName as plaflag' +
','
' Dept.DeptCode+'#39' '#39'+Dept.DeptName As DeptFlag '
' From MoLine '
' Join Item On MoLine.ItemCode=Item.ItemCode'
'Join Mo On Mo.MoNo=MoLine.MoNo'
'And (MoLineStatus=1 Or MoLineStatus=2)'
'Left Outer Join Dept On Mo.DeptCode=Dept.DeptCode '
'left outer join Uom on Item.UomCode=Uom.UomCode'
'left outer join Employee on Item.Pla_EmployeeCode=Employee.emplo' +
'yeeCode')
Left = 240
Top = 214
object AdoQry_HeadMONO: TStringField
FieldName = 'MONO'
Origin = 'mo'
Size = 16
end
object AdoQry_HeadMoLineNO: TIntegerField
FieldName = 'MoLineNO'
Origin = 'MoLine'
end
object AdoQry_HeadItemCode: TStringField
FieldName = 'ItemCode'
Origin = 'MoLine'
Size = 16
end
object AdoQry_HeadMOQTY: TFloatField
FieldName = 'MOQTY'
Origin = 'MoLine'
DisplayFormat = '#,##0'
end
object AdoQry_HeadMoLineDATE: TDateTimeField
FieldName = 'MoLineDATE'
Origin = 'MoLine'
DisplayFormat = 'yyyy.mm.dd'
end
object AdoQry_HeadMoNoFinishQTY: TFloatField
FieldName = 'MoNoFinishQTY'
Origin = 'MoLine'
DisplayFormat = '#,##0'
end
object AdoQry_HeadMoLineSTATUS: TIntegerField
FieldName = 'MoLineSTATUS'
Origin = 'MoLine'
end
object AdoQry_HeadMOStArtWorkDate: TDateTimeField
FieldName = 'MOStArtWorkDate'
Origin = 'MoLine'
DisplayFormat = 'yyyy.mm.dd'
end
object AdoQry_HeadDeptCode: TStringField
FieldName = 'DeptCode'
Origin = 'mo'
Size = 8
end
object AdoQry_HeadDeptName: TStringField
FieldName = 'DeptName'
Origin = 'Dept'
Size = 40
end
object AdoQry_HeadItemName: TStringField
FieldName = 'ItemName'
Origin = 'Item'
Size = 60
end
object AdoQry_HeadMODATE: TDateTimeField
FieldName = 'MODATE'
Origin = 'mo'
DisplayFormat = 'yyyy.mm.dd'
end
object AdoQry_HeadUomName: TStringField
FieldName = 'UomName'
Origin = 'Uom'
Size = 10
end
object AdoQry_HeadItemFlag: TStringField
FieldName = 'ItemFlag'
ReadOnly = True
Size = 77
end
object AdoQry_HeadDeptFlag: TStringField
FieldName = 'DeptFlag'
ReadOnly = True
Size = 49
end
object AdoQry_HeadMoLineCheck: TIntegerField
FieldName = 'MoLineCheck'
Origin = 'MoLine'
end
object AdoQry_HeadCloseRemArk: TStringField
FieldName = 'CloseRemArk'
Origin = 'MoLine'
Size = 50
end
object AdoQry_HeadMoRealInQty: TFloatField
FieldName = 'MoRealInQty'
end
object AdoQry_HeadMoInQty: TFloatField
FieldName = 'MoInQty'
end
object AdoQry_HeadSSQty: TFloatField
FieldName = 'SSQty'
end
object AdoQry_HeadBilllineremArk: TStringField
FieldName = 'BilllineremArk'
Size = 250
end
object AdoQry_HeadByProduct: TIntegerField
FieldName = 'ByProduct'
end
object AdoQry_HeadParentMoLineNo: TIntegerField
FieldName = 'ParentMoLineNo'
end
object AdoQry_HeadMONO_1: TStringField
FieldName = 'MONO_1'
Size = 16
end
object AdoQry_HeadMORemArk: TStringField
FieldName = 'MORemArk'
Size = 150
end
object AdoQry_HeadMOSpecial: TIntegerField
FieldName = 'MOSpecial'
end
object AdoQry_HeadSaleType: TStringField
FieldName = 'SaleType'
end
object AdoQry_HeadStandardFlag: TIntegerField
FieldName = 'StandardFlag'
end
object AdoQry_Headplaflag: TStringField
DisplayLabel = #35745#21010#21592#26631#35782
FieldName = 'plaflag'
ReadOnly = True
Size = 91
end
object AdoQry_HeadPla_EmployeeCode: TStringField
DisplayLabel = #35745#21010#21592#20195#30721
FieldName = 'Pla_EmployeeCode'
Origin = 'Item'
Size = 30
end
end
inherited PopuPmenu: TPopuPmenu
Left = 444
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -