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

📄 mrp_qry_informaltotalmrp_mo.dfm

📁 一个MRPII系统源代码版本
💻 DFM
字号:
inherited Frm_Mrp_Qry_InformalTotalMrp_Mo: TFrm_Mrp_Qry_InformalTotalMrp_Mo
  Left = 105
  Top = 97
  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
  end
  inherited Pnl_Body: TPanel
    Top = 62
    Height = 341
    inherited DBGridEh: TDBGridEh
      Height = 341
      FrozenCols = 3
      Columns = <
        Item
          FieldName = 'Deptflag'
          PickList.Strings = ()
          Width = 80
          KeyList.Strings = ()
        end
        Item
          FieldName = 'mono'
          PickList.Strings = ()
          KeyList.Strings = ()
        end
        Item
          FieldName = 'MoLineno'
          PickList.Strings = ()
          Width = 51
          KeyList.Strings = ()
        end
        Item
          FieldName = 'Itemflag'
          PickList.Strings = ()
          Width = 200
          KeyList.Strings = ()
        end
        Item
          FieldName = 'Modate'
          PickList.Strings = ()
          Width = 67
          KeyList.Strings = ()
        end
        Item
          FieldName = 'Moqty'
          PickList.Strings = ()
          KeyList.Strings = ()
        end
        Item
          FieldName = 'MoNoFinishQTY'
          PickList.Strings = ()
          Width = 42
          KeyList.Strings = ()
        end
        Item
          FieldName = 'MoLinedate'
          PickList.Strings = ()
          Width = 69
          KeyList.Strings = ()
        end
        Item
          FieldName = 'MoLinestatus'
          PickList.Strings = ()
          KeyList.Strings = ()
        end>
    end
  end
  inherited ActionList: TActionList
    Left = 200
    Top = 168
  end
  inherited AdoQry_Main: TAdoQuery
    SQL.Strings = (
      
        'Select Mo.Modate,Item.ItemName,Uom.UomName,mo.DeptCode,Dept.Dept' +
        'Name,'
      
        '                         MoLine.mono,MoLine.MoLineno,MoLine.Item' +
        'Code,MoLine.MoLinedate,MoLine.Moqty,'
      '                         MoLine.MoNoFinishQTY,'
      
        '                         Itemflag=MoLine.ItemCode+'#39' '#39'+Item.Itemn' +
        'ame,'
      '                         Deptflag=mo.DeptCode+'#39' '#39'+Dept.DeptName,'
      
        '                         MoLinestatus= case MoLinestatus when 5 ' +
        'then '#39'5 准备'#39'  when 6 then '#39'6 下达'#39
      '                         when 7 then '#39'7 关闭'#39' end'
      '                  From MoLine'
      '                      Join Mo On MoLine.MoNo=Mo.MoNo'
      '                      Join Item On MoLine.ItemCode=Item.ItemCode'
      '                      join Uom on Item.UomCode=Uom.UomCode'
      
        '                      Left Outer Join Dept On Mo.DeptCode=Dept.D' +
        'eptCode')
    Left = 328
    Top = 225
    object AdoQry_MainModate: TDateTimeField
      DisplayLabel = '下单日期'
      FieldName = 'Modate'
    end
    object AdoQry_MainItemName: TStringField
      FieldName = 'ItemName'
      Size = 60
    end
    object AdoQry_MainUomName: TStringField
      FieldName = 'UomName'
      Size = 10
    end
    object AdoQry_MainDeptCode: TStringField
      FieldName = 'DeptCode'
      Size = 8
    end
    object AdoQry_MainDeptName: TStringField
      FieldName = 'DeptName'
      Size = 40
    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_MainMoLinedate: TDateTimeField
      DisplayLabel = '约定交货日'
      FieldName = 'MoLinedate'
    end
    object AdoQry_MainMoqty: TFloatField
      DisplayLabel = '约定交货量'
      FieldName = 'Moqty'
    end
    object AdoQry_MainMoNoFinishQTY: TFloatField
      DisplayLabel = '未结量'
      FieldName = 'MoNoFinishQTY'
    end
    object AdoQry_MainItemflag: TStringField
      DisplayLabel = '物料标识'
      FieldName = 'Itemflag'
      ReadOnly = True
      Size = 77
    end
    object AdoQry_MainMoLinestatus: TStringField
      DisplayLabel = '行状态'
      FieldName = 'MoLinestatus'
      ReadOnly = True
      Size = 6
    end
    object AdoQry_MainDeptflag: TStringField
      DisplayLabel = '受单部门标识'
      FieldName = 'Deptflag'
      ReadOnly = True
      Size = 49
    end
  end
  inherited DataSource: TDataSource
    Top = 177
  end
end

⌨️ 快捷键说明

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