📄 inv_otherout_h.dfm
字号:
inherited Frm_Inv_OtherOut_H: TFrm_Inv_OtherOut_H
Left = -6
Top = 138
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 = 'WhCodeName'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '仓库'
Width = 117
KeyList.Strings = ()
end
Item
FieldName = 'InvBillNo'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '单据号'
Width = 100
KeyList.Strings = ()
end
Item
FieldName = 'InvBillDate'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '单据日期'
Width = 79
KeyList.Strings = ()
end
Item
FieldName = 'BillType2CodeName'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '出库类型'
Width = 76
KeyList.Strings = ()
end
Item
FieldName = 'WhPositionName'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '货位'
Width = 96
KeyList.Strings = ()
end
Item
FieldName = 'OutType'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '出库对象'
Width = 97
KeyList.Strings = ()
end
Item
FieldName = 'OutCode'
PickList.Strings = ()
Title.Caption = '出库对象代码'
Width = 74
KeyList.Strings = ()
end
Item
FieldName = 'OutName'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '出库对象描述'
Width = 116
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'
SQL.Strings = (
'select B.InvBillId ,'
'B.WhCode+'#39' '#39'+Warehouse.WHName As WhCodeName, '
'B.InvBillNo, '
'B.InvBillDate,'
'b.PriceAdjustBill,'
' B.BillType2Code+'#39' '#39'+BillType2.BillType2Name As BillType2CodeNam' +
'e, '
'B.WhPositionCode+'#39' '#39'+WhPosition.WhPositionName As WhPositionName' +
','
' OutType= '
'case '
'when B.DeptCode is not null then '#39'??'#39' '
'when B.customerCode is not null then '#39'??'#39
'when B.VendorCode is not null then '#39'???'#39' else '#39#39' end, '
'OutCode= case when B.DeptCode is not null then B.DeptCode '
'when B.customerCode is not null then B.customerCode '
'when B.VendorCode is not null then B.VendorCode else '#39#39' '
'end,'
' OutName= case when B.DeptCode is not null then D.DeptName '
'when B.customerCode is not null then C.customerName '
'when B.VendorCode is not null then V.VendorName else '#39#39' end '
'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: TBCDField
FieldName = 'InvBillId'
ReadOnly = True
Precision = 18
Size = 0
end
object AdoQry_HeadWhCodeName: TStringField
FieldName = 'WhCodeName'
ReadOnly = True
Size = 45
end
object AdoQry_HeadInvBillNo: TStringField
FieldName = 'InvBillNo'
Origin = 'B'
Size = 10
end
object AdoQry_HeadInvBillDate: TDateTimeField
FieldName = 'InvBillDate'
Origin = 'B'
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_HeadOutType: TStringField
DisplayWidth = 20
FieldName = 'OutType'
ReadOnly = True
end
object AdoQry_HeadOutCode: TStringField
FieldName = 'OutCode'
ReadOnly = True
Size = 12
end
object AdoQry_HeadOutName: TStringField
FieldName = 'OutName'
ReadOnly = True
Size = 60
end
object AdoQry_HeadInvBillRemArk: TStringField
FieldName = 'InvBillRemArk'
Size = 80
end
object AdoQry_HeadPriceAdjustBill: TIntegerField
FieldName = 'PriceAdjustBill'
end
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -