📄 inv_opvendorinvqry.dfm
字号:
inherited Frm_Inv_OpVendorInvQry: TFrm_Inv_OpVendorInvQry
Left = 16
Caption = '委外加工材料分供应商结存表'
ClientHeight = 553
ClientWidth = 800
PixelsPerInch = 96
TextHeight = 12
inherited ControlBar: TControlBar
Width = 800
end
inherited Pnl_Title: TPanel
Width = 800
Caption = '委外加工材料分供应商结存表'
inherited Image2: TImage
Width = 800
end
end
inherited Pnl_Head: TPanel
Width = 800
inherited Image1: TImage
Width = 800
end
object lbl_SumAmount: TLabel
Left = 593
Top = 18
Width = 78
Height = 12
Caption = 'lbl_SumAmount'
end
object Label1: TLabel
Left = 484
Top = 19
Width = 108
Height = 12
Caption = '库存未税金额合计:'
end
end
inherited Pnl_Hint: TPanel
Top = 524
Width = 800
Height = 29
inherited Image4: TImage
Width = 800
Height = 29
end
object Label2: TLabel
Left = 492
Top = 9
Width = 60
Height = 12
Caption = '金额合计:'
end
object Edit1: TEdit
Left = 552
Top = 5
Width = 121
Height = 20
ReadOnly = True
TabOrder = 0
end
end
inherited Pnl_Body: TPanel
Width = 800
Height = 427
inherited Image3: TImage
Width = 800
Height = 427
end
inherited DBGridEh: TDBGridEh
Width = 800
Height = 427
Columns = <
Item
FieldName = 'VendorCodeName'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '供应商标识'
Width = 200
KeyList.Strings = ()
end
Item
FieldName = 'ItemCodeName'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '物料标识'
Width = 300
KeyList.Strings = ()
end
Item
FieldName = 'opInv'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '库存数量'
Width = 80
KeyList.Strings = ()
end
Item
FieldName = 'opAveragePrice'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '未税价'
Width = 80
KeyList.Strings = ()
end
Item
FieldName = 'Amount'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '未税额'
Width = 80
KeyList.Strings = ()
end>
end
end
inherited AdoQry_Main: TAdoQuery
AutoCalcFields = False
ConnectionString =
'Provider=SQLOLEDB.1;Password=mdrcmrm;Persist Security Info=True;' +
'User ID=mdrcmrm;Initial Catalog=mdrcmrm_test_zcw;Data Source=NT2'
CurSorType = ctStatic
SQL.Strings = (
'select opCurrentInv.VendorCode,'
' opCurrentInv.VendorCode+'#39' '#39'+Vendor.vendo' +
'rName as VendorCodeName, '
' opCurrentInv.ItemCode,'
' opCurrentInv.ItemCode+'#39' '#39'+Item.ItemName ' +
'as ItemCodeName,'
' opCurrentInv.opInv,'
' opAveragePrice.opAveragePrice,'
' round(opCurrentInv.opInv*opAveragePrice.' +
'opAveragePrice,2) as Amount'
' from opCurrentInv '
' left join opAveragePrice '
' on opCurrentInv.VendorCode=opAveragep' +
'rice.VendorCode and '
' opCurrentInv.ItemCode=opAveragepri' +
'ce.ItemCode '
' left join Vendor '
' on opCurrentInv.VendorCode=Vendor.ven' +
'dorCode '
' left join Item '
' on opCurrentInv.ItemCode=Item.Itemcod' +
'e ')
end
inherited ExtPrintReport: TExtPrintReport
PAperType = ptNArrow
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -