📄 mrp_qry_graphanalyzercapacity_h_new.dfm
字号:
inherited Frm_Mrp_Qry_GraphAnalyzerCapacity_H_New: TFrm_Mrp_Qry_GraphAnalyzerCapacity_H_New
Left = 5
Top = 84
Caption = '能力需求计划表(日/周/月)图表'
Windowstate = wsMaximized
OnDestroy = FormDestroy
PixelsPerInch = 96
TextHeight = 12
inherited Pnl_Title: TPanel
Caption = '能力需求计划表(日/周/月)图表'
end
inherited Pnl_Head: TPanel
inherited Lbl_Condition: TLabel
Width = 24
Caption = '全部'
end
inherited Lbl_Order: TLabel
Width = 72
Caption = '工作中心代码'
end
end
inherited Pnl_Hint: TPanel
Top = 408
Height = 33
object dbtxtwcflag: TDBText
Left = 136
Top = 13
Width = 66
Height = 12
AutoSize = True
DataField = 'Itemflag'
DataSource = DataSource
end
object Label1: TLabel
Left = 24
Top = 13
Width = 108
Height = 12
Caption = '当前工作中心标识:'
end
end
inherited Pnl_Body: TPanel
Height = 311
inherited DBGridEh: TDBGridEh
Height = 311
ReadOnly = False
Columns = <
Item
FieldName = 'Itemflag'
PickList.Strings = ()
Title.Alignment = taCenter
Width = 200
KeyList.Strings = ()
end
Item
FieldName = 'ItemCode'
PickList.Strings = ()
Title.Alignment = taCenter
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'ItemName'
PickList.Strings = ()
Title.Alignment = taCenter
Width = 103
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'Capacityhours'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '工作中心能力(日)'
Width = 100
KeyList.Strings = ()
end
Item
FieldName = 'MpsType'
PickList.Strings = (
'MO准备'
'MO下达'
'PO准备'
'PO下达'
'系统建议'
'全部')
Title.Alignment = taCenter
KeyList.Strings = (
'MO准备'
'MO下达'
'PO准备'
'PO下达'
'系统建议'
'全部')
DblClickNextVal = True
end
Item
FieldName = 'dateType'
PickList.Strings = (
'日'
'周'
'月')
Title.Alignment = taCenter
Width = 37
KeyList.Strings = (
'日'
'周'
'月')
DblClickNextVal = True
end
Item
FieldName = 'modate'
PickList.Strings = ()
Title.Alignment = taCenter
Width = 65
KeyList.Strings = ()
DblClickNextVal = True
end>
end
end
inherited AdoQry_Tmp: TAdoQuery
CurSorType = ctStatic
LockType = ltBatchOptimistic
end
inherited AdoQry_Head: TAdoQuery
ConnectionString =
'Provider=SQLOLEDB.1;Password=mdrcmrm;Persist Security Info=True;' +
'User ID=mdrcmrm;Initial Catalog=mdrcmrm;Data Source=NT2;Use Proc' +
'edure for Prepare=1;Auto Translate=True;Packet Size=4096;Worksta' +
'tion ID=XYB'
CurSorType = ctStatic
SQL.Strings = (
'select it.ItemCode,it.ItemName,'
' Itemflag=it.ItemCode+'#39' '#39'+it.ItemName,'
' it.Capacityhours,'
' '#39'系统建议'#39' as MpsType,'#39'月'#39' as dateType,getdate() as modat' +
'e'
'from Item it(nolock)'
'where it.ItemType=1'
' and it.Capacityhours>0')
object AdoQry_HeadItemCode: TStringField
DisplayLabel = '工作中心代码'
FieldName = 'ItemCode'
Origin = '#tmp'
Size = 16
end
object AdoQry_HeadItemName: TStringField
DisplayLabel = '工作中心名称'
FieldName = 'ItemName'
Origin = '#tmp'
Size = 60
end
object AdoQry_HeadCapacityhours: TFloatField
DisplayLabel = '工作中心能力'
FieldName = 'Capacityhours'
Origin = '#tmp'
end
object AdoQry_HeadMpsType: TStringField
DisplayLabel = '计划类型'
FieldName = 'MpsType'
Origin = '#tmp'
Size = 8
end
object AdoQry_HeaddateType: TStringField
DisplayLabel = '阶段'
FieldName = 'dateType'
Origin = '#tmp'
Size = 2
end
object AdoQry_Headmodate: TDateTimeField
DisplayLabel = '开始日期'
FieldName = 'modate'
Origin = '#tmp'
end
object AdoQry_HeadItemflag: TStringField
DisplayLabel = '工作中心标识'
FieldName = 'Itemflag'
ReadOnly = True
Size = 77
end
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -