📄 mrp_enter_newclosemo.dfm
字号:
inherited Frm_Mrp_Enter_NewCloseMo: TFrm_Mrp_Enter_NewCloseMo
Left = 9
Top = 67
Caption = '生产订单关闭'
OnDestroy = FormDestroy
PixelsPerInch = 96
TextHeight = 12
inherited ControlBar: TControlBar
inherited ToolBar: TToolBar
inherited TlBtn_Check: TToolButton
Hint = '关闭'
Caption = '关闭'
end
inherited TlBtn_CancelCheck: TToolButton
Hint = '打开'
Caption = '打开'
end
end
end
inherited Pnl_Title: TPanel
Caption = '生产订单关闭'
end
inherited Pnl_Head: TPanel
inherited Lbl_Condition: TLabel
Width = 90
Caption = '(行状态=6 下达)'
end
inherited Lbl_Order: TLabel
Width = 156
Caption = '部门代码/下单日期/生产单号'
end
end
inherited Pnl_Hint: TPanel
Top = 388
Height = 53
inherited Image4: TImage
Height = 53
end
object Label1: TLabel
Left = 11
Top = 5
Width = 60
Height = 12
Caption = '物料标识:'
TransParent = True
end
object DBText1: TDBText
Left = 76
Top = 5
Width = 42
Height = 12
AutoSize = True
DataField = 'ItemFlag'
DataSource = DataSource
TransParent = True
end
object Label2: TLabel
Left = 655
Top = 5
Width = 72
Height = 12
Caption = '约定交货量:'
TransParent = True
end
object DBText2: TDBText
Left = 725
Top = 5
Width = 42
Height = 12
AutoSize = True
DataField = 'MOQTY'
DataSource = DataSource
TransParent = True
end
object Label3: TLabel
Left = 655
Top = 21
Width = 72
Height = 12
Caption = '约定交货日:'
TransParent = True
end
object DBText3: TDBText
Left = 725
Top = 21
Width = 42
Height = 12
AutoSize = True
DataField = 'MoLineDATE'
DataSource = DataSource
TransParent = True
end
object Label4: TLabel
Left = 10
Top = 18
Width = 60
Height = 12
Caption = '关闭备注:'
TransParent = True
end
object DBText4: TDBText
Left = 75
Top = 18
Width = 42
Height = 12
AutoSize = True
DataField = 'CloseRemArk'
DataSource = DataSource
TransParent = True
end
object Label5: TLabel
Left = 10
Top = 33
Width = 60
Height = 12
Caption = '部门标识:'
TransParent = True
end
object DBText5: TDBText
Left = 75
Top = 32
Width = 42
Height = 12
AutoSize = True
DataField = 'DeptFlag'
DataSource = DataSource
TransParent = True
end
object Label6: TLabel
Left = 242
Top = 33
Width = 72
Height = 12
Caption = '计划员标识:'
TransParent = True
end
object DBText6: TDBText
Left = 315
Top = 32
Width = 42
Height = 12
AutoSize = True
DataField = 'plaflag'
DataSource = DataSource
TransParent = True
end
object Label7: TLabel
Left = 466
Top = 33
Width = 36
Height = 12
Caption = '单位:'
TransParent = True
end
object DBText7: TDBText
Left = 507
Top = 32
Width = 42
Height = 12
AutoSize = True
DataField = 'UomName'
DataSource = DataSource
TransParent = True
end
end
inherited Pnl_Body: TPanel
Height = 291
inherited Image3: TImage
Height = 291
end
inherited DBGridEh: TDBGridEh
Height = 291
Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgConfirmDelete, dgCancelOnExit]
ReadOnly = False
OnDblClick = Act_LookExecute
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 = 30
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
FieldName = 'DeptFlag'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '部门标识'
Width = 69
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'Pla_EmployeeCode'
PickList.Strings = ()
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'plaflag'
PickList.Strings = ()
Width = 90
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'MODATE'
PickList.Strings = ()
ReadOnly = True
Title.Alignment = taCenter
Title.Caption = '下单日期'
Width = 67
KeyList.Strings = ()
end
Item
FieldName = 'MONO'
PickList.Strings = ()
ReadOnly = True
Title.Alignment = taCenter
Title.Caption = '生产订单号'
Width = 67
KeyList.Strings = ()
end
Item
FieldName = 'MoLineNO'
PickList.Strings = ()
ReadOnly = True
Title.Alignment = taCenter
Title.Caption = '订单行号'
Width = 55
KeyList.Strings = ()
end
Item
FieldName = 'MoLineSTATUS'
PickList.Strings = (
'1 系统建议'
'5 准备'
'6 下达'
'7 关闭'
'8 永久关闭')
ReadOnly = True
Title.Alignment = taCenter
Title.Caption = '行状态'
Width = 41
KeyList.Strings = (
'1'
'5'
'6'
'7'
'8')
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
FieldName = 'ItemFlag'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '物料标识'
Width = 187
KeyList.Strings = ()
end
Item
Alignment = taCenter
FieldName = 'UomName'
PickList.Strings = ()
ReadOnly = True
Title.Alignment = taCenter
Title.Caption = '单位'
Width = 29
Visible = False
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 = 66
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 = 'CloseRemArk'
PickList.Strings = ()
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 = 120
KeyList.Strings = ()
end
Item
FieldName = 'ReferenceNo'
PickList.Strings = ()
Width = 55
KeyList.Strings = ()
end>
end
end
inherited ActionList: TActionList
inherited Act_CancelCheck: TAction
OnExecute = Act_CancelCheckExecute
end
inherited Act_Look: TAction
Caption = '查看生产领料清单'
Enabled = True
Hint = '查看生产领料清单(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;Data Source=192.168.0.15' +
'1'
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 = '计划员标识'
FieldName = 'plaflag'
ReadOnly = True
Size = 91
end
object AdoQry_HeadPla_EmployeeCode: TStringField
DisplayLabel = '计划员代码'
FieldName = 'Pla_EmployeeCode'
Origin = 'Item'
Size = 30
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 + -