📄 pm_enter_newsspoinfo3.dfm
字号:
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 = 200
KeyList.Strings = ()
end
Item
Alignment = taCenter
FieldName = 'UomName'
PickList.Strings = ()
ReadOnly = True
Title.Alignment = taCenter
Title.Caption = '单位'
Width = 40
KeyList.Strings = ()
end
Item
FieldName = 'SSSysInfoFlag'
PickList.Strings = (
'1 应下达'
'2 应取消'
'3 应关闭'
'4 应重排'
'5 应调整')
Title.Caption = '建议信息'
Visible = False
KeyList.Strings = (
'1'
'2'
'3'
'4'
'5')
end
Item
FieldName = 'SSQty'
PickList.Strings = ()
ReadOnly = True
Title.Alignment = taCenter
Title.Caption = '约定交货量'
Width = 70
KeyList.Strings = ()
end
Item
FieldName = 'ReMainQty'
PickList.Strings = ()
ReadOnly = True
Title.Alignment = taCenter
Title.Caption = '系统建议余量'
Width = 75
KeyList.Strings = ()
end
Item
FieldName = 'DueDate'
PickList.Strings = ()
ReadOnly = True
Title.Alignment = taCenter
Title.Caption = '约定开工日'
Width = 70
KeyList.Strings = ()
end
Item
Alignment = tArightJustify
FieldName = 'SSDate'
PickList.Strings = ()
ReadOnly = True
Title.Alignment = taCenter
Title.Caption = '约定交货日'
Width = 70
KeyList.Strings = ()
end
Item
FieldName = 'OrderNo'
PickList.Strings = ()
ReadOnly = True
Title.Alignment = taCenter
Title.Caption = '采购订单号'
Width = 78
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'OrderLineNo'
PickList.Strings = ()
ReadOnly = True
Title.Alignment = taCenter
Title.Caption = '订单行号'
Width = 55
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'OrderLineStatus'
PickList.Strings = (
'1 系统建议'
'5 准备'
'6 下达'
'7 关闭'
'8 永久关闭')
ReadOnly = True
Title.Alignment = taCenter
Title.Caption = '行状态'
Width = 75
Visible = False
KeyList.Strings = (
'1'
'5'
'6'
'7'
'8')
end
Item
FieldName = 'PmCode'
PickList.Strings = (
'0 制造'
'1 采购'
'2 委外'
'3 既制造又委外')
Title.Caption = '制购码'
KeyList.Strings = (
'0'
'1'
'2'
'3')
end>
end
end
inherited AdoQry_Tmp: TAdoQuery
Left = 389
Top = 259
end
inherited ActionList: TActionList
Left = 274
Top = 259
inherited Act_Look: TAction
Caption = '主生产计划查询'
Hint = '主生产计划查询(Enter)'
end
inherited Act_Check: TAction
Hint = '全选'
OnExecute = Act_CheckExecute
end
inherited Act_auto: TAction
Caption = '按供应商比例分配'
Hint = '按供应商比例分配'
OnExecute = Act_autoExecute
end
end
inherited AdoQry_Main: TAdoQuery
CurSorType = ctStatic
BeforeInsert = AdoQry_MainBeforeInsert
BeforeEdit = AdoQry_MainBeforeEdit
AfterPost = AdoQry_MainAfterPost
SQL.Strings = (
'Select SS.*,Item.ItemName,Item.PmCode,Item.Qclt,Item.UomCode,Uom' +
'.UomName,SysSsInfo.SsName,'
' Item.ItemCode+'#39' '#39'+Item.ItemName As Itemflag,PcNo='#39'待分配 ' +
' '#39
',Vendor.VendorCode,Vendor.VendorName,'
'Vendor.VendorCode+'#39' '#39'+Vendor.VendorName As VendorFlag'
' From SS'
'Join Item On SS.ItemCode=Item.ItemCode'
'Join Uom On Item.UomCode=Uom.UomCode'
'And (PmType=1 Or PmType=2)'
'And (SScheck=0)'
'Left Join Vendor On Ss.DeptVendorCode=Vendor.VendorCode '
'Join SysSsInfo On Ss.SSSysInfoFlag=SysSsInfo.SSCode'
'Order By Ss.ItemCode,ss.SSDate')
Left = 384
Top = 170
object AdoQry_MainSSId: TAutoIncField
FieldName = 'SSId'
Origin = '#Ss'
ReadOnly = True
end
object AdoQry_MainItemCode: TStringField
FieldName = 'ItemCode'
Origin = '#Ss'
Size = 16
end
object AdoQry_MainSSSysInfoFlag: TIntegerField
FieldName = 'SSSysInfoFlag'
Origin = '#Ss'
end
object AdoQry_MaInOrderNo: TStringField
FieldName = 'OrderNo'
Origin = '#Ss'
Size = 16
end
object AdoQry_MaInOrderLineNo: TIntegerField
FieldName = 'OrderLineNo'
Origin = '#Ss'
end
object AdoQry_MainSSDate2: TDateTimeField
FieldName = 'SSDate'
Origin = '#Ss'
DisplayFormat = 'yy.mm.dd'
end
object AdoQry_MainSSDate: TDateTimeField
FieldName = 'realreleasedate'
Origin = '#Ss'
DisplayFormat = 'yy.mm.dd'
end
object AdoQry_MainSSQty: TFloatField
FieldName = 'SSQty'
Origin = '#Ss'
DisplayFormat = '#,##0'
end
object AdoQry_MainPmType: TIntegerField
FieldName = 'PmType'
Origin = '#Ss'
end
object AdoQry_MainSScheck: TIntegerField
FieldName = 'SScheck'
Origin = '#Ss'
end
object AdoQry_MainGrossRequireQty: TFloatField
FieldName = 'GrossRequireQty'
Origin = '#Ss'
DisplayFormat = '#,##0'
end
object AdoQry_MainItemName: TStringField
FieldName = 'ItemName'
Origin = '#Ss'
Size = 60
end
object AdoQry_MainUomCode: TStringField
FieldName = 'UomCode'
Origin = '#Ss'
Size = 4
end
object AdoQry_MainUomName: TStringField
FieldName = 'UomName'
Origin = '#Ss'
Size = 10
end
object AdoQry_MaInOrderLineStatus: TIntegerField
FieldName = 'OrderLineStatus'
Origin = '#Ss'
end
object AdoQry_MainItemflag: TStringField
FieldName = 'Itemflag'
Origin = '#Ss'
ReadOnly = True
Size = 77
end
object AdoQry_MainSsName: TStringField
FieldName = 'SsName'
Origin = '#Ss'
Size = 60
end
object AdoQry_MainDeptVendorCode: TStringField
FieldName = 'DeptVendorCode'
Origin = '#Ss'
Size = 12
end
object AdoQry_MainPcNo: TStringField
FieldName = 'PcNo'
Origin = '#Ss'
ReadOnly = True
Size = 15
end
object AdoQry_MainPmCode: TIntegerField
FieldName = 'PmCode'
Origin = '#Ss'
end
object AdoQry_MaInvendorCode: TStringField
FieldName = 'VendorCode'
Origin = '#Ss'
Size = 12
end
object AdoQry_MaInvendorName: TStringField
FieldName = 'VendorName'
Origin = '#Ss'
Size = 60
end
object AdoQry_MaInvendorFlag: TStringField
FieldName = 'VendorFlag'
Origin = '#Ss'
ReadOnly = True
Size = 73
end
object AdoQry_MainEmployeeCode: TStringField
FieldName = 'EmployeeCode'
Origin = '#Ss'
end
object AdoQry_MainEmployeeName: TStringField
FieldName = 'EmployeeName'
Origin = '#Ss'
end
object AdoQry_MainEmployeeFlag: TStringField
FieldName = 'EmployeeFlag'
Origin = '#Ss'
Size = 40
end
object AdoQry_MainDueDate: TDateTimeField
FieldName = 'DueDate'
Origin = '#Ss'
DisplayFormat = 'yy.mm.dd'
end
object AdoQry_MainReMainQty: TFloatField
FieldName = 'ssReMainQty'
Origin = '#Ss'
end
object AdoQry_MainQclt: TIntegerField
FieldName = 'Qclt'
Origin = '#Ss'
end
object AdoQry_MainReMainQty2: TFloatField
FieldName = 'ReMainQty'
Origin = '#Ss'
end
end
inherited DataSource: TDataSource
Left = 512
Top = 257
end
inherited ExtPrintReport: TExtPrintReport
Left = 119
Top = 256
end
inherited PopuPmenu: TPopuPmenu
Left = 227
Top = 255
end
object AdoQry_Loop: TAdoQuery
Parameters = <>
Left = 320
Top = 209
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -