📄 mrp_enter_ssalternativeinfo.dfm
字号:
inherited Frm_Mrp_Enter_SsAlterNativeInfo: TFrm_Mrp_Enter_SsAlterNativeInfo
Left = 82
Top = 74
Caption = '替代件建议分配'
ClientWidth = 695
OnDestroy = FormDestroy
PixelsPerInch = 96
TextHeight = 12
inherited ControlBar: TControlBar
Width = 695
inherited ToolBar: TToolBar
inherited TlBtn_Modify: TToolButton
Visible = False
end
inherited TlBtn_Delete: TToolButton
Visible = False
end
inherited ToolButton6: TToolButton
Hint = '分配建议(Enter)'
Caption = '分配建议'
end
end
end
inherited Pnl_Title: TPanel
Width = 695
Caption = '替代件建议分配'
end
inherited Pnl_Head: TPanel
Width = 695
Height = 54
inherited Lbl_Order: TLabel
Width = 48
Caption = '物料标识'
end
object Label1: TLabel
Left = 17
Top = 35
Width = 126
Height = 12
Caption = 'Mrp展开运算开始时间:'
end
object lbl_RunMrpdate: TLabel
Left = 147
Top = 35
Width = 6
Height = 12
end
end
inherited Pnl_Hint: TPanel
Width = 695
end
inherited Pnl_Body: TPanel
Top = 111
Width = 695
Height = 292
inherited DBGridEh: TDBGridEh
Width = 695
Height = 292
Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgRowSelect, dgConfirmDelete, dgCancelOnExit]
ReadOnly = False
OnDblClick = Act_LookExecute
FrozenCols = 3
Columns = <
Item
FieldName = 'SScheck'
PickList.Strings = (
'1'
'0')
Title.Caption = '标记'
Title.Font.ChArset = GB2312_CHArSET
Title.Font.Color = clBlue
Title.Font.Height = -12
Title.Font.Name = '宋体'
Title.Font.Style = []
Width = 43
Visible = False
KeyList.Strings = (
'1'
'0')
Checkboxes = True
end
Item
FieldName = 'EmployeeCode'
PickList.Strings = ()
Title.Caption = '计划员代码'
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'EmployeeName'
PickList.Strings = ()
Title.Caption = '计划员名称'
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'EmployeeFlag'
PickList.Strings = ()
Title.Caption = '计划员ID'
Width = 84
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'DeptCode'
PickList.Strings = ()
Title.Caption = '部门代码'
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'DeptName'
PickList.Strings = ()
Title.Caption = '部门名称'
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'DeptFlag'
PickList.Strings = ()
Title.Caption = '部门标识'
Width = 122
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'ItemCode'
PickList.Strings = ()
Title.Caption = '物料代码'
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'ItemName'
PickList.Strings = ()
Title.Caption = '物料名称'
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'ItemFlag'
PickList.Strings = ()
Title.Caption = '物料标识'
Width = 165
KeyList.Strings = ()
end
Item
FieldName = 'UomName'
PickList.Strings = ()
Title.Caption = '单位'
Width = 32
KeyList.Strings = ()
end
Item
FieldName = 'ssflag'
PickList.Strings = ()
Title.Caption = '建议信息'
Width = 68
KeyList.Strings = ()
end
Item
FieldName = 'SSSysInfoFlag'
PickList.Strings = ()
Title.Caption = '建议信息 '
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'SSDate'
PickList.Strings = ()
Title.Caption = '约定交货日'
Width = 65
KeyList.Strings = ()
end
Item
FieldName = 'Sysqty'
PickList.Strings = ()
Title.Caption = '约定交货量'
KeyList.Strings = ()
end
Item
FieldName = 'ReMainQty'
PickList.Strings = ()
Title.Caption = '系统建议余量'
Width = 77
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'tMpssreMainqty'
PickList.Strings = ()
ReadOnly = True
Title.Caption = '系统建议余量 '
Width = 78
KeyList.Strings = ()
end
Item
FieldName = 'duedate'
PickList.Strings = ()
Title.Caption = '约定开工日'
Width = 65
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'OrderNo'
PickList.Strings = ()
Title.Caption = '生产订单号'
Width = 67
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'OrderLineNo'
PickList.Strings = ()
Title.Caption = '订单行号'
Width = 51
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'OrderLineStatus'
PickList.Strings = (
'5 准备'
'6 下达'
'7 关闭'
'8 永久关闭')
Title.Caption = '行状态'
Width = 46
Visible = False
KeyList.Strings = (
'5'
'6'
'7'
'8')
end>
end
end
inherited AdoQry_Tmp: TAdoQuery
Left = 197
Top = 147
end
inherited ActionList: TActionList
Left = 176
Top = 208
inherited Act_Look: TAction
Enabled = True
Visible = True
end
inherited Act_auto: TAction
Caption = '分配建议'
Hint = '分配建议(Enter)'
ShortCut = 0
OnExecute = Act_LookExecute
end
end
inherited AdoQry_Main: TAdoQuery
BeforeInsert = AdoQry_MainBeforeInsert
SQL.Strings = (
'select ss.*,Item.ItemName,Employee.EmployeeCode,'
' Item.PmCode,'
' Employee.EmployeeName,'
' Dept.DeptCode,Dept.DeptName,'
' Uom.UomName,'
' SysSsInfo.SSName,'
' tMpssreMainqty=convert(float,0),'
' Sysqty=ssqty,'
' ssflag=convert(varchAr,ss.ssSysInfoflag)+'#39' '#39'+SysssInfo.ssn' +
'ame,'
' Item.mnldtime,'#39' '#39'As EmployeeFlag,ss.DeptVendorCode+'#39' '#39 +
'+DeptName As DeptFlag,Item.ItemCode+'#39' '#39'+Item.ItemName As ItemFla' +
'g'
' from ss left outer join Item On ss.ItemCode=Item.ItemCode '
' left outer join Dept On ss.DeptVendorCode=Dept.Deptco' +
'de'
' left outer join Uom on Item.UomCode=Uom.UomCode '
' Join Employee On Employee.EmployeeCode=Item.Pla_Employ' +
'eeCode'
' Join SysSsInfo On Ss.SSSysInfoFlag=SysSsInfo.SSCode'
' ')
Left = 232
Top = 233
object AdoQry_MainSSId: TAutoIncField
FieldName = 'SSId'
Origin = '#tmpalterssInfoResult'
ReadOnly = True
end
object AdoQry_MainItemCode: TStringField
FieldName = 'ItemCode'
Origin = '#tmpalterssInfoResult'
ReadOnly = True
Size = 16
end
object AdoQry_MainSSSysInfoFlag: TIntegerField
FieldName = 'SSSysInfoFlag'
Origin = '#tmpalterssInfoResult'
ReadOnly = True
end
object AdoQry_MaInOrderNo: TStringField
Alignment = tArightJustify
FieldName = 'OrderNo'
Origin = '#tmpalterssInfoResult'
ReadOnly = True
Size = 16
end
object AdoQry_MaInOrderLineNo: TIntegerField
FieldName = 'OrderLineNo'
Origin = '#tmpalterssInfoResult'
ReadOnly = True
end
object AdoQry_MainSSDate: TDateTimeField
Alignment = tArightJustify
FieldName = 'SSDate'
Origin = '#tmpalterssInfoResult'
ReadOnly = True
DisplayFormat = 'yy.mm.dd'
end
object AdoQry_MainSSQty: TFloatField
FieldName = 'SSQty'
Origin = '#tmpalterssInfoResult'
ReadOnly = True
end
object AdoQry_MainPmType: TIntegerField
FieldName = 'PmType'
Origin = '#tmpalterssInfoResult'
ReadOnly = True
end
object AdoQry_MainSScheck: TIntegerField
FieldName = 'SScheck'
Origin = '#tmpalterssInfoResult'
end
object AdoQry_MainGrossRequireQty: TFloatField
FieldName = 'GrossRequireQty'
Origin = '#tmpalterssInfoResult'
ReadOnly = True
end
object AdoQry_MaInPlanInvQty: TFloatField
FieldName = 'PlanInvQty'
Origin = '#tmpalterssInfoResult'
ReadOnly = True
end
object AdoQry_MaInOrderLineStatus: TIntegerField
FieldName = 'OrderLineStatus'
Origin = '#tmpalterssInfoResult'
ReadOnly = True
end
object AdoQry_MainDeptVendorCode: TStringField
FieldName = 'DeptVendorCode'
Origin = '#tmpalterssInfoResult'
ReadOnly = True
Size = 12
end
object AdoQry_Mainduedate: TDateTimeField
Alignment = tArightJustify
FieldName = 'duedate'
Origin = '#tmpalterssInfoResult'
ReadOnly = True
DisplayFormat = 'yy.mm.dd'
end
object AdoQry_MainReMainQty: TFloatField
FieldName = 'ReMainQty'
Origin = '#tmpalterssInfoResult'
ReadOnly = True
end
object AdoQry_MainItemName: TStringField
FieldName = 'ItemName'
Origin = '#tmpalterssInfoResult'
ReadOnly = True
Size = 60
end
object AdoQry_MainEmployeeCode: TStringField
FieldName = 'EmployeeCode'
Origin = '#tmpalterssInfoResult'
ReadOnly = True
Size = 30
end
object AdoQry_MainEmployeeName: TStringField
FieldName = 'EmployeeName'
Origin = '#tmpalterssInfoResult'
ReadOnly = True
Size = 60
end
object AdoQry_MainDeptCode: TStringField
FieldName = 'DeptCode'
Origin = '#tmpalterssInfoResult'
ReadOnly = True
Size = 8
end
object AdoQry_MainDeptName: TStringField
FieldName = 'DeptName'
Origin = '#tmpalterssInfoResult'
ReadOnly = True
Size = 40
end
object AdoQry_MainUomName: TStringField
FieldName = 'UomName'
Origin = '#tmpalterssInfoResult'
ReadOnly = True
Size = 10
end
object AdoQry_MainSSName: TStringField
FieldName = 'SSName'
Origin = '#tmpalterssInfoResult'
ReadOnly = True
Size = 60
end
object AdoQry_Mainssflag: TStringField
FieldName = 'ssflag'
ReadOnly = True
Size = 91
end
object AdoQry_Mainmnldtime: TFloatField
FieldName = 'mnldtime'
ReadOnly = True
end
object AdoQry_MainEmployeeFlag: TStringField
FieldName = 'EmployeeFlag'
Origin = '#tmpalterssInfoResult'
ReadOnly = True
Size = 25
end
object AdoQry_MainDeptFlag: TStringField
FieldName = 'DeptFlag'
Origin = '#tmpalterssInfoResult'
ReadOnly = True
Size = 53
end
object AdoQry_MainItemFlag: TStringField
FieldName = 'ItemFlag'
Origin = '#tmpalterssInfoResult'
ReadOnly = True
Size = 77
end
object AdoQry_MaintMpssreMainqty: TFloatField
FieldName = 'tMpssreMainqty'
end
object AdoQry_MainPmCode: TIntegerField
FieldName = 'PmCode'
end
object AdoQry_MainSysqty: TFloatField
FieldName = 'Sysqty'
end
end
inherited DataSource: TDataSource
Left = 368
Top = 241
end
object AdOCommand: TAdOCommand
CommandTimeout = 0
Parameters = <>
Left = 112
Top = 243
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -