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

📄 pm_enter_newfreepo.dfm

📁 一个MRPII系统源代码版本
💻 DFM
字号:
inherited Frm_Pm_Enter_NewFreePo: TFrm_Pm_Enter_NewFreePo
  Left = 3
  Top = 137
  Caption = '独立采购订单准备'
  ClientHeight = 429
  ClientWidth = 780
  PixelsPerInch = 96
  TextHeight = 12
  inherited ControlBar: TControlBar
    Width = 780
  end
  inherited Pnl_Title: TPanel
    Width = 780
    Caption = '独立采购订单准备'
    inherited Image2: TImage
      Width = 780
    end
  end
  inherited Pnl_Head: TPanel
    Width = 780
    Height = 72
    inherited Image1: TImage
      Width = 780
      Height = 72
    end
    object Label1: TLabel
      Left = 5
      Top = 6
      Width = 72
      Height = 12
      Caption = '采购订单号:'
      TransParent = True
    end
    object Label2: TLabel
      Left = 155
      Top = 6
      Width = 60
      Height = 12
      Caption = '下单日期:'
      TransParent = True
    end
    object Label3: TLabel
      Left = 295
      Top = 6
      Width = 84
      Height = 12
      Caption = '采购价格单号:'
      TransParent = True
    end
    object Label9: TLabel
      Left = 466
      Top = 6
      Width = 36
      Height = 12
      Caption = '税率:'
      TransParent = True
    end
    object Label5: TLabel
      Left = 561
      Top = 6
      Width = 60
      Height = 12
      Caption = '订单类型:'
      TransParent = True
    end
    object Label7: TLabel
      Left = 466
      Top = 52
      Width = 36
      Height = 12
      Caption = '货币:'
      TransParent = True
    end
    object Label6: TLabel
      Left = 454
      Top = 29
      Width = 48
      Height = 12
      Caption = '采购员:'
      TransParent = True
    end
    object Label4: TLabel
      Left = 29
      Top = 29
      Width = 48
      Height = 12
      Caption = '供应商:'
      TransParent = True
    end
    object Label11: TLabel
      Left = 41
      Top = 52
      Width = 36
      Height = 12
      Caption = '备注:'
      TransParent = True
    end
    object Edt_PoNo: TEdit
      Left = 75
      Top = 2
      Width = 79
      Height = 20
      MaxLength = 16
      TabOrder = 0
    end
    object MEdt_PoDate: TMaskEdit
      Left = 213
      Top = 2
      Width = 79
      Height = 20
      EditMask = '!9999.99.99;1;'
      MaxLength = 10
      TabOrder = 1
      Text = '    .  .  '
      OnExit = DateCheck
    end
    object Edt_PcNo: TLinkEdit
      Left = 374
      Top = 2
      Width = 61
      Height = 20
      LinkStyle = lsEllipsis
      TabOrder = 2
      Text = 'Edt_PcNo'
      OnExit = Edt_PcNoExit
      OnKeyDown = Edt_PcNoKeyDown
    end
    object Edt_Potax: TEdit
      Left = 504
      Top = 2
      Width = 50
      Height = 20
      Enabled = False
      ReadOnly = True
      TabOrder = 3
    end
    object Cmbx_PoType: TComboBox
      Left = 624
      Top = 2
      Width = 96
      Height = 20
      Style = csDropDownList
      ItemHeight = 12
      TabOrder = 4
    end
    object Edt_CurrencyName: TEdit
      Left = 557
      Top = 48
      Width = 163
      Height = 20
      Enabled = False
      TabOrder = 5
    end
    object Edt_CurrencyCode: TEdit
      Left = 504
      Top = 48
      Width = 50
      Height = 20
      Enabled = False
      MaxLength = 2
      ReadOnly = True
      TabOrder = 6
    end
    object Edt_BuyerName: TEdit
      Left = 557
      Top = 25
      Width = 163
      Height = 20
      ReadOnly = True
      TabOrder = 7
    end
    object Edt_EmployeeCode: TLinkEdit
      Left = 504
      Top = 25
      Width = 50
      Height = 20
      LinkStyle = lsEllipsis
      TabOrder = 8
      Text = 'Edt_EmployeeCode'
      OnExit = Vw_BuyerCodeCheck
      OnKeyDown = Vw_BuyerHint
    end
    object Edt_VendorCode: TEdit
      Left = 75
      Top = 25
      Width = 50
      Height = 20
      Enabled = False
      ReadOnly = True
      TabOrder = 9
    end
    object Edt_VendorName: TEdit
      Left = 127
      Top = 25
      Width = 308
      Height = 20
      ReadOnly = True
      TabOrder = 10
    end
    object Edt_PoRemArk: TEdit
      Left = 75
      Top = 48
      Width = 360
      Height = 20
      Enabled = False
      MaxLength = 150
      TabOrder = 11
    end
  end
  inherited Pnl_Hint: TPanel
    Top = 397
    Width = 780
    Height = 32
    inherited Image4: TImage
      Width = 780
      Height = 32
    end
    object Label13: TLabel
      Left = 9
      Top = 6
      Width = 60
      Height = 12
      Caption = '物料标识:'
      TransParent = True
    end
    object Lbl_ItemFlag: TLabel
      Left = 77
      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 = 78
      Top = 20
      Width = 42
      Height = 12
      AutoSize = True
      DataField = 'POQTY'
      DataSource = DataSource
    end
    object Label8: TLabel
      Left = 359
      Top = 20
      Width = 72
      Height = 12
      Caption = '约定开工日:'
    end
    object DBText2: TDBText
      Left = 428
      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 = 129
    Width = 780
    Height = 268
    inherited Image3: TImage
      Width = 780
      Height = 268
    end
    inherited DBGridEh: TDBGridEh
      Width = 780
      Height = 268
      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 = 90
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ItemName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '物料描述'
          Width = 200
          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 = 53
          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.Alignment = taCenter
          Title.Caption = '是否参考价'
          KeyList.Strings = (
            '0'
            '1')
        end>
    end
  end
  inherited AdoQry_Tmp: TAdoQuery
    Left = 493
    Top = 195
  end
  inherited ActionList: TActionList
    Top = 194
  end
  inherited AdoQry_Body: TAdoQuery
    ConnectionString = 
      'Provider=SQLOLEDB.1;Password=mdrcmrm;Persist Security Info=True;' +
      'User ID=mdrcmrm;Initial Catalog=mdrcmrm;Data Source=nt2'
    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 = 308
    Top = 247
    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'
      DisplayFormat = 'yyyy.mm.dd'
    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 = 208
    Top = 267
  end
end

⌨️ 快捷键说明

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