📄 pm_qry_po.dfm
字号:
inherited Frm_Pm_Qry_Po: TFrm_Pm_Qry_Po
Left = 36
Top = 101
Caption = '采购订单列表'
ClientHeight = 433
ClientWidth = 720
OnDestroy = FormDestroy
PixelsPerInch = 96
TextHeight = 12
inherited ControlBar: TControlBar
Width = 720
inherited ToolBar: TToolBar
inherited TlBtn_New: TToolButton
Visible = False
end
inherited TlBtn_Modify: TToolButton
Visible = False
end
inherited TlBtn_Delete: TToolButton
Visible = False
end
end
end
inherited Pnl_Title: TPanel
Width = 720
Caption = '采购订单列表'
inherited Image2: TImage
Width = 720
end
end
inherited Pnl_Head: TPanel
Width = 720
inherited Image1: TImage
Width = 720
end
inherited Lbl_Condition: TLabel
Width = 36
Caption = '未关闭'
end
inherited Lbl_Order: TLabel
Width = 114
Caption = '物料代码/约定交货日'
end
end
inherited Pnl_Hint: TPanel
Top = 376
Width = 720
Height = 57
inherited Image4: TImage
Width = 720
Height = 57
end
object Label3: TLabel
Left = 560
Top = 8
Width = 48
Height = 12
Caption = '行状态:'
end
object dbtxTEmployeeflag: TDBText
Left = 96
Top = 8
Width = 102
Height = 12
AutoSize = True
DataField = 'Employeeflag'
DataSource = DataSource
end
object dbtxtVendorflag: TDBText
Left = 96
Top = 24
Width = 90
Height = 12
AutoSize = True
DataField = 'Vendorflag'
DataSource = DataSource
end
object dbtxtItemflag: TDBText
Left = 96
Top = 40
Width = 78
Height = 12
AutoSize = True
DataField = 'Itemflag'
DataSource = DataSource
end
object Label1: TLabel
Left = 30
Top = 40
Width = 60
Height = 12
Caption = '物料标识:'
end
object Label2: TLabel
Left = 18
Top = 24
Width = 72
Height = 12
Caption = '供应商标识:'
end
object Label4: TLabel
Left = 18
Top = 8
Width = 72
Height = 12
Caption = '业务员标识:'
end
object Label5: TLabel
Left = 608
Top = 8
Width = 6
Height = 12
end
end
inherited Pnl_Body: TPanel
Width = 720
Height = 279
inherited Image3: TImage
Width = 720
Height = 279
end
inherited DBGridEh: TDBGridEh
Width = 720
Height = 279
FrozenCols = 5
Columns = <
Item
FieldName = 'Employeeflag'
PickList.Strings = ()
Width = 70
KeyList.Strings = ()
end
Item
FieldName = 'EmployeeCode'
PickList.Strings = ()
Width = 65
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'EmployeeName'
PickList.Strings = ()
Width = 67
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'pcno'
PickList.Strings = ()
Width = 65
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'PoNo'
PickList.Strings = ()
Title.Alignment = taCenter
Width = 80
KeyList.Strings = ()
end
Item
FieldName = 'POLINENo'
PickList.Strings = ()
Title.Caption = '订单行号'
Width = 51
KeyList.Strings = ()
end
Item
FieldName = 'podate'
PickList.Strings = ()
Width = 68
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'Vendorflag'
PickList.Strings = ()
Width = 126
KeyList.Strings = ()
end
Item
FieldName = 'VendorCode'
PickList.Strings = ()
Title.Alignment = taCenter
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'VendorName'
PickList.Strings = ()
Title.Alignment = taCenter
Width = 82
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'Itemflag'
PickList.Strings = ()
Width = 147
KeyList.Strings = ()
end
Item
FieldName = 'ItemCode'
PickList.Strings = ()
Title.Alignment = taCenter
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'ItemName'
PickList.Strings = ()
Title.Alignment = taCenter
Width = 200
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'POStArtWorkDate'
PickList.Strings = ()
Width = 67
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'POLineDATE'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '约定交货日'
Width = 80
KeyList.Strings = ()
end
Item
FieldName = 'POQTY'
PickList.Strings = ()
Title.Alignment = taCenter
KeyList.Strings = ()
end
Item
FieldName = 'POInQty'
PickList.Strings = ()
Width = 51
KeyList.Strings = ()
end
Item
FieldName = 'PONoFinishQty'
PickList.Strings = ()
Title.Alignment = taCenter
Width = 51
KeyList.Strings = ()
end
Item
FieldName = 'POLINESTATUS'
PickList.Strings = (
'5 准备'
'6 下达'
'7 关闭'
'8 永久关闭')
Width = 45
KeyList.Strings = (
'5'
'6'
'7'
'8')
end
Item
FieldName = 'PoType'
PickList.Strings = (
'普通采购'
'委外加工'
'进口采购')
Title.Alignment = taCenter
KeyList.Strings = (
'0'
'1'
'2')
end
Item
FieldName = 'POREFERENCEDPRICE'
PickList.Strings = (
'否'
'是')
KeyList.Strings = (
'0'
'1')
end
Item
FieldName = 'PoTaxPrice'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '含税价'
Width = 45
KeyList.Strings = ()
end
Item
FieldName = 'PoTaxAmount'
PickList.Strings = ()
Title.Alignment = taCenter
Width = 59
KeyList.Strings = ()
end
Item
FieldName = 'PoNoTaxPrice'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '未税价'
Width = 39
KeyList.Strings = ()
end
Item
FieldName = 'PONoTaxAmount'
PickList.Strings = ()
Title.Alignment = taCenter
Width = 57
KeyList.Strings = ()
end>
end
end
inherited AdoQry_Tmp: TAdoQuery
Left = 309
Top = 251
end
inherited ActionList: TActionList
Top = 264
inherited Act_Look: TAction
Enabled = True
Visible = True
end
end
inherited AdoQry_Main: TAdoQuery
Connection = Frm_Main.AdOConnectMain
ConnectionString = ''
CurSorType = ctStatic
AfterScroll = AdoQry_MainAfterScroll
SQL.Strings = (
'Select Po.PoNo,po.Vendorordinal,po.podate,Po.EmployeeCode,Employ' +
'ee.EmployeeName,'
' Po.VendorCode,Po.PoType,po.pcno,PoLine.*,Item.ItemCode,'
' Item.ItemName,Item.UomCode,Uom.UomName,Vendor.VendorName,'
' Employeeflag=po.EmployeeCode+'#39' '#39'+Employee.EmployeeName,'
' Vendorflag=po.VendorCode+'#39' '#39'+Vendor.VendorName,'
' Itemflag=poline.ItemCode+'#39' '#39'+Item.ItemName'
'From PoLine '
' Join Item On PoLine.ItemCode=Item.ItemCode'
' Join Po On PoLine.PoNo=Po.PoNo'
' left outer join Employee on Po.EmployeeCode=Employee.Employee' +
'Code'
' Left Join Vendor On Po.VendorCode=Vendor.VendorCode'
' Left Outer Join Uom On Item.UomCode=Uom.UomCode')
Left = 448
Top = 201
object AdoQry_MainEmployeeCode: TStringField
DisplayLabel = '采购员代码'
FieldName = 'EmployeeCode'
Origin = 'po'
Size = 30
end
object AdoQry_MainEmployeeName: TStringField
DisplayLabel = '采购员名称'
FieldName = 'EmployeeName'
Origin = 'Employee'
Size = 60
end
object AdoQry_MainPoNo: TStringField
DisplayLabel = '采购订单号'
FieldName = 'PoNo'
Origin = 'po'
Size = 16
end
object AdoQry_MaInvendorCode: TStringField
DisplayLabel = '供应商代码'
FieldName = 'VendorCode'
Origin = 'po'
Size = 12
end
object AdoQry_MaInvendorName: TStringField
DisplayLabel = '供应商名称'
FieldName = 'VendorName'
Origin = 'Vendor'
Size = 60
end
object AdoQry_MainItemCode: TStringField
DisplayLabel = '物料代码'
FieldName = 'ItemCode'
Origin = 'Item'
Size = 16
end
object AdoQry_MainItemName: TStringField
DisplayLabel = '物料描述'
FieldName = 'ItemName'
Origin = 'Item'
Size = 30
end
object AdoQry_MainPOLineDATE: TDateTimeField
DisplayLabel = '约定交货日期'
FieldName = 'POLineDATE'
Origin = 'poline'
end
object AdoQry_MainPOQTY: TFloatField
DisplayLabel = '约定交货量'
FieldName = 'POQTY'
Origin = 'poline'
end
object AdoQry_MainPONoFinishQty: TFloatField
DisplayLabel = '未结量'
FieldName = 'PONoFinishQty'
Origin = 'poline'
end
object AdoQry_MainPoTaxPrice: TFloatField
DisplayLabel = '含税价格'
FieldName = 'PoTaxPrice'
Origin = 'poline'
DisplayFormat = '##.##'
end
object AdoQry_MainPoTaxAmount: TBCDField
DisplayLabel = '含税金额'
FieldName = 'PoTaxAmount'
Origin = 'poline'
DisplayFormat = '##.##'
Precision = 18
Size = 2
end
object AdoQry_MainPoNoTaxPrice: TFloatField
DisplayLabel = '未税单价'
FieldName = 'PoNoTaxPrice'
Origin = 'poline'
DisplayFormat = '##.##'
end
object AdoQry_MainPONoTaxAmount: TBCDField
DisplayLabel = '未税金额'
FieldName = 'PONoTaxAmount'
Origin = 'poline'
DisplayFormat = '##.##'
Precision = 18
Size = 0
end
object AdoQry_MainPoType: TIntegerField
DisplayLabel = '订单类型'
FieldName = 'PoType'
Origin = 'po'
end
object AdoQry_MainPONO_1: TStringField
FieldName = 'PONO_1'
Size = 16
end
object AdoQry_MainPOLINENo: TIntegerField
DisplayLabel = '行号'
FieldName = 'POLINENo'
Origin = 'poline'
end
object AdoQry_MainPOREFERENCEDPRICE: TIntegerField
DisplayLabel = '是否参考价'
FieldName = 'POREFERENCEDPRICE'
end
object AdoQry_MainPOStArtWorkDate: TDateTimeField
DisplayLabel = '约定开工日'
FieldName = 'POStArtWorkDate'
end
object AdoQry_MainItemCode_1: TStringField
FieldName = 'ItemCode_1'
Size = 16
end
object AdoQry_MainUomCode: TStringField
FieldName = 'UomCode'
Size = 4
end
object AdoQry_MainUomName: TStringField
FieldName = 'UomName'
Size = 10
end
object AdoQry_Mainpodate: TDateTimeField
DisplayLabel = '下单日期'
FieldName = 'podate'
end
object AdoQry_Mainpcno: TStringField
DisplayLabel = '采购合同号'
FieldName = 'pcno'
Size = 16
end
object AdoQry_MainEmployeeflag: TStringField
DisplayLabel = '采购员标识'
FieldName = 'Employeeflag'
ReadOnly = True
Size = 91
end
object AdoQry_MaInvendorflag: TStringField
DisplayLabel = '供应商标识'
FieldName = 'Vendorflag'
ReadOnly = True
Size = 73
end
object AdoQry_MainItemflag: TStringField
DisplayLabel = '物料标识'
FieldName = 'Itemflag'
ReadOnly = True
Size = 77
end
object AdoQry_MainPOInQty: TFloatField
DisplayLabel = '待检量'
FieldName = 'POInQty'
end
object AdoQry_MainPOLINESTATUS: TIntegerField
DisplayLabel = '行状态'
FieldName = 'POLINESTATUS'
Origin = 'poline'
end
object AdoQry_MaInvendorordinal: TIntegerField
DisplayLabel = '供应商订单序列号'
FieldName = 'Vendorordinal'
Origin = 'po'
end
end
inherited DataSource: TDataSource
Left = 368
Top = 281
end
inherited ExtPrintReport: TExtPrintReport
Left = 112
Top = 265
end
inherited PopuPmenu: TPopuPmenu
Left = 272
Top = 305
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -