pm_qry_analyzerpo6.dfm

来自「一个MRPII系统源代码版本」· DFM 代码 · 共 342 行

DFM
342
字号
inherited Frm_Pm_Qry_AnalyzerPo6: TFrm_Pm_Qry_AnalyzerPo6
  Left = 73
  Top = 68
  Caption = '采购订单执行情况分析'
  PixelsPerInch = 96
  TextHeight = 12
  inherited ControlBar: TControlBar
    inherited ToolBar: TToolBar
      inherited TlBtn_SetColumn: TToolButton
        Visible = False
      end
      inherited TlBtn_Excel: TToolButton
        Visible = False
      end
    end
  end
  inherited Pnl_Title: TPanel
    Caption = '按业务员--供应商--物料代码'
  end
  inherited Pnl_Head: TPanel
    Height = 55
    inherited Image1: TImage
      Height = 55
    end
    inherited Lbl_OrderTitle: TLabel
      Left = 15
      Top = 39
    end
    inherited Lbl_Condition: TLabel
      Width = 24
      Caption = '全部'
    end
    inherited Lbl_Order: TLabel
      Top = 39
      Width = 204
      Caption = '业务员代码 / 供应商代码 / 物料代码'
    end
  end
  inherited Pnl_Hint: TPanel
    Top = 376
    Height = 53
    inherited Image4: TImage
      Height = 53
    end
    object Label2: TLabel
      Left = 4
      Top = 24
      Width = 72
      Height = 12
      Caption = '供应商标识:'
    end
    object Label1: TLabel
      Left = 16
      Top = 40
      Width = 60
      Height = 12
      Caption = '物料标识:'
    end
    object dbtxtItemflag: TDBText
      Left = 79
      Top = 40
      Width = 78
      Height = 12
      AutoSize = True
      DataField = 'Itemflag'
      DataSource = DataSource
    end
    object dbtxtVendorflag: TDBText
      Left = 79
      Top = 24
      Width = 90
      Height = 12
      AutoSize = True
      DataField = 'Vendorflag'
      DataSource = DataSource
    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 = 'FinishRate'
      DataSource = DataSource
    end
    object Label4: TLabel
      Left = 4
      Top = 8
      Width = 72
      Height = 12
      Caption = '业务员标识:'
    end
    object dbtxTEmployeeflag: TDBText
      Left = 79
      Top = 8
      Width = 102
      Height = 12
      AutoSize = True
      DataField = 'Employeeflag'
      DataSource = DataSource
    end
  end
  inherited Pnl_Body: TPanel
    Top = 112
    Height = 264
    inherited Image3: TImage
      Height = 264
    end
    inherited DBGridEh: TDBGridEh
      Height = 264
      FrozenCols = 3
      Columns = <
        Item
          FieldName = 'Employeeflag'
          PickList.Strings = ()
          Width = 100
          KeyList.Strings = ()
        end
        Item
          FieldName = 'EmployeeCode'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '业务员代码'
          Width = 66
          Visible = False
          KeyList.Strings = ()
        end
        Item
          FieldName = 'EmployeeName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '业务员名称'
          Width = 66
          Visible = False
          KeyList.Strings = ()
        end
        Item
          FieldName = 'Vendorflag'
          PickList.Strings = ()
          Width = 200
          KeyList.Strings = ()
        end
        Item
          FieldName = 'VendorCode'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '供应商代码'
          Width = 66
          Visible = False
          KeyList.Strings = ()
        end
        Item
          FieldName = 'VendorName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '供应商名称'
          Width = 100
          Visible = False
          KeyList.Strings = ()
        end
        Item
          FieldName = 'Itemflag'
          PickList.Strings = ()
          Width = 200
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ItemCode'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '物料代码'
          Visible = False
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ItemName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '物料描述'
          Width = 200
          Visible = False
          KeyList.Strings = ()
        end
        Item
          FieldName = 'Totalpoqty'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '约定交货量'
          Width = 75
          KeyList.Strings = ()
        end
        Item
          FieldName = 'poinqty'
          PickList.Strings = ()
          Width = 48
          KeyList.Strings = ()
        end
        Item
          FieldName = 'TotalFinishpoqty'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '完成数量'
          Width = 54
          KeyList.Strings = ()
        end
        Item
          FieldName = 'TotalponoFinishqty'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '未结量'
          Width = 45
          KeyList.Strings = ()
        end
        Item
          FieldName = 'Finishrate'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '完成率'
          Width = 43
          KeyList.Strings = ()
        end>
    end
  end
  inherited AdoQry_Tmp: TAdoQuery
    Left = 173
    Top = 243
  end
  inherited ActionList: TActionList
    Top = 200
  end
  inherited AdoQry_Main: TAdoQuery
    ConnectionString = 
      'Provider=SQLOLEDB.1;Password=mdrcmrm;Persist Security Info=True;' +
      'User ID=mdrcmrm;Initial Catalog=mdrcmrm_B;Data Source=ZHENGJIArO' +
      'NG'
    CurSorType = ctStatic
    SQL.Strings = (
      'select EmployeeCode='#39'1234567890123456'#39','
      '       EmployeeName='#39'1234567890123456'#39','
      '       Employeeflag='#39'1234567890123456'#39'+'#39' '#39'+'#39'1234567890123456'#39','
      '       VendorCode,VendorName,'
      '       Vendorflag=VendorCode+'#39' '#39'+VendorName,'
      '      -- pono='#39'1234567890123456'#39','
      '       ItemCode='#39'1234567890123456'#39','
      '       ItemName='#39'123456789012345612345678901234'#39','
      '       Itemflag='#39'1234567890123456'#39'+'#39' '#39'+'#39'1234567890123456'#39','
      '       Totalpoqty=111111.3221212,'
      '       poinqty=convert(float,0),'
      '       TotalFinishpoqty=111111.3221212,'
      '       TotalponoFinishqty=111111.3221212,'
      '       Finishrate='#39'12.212'#39
      'from Vendor')
    Left = 312
    Top = 177
    object AdoQry_MainEmployeeCode: TStringField
      FieldName = 'EmployeeCode'
      ReadOnly = True
      Size = 16
    end
    object AdoQry_MainEmployeeName: TStringField
      FieldName = 'EmployeeName'
      ReadOnly = True
      Size = 16
    end
    object AdoQry_MainEmployeeflag: TStringField
      DisplayLabel = '业务员标识'
      FieldName = 'Employeeflag'
      ReadOnly = True
      Size = 33
    end
    object AdoQry_MaInvendorCode: TStringField
      FieldName = 'VendorCode'
      Size = 12
    end
    object AdoQry_MaInvendorName: TStringField
      FieldName = 'VendorName'
      Size = 60
    end
    object AdoQry_MaInvendorflag: TStringField
      DisplayLabel = '供应商标识'
      FieldName = 'Vendorflag'
      ReadOnly = True
      Size = 73
    end
    object AdoQry_MainItemCode: TStringField
      FieldName = 'ItemCode'
      ReadOnly = True
      Size = 16
    end
    object AdoQry_MainItemName: TStringField
      FieldName = 'ItemName'
      ReadOnly = True
      Size = 30
    end
    object AdoQry_MainItemflag: TStringField
      DisplayLabel = '物料标识'
      FieldName = 'Itemflag'
      ReadOnly = True
      Size = 77
    end
    object AdoQry_MainTotalpoqty: TBCDField
      FieldName = 'Totalpoqty'
      ReadOnly = True
      Precision = 13
      Size = 7
    end
    object AdoQry_MainTotalFinishpoqty: TBCDField
      FieldName = 'TotalFinishpoqty'
      ReadOnly = True
      Precision = 13
      Size = 7
    end
    object AdoQry_MainTotalponoFinishqty: TBCDField
      FieldName = 'TotalponoFinishqty'
      ReadOnly = True
      Precision = 13
      Size = 7
    end
    object AdoQry_MainFinishrate: TStringField
      FieldName = 'Finishrate'
      ReadOnly = True
      Size = 15
    end
    object AdoQry_Mainpoinqty: TFloatField
      DisplayLabel = '待检量'
      FieldName = 'poinqty'
      ReadOnly = True
    end
  end
  inherited DataSource: TDataSource
    Left = 384
    Top = 161
  end
end

⌨️ 快捷键说明

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