mrp_qry_analyzermrpmo_mo.dfm

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

DFM
164
字号
inherited Frm_Mrp_Qry_AnalyzerMrpMo_Mo: TFrm_Mrp_Qry_AnalyzerMrpMo_Mo
  Left = 258
  Top = 62
  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
      inherited TlBtn_SetColumn: TToolButton
        Visible = False
      end
    end
  end
  inherited Pnl_Title: TPanel
    Caption = '在途生产订单明细'
  end
  inherited Pnl_Head: TPanel
    Height = 4
    inherited Lbl_OrderTitle: TLabel
      Visible = False
    end
    inherited Lbl_ConditionTitle: TLabel
      Visible = False
    end
  end
  inherited Pnl_Body: TPanel
    Top = 61
    Height = 342
    inherited DBGridEh: TDBGridEh
      Height = 342
      FrozenCols = 3
      Columns = <
        Item
          FieldName = 'MONO'
          PickList.Strings = ()
          Width = 77
          KeyList.Strings = ()
        end
        Item
          FieldName = 'MoLineNO'
          PickList.Strings = ()
          Width = 53
          KeyList.Strings = ()
        end
        Item
          FieldName = 'Deptflag'
          PickList.Strings = ()
          Width = 200
          KeyList.Strings = ()
        end
        Item
          FieldName = 'Itemflag'
          PickList.Strings = ()
          Width = 200
          KeyList.Strings = ()
        end
        Item
          FieldName = 'MoLineSTATUS'
          PickList.Strings = (
            '5 准备'
            '6 下达'
            '7 关闭')
          Width = 45
          KeyList.Strings = (
            '5'
            '6'
            '7')
        end
        Item
          FieldName = 'MOQTY'
          PickList.Strings = ()
          KeyList.Strings = ()
        end
        Item
          FieldName = 'MoLineDATE'
          PickList.Strings = ()
          Width = 68
          KeyList.Strings = ()
        end
        Item
          FieldName = 'MoNoFinishQTY'
          PickList.Strings = ()
          Width = 45
          KeyList.Strings = ()
        end>
    end
  end
  inherited ActionList: TActionList
    Left = 192
    Top = 200
  end
  inherited AdoQry_Main: TAdoQuery
    CurSorType = ctStatic
    SQL.Strings = (
      'select Deptflag=mo.DeptCode+'#39' '#39'+Dept.DeptName,'
      '       MoLine.*,Itemflag=MoLine.ItemCode+'#39' '#39'+Item.ItemName '
      'from mo,MoLine,Dept,Item'
      'where mo.mono=MoLine.mono'
      '  and mo.DeptCode*=Dept.DeptCode'
      '  and MoLine.ItemCode=Item.ItemCode')
    Left = 312
    Top = 169
    object AdoQry_MainDeptflag: TStringField
      DisplayLabel = '受单对象标识'
      FieldName = 'Deptflag'
      ReadOnly = True
      Size = 49
    end
    object AdoQry_MainMONO: TStringField
      DisplayLabel = '生产订单号'
      FieldName = 'MONO'
      Size = 16
    end
    object AdoQry_MainMoLineNO: TIntegerField
      DisplayLabel = '订单行号'
      FieldName = 'MoLineNO'
    end
    object AdoQry_MainItemCode: TStringField
      FieldName = 'ItemCode'
      Size = 16
    end
    object AdoQry_MainMOQTY: TFloatField
      DisplayLabel = '约定交货量'
      FieldName = 'MOQTY'
    end
    object AdoQry_MainMoLineDATE: TDateTimeField
      DisplayLabel = '约定交货日'
      FieldName = 'MoLineDATE'
    end
    object AdoQry_MainMoNoFinishQTY: TFloatField
      DisplayLabel = '未结量'
      FieldName = 'MoNoFinishQTY'
    end
    object AdoQry_MainMoLineSTATUS: TIntegerField
      DisplayLabel = '行状态'
      FieldName = 'MoLineSTATUS'
    end
    object AdoQry_MainMOStArtWorkDate: TDateTimeField
      FieldName = 'MOStArtWorkDate'
    end
    object AdoQry_MainMoRealInQty: TFloatField
      FieldName = 'MoRealInQty'
    end
    object AdoQry_MainMoInQty: TFloatField
      FieldName = 'MoInQty'
    end
    object AdoQry_MainItemflag: TStringField
      DisplayLabel = '物料标识'
      FieldName = 'Itemflag'
      ReadOnly = True
      Size = 77
    end
  end
end

⌨️ 快捷键说明

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