📄 pm_enter_newautopo2.dfm
字号:
inherited Frm_Pm_Enter_NewAutoPo2: TFrm_Pm_Enter_NewAutoPo2
Left = 2
Top = 83
Caption = '采购订单准备'
ClientHeight = 418
ClientWidth = 800
Position = poMainformCenter
PixelsPerInch = 96
TextHeight = 12
inherited ControlBar: TControlBar
Width = 800
inherited ToolBar: TToolBar
inherited ToolButton7: TToolButton
Visible = False
end
end
end
inherited Pnl_Title: TPanel
Width = 800
Caption = '采购订单准备'
inherited Image2: TImage
Width = 800
end
end
inherited Pnl_Head: TPanel
Width = 800
Height = 73
inherited Image1: TImage
Width = 800
Height = 73
end
object Label1: TLabel
Left = 12
Top = 6
Width = 72
Height = 12
Caption = '采购订单号:'
TransParent = True
end
object Label2: TLabel
Left = 170
Top = 6
Width = 60
Height = 12
Caption = '下单日期:'
TransParent = True
end
object Label3: TLabel
Left = 301
Top = 6
Width = 84
Height = 12
Caption = '采购价格单号:'
TransParent = True
end
object Label9: TLabel
Left = 473
Top = 6
Width = 36
Height = 12
Caption = '税率:'
TransParent = True
end
object Label5: TLabel
Left = 641
Top = 6
Width = 60
Height = 12
Caption = '订单类型:'
TransParent = True
end
object Label7: TLabel
Left = 473
Top = 52
Width = 36
Height = 12
Caption = '货币:'
TransParent = True
end
object Label6: TLabel
Left = 461
Top = 29
Width = 48
Height = 12
Caption = '采购员:'
TransParent = True
end
object Label4: TLabel
Left = 36
Top = 29
Width = 48
Height = 12
Caption = '供应商:'
TransParent = True
end
object Label11: TLabel
Left = 48
Top = 52
Width = 36
Height = 12
Caption = '备注:'
TransParent = True
end
object Label12: TLabel
Left = 652
Top = 33
Width = 48
Height = 12
Caption = '参考号:'
TransParent = True
end
object Edt_PoNo: TEdit
Left = 82
Top = 2
Width = 79
Height = 20
MaxLength = 16
TabOrder = 0
end
object MEdt_PoDate: TMaskEdit
Left = 221
Top = 2
Width = 79
Height = 20
EditMask = '!9999.99.99;1;'
MaxLength = 10
TabOrder = 1
Text = ' . . '
OnExit = DateCheck
end
object Edt_PcNo: TLinkEdit
Left = 383
Top = 2
Width = 61
Height = 20
LinkStyle = lsEllipsis
TabOrder = 2
Text = ' '
OnButtonClick = Edt_PcNoButtonClick
OnExit = PcCodeCheck
OnKeyDown = Edt_PcNoKeyDown
end
object Edt_Potax: TEdit
Left = 511
Top = 2
Width = 50
Height = 20
Enabled = False
ReadOnly = True
TabOrder = 3
end
object Cmbx_PoType: TComboBox
Left = 700
Top = 2
Width = 78
Height = 20
Style = csDropDownList
ItemHeight = 12
TabOrder = 4
end
object Edt_CurrencyName: TEdit
Left = 564
Top = 48
Width = 68
Height = 20
Enabled = False
TabOrder = 12
end
object Edt_CurrencyCode: TEdit
Left = 511
Top = 48
Width = 50
Height = 20
Enabled = False
MaxLength = 2
ReadOnly = True
TabOrder = 11
end
object Edt_BuyerName: TEdit
Left = 564
Top = 25
Width = 68
Height = 20
ReadOnly = True
TabOrder = 8
end
object Edt_EmployeeCode: TLinkEdit
Left = 511
Top = 25
Width = 50
Height = 20
LinkStyle = lsEllipsis
TabOrder = 7
Text = ' '
OnButtonClick = Vw_BuyerHint1
OnExit = Edt_EmployeeCodeExit
OnKeyDown = Vw_BuyerHint
end
object Edt_VendorCode: TEdit
Left = 82
Top = 25
Width = 50
Height = 20
Enabled = False
ReadOnly = True
TabOrder = 5
end
object Edt_VendorName: TEdit
Left = 135
Top = 25
Width = 309
Height = 20
ReadOnly = True
TabOrder = 6
end
object Edt_PoRemArk: TEdit
Left = 82
Top = 48
Width = 362
Height = 20
Enabled = False
MaxLength = 150
TabOrder = 10
end
object edt_rno: TEdit
Left = 700
Top = 25
Width = 77
Height = 20
TabOrder = 9
end
end
inherited Pnl_Hint: TPanel
Top = 392
Width = 800
inherited Image4: TImage
Width = 800
end
object Label8: TLabel
Left = 16
Top = 8
Width = 60
Height = 12
Caption = '订单行号:'
TransParent = True
end
object Lbl_LineNo: TLabel
Left = 80
Top = 8
Width = 6
Height = 12
TransParent = True
end
object Label13: TLabel
Left = 232
Top = 8
Width = 60
Height = 12
Caption = '物料标识:'
TransParent = True
end
object Lbl_ItemFlag: TLabel
Left = 288
Top = 8
Width = 6
Height = 12
TransParent = True
end
object Label15: TLabel
Left = 592
Top = 8
Width = 72
Height = 12
Caption = '约定交货量:'
TransParent = True
end
object Lbl_PoQty: TLabel
Left = 664
Top = 8
Width = 6
Height = 12
TransParent = True
end
end
inherited Pnl_Body: TPanel
Top = 130
Width = 800
Height = 262
inherited Image3: TImage
Width = 800
Height = 262
end
inherited DBGridEh: TDBGridEh
Width = 800
Height = 262
Columns = <
Item
FieldName = 'PONO'
PickList.Strings = ()
KeyList.Strings = ()
end
Item
FieldName = 'POLINENo'
PickList.Strings = ()
KeyList.Strings = ()
end
Item
FieldName = 'ItemCode'
PickList.Strings = ()
KeyList.Strings = ()
end
Item
FieldName = 'POLineDATE'
PickList.Strings = ()
KeyList.Strings = ()
end
Item
FieldName = 'POQTY'
PickList.Strings = ()
KeyList.Strings = ()
end
Item
FieldName = 'PONoFinishQty'
PickList.Strings = ()
KeyList.Strings = ()
end
Item
FieldName = 'POREFERENCEDPRICE'
PickList.Strings = ()
KeyList.Strings = ()
end
Item
FieldName = 'POLINESTATUS'
PickList.Strings = ()
KeyList.Strings = ()
end
Item
FieldName = 'PoNoTaxPrice'
PickList.Strings = ()
KeyList.Strings = ()
end
Item
FieldName = 'PONoTaxAmount'
PickList.Strings = ()
KeyList.Strings = ()
end
Item
FieldName = 'PoTaxPrice'
PickList.Strings = ()
KeyList.Strings = ()
end
Item
FieldName = 'PoTaxAmount'
PickList.Strings = ()
KeyList.Strings = ()
end
Item
FieldName = 'POStArtWorkDate'
PickList.Strings = ()
KeyList.Strings = ()
end
Item
FieldName = 'ItemName'
PickList.Strings = ()
KeyList.Strings = ()
end
Item
FieldName = 'UomName'
PickList.Strings = ()
KeyList.Strings = ()
end>
end
object DBGridEh1: TDBGridEh
Left = 0
Top = 0
Width = 800
Height = 262
Align = alClient
DataSource = DataSource
ReadOnly = True
TabOrder = 1
TitleFont.ChArset = GB2312_CHArSET
TitleFont.Color = clWindowText
TitleFont.Height = -12
TitleFont.Name = '宋体'
TitleFont.Style = []
OnDblClick = Act_ModifyExecute
UseMultiTitle = True
Columns = <
Item
FieldName = 'POLINENo'
Title.Alignment = taCenter
Title.Caption = '订单行号'
Width = 29
end
Item
FieldName = 'ItemCode'
Title.Alignment = taCenter
Title.Caption = '物料代码'
Width = 125
end
Item
FieldName = 'ItemName'
Title.Alignment = taCenter
Title.Caption = '物料描述'
Width = 250
end
Item
Alignment = taCenter
FieldName = 'UomName'
Title.Alignment = taCenter
Title.Caption = '计量单位'
Width = 28
end
Item
FieldName = 'POLINESTATUS'
PickList.Strings = (
'1 系统建议'
'5 准备'
'6 下达'
'7 关闭'
'8 已结算')
Title.Alignment = taCenter
Title.Caption = '行状态'
Width = 54
KeyList.Strings = (
'1'
'5'
'6'
'7'
'8')
end
Item
FieldName = 'POQTY'
Title.Alignment = taCenter
Title.Caption = '约定交货量'
Width = 70
end
Item
FieldName = 'PONoFinishQty'
Title.Alignment = taCenter
Title.Caption = '未结量'
Width = 70
end
Item
FieldName = 'PoTaxPrice'
Title.Alignment = taCenter
Title.Caption = '含税价'
Width = 65
Visible = False
end
Item
FieldName = 'PoTaxAmount'
Title.Alignment = taCenter
Title.Caption = '含税金额'
Width = 70
Visible = False
end
Item
FieldName = 'PoNoTaxPrice'
Title.Alignment = taCenter
Title.Caption = '未税价'
Width = 65
Visible = False
end
Item
FieldName = 'PONoTaxAmount'
Title.Alignment = taCenter
Title.Caption = '未税金额'
Width = 70
Visible = False
end
Item
Alignment = tArightJustify
FieldName = 'POStArtWorkDate'
Title.Alignment = taCenter
Title.Caption = '约定开工日'
Width = 70
end
Item
Alignment = tArightJustify
FieldName = 'POLineDATE'
Title.Alignment = taCenter
Title.Caption = '约定交货日'
Width = 70
end
Item
FieldName = 'POREFERENCEDPRICE'
PickList.Strings = (
' '
'是')
Title.Alignment = taCenter
Title.Caption = '是否参考价'
Width = 40
KeyList.Strings = (
'0'
'1')
end>
end
end
inherited ActionList: TActionList
Top = 192
inherited Act_InsertLine: TAction
Enabled = False
Visible = False
end
end
inherited AdoQry_Body: TAdoQuery
ConnectionString = ''
SQL.Strings = (
'select Top 0 Poline.*,Item.ItemName,Uom.UomName from Poline join' +
' Item '
'on Poline.ItemCode=Item.ItemCode join Uom on Item.UomCode=Uom.uo' +
'mCode')
object AdoQry_BodyPONO: TStringField
FieldName = 'PONO'
Size = 16
end
object AdoQry_BodyPOLINENo: TIntegerField
FieldName = 'POLINENo'
Origin = 'PoLine'
end
object AdoQry_BodyItemCode: TStringField
FieldName = 'ItemCode'
Origin = 'PoLine'
Size = 16
end
object AdoQry_BodyPOLineDATE: TDateTimeField
FieldName = 'POLineDATE'
Origin = 'PoLine'
DisplayFormat = 'yyyy.mm.dd'
end
object AdoQry_BodyPOQTY: TFloatField
FieldName = 'POQTY'
Origin = 'PoLine'
DisplayFormat = '#,##0.##'
end
object AdoQry_BodyPONoFinishQty: TFloatField
FieldName = 'PONoFinishQty'
Origin = 'PoLine'
DisplayFormat = '#,##0.##'
end
object AdoQry_BodyPOREFERENCEDPRICE: TIntegerField
FieldName = 'POREFERENCEDPRICE'
Origin = 'PoLine'
end
object AdoQry_BodyPOLINESTATUS: TIntegerField
FieldName = 'POLINESTATUS'
Origin = 'PoLine'
end
object AdoQry_BodyPoNoTaxPrice: TFloatField
FieldName = 'PoNoTaxPrice'
Origin = 'PoLine'
DisplayFormat = '#,##0.00'
end
object AdoQry_BodyPONoTaxAmount: TBCDField
FieldName = 'PONoTaxAmount'
Origin = 'PoLine'
DisplayFormat = '#,##0.00'
Precision = 18
Size = 2
end
object AdoQry_BodyPoTaxPrice: TFloatField
FieldName = 'PoTaxPrice'
Origin = 'PoLine'
DisplayFormat = '#,##0.00'
end
object AdoQry_BodyPoTaxAmount: TBCDField
FieldName = 'PoTaxAmount'
Origin = 'PoLine'
DisplayFormat = '#,##0.00'
Precision = 18
Size = 2
end
object AdoQry_BodyPOStArtWorkDate: TDateTimeField
FieldName = 'POStArtWorkDate'
Origin = 'PoLine'
DisplayFormat = 'yyyy.mm.dd'
end
object AdoQry_BodyItemName: TStringField
FieldName = 'ItemName'
Origin = 'Item'
Size = 60
end
object AdoQry_BodySsQty: TFloatField
FieldName = 'SsQty'
Origin = 'PoLine'
end
object AdoQry_BodyUomName: TStringField
FieldName = 'UomName'
Origin = 'Uom'
Size = 10
end
object AdoQry_BodySsId: TIntegerField
FieldName = 'SsId'
end
object AdoQry_BodyMaxQty: TFloatField
FieldName = 'maxQty'
Origin = 'PoLine'
end
object AdoQry_BodyLimItOut: TIntegerField
FieldName = 'endSsId'
end
end
inherited DataSource: TDataSource
OnDataChange = DataSourceDataChange
Left = 512
Top = 217
end
object AdoQry_Head1: TAdoQuery
Parameters = <>
Left = 274
Top = 270
end
object AdoQry_Temp: TAdoQuery
Parameters = <>
Left = 136
Top = 239
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -