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

📄 mrp_enter_freedelmo.dfm

📁 一个MRPII系统源代码版本
💻 DFM
字号:
inherited Frm_Mrp_Enter_FreeDelMo: TFrm_Mrp_Enter_FreeDelMo
  Left = 26
  Top = 96
  Caption = '独立生产订单清除'
  OnDestroy = FormDestroy
  PixelsPerInch = 96
  TextHeight = 12
  inherited ControlBar: TControlBar
    inherited ToolBar: TToolBar
      inherited TlBtn_Check: TToolButton
        Hint = '结算'
        Caption = '结算'
      end
      inherited TlBtn_CancelCheck: TToolButton
        Hint = '结算'
        Caption = '结算'
      end
    end
  end
  inherited Pnl_Title: TPanel
    Caption = '独立生产订单清除'
  end
  inherited Pnl_Head: TPanel
    inherited Lbl_Condition: TLabel
      Width = 90
      Caption = '(行状态=8 结算)'
    end
    inherited Lbl_Order: TLabel
      Width = 168
      Caption = '部门代码/下单日期/生产订单号'
    end
  end
  inherited Pnl_Hint: TPanel
    Top = 408
    Height = 33
    inherited Image4: TImage
      Height = 33
    end
    object Label1: TLabel
      Left = 3
      Top = 5
      Width = 60
      Height = 12
      Caption = '物料标识:'
    end
    object DBText1: TDBText
      Left = 72
      Top = 5
      Width = 42
      Height = 12
      AutoSize = True
      DataField = 'ItemFlag'
      DataSource = DataSource
    end
    object Label2: TLabel
      Left = 643
      Top = 5
      Width = 72
      Height = 12
      Caption = '约定交货量:'
    end
    object DBText2: TDBText
      Left = 715
      Top = 5
      Width = 42
      Height = 12
      AutoSize = True
      DataField = 'MOQTY'
      DataSource = DataSource
    end
    object Label3: TLabel
      Left = 643
      Top = 22
      Width = 72
      Height = 12
      Caption = '约定交货日:'
    end
    object DBText3: TDBText
      Left = 715
      Top = 22
      Width = 42
      Height = 12
      AutoSize = True
      DataField = 'MoLineDATE'
      DataSource = DataSource
    end
  end
  inherited Pnl_Body: TPanel
    Height = 311
    inherited Image3: TImage
      Height = 311
    end
    inherited DBGridEh: TDBGridEh
      Height = 311
      Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgRowSelect, dgConfirmDelete, dgCancelOnExit]
      ReadOnly = False
      OnTitleClick = DBGridEhTitleClick
      FrozenCols = 5
      Columns = <
        Item
          FieldName = 'MoLineCheck'
          PickList.Strings = (
            '0'
            '1')
          Title.Alignment = taCenter
          Title.Caption = '标记'
          Title.Font.ChArset = GB2312_CHArSET
          Title.Font.Color = clBlue
          Title.Font.Height = -12
          Title.Font.Name = '宋体'
          Title.Font.Style = []
          Width = 30
          KeyList.Strings = (
            '0'
            '1')
          Checkboxes = True
        end
        Item
          FieldName = 'DeptCode'
          PickList.Strings = ()
          ReadOnly = True
          Title.Alignment = taCenter
          Title.Caption = '部门代码'
          Width = 50
          Visible = False
          KeyList.Strings = ()
        end
        Item
          FieldName = 'DeptName'
          PickList.Strings = ()
          ReadOnly = True
          Title.Alignment = taCenter
          Title.Caption = '部门名称'
          Width = 90
          Visible = False
          KeyList.Strings = ()
        end
        Item
          FieldName = 'DeptFlag'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '部门标识'
          Width = 68
          KeyList.Strings = ()
        end
        Item
          FieldName = 'MODATE'
          PickList.Strings = ()
          ReadOnly = True
          Title.Alignment = taCenter
          Title.Caption = '下单日期'
          Width = 66
          KeyList.Strings = ()
        end
        Item
          FieldName = 'MONO'
          PickList.Strings = ()
          ReadOnly = True
          Title.Alignment = taCenter
          Title.Caption = '生产订单号'
          Width = 67
          KeyList.Strings = ()
        end
        Item
          FieldName = 'MoLineNO'
          PickList.Strings = ()
          ReadOnly = True
          Title.Alignment = taCenter
          Title.Caption = '订单行号'
          Width = 52
          KeyList.Strings = ()
        end
        Item
          FieldName = 'MoLineSTATUS'
          PickList.Strings = (
            '1 系统建议'
            '5 准备'
            '6 下达'
            '7 关闭'
            '8 已结算')
          ReadOnly = True
          Title.Alignment = taCenter
          Title.Caption = '行状态'
          Width = 41
          KeyList.Strings = (
            '1'
            '5'
            '6'
            '7'
            '8')
        end
        Item
          FieldName = 'ItemCode'
          PickList.Strings = ()
          ReadOnly = True
          Title.Alignment = taCenter
          Title.Caption = '物料代码'
          Width = 90
          Visible = False
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ItemName'
          PickList.Strings = ()
          ReadOnly = True
          Title.Alignment = taCenter
          Title.Caption = '物料描述'
          Width = 200
          Visible = False
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ItemFlag'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '物料标识'
          Width = 193
          KeyList.Strings = ()
        end
        Item
          Alignment = taCenter
          FieldName = 'UomName'
          PickList.Strings = ()
          ReadOnly = True
          Title.Alignment = taCenter
          Title.Caption = '单位'
          Width = 28
          KeyList.Strings = ()
        end
        Item
          FieldName = 'MOQTY'
          PickList.Strings = ()
          ReadOnly = True
          Title.Alignment = taCenter
          Title.Caption = '约定交货量'
          Width = 70
          KeyList.Strings = ()
        end
        Item
          FieldName = 'MoNoFinishQTY'
          PickList.Strings = ()
          ReadOnly = True
          Title.Alignment = taCenter
          Title.Caption = '未结量'
          KeyList.Strings = ()
        end
        Item
          Alignment = tArightJustify
          FieldName = 'MOStArtWorkDate'
          PickList.Strings = ()
          ReadOnly = True
          Title.Alignment = taCenter
          Title.Caption = '约定开工日'
          Width = 70
          KeyList.Strings = ()
        end
        Item
          Alignment = tArightJustify
          FieldName = 'MoLineDATE'
          PickList.Strings = ()
          ReadOnly = True
          Title.Alignment = taCenter
          Title.Caption = '约定交货日'
          Width = 70
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ReferenceNo'
          PickList.Strings = ()
          Width = 61
          KeyList.Strings = ()
        end>
    end
  end
  inherited AdoQry_Tmp: TAdoQuery
    Left = 509
    Top = 179
  end
  inherited ActionList: TActionList
    inherited Act_Delete: TAction
      Enabled = True
      Visible = True
      OnExecute = Act_DeleteExecute
    end
    inherited Act_CancelCheck: TAction
      Enabled = False
      Visible = False
    end
    inherited Act_Check: TAction
      Enabled = False
      Visible = False
      OnExecute = Act_CheckExecute
    end
  end
  inherited AdoQry_Head: TAdoQuery
    ConnectionString = 
      'Provider=SQLOLEDB.1;Password=mdrcmrm;Persist Security Info=True;' +
      'User ID=mdrcmrm;Initial Catalog=mdrcmrm;Data Source=192.168.151'
    SQL.Strings = (
      'Select MoLine.*,Mo.*,Dept.DeptName,Item.ItemName '
      '       ,Uom.UomName,  '
      '      Item.ItemCode+'#39' '#39'+Item.ItemName As ItemFlag,'
      '      Dept.DeptCode+'#39' '#39'+Dept.DeptName As DeptFlag '
      '      From MoLine '
      '     Join Item On MoLine.ItemCode=Item.ItemCode'
      'Join Mo On Mo.MoNo=MoLine.MoNo'
      'And MoLineStatus=2 '
      'Left Outer Join Dept On Mo.DeptCode=Dept.DeptCode '
      'left outer join Uom on Item.UomCode=Uom.UomCode')
    Left = 248
    Top = 265
    object AdoQry_HeadMONO: TStringField
      FieldName = 'MONO'
      Origin = 'mo'
      Size = 16
    end
    object AdoQry_HeadMoLineNO: TIntegerField
      FieldName = 'MoLineNO'
      Origin = 'MoLine'
    end
    object AdoQry_HeadItemCode: TStringField
      FieldName = 'ItemCode'
      Origin = 'MoLine'
      Size = 16
    end
    object AdoQry_HeadMOQTY: TFloatField
      FieldName = 'MOQTY'
      Origin = 'MoLine'
      DisplayFormat = '#,##0'
    end
    object AdoQry_HeadMoLineDATE: TDateTimeField
      FieldName = 'MoLineDATE'
      Origin = 'MoLine'
      DisplayFormat = 'yyyy.mm.dd'
    end
    object AdoQry_HeadMoNoFinishQTY: TFloatField
      FieldName = 'MoNoFinishQTY'
      Origin = 'MoLine'
      DisplayFormat = '#,##0'
    end
    object AdoQry_HeadMoLineSTATUS: TIntegerField
      FieldName = 'MoLineSTATUS'
      Origin = 'MoLine'
    end
    object AdoQry_HeadMOStArtWorkDate: TDateTimeField
      FieldName = 'MOStArtWorkDate'
      Origin = 'MoLine'
      DisplayFormat = 'yyyy.mm.dd'
    end
    object AdoQry_HeadDeptCode: TStringField
      FieldName = 'DeptCode'
      Origin = 'Mo'
      Size = 8
    end
    object AdoQry_HeadMODATE: TDateTimeField
      FieldName = 'MODATE'
      Origin = 'mo'
      DisplayFormat = 'yyyy.mm.dd'
    end
    object AdoQry_HeadDeptName: TStringField
      FieldName = 'DeptName'
      Origin = 'Dept'
      Size = 40
    end
    object AdoQry_HeadItemName: TStringField
      FieldName = 'ItemName'
      Origin = 'Item'
      Size = 60
    end
    object AdoQry_HeadUomName: TStringField
      FieldName = 'UomName'
      Origin = 'Uom'
      Size = 10
    end
    object AdoQry_HeadItemFlag: TStringField
      FieldName = 'ItemFlag'
      ReadOnly = True
      Size = 77
    end
    object AdoQry_HeadDeptFlag: TStringField
      FieldName = 'DeptFlag'
      ReadOnly = True
      Size = 49
    end
    object AdoQry_HeadMoLineCheck: TIntegerField
      FieldName = 'MoLineCheck'
      Origin = 'MoLine'
    end
    object AdoQry_HeadMoRealInQty: TFloatField
      FieldName = 'MoRealInQty'
    end
    object AdoQry_HeadMoInQty: TFloatField
      FieldName = 'MoInQty'
    end
    object AdoQry_HeadSSQty: TFloatField
      FieldName = 'SSQty'
    end
    object AdoQry_HeadCloseRemArk: TStringField
      FieldName = 'CloseRemArk'
      Size = 60
    end
    object AdoQry_HeadBilllineremArk: TStringField
      FieldName = 'BilllineremArk'
      Size = 250
    end
    object AdoQry_HeadByProduct: TIntegerField
      FieldName = 'ByProduct'
    end
    object AdoQry_HeadParentMoLineNo: TIntegerField
      FieldName = 'ParentMoLineNo'
    end
    object AdoQry_HeadMONO_1: TStringField
      FieldName = 'MONO_1'
      Size = 16
    end
    object AdoQry_HeadMORemArk: TStringField
      FieldName = 'MORemArk'
      Size = 150
    end
    object AdoQry_HeadMOSpecial: TIntegerField
      FieldName = 'MOSpecial'
    end
    object AdoQry_HeadSaleType: TStringField
      FieldName = 'SaleType'
    end
    object AdoQry_HeadStandardFlag: TIntegerField
      FieldName = 'StandardFlag'
    end
    object AdoQry_HeadBackFlush: TIntegerField
      FieldName = 'BackFlush'
    end
    object AdoQry_HeadReferenceNo: TStringField
      DisplayLabel = '参考号'
      FieldName = 'ReferenceNo'
      Size = 30
    end
  end
  inherited PopuPmenu: TPopuPmenu
    Left = 232
    Top = 201
  end
end

⌨️ 快捷键说明

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