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

📄 pm_qry_analyzerpo2.dfm

📁 一个MRPII系统源代码版本
💻 DFM
字号:
inherited Frm_Pm_Qry_AnalyzerPo2: TFrm_Pm_Qry_AnalyzerPo2
  Left = 69
  Top = 63
  Caption = '采购订单执行情况分析'
  PixelsPerInch = 96
  TextHeight = 12
  inherited Pnl_Title: TPanel
    Caption = '按供应商--采购订单号--物料代码'
  end
  inherited Pnl_Head: TPanel
    Height = 51
    inherited Image1: TImage
      Height = 51
    end
    inherited Lbl_OrderTitle: TLabel
      Left = 14
      Top = 34
    end
    inherited Lbl_Condition: TLabel
      Width = 24
      Caption = '全部'
    end
    inherited Lbl_Order: TLabel
      Left = 82
      Top = 34
      Width = 204
      Caption = '供应商代码 / 采购订单号 / 物料代码'
    end
  end
  inherited Pnl_Hint: TPanel
    Top = 384
    Height = 45
    inherited Image4: TImage
      Height = 45
    end
    object Label2: TLabel
      Left = 0
      Top = 8
      Width = 72
      Height = 12
      Caption = '供应商标识:'
    end
    object Label1: TLabel
      Left = 12
      Top = 24
      Width = 60
      Height = 12
      Caption = '物料标识:'
    end
    object dbtxtItemflag: TDBText
      Left = 73
      Top = 24
      Width = 78
      Height = 12
      AutoSize = True
      DataField = 'Itemflag'
      DataSource = DataSource
    end
    object dbtxtVendorflag: TDBText
      Left = 73
      Top = 8
      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
  end
  inherited Pnl_Body: TPanel
    Top = 108
    Height = 276
    inherited Image3: TImage
      Height = 276
    end
    inherited DBGridEh: TDBGridEh
      Height = 276
      FrozenCols = 3
      Columns = <
        Item
          FieldName = 'Vendorflag'
          PickList.Strings = ()
          Title.Caption = '供应商标识'
          Width = 200
          KeyList.Strings = ()
        end
        Item
          FieldName = 'VendorCode'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '供应商代码'
          Visible = False
          KeyList.Strings = ()
        end
        Item
          FieldName = 'VendorName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '供应商名称'
          Width = 77
          Visible = False
          KeyList.Strings = ()
        end
        Item
          FieldName = 'pono'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '采购订单号'
          KeyList.Strings = ()
        end
        Item
          FieldName = 'Itemflag'
          PickList.Strings = ()
          Title.Caption = '物料标识'
          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 = 51
          KeyList.Strings = ()
        end
        Item
          FieldName = 'TotalFinishpoqty'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '完成数量'
          Width = 59
          KeyList.Strings = ()
        end
        Item
          FieldName = 'TotalponoFinishqty'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '未结量'
          Width = 50
          KeyList.Strings = ()
        end
        Item
          FieldName = 'Finishrate'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '完成率'
          Width = 44
          KeyList.Strings = ()
        end>
    end
  end
  inherited AdoQry_Tmp: TAdoQuery
    Left = 389
    Top = 147
  end
  inherited ActionList: TActionList
    Left = 208
    Top = 160
  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 VendorCode,VendorName,'
      '       Vendorflag=VendorCode+'#39' '#39'+VendorName,'
      '       pono='#39'1234567890123456'#39','
      '       poinqty=convert(float,0),'
      '       ItemCode='#39'1234567890123456'#39','
      '       ItemName='#39'123456789012345612345678901234'#39','
      '       Itemflag='#39'1234567890123456'#39'+'#39' '#39'+'#39'1234567890123456'#39','
      '       Totalpoqty=111111.3221212,'
      '       TotalFinishpoqty=111111.3221212,'
      '       TotalponoFinishqty=111111.3221212,'
      '       Finishrate='#39'12.212'#39
      'from Vendor')
    Left = 328
    Top = 225
    object AdoQry_MaInvendorCode: TStringField
      FieldName = 'VendorCode'
      Size = 12
    end
    object AdoQry_MaInvendorName: TStringField
      FieldName = 'VendorName'
      Size = 60
    end
    object AdoQry_MaInvendorflag: TStringField
      FieldName = 'Vendorflag'
      ReadOnly = True
      Size = 73
    end
    object AdoQry_Mainpono: TStringField
      FieldName = 'pono'
      ReadOnly = True
      Size = 16
    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
      FieldName = 'Itemflag'
      ReadOnly = True
      Size = 50
    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 = 12
    end
    object AdoQry_Mainpoinqty: TFloatField
      DisplayLabel = '待检量'
      FieldName = 'poinqty'
      ReadOnly = True
    end
  end
  inherited DataSource: TDataSource
    Left = 344
    Top = 145
  end
end

⌨️ 快捷键说明

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