⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pm_enter_po.dfm

📁 一个MRPII系统源代码版本
💻 DFM
字号:
inherited Frm_Pm_Enter_Po: TFrm_Pm_Enter_Po
  Left = -4
  Top = 100
  Caption = '采购订单准备'
  ClientHeight = 467
  ClientWidth = 776
  PixelsPerInch = 96
  TextHeight = 12
  inherited ControlBar: TControlBar
    Width = 776
    inherited ToolBar: TToolBar
      inherited ToolButton5: TToolButton
        Enabled = False
      end
    end
  end
  inherited Pnl_Title: TPanel
    Width = 776
    Caption = '采购订单准备'
    inherited Image2: TImage
      Width = 776
    end
  end
  inherited Pnl_Head: TPanel
    Width = 776
    Height = 88
    inherited Image1: TImage
      Width = 776
      Height = 88
    end
    object Label1: TLabel
      Left = 5
      Top = 13
      Width = 60
      Height = 12
      Caption = '采购订单号'
      TransParent = True
    end
    object Label2: TLabel
      Left = 195
      Top = 13
      Width = 48
      Height = 12
      Caption = '下单日期'
      TransParent = True
    end
    object Label3: TLabel
      Left = 392
      Top = 15
      Width = 72
      Height = 12
      Caption = '采购价格单号'
      TransParent = True
    end
    object Label4: TLabel
      Left = 6
      Top = 66
      Width = 60
      Height = 12
      Caption = '供应商代码'
      TransParent = True
    end
    object Label5: TLabel
      Left = 601
      Top = 15
      Width = 48
      Height = 12
      Caption = '订单类型'
      TransParent = True
    end
    object Label6: TLabel
      Left = 5
      Top = 40
      Width = 60
      Height = 12
      Caption = '采购员代码'
      TransParent = True
    end
    object Label7: TLabel
      Left = 400
      Top = 40
      Width = 48
      Height = 12
      Caption = '货币代码'
      TransParent = True
    end
    object Label9: TLabel
      Left = 594
      Top = 42
      Width = 84
      Height = 12
      Caption = '税率(百分比)'
      TransParent = True
    end
    object Label10: TLabel
      Left = 751
      Top = 41
      Width = 6
      Height = 12
      Caption = '%'
      TransParent = True
    end
    object Label11: TLabel
      Left = 551
      Top = 67
      Width = 24
      Height = 12
      Caption = '备注'
      TransParent = True
    end
    object Label12: TLabel
      Left = 192
      Top = 39
      Width = 60
      Height = 12
      Caption = '采购员姓名'
      TransParent = True
    end
    object Label14: TLabel
      Left = 192
      Top = 64
      Width = 60
      Height = 12
      Caption = '供应商名称'
      TransParent = True
    end
    object Edt_PoNo: TEdit
      Left = 70
      Top = 10
      Width = 113
      Height = 20
      MaxLength = 16
      TabOrder = 0
    end
    object MEdt_PoDate: TMaskEdit
      Left = 253
      Top = 10
      Width = 132
      Height = 20
      EditMask = '!9999.99.99;1;'
      MaxLength = 10
      TabOrder = 1
      Text = '    .  .  '
      OnExit = DateCheck
    end
    object Edt_PcNo: TEdit
      Left = 465
      Top = 10
      Width = 120
      Height = 20
      MaxLength = 16
      TabOrder = 2
      OnExit = Edt_PcNoExit
      OnKeyDown = Edt_PcNoKeyDown
    end
    object Cmbx_PoType: TComboBox
      Left = 659
      Top = 10
      Width = 96
      Height = 20
      Style = csDropDownList
      ItemHeight = 12
      TabOrder = 3
    end
    object Edt_EmployeeCode: TEdit
      Left = 70
      Top = 35
      Width = 113
      Height = 20
      MaxLength = 30
      TabOrder = 4
      OnExit = Vw_BuyerCodeCheck
      OnKeyDown = Vw_BuyerHint
    end
    object Edt_CurrencyCode: TEdit
      Left = 466
      Top = 37
      Width = 120
      Height = 20
      Enabled = False
      MaxLength = 2
      ReadOnly = True
      TabOrder = 6
    end
    object Edt_Potax: TEdit
      Left = 680
      Top = 37
      Width = 68
      Height = 20
      Enabled = False
      ReadOnly = True
      TabOrder = 7
    end
    object Edt_PoRemArk: TEdit
      Left = 584
      Top = 63
      Width = 171
      Height = 20
      Enabled = False
      MaxLength = 150
      TabOrder = 10
    end
    object Edt_VendorCode: TEdit
      Left = 70
      Top = 61
      Width = 113
      Height = 20
      Enabled = False
      ReadOnly = True
      TabOrder = 8
    end
    object Edt_BuyerName: TEdit
      Left = 253
      Top = 36
      Width = 133
      Height = 20
      ReadOnly = True
      TabOrder = 5
    end
    object Edt_VendorName: TEdit
      Left = 253
      Top = 61
      Width = 289
      Height = 20
      ReadOnly = True
      TabOrder = 9
    end
  end
  inherited Pnl_Hint: TPanel
    Top = 434
    Width = 776
    Height = 33
    inherited Image4: TImage
      Width = 776
      Height = 33
    end
    object Label13: TLabel
      Left = 9
      Top = 5
      Width = 60
      Height = 12
      Caption = '物料标识:'
      TransParent = True
    end
    object Lbl_ItemFlag: TLabel
      Left = 65
      Top = 6
      Width = 6
      Height = 12
      TransParent = True
    end
    object Label15: TLabel
      Left = 7
      Top = 20
      Width = 72
      Height = 12
      Caption = '约定交货量:'
    end
    object DBText1: TDBText
      Left = 75
      Top = 20
      Width = 42
      Height = 12
      AutoSize = True
      DataField = 'POQTY'
      DataSource = DataSource
    end
    object Label8: TLabel
      Left = 288
      Top = 20
      Width = 72
      Height = 12
      Caption = '约定开工日:'
    end
    object DBText2: TDBText
      Left = 357
      Top = 20
      Width = 42
      Height = 12
      AutoSize = True
      DataField = 'POStArtWorkDate'
      DataSource = DataSource
    end
    object Label16: TLabel
      Left = 575
      Top = 20
      Width = 42
      Height = 12
      Caption = '制表人:'
    end
    object Edt_zbr: TLabel
      Left = 623
      Top = 20
      Width = 6
      Height = 12
    end
  end
  inherited Pnl_Body: TPanel
    Top = 145
    Width = 776
    Height = 289
    inherited Image3: TImage
      Width = 776
      Height = 289
    end
    inherited DBGridEh: TDBGridEh
      Width = 776
      Height = 289
      FrozenCols = 5
      Columns = <
        Item
          FieldName = 'POLINENo'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '订单行号'
          Width = 55
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ItemCode'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '物料代码'
          Width = 125
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ItemName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '物料描述'
          Width = 125
          KeyList.Strings = ()
        end
        Item
          Alignment = taCenter
          FieldName = 'UomName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '计量单位'
          Width = 55
          KeyList.Strings = ()
        end
        Item
          FieldName = 'POLINESTATUS'
          PickList.Strings = (
            '1 系统建议'
            '5 准备'
            '6 下达'
            '7 关闭'
            '8 已结算')
          Title.Alignment = taCenter
          Title.Caption = '行状态'
          Width = 50
          KeyList.Strings = (
            '1'
            '5'
            '6'
            '7'
            '8')
        end
        Item
          FieldName = 'POQTY'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '约定交货量'
          Width = 70
          KeyList.Strings = ()
        end
        Item
          FieldName = 'PONoFinishQty'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '未结量'
          Width = 70
          KeyList.Strings = ()
        end
        Item
          FieldName = 'PoTaxPrice'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '含税价'
          Width = 65
          Visible = False
          KeyList.Strings = ()
        end
        Item
          FieldName = 'PoTaxAmount'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '含税金额'
          Width = 70
          Visible = False
          KeyList.Strings = ()
        end
        Item
          FieldName = 'PoNoTaxPrice'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '未税价'
          Width = 65
          Visible = False
          KeyList.Strings = ()
        end
        Item
          FieldName = 'PONoTaxAmount'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '未税金额'
          Width = 70
          Visible = False
          KeyList.Strings = ()
        end
        Item
          Alignment = tArightJustify
          FieldName = 'POStArtWorkDate'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '约定开工日'
          Width = 70
          KeyList.Strings = ()
        end
        Item
          Alignment = tArightJustify
          FieldName = 'POLineDATE'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '约定交货日'
          Width = 70
          KeyList.Strings = ()
        end
        Item
          FieldName = 'POREFERENCEDPRICE'
          PickList.Strings = (
            ' '
            '是')
          Title.Caption = '是否参考价'
          KeyList.Strings = (
            '0'
            '1')
        end>
    end
  end
  inherited AdoQry_Tmp: TAdoQuery
    Left = 405
    Top = 187
  end
  inherited ActionList: TActionList
    Top = 194
    inherited Act_Hint: TAction
      Enabled = False
    end
  end
  inherited AdoQry_Body: TAdoQuery
    ConnectionString = ''
    SQL.Strings = (
      'Select PoLine.*,Item.ItemName,Uom.UomName '
      '      From PoLine'
      '      Left Outer Join Item On PoLine.ItemCode=Item.ItemCode'
      '      Left Outer Join Uom On Item.UomCode=Uom.UomCode')
    Left = 292
    Top = 199
    object AdoQry_BodyPONO: TStringField
      FieldName = 'PONO'
      Origin = 'PoLine'
      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'
    end
    object AdoQry_BodyPONoTaxAmount: TBCDField
      FieldName = 'PONoTaxAmount'
      Origin = 'PoLine'
      Precision = 18
      Size = 2
    end
    object AdoQry_BodyPoTaxPrice: TFloatField
      FieldName = 'PoTaxPrice'
      Origin = 'PoLine'
    end
    object AdoQry_BodyPoTaxAmount: TBCDField
      FieldName = 'PoTaxAmount'
      Origin = 'PoLine'
      Precision = 18
      Size = 2
    end
    object AdoQry_BodyPOStArtWorkDate: TDateTimeField
      FieldName = 'POStArtWorkDate'
      Origin = 'PoLine'
    end
    object AdoQry_BodyItemName: TStringField
      FieldName = 'ItemName'
      Origin = 'Item'
      Size = 60
    end
    object AdoQry_BodyUomName: TStringField
      FieldName = 'UomName'
      Origin = 'Uom'
      Size = 10
    end
  end
  inherited DataSource: TDataSource
    OnDataChange = DataSourceDataChange
  end
  object AdoQry_Temp: TAdoQuery
    Parameters = <>
    Left = 168
    Top = 251
  end
end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -