📄 mrp_enter_freepassmo.dfm
字号:
inherited Frm_Mrp_Enter_FreePassMo: TFrm_Mrp_Enter_FreePassMo
Left = 89
Top = 100
Caption = '独立生产订单批准'
ClientHeight = 405
ClientWidth = 627
Position = poMainformCenter
OnDestroy = FormDestroy
PixelsPerInch = 96
TextHeight = 12
inherited ControlBar: TControlBar
Width = 627
inherited ToolBar: TToolBar
inherited ToolButton6: TToolButton
Hint = '父项需求追溯'
Caption = '父项需求追溯'
end
end
end
inherited Pnl_Title: TPanel
Width = 627
Caption = '独立生产订单批准'
inherited Image2: TImage
Width = 627
end
end
inherited Pnl_Head: TPanel
Width = 627
inherited Image1: TImage
Width = 627
end
inherited Lbl_Condition: TLabel
Width = 36
Caption = '未下达'
end
inherited Lbl_Order: TLabel
Width = 102
Caption = '下单日期/生产单号'
end
object Button1: TButton
Left = 514
Top = 8
Width = 113
Height = 25
Caption = '订单物料短缺分析'
TabOrder = 0
OnClick = Button1Click
end
end
inherited Pnl_Hint: TPanel
Top = 368
Width = 627
Height = 37
inherited Image4: TImage
Width = 627
Height = 37
end
object Label1: TLabel
Left = 289
Top = 13
Width = 60
Height = 12
Caption = '物料标识:'
end
object DBText1: TDBText
Left = 348
Top = 13
Width = 42
Height = 12
AutoSize = True
DataField = 'ItemFlag'
DataSource = DataSource
end
object Label2: TLabel
Left = 12
Top = 13
Width = 60
Height = 12
Caption = '部门标识:'
end
object DBText2: TDBText
Left = 70
Top = 13
Width = 42
Height = 12
AutoSize = True
DataField = 'DeptFlag'
DataSource = DataSource
end
object Label3: TLabel
Left = 653
Top = 13
Width = 72
Height = 12
Caption = '约定交货日:'
end
object DBText3: TDBText
Left = 721
Top = 13
Width = 42
Height = 12
AutoSize = True
DataField = 'MoLineDATE'
DataSource = DataSource
end
end
inherited Pnl_Body: TPanel
Width = 627
Height = 271
inherited Image3: TImage
Width = 627
Height = 271
end
inherited DBGridEh: TDBGridEh
Width = 627
Height = 271
ReadOnly = False
OnDblClick = Act_ModifyExecute
OnTitleClick = DBGridEhTitleClick
FrozenCols = 6
Columns = <
Item
FieldName = 'MoLineCheck'
PickList.Strings = (
'1'
'0')
Title.Alignment = taCenter
Title.Caption = '标记'
Title.Font.ChArset = GB2312_CHArSET
Title.Font.Color = clBlue
Title.Font.Height = -12
Title.Font.Name = '宋体'
Title.Font.Style = []
Width = 32
KeyList.Strings = (
'1'
'0')
Checkboxes = True
end
Item
FieldName = 'DeptCode'
PickList.Strings = ()
ReadOnly = True
Title.Alignment = taCenter
Title.Caption = '部门代码'
Width = 50
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'DeptName'
PickList.Strings = ()
ReadOnly = True
Title.Alignment = taCenter
Title.Caption = '部门名称'
Width = 90
Visible = False
KeyList.Strings = ()
end
Item
Alignment = tArightJustify
FieldName = 'MODATE'
PickList.Strings = ()
ReadOnly = True
Title.Alignment = taCenter
Title.Caption = '下单日期'
Width = 70
KeyList.Strings = ()
end
Item
FieldName = 'plaflag'
PickList.Strings = ()
Width = 66
KeyList.Strings = ()
end
Item
FieldName = 'Pla_EmployeeCode'
PickList.Strings = ()
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'MONO'
PickList.Strings = ()
ReadOnly = True
Title.Alignment = taCenter
Title.Caption = '生产订单号'
Width = 66
KeyList.Strings = ()
end
Item
FieldName = 'MoLineNO'
PickList.Strings = ()
ReadOnly = True
Title.Alignment = taCenter
Title.Caption = '订单行号'
Width = 52
KeyList.Strings = ()
end
Item
FieldName = 'MoLineSTATUS'
PickList.Strings = (
'1 系统建议'
'5 准备'
'6 下达'
'7 关闭'
'8 永久关闭')
ReadOnly = True
Title.Alignment = taCenter
Title.Caption = '行状态'
Width = 45
KeyList.Strings = (
'1'
'5'
'6'
'7'
'8'
'')
end
Item
FieldName = 'ItemFlag'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '物料标识'
Width = 200
KeyList.Strings = ()
end
Item
FieldName = 'ItemCode'
PickList.Strings = ()
ReadOnly = True
Title.Alignment = taCenter
Title.Caption = '物料代码'
Width = 90
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'ItemName'
PickList.Strings = ()
ReadOnly = True
Title.Alignment = taCenter
Title.Caption = '物料描述'
Width = 200
Visible = False
KeyList.Strings = ()
end
Item
Alignment = taCenter
FieldName = 'UomName'
PickList.Strings = ()
ReadOnly = True
Title.Alignment = taCenter
Title.Caption = '单位'
Width = 29
KeyList.Strings = ()
end
Item
FieldName = 'MOQTY'
PickList.Strings = ()
ReadOnly = True
Title.Alignment = taCenter
Title.Caption = '约定交货量'
Width = 70
KeyList.Strings = ()
end
Item
FieldName = 'MoNoFinishQTY'
PickList.Strings = ()
ReadOnly = True
Title.Alignment = taCenter
Title.Caption = '未结量'
Width = 60
KeyList.Strings = ()
end
Item
Alignment = tArightJustify
FieldName = 'MOStArtWorkDate'
PickList.Strings = ()
ReadOnly = True
Title.Alignment = taCenter
Title.Caption = '约定开工日'
Width = 70
KeyList.Strings = ()
end
Item
Alignment = tArightJustify
FieldName = 'MoLineDATE'
PickList.Strings = ()
ReadOnly = True
Title.Alignment = taCenter
Title.Caption = '约定交货日'
Width = 70
KeyList.Strings = ()
end
Item
FieldName = 'BackFlush'
PickList.Strings = (
''
'是')
ReadOnly = True
Width = 78
KeyList.Strings = (
'0'
'1')
end
Item
FieldName = 'ReferenceNo'
PickList.Strings = ()
KeyList.Strings = ()
end>
end
end
inherited ActionList: TActionList
inherited Act_Modify: TAction
Enabled = True
Visible = True
OnExecute = Act_ModifyExecute
end
inherited Act_Delete: TAction
Enabled = True
Visible = True
OnExecute = Act_DeleteExecute
end
inherited Act_CancelCheck: TAction
OnExecute = Act_CancelCheckExecute
end
inherited Act_Look: TAction
Caption = '反查父项物料'
Enabled = True
Hint = '反查父项物料'
OnExecute = Act_LookExecute
end
inherited Act_Check: TAction
OnExecute = Act_CheckExecute
end
inherited Act_Expend: TAction
Caption = '上级物料'
Hint = '上级物料'
end
end
inherited AdoQry_Head: TAdoQuery
ConnectionString =
'Provider=SQLOLEDB.1;Password=mdrcmrm;Persist Security Info=True;' +
'User ID=mdrcmrm;Initial Catalog=mdrcmrm;Data Source=192.168.0.15' +
'1'
BeforeInsert = AdoQry_HeadBeforeInsert
BeforeEdit = AdoQry_HeadBeforeEdit
AfterPost = AdoQry_HeadAfterPost
SQL.Strings = (
'Select MoLine.*,Mo.*,'
' plaflag='#39'fdsssssssssssssssssssssssssssssdsdsfdsfdsf'#39','
' Pla_EmployeeCode='#39'dfssssssssssssssssdsf'#39','
'Dept.DeptCode+'#39' '#39'+Dept.DeptName As DeptFlag,Dept.DeptName,Item.I' +
'temName '
' ,Uom.UomName,Item.ItemCode+'#39' '#39'+Item.ItemName As ItemFlag ' +
' From MoLine '
' Join Item On MoLine.ItemCode=Item.ItemCode'
'Join Mo On Mo.MoNo=MoLine.MoNo'
'And (MoLineStatus=0 Or MoLineStatus=1)'
'Left Outer Join Dept On Mo.DeptCode=Dept.DeptCode '
'left outer join Uom on Item.UomCode=Uom.UomCode')
Left = 232
Top = 246
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_HeadDeptFlag: TStringField
FieldName = 'DeptFlag'
ReadOnly = True
Size = 49
end
object AdoQry_HeadItemFlag: TStringField
FieldName = 'ItemFlag'
ReadOnly = True
Size = 77
end
object AdoQry_HeadMoLineCheck: TIntegerField
FieldName = 'MoLineCheck'
Origin = 'MoLine'
end
object AdoQry_HeadByProduct: TIntegerField
FieldName = 'ByProduct'
end
object AdoQry_HeadMoRealInQty: TFloatField
FieldName = 'MoRealInQty'
end
object AdoQry_HeadMoInQty: TFloatField
FieldName = 'MoInQty'
end
object AdoQry_HeadSSQty: TFloatField
FieldName = 'SSQty'
end
object AdoQry_HeadCloseRemArk: TStringField
FieldName = 'CloseRemArk'
Size = 60
end
object AdoQry_HeadBilllineremArk: TStringField
FieldName = 'BilllineremArk'
Size = 250
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 = '计划员标识'
FieldName = 'plaflag'
ReadOnly = True
Size = 42
end
object AdoQry_HeadPla_EmployeeCode: TStringField
DisplayLabel = '计划员代码'
FieldName = 'Pla_EmployeeCode'
Origin = 'Item'
ReadOnly = True
Size = 21
end
object AdoQry_HeadBackFlush: TIntegerField
DisplayLabel = '是否拉式领料'
FieldName = 'BackFlush'
Origin = 'MoLine'
end
object AdoQry_HeadReferenceNo: TStringField
DisplayLabel = '参考号'
FieldName = 'ReferenceNo'
Size = 30
end
end
inherited PopuPmenu: TPopuPmenu
Left = 444
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -