inv_otheropout_h.dfm
来自「一个MRPII系统源代码版本」· DFM 代码 · 共 154 行
DFM
154 行
inherited Frm_Inv_OtherOpOut_H: TFrm_Inv_OtherOpOut_H
Left = 4
Top = 143
Caption = '其它委外领料'
Windowstate = wsMaximized
PixelsPerInch = 96
TextHeight = 12
inherited ControlBar: TControlBar
inherited ToolBar: TToolBar
inherited TlBtn_Delete: TToolButton
Enabled = False
Visible = False
end
end
end
inherited Pnl_Title: TPanel
Caption = '无订单委外发料'
end
inherited Pnl_Head: TPanel
inherited Lbl_Order: TLabel
Width = 72
Caption = '仓库,单据号'
end
end
inherited Pnl_Body: TPanel
inherited DBGridEh: TDBGridEh
OnDblClick = Act_LookExecute
Columns = <
Item
FieldName = 'VendorFlag'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '供应商标识'
Width = 202
KeyList.Strings = ()
end
Item
FieldName = 'InvBillId'
PickList.Strings = ()
Title.Alignment = taCenter
WordWrAp = True
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'WhCodeName'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '仓库'
Width = 133
KeyList.Strings = ()
end
Item
FieldName = 'InvBillNo'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '单据号'
Width = 89
KeyList.Strings = ()
end
Item
FieldName = 'InvBillDate'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '单据日期'
Width = 88
KeyList.Strings = ()
end
Item
FieldName = 'WhPositionName'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '货位'
Width = 150
KeyList.Strings = ()
end>
end
end
inherited ActionList: TActionList
inherited Act_Modify: TAction
Enabled = False
Visible = False
end
end
inherited AdoQry_Head: TAdoQuery
ConnectionString =
'Provider=SQLOLEDB.1;Password=mdrcmrm;Persist Security Info=True;' +
'User ID=mdrcmrm;Initial Catalog=mdrcmrm_B;Data Source=192.168.0.' +
'151;Use procedure for Prepare=1;Auto Translate=True;Packet Size=' +
'4096;Workstation ID=XYB'
SQL.Strings = (
'select B.InvBillId ,'
'B.WhCode+'#39' '#39'+Warehouse.WHName As WhCodeName,'
'B.InvBillNo,B.InvBillRemArk,'
'B.InvBillDate,B.PriceAdjustBill,'
' B.BillType2Code+'#39' '#39'+BillType2.BillType2Name As BillType2CodeNam' +
'e,'
'B.WhPositionCode+'#39' '#39'+WhPosition.WhPositionName As WhPositionName' +
','
'B.VendorCode+'#39' '#39'+V.VendorName VendorFlag '
'from InvOutBill B left join Dept D on B.DeptCode=D.DeptCode'
' left join customer C on B.customerCode=C.customerCode left join' +
' Vendor V on B.VendorCode=V.VendorCode Join BillType2 on B.BillT' +
'Ype2Code=BillType2.BillType2Code Join WhPosition on B.WhPosition' +
'Code=WhPosition.WhPositionCode Join Warehouse on (Warehouse.WhCo' +
'de=B.WhCode) and (b.BillTypeCode='#39'0249'#39') and (b.InvBillwhchck=' +
'0) and (B.InvBillWhChck=0)'
' ')
object AdoQry_HeadInvBillId: TFloatField
FieldName = 'InvBillId'
ReadOnly = True
end
object AdoQry_HeadWhCodeName: TStringField
FieldName = 'WhCodeName'
ReadOnly = True
Size = 45
end
object AdoQry_HeadInvBillNo: TStringField
FieldName = 'InvBillNo'
Origin = 'InvOutBill'
Size = 10
end
object AdoQry_HeadInvBillDate: TDateTimeField
FieldName = 'InvBillDate'
Origin = 'InvOutBill'
end
object AdoQry_HeadBillType2CodeName: TStringField
FieldName = 'BillType2CodeName'
ReadOnly = True
Size = 25
end
object AdoQry_HeadWhPositionName: TStringField
FieldName = 'WhPositionName'
ReadOnly = True
Size = 45
end
object AdoQry_HeadVendorFlag: TStringField
FieldName = 'VendorFlag'
ReadOnly = True
Size = 73
end
object AdoQry_HeadPriceAdjustBill: TIntegerField
FieldName = 'PriceAdjustBill'
end
object AdoQry_HeadInvBillRemArk: TStringField
FieldName = 'InvBillRemArk'
Size = 250
end
end
end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?