mrp_enter_freemo.dfm
来自「一个MRPII系统源代码版本」· DFM 代码 · 共 486 行
DFM
486 行
inherited Frm_Mrp_Enter_FreeMo: TFrm_Mrp_Enter_FreeMo
Left = 32
Top = 104
Caption = '独立生产订单准备'
ClientHeight = 445
ClientWidth = 762
PixelsPerInch = 96
TextHeight = 12
inherited ControlBar: TControlBar
Width = 762
Height = 33
inherited ToolBar: TToolBar
Height = 25
ButtonHeight = 25
end
end
inherited Pnl_Title: TPanel
Top = 33
Width = 762
Caption = '独立生产订单准备'
inherited Image2: TImage
Width = 762
end
end
inherited Pnl_Head: TPanel
Top = 60
Width = 762
Height = 86
inherited Image1: TImage
Width = 762
Height = 86
end
object Label1: TLabel
Left = 15
Top = 13
Width = 66
Height = 12
Caption = '生产订单号:'
TransParent = True
end
object Label2: TLabel
Left = 27
Top = 39
Width = 54
Height = 12
Caption = '受单部门:'
TransParent = True
end
object Label3: TLabel
Left = 197
Top = 15
Width = 54
Height = 12
Caption = '下单日期:'
TransParent = True
end
object Label4: TLabel
Left = 51
Top = 65
Width = 30
Height = 12
Caption = '备注:'
TransParent = True
end
object Lbl_DeptName: TLabel
Left = 335
Top = 20
Width = 6
Height = 12
TransParent = True
Visible = False
end
object Label5: TLabel
Left = 337
Top = 42
Width = 54
Height = 12
Caption = '销售类型:'
TransParent = True
Visible = False
end
object Lbl_SaleType: TLabel
Left = 250
Top = 60
Width = 6
Height = 12
Visible = False
end
object Label11: TLabel
Left = 337
Top = 13
Width = 54
Height = 12
Caption = '标准任务:'
TransParent = True
end
object Label6: TLabel
Left = 350
Top = 41
Width = 42
Height = 12
Caption = '参考号:'
TransParent = True
end
object Edt_MoNo: TEdit
Left = 84
Top = 10
Width = 72
Height = 20
Enabled = False
TabOrder = 0
end
object Medt_Modate: TMaskEdit
Left = 254
Top = 10
Width = 71
Height = 20
EditMask = '!9999.99.99;1;'
MaxLength = 10
TabOrder = 1
Text = ' . . '
OnExit = DateCheck
end
object Edt_MoRemArk: TEdit
Left = 84
Top = 60
Width = 558
Height = 20
MaxLength = 150
TabOrder = 8
end
object Edt_SysParamValuec: TEdit
Left = 451
Top = 35
Width = 170
Height = 20
Enabled = False
ReadOnly = True
TabOrder = 7
Visible = False
end
object Edt_DeptName: TEdit
Left = 136
Top = 35
Width = 189
Height = 20
Enabled = False
ReadOnly = True
TabOrder = 4
end
object Cmbx_StandardFlag: TComboBox
Left = 400
Top = 8
Width = 50
Height = 22
Style = csOwnerDrawFixed
ItemHeight = 16
TabOrder = 2
end
object edt_DeptCode: TLinkEdit
Left = 84
Top = 35
Width = 50
Height = 20
LinkStyle = lsEllipsis
TabOrder = 3
OnButtonClick = DeptHint1
OnExit = Edt_DeptCodeExit
OnKeyDown = DeptHint
end
object edt_SysParamCode: TLinkEdit
Left = 400
Top = 35
Width = 50
Height = 20
LinkStyle = lsEllipsis
TabOrder = 6
Visible = False
OnButtonClick = edt_SysParamCodeButtonClick
OnExit = Edt_SysParamCodeExit
OnKeyDown = Edt_SysParamCodeKeyDown
end
object edt_rno: TEdit
Left = 400
Top = 35
Width = 87
Height = 20
TabOrder = 5
end
end
inherited Pnl_Hint: TPanel
Top = 408
Width = 762
Height = 37
inherited Image4: TImage
Width = 762
Height = 37
end
object Label7: TLabel
Left = 8
Top = 8
Width = 60
Height = 12
Caption = '物料标识:'
TransParent = True
end
object Lbl_ItemFlag: TLabel
Left = 72
Top = 8
Width = 6
Height = 12
TransParent = True
end
object Label9: TLabel
Left = 4
Top = 24
Width = 72
Height = 12
Caption = '约定交货量:'
TransParent = True
end
object Label10: TLabel
Left = 579
Top = 24
Width = 72
Height = 12
Caption = '约定开工日:'
TransParent = True
end
object DBText1: TDBText
Left = 72
Top = 24
Width = 42
Height = 12
AutoSize = True
DataField = 'MOQTY'
DataSource = DataSource
TransParent = True
end
object DBText2: TDBText
Left = 651
Top = 24
Width = 42
Height = 12
AutoSize = True
DataField = 'MOStArtWorkDate'
DataSource = DataSource
TransParent = True
end
end
inherited Pnl_Body: TPanel
Top = 146
Width = 762
Height = 262
inherited Image3: TImage
Width = 762
Height = 262
end
inherited DBGridEh: TDBGridEh
Width = 762
Height = 262
FrozenCols = 4
Columns = <
Item
FieldName = 'MoLineNO'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '订单行号'
Width = 29
KeyList.Strings = ()
end
Item
FieldName = 'ItemCode'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '物料代码'
Width = 125
KeyList.Strings = ()
end
Item
FieldName = 'ItemName'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '物料描述'
Width = 250
KeyList.Strings = ()
end
Item
Alignment = taCenter
FieldName = 'UomName'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '计量单位'
Width = 34
KeyList.Strings = ()
end
Item
FieldName = 'MOQTY'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '约定交货量'
Width = 70
KeyList.Strings = ()
end
Item
FieldName = 'MoNoFinishQTY'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '未结量'
Width = 70
KeyList.Strings = ()
end
Item
FieldName = 'MoLineSTATUS'
PickList.Strings = (
'1 系统建议'
'5 准备'
'6 下达'
'7 关闭'
'8 已结算')
Title.Alignment = taCenter
Title.Caption = '行状态'
Width = 45
KeyList.Strings = (
'1'
'5'
'6'
'7'
'8')
end
Item
Alignment = tArightJustify
FieldName = 'MOStArtWorkDate'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '约定开工日'
Width = 70
KeyList.Strings = ()
end
Item
Alignment = tArightJustify
FieldName = 'MoLineDATE'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '约定交货日'
Width = 70
KeyList.Strings = ()
end
Item
FieldName = 'ByProduct'
PickList.Strings = (
''
'是')
Width = 40
KeyList.Strings = (
'0'
'1')
end
Item
FieldName = 'BackFlush'
PickList.Strings = (
''
'是')
Width = 47
KeyList.Strings = (
'0'
'1')
end
Item
FieldName = 'RemArk'
PickList.Strings = ()
Title.Alignment = taCenter
Width = 108
KeyList.Strings = ()
end>
end
end
inherited ActionList: TActionList
inherited Act_Filter: TAction
Enabled = True
Visible = True
end
inherited Act_Order: TAction
Enabled = True
Visible = True
end
end
inherited AdoQry_Body: TAdoQuery
ConnectionString =
'Provider=SQLOLEDB.1;Password=mdrcmrm;Persist Security Info=True;' +
'User ID=mdrcmrm;Initial Catalog=Mrpii_Standard;Data Source=ZHENG' +
'JIArONG'
SQL.Strings = (
'select MoLine.*,Item.ItemName,Uom.UomName from MoLine join Item '
'on MoLine.ItemCode=Item.ItemCode left outer join Uom on Item.Uom' +
'Code=Uom.UomCode')
Left = 176
Top = 249
object AdoQry_BodyMONO: TStringField
FieldName = 'MONO'
Size = 16
end
object AdoQry_BodyMoLineNO: TIntegerField
FieldName = 'MoLineNO'
end
object AdoQry_BodyItemCode: TStringField
FieldName = 'ItemCode'
Size = 16
end
object AdoQry_BodyMOQTY: TFloatField
FieldName = 'MOQTY'
DisplayFormat = '#,##0.##'
end
object AdoQry_BodyMoLineDATE: TDateTimeField
FieldName = 'MoLineDATE'
DisplayFormat = 'yyyy.mm.dd'
end
object AdoQry_BodyMoNoFinishQTY: TFloatField
FieldName = 'MoNoFinishQTY'
DisplayFormat = '#,##0.##'
end
object AdoQry_BodyMoLineSTATUS: TIntegerField
FieldName = 'MoLineSTATUS'
end
object AdoQry_BodyItemName: TStringField
FieldName = 'ItemName'
Size = 60
end
object AdoQry_BodyMOStArtWorkDate: TDateTimeField
FieldName = 'MOStArtWorkDate'
Origin = 'MoLine'
DisplayFormat = 'yyyy.mm.dd'
end
object AdoQry_BodyUomName: TStringField
FieldName = 'UomName'
Origin = 'Uom'
Size = 10
end
object AdoQry_BodyByProduct: TIntegerField
DisplayLabel = '是否副产品'
FieldName = 'ByProduct'
end
object AdoQry_BodyParentMoLineNo: TIntegerField
FieldName = 'ParentMoLineNo'
end
object AdoQry_BodyMoRealInQty: TFloatField
FieldName = 'MoRealInQty'
end
object AdoQry_BodyMoInQty: TFloatField
FieldName = 'MoInQty'
end
object AdoQry_BodyMoLineCheck: TIntegerField
FieldName = 'MoLineCheck'
end
object AdoQry_BodySSQty: TFloatField
FieldName = 'SSQty'
end
object AdoQry_BodyCloseRemArk: TStringField
FieldName = 'CloseRemArk'
Size = 60
end
object AdoQry_BodyBilllineremArk: TStringField
FieldName = 'BilllineremArk'
Size = 250
end
object AdoQry_BodyBackFlush: TIntegerField
DisplayLabel = '是否拉式领料'
FieldName = 'BackFlush'
end
object AdoQry_BodyRemArk: TStringField
DisplayLabel = '备注'
FieldName = 'RemArk'
Size = 30
end
end
inherited DataSource: TDataSource
OnDataChange = DataSourceDataChange
end
object AdoQry_Temp: TAdoQuery
Parameters = <>
Left = 240
Top = 230
end
end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?