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

📄 mrp_qry_uprightmrp_d_newmps.dfm

📁 一个MRPII系统源代码版本
💻 DFM
字号:
inherited Frm_Mrp_Qry_UpRightMrp_D_NewMps: TFrm_Mrp_Qry_UpRightMrp_D_NewMps
  Left = 82
  Top = 89
  Caption = '主生产计划对应表'
  PixelsPerInch = 96
  TextHeight = 12
  inherited ControlBar: TControlBar
    inherited ToolBar: TToolBar
      inherited TlBtn_Filter: TToolButton
        Visible = False
      end
      inherited TlBtn_Locate: TToolButton
        Visible = False
      end
      inherited TlBtn_Order: TToolButton
        Visible = False
      end
    end
  end
  inherited Pnl_Title: TPanel
    Caption = '主生产计划对应表'
  end
  inherited Pnl_Head: TPanel
    Height = 5
    inherited Lbl_Condition: TLabel
      Width = 24
      Caption = '全部'
    end
    inherited Lbl_Order: TLabel
      Width = 78
      Caption = '月份/物料代码'
    end
  end
  inherited Pnl_Body: TPanel
    Top = 62
    Height = 341
    inherited DBGridEh: TDBGridEh
      Height = 341
      FrozenCols = 1
      Columns = <
        Item
          FieldName = 'MpsMonth'
          PickList.Strings = ()
          KeyList.Strings = ()
        end
        Item
          FieldName = 'Itemflag'
          PickList.Strings = ()
          Width = 144
          KeyList.Strings = ()
        end
        Item
          FieldName = 'UomName'
          PickList.Strings = ()
          Title.Caption = '单位'
          Width = 30
          KeyList.Strings = ()
        end
        Item
          FieldName = 'Mpsstatus'
          PickList.Strings = (
            '2 准备'
            '3 下达'
            '4 关闭')
          Width = 50
          KeyList.Strings = (
            '2'
            '3'
            '4')
        end
        Item
          FieldName = 'GrossQty'
          PickList.Strings = ()
          Title.Caption = '生产订货量'
          KeyList.Strings = ()
        end
        Item
          FieldName = 'MpsnoFinishqty'
          PickList.Strings = ()
          Width = 55
          KeyList.Strings = ()
        end
        Item
          FieldName = 'Mpsdate'
          PickList.Strings = ()
          Title.Caption = '需用日期'
          Width = 65
          KeyList.Strings = ()
        end
        Item
          FieldName = 'MpsremArk'
          PickList.Strings = ()
          Width = 100
          KeyList.Strings = ()
        end>
    end
  end
  inherited AdoQry_Tmp: TAdoQuery
    Left = 181
    Top = 115
  end
  inherited ActionList: TActionList
    Left = 168
    Top = 168
  end
  inherited AdoQry_Main: TAdoQuery
    ConnectionString = 
      'Provider=SQLOLEDB.1;Password=mdrcmrm;Persist Security Info=True;' +
      'User ID=mdrcmrm;Initial Catalog=mdrcmrm_B;Data Source=192.168.0.' +
      '151;Use procedure for Prepare=1;Auto Translate=True;Packet Size=' +
      '4096;Workstation ID=XYB'
    CurSorType = ctStatic
    SQL.Strings = (
      'select MrpResult.*,UomName,Bomqty=convert(float,0),'
      
        '   Mpsstatus=0,MpsremArk='#39'dsffffffffffffffffffffffffffffffffffff' +
        'dsssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss' +
        'ssssssssssssss'#39','
      '   MpsMonth='#39'fdssssssssdsf'#39','
      '   ScrAprate='#39'000gfddddddddfdg'#39','
      '   Mps.Mpsdate,'
      '   MpsnoFinishqty=convert(float,0),'
      '   Itemflag=MrpResult.ItemCode+'#39' '#39'+Item.ItemName'
      ' from MrpResult,Item,Uom,Mps'
      'where MrpResult.ItemCode=Item.ItemCode'
      '  and Uom.UomCode=Item.UomCode'
      '  and MrpResult.releasedate=Mps.Mpsdate'
      '  ')
    Left = 344
    Top = 209
    object AdoQry_MainGrossQty: TFloatField
      DisplayLabel = '约定交货量'
      FieldName = 'GrossQty'
    end
    object AdoQry_MainItemflag: TStringField
      DisplayLabel = '物料标识'
      FieldName = 'Itemflag'
      ReadOnly = True
      Size = 77
    end
    object AdoQry_MainUomName: TStringField
      DisplayLabel = '计量单位'
      FieldName = 'UomName'
      Size = 10
    end
    object AdoQry_MainMpsstatus: TIntegerField
      DisplayLabel = '行状态'
      FieldName = 'Mpsstatus'
      ReadOnly = True
    end
    object AdoQry_MainMpsremArk: TStringField
      DisplayLabel = '备注'
      FieldName = 'MpsremArk'
      ReadOnly = True
      Size = 116
    end
    object AdoQry_MainMpsMonth: TStringField
      DisplayLabel = '月份'
      FieldName = 'MpsMonth'
      ReadOnly = True
      Size = 13
    end
    object AdoQry_MainMpsdate: TDateTimeField
      FieldName = 'Mpsdate'
    end
    object AdoQry_MainMpsnoFinishqty: TFloatField
      DisplayLabel = '未结量'
      FieldName = 'MpsnoFinishqty'
      ReadOnly = True
    end
  end
  inherited ExtPrintReport: TExtPrintReport
    Left = 240
    Top = 185
  end
  inherited PopuPmenu: TPopuPmenu
    Left = 304
    Top = 137
  end
end

⌨️ 快捷键说明

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