📄 pm_qry_printpo.dfm
字号:
inherited Frm_Pm_Qry_PrintPo: TFrm_Pm_Qry_PrintPo
Left = 69
Top = 105
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 = 60
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 dbtxtFinishrate: TDBText
Left = 604
Top = 7
Width = 90
Height = 12
AutoSize = True
DataField = 'linestatus'
DataSource = DataSource
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 = 12
Top = 40
Width = 84
Height = 12
Caption = '当前物料标识:'
end
object Label2: TLabel
Left = 0
Top = 24
Width = 96
Height = 12
Caption = '当前供应商标识:'
end
object Label4: TLabel
Left = 0
Top = 8
Width = 96
Height = 12
Caption = '当前业务员标识:'
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
ReadOnly = False
OnTitleClick = DBGridEhTitleClick
FrozenCols = 5
Columns = <
Item
FieldName = 'potmpflag'
PickList.Strings = (
'1'
'0')
Title.Alignment = taCenter
Title.Caption = '标记'
Title.Font.ChArset = GB2312_CHArSET
Title.Font.Color = clBlue
Title.Font.Height = -12
Title.Font.Name = '宋体'
Title.Font.Style = []
Width = 40
KeyList.Strings = (
'1'
'0')
Checkboxes = True
end
Item
FieldName = 'Employeeflag'
PickList.Strings = ()
Title.Alignment = taCenter
Width = 100
KeyList.Strings = ()
end
Item
FieldName = 'EmployeeCode'
PickList.Strings = ()
Title.Alignment = taCenter
Width = 65
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'EmployeeName'
PickList.Strings = ()
Title.Alignment = taCenter
Width = 67
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'pcno'
PickList.Strings = ()
Title.Alignment = taCenter
Width = 65
KeyList.Strings = ()
end
Item
FieldName = 'PoNo'
PickList.Strings = ()
Title.Alignment = taCenter
Width = 80
KeyList.Strings = ()
end
Item
FieldName = 'POLINENo'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '订单行号'
Width = 51
KeyList.Strings = ()
end
Item
FieldName = 'podate'
PickList.Strings = ()
Title.Alignment = taCenter
Width = 68
KeyList.Strings = ()
end
Item
FieldName = 'Vendorflag'
PickList.Strings = ()
Title.Alignment = taCenter
Width = 200
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 = ()
Title.Alignment = taCenter
Width = 200
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 = ()
Title.Alignment = taCenter
Width = 67
KeyList.Strings = ()
end
Item
FieldName = 'POLineDATE'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '约定交货日'
Width = 70
KeyList.Strings = ()
end
Item
FieldName = 'POQTY'
PickList.Strings = ()
Title.Alignment = taCenter
KeyList.Strings = ()
end
Item
FieldName = 'PONoFinishQty'
PickList.Strings = ()
Title.Alignment = taCenter
Width = 51
KeyList.Strings = ()
end
Item
FieldName = 'linestatus'
PickList.Strings = ()
Title.Alignment = taCenter
Width = 45
KeyList.Strings = ()
end
Item
FieldName = 'PoType'
PickList.Strings = (
'普通采购'
'委外加工'
'进口采购')
Title.Alignment = taCenter
KeyList.Strings = (
'0'
'1'
'2')
end
Item
FieldName = 'POREFERENCEDPRICE'
PickList.Strings = (
'否'
'是')
Title.Alignment = taCenter
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
end
end
inherited AdoQry_Main: TAdoQuery
Connection = Frm_Main.AdOConnectMain
ConnectionString = ''
CurSorType = ctStatic
SQL.Strings = (
'Select po.potmpflag,Po.PoNo,po.podate,Po.EmployeeCode,Employee.E' +
'mployeeName,'
' 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,'
' linestatus=case poline.polinestatus '
' when 5 then '#39'5 准备'#39
' when 6 then '#39'6 下达'#39
' when 7 then '#39'7 关闭'#39
' when 8 then '#39'8 永久关闭'#39
' end'
'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_Mainlinestatus: TStringField
DisplayLabel = '行状态'
FieldName = 'linestatus'
ReadOnly = True
Size = 10
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_Mainpotmpflag: TIntegerField
FieldName = 'potmpflag'
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 + -