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

📄 mrp_enter_neweditpassmo1.dfm

📁 一个MRPII系统源代码版本
💻 DFM
字号:
inherited Frm_Mrp_Enter_NewEditPassMo1: TFrm_Mrp_Enter_NewEditPassMo1
  Left = 37
  Top = 132
  Caption = #29983#20135#35746#21333#34892#20462#25913
  ClientHeight = 428
  Position = poMainformCenter
  OnDestroy = FormDestroy
  PixelsPerInch = 96
  TextHeight = 12
  inherited ControlBar: TControlBar
    inherited ToolBar: TToolBar
      inherited ToolButton6: TToolButton
        Hint = #29238#39033#38656#27714#36861#28335
        Caption = #29238#39033#38656#27714#36861#28335
      end
    end
  end
  inherited Pnl_Title: TPanel
    Caption = #29983#20135#35746#21333#34892#20462#25913
  end
  inherited Pnl_Head: TPanel
    Height = 74
    inherited Image1: TImage
      Height = 74
    end
    inherited Lbl_OrderTitle: TLabel
      Top = 55
    end
    inherited Lbl_ConditionTitle: TLabel
      Top = 40
    end
    inherited Lbl_Condition: TLabel
      Top = 40
      Width = 24
      Caption = #20840#37096
    end
    inherited Lbl_Order: TLabel
      Top = 55
      Width = 114
      Caption = #29289#26009#20195#30721'/'#32422#23450#20132#36135#26085
    end
    object btn_uPMrp: TButton
      Left = 20
      Top = 2
      Width = 89
      Height = 25
      Caption = 'Mrp'#31446#24335#25253#34920
      TabOrder = 0
      OnClick = btn_uPMrpClick
    end
  end
  inherited Pnl_Hint: TPanel
    Top = 395
    Height = 33
    inherited Image4: TImage
      Height = 33
    end
    object Label1: TLabel
      Left = 266
      Top = 11
      Width = 60
      Height = 12
      Caption = #29289#26009#26631#35782#65306
    end
    object DBText1: TDBText
      Left = 325
      Top = 11
      Width = 42
      Height = 12
      AutoSize = True
      DataField = 'ItemFlag'
      DataSource = DataSource
    end
    object Label2: TLabel
      Left = 6
      Top = 11
      Width = 60
      Height = 12
      Caption = #37096#38376#26631#35782#65306
    end
    object DBText2: TDBText
      Left = 66
      Top = 11
      Width = 42
      Height = 12
      AutoSize = True
      DataField = 'DeptFlag'
      DataSource = DataSource
    end
    object DBText3: TDBText
      Left = 712
      Top = 11
      Width = 42
      Height = 12
      AutoSize = True
      DataField = 'MoLineDATE'
      DataSource = DataSource
    end
    object Label3: TLabel
      Left = 638
      Top = 11
      Width = 72
      Height = 12
      Caption = #32422#23450#20132#36135#26085#65306
    end
  end
  inherited Pnl_Body: TPanel
    Top = 131
    Height = 264
    inherited Image3: TImage
      Height = 264
    end
    inherited DBGridEh: TDBGridEh
      Height = 264
      FrozenCols = 6
      Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgRowSelect, dgConfirmDelete, dgCancelOnExit]
      ReadOnly = False
      OnDblClick = Act_ModifyExecute
      OnTitleClick = DBGridEhTitleClick
      Columns = <
        Item
          Checkboxes = True
          EditButtons = <>
          FieldName = 'MoLinecheck'
          Footers = <>
          KeyList.Strings = (
            '1'
            '0')
          PickList.Strings = (
            '1'
            '0')
          Title.Caption = #26631#35760
          Title.Font.ChArset = GB2312_CHArSET
          Title.Font.Color = clBlue
          Title.Font.Height = -12
          Title.Font.Name = #23435#20307
          Title.Font.Style = []
          Visible = False
          Width = 28
        end
        Item
          EditButtons = <>
          FieldName = 'DeptCode'
          Footers = <>
          ReadOnly = True
          Title.Caption = #37096#38376#20195#30721
          Visible = False
          Width = 50
        end
        Item
          EditButtons = <>
          FieldName = 'DeptName'
          Footers = <>
          ReadOnly = True
          Title.Caption = #37096#38376#21517#31216
          Visible = False
          Width = 90
        end
        Item
          Alignment = tArightJustify
          EditButtons = <>
          FieldName = 'MODATE'
          Footers = <>
          ReadOnly = True
          Title.Caption = #19979#21333#26085#26399
          Width = 65
        end
        Item
          EditButtons = <>
          FieldName = 'plaflag'
          Footers = <>
          Width = 66
        end
        Item
          EditButtons = <>
          FieldName = 'MONO'
          Footers = <>
          ReadOnly = True
          Title.Caption = #29983#20135#35746#21333#21495
          Width = 63
        end
        Item
          EditButtons = <>
          FieldName = 'MoLineNO'
          Footers = <>
          ReadOnly = True
          Title.Caption = #35746#21333#34892#21495
          Width = 52
        end
        Item
          EditButtons = <>
          FieldName = 'MoLineSTATUS'
          Footers = <>
          KeyList.Strings = (
            '5'
            '6'
            '7'
            '8'
            '')
          PickList.Strings = (
            '5 '#20934#22791
            '6 '#19979#36798
            '7 '#20851#38381
            '8 '#27704#20037#20851#38381)
          ReadOnly = True
          Title.Caption = #34892#29366#24577
          Width = 50
        end
        Item
          EditButtons = <>
          FieldName = 'ItemCode'
          Footers = <>
          ReadOnly = True
          Title.Caption = #29289#26009#20195#30721
          Visible = False
          Width = 90
        end
        Item
          EditButtons = <>
          FieldName = 'ItemName'
          Footers = <>
          ReadOnly = True
          Title.Caption = #29289#26009#25551#36848
          Visible = False
          Width = 200
        end
        Item
          EditButtons = <>
          FieldName = 'ItemFlag'
          Footers = <>
          Title.Caption = #29289#26009#26631#35782
          Width = 160
        end
        Item
          Alignment = taCenter
          EditButtons = <>
          FieldName = 'UomName'
          Footers = <>
          ReadOnly = True
          Title.Caption = #21333#20301
          Width = 26
        end
        Item
          EditButtons = <>
          FieldName = 'SSQty'
          Footers = <>
          ReadOnly = True
          Title.Caption = #31995#32479#24314#35758#37327
          Width = 62
        end
        Item
          EditButtons = <>
          FieldName = 'MOQTY'
          Footers = <>
          ReadOnly = True
          Title.Caption = #32422#23450#20132#36135#37327
        end
        Item
          EditButtons = <>
          FieldName = 'MoNoFinishQTY'
          Footers = <>
          ReadOnly = True
          Title.Caption = #26410#32467#37327
          Width = 52
        end
        Item
          Alignment = tArightJustify
          EditButtons = <>
          FieldName = 'MOStArtWorkDate'
          Footers = <>
          ReadOnly = True
          Title.Caption = #32422#23450#24320#24037#26085
          Width = 70
        end
        Item
          Alignment = tArightJustify
          EditButtons = <>
          FieldName = 'MoLineDATE'
          Footers = <>
          ReadOnly = True
          Title.Caption = #32422#23450#20132#36135#26085
          Width = 70
        end
        Item
          EditButtons = <>
          FieldName = 'Pla_EmployeeCode'
          Footers = <>
          Visible = False
        end
        Item
          EditButtons = <>
          FieldName = 'BackFlush'
          Footers = <>
          KeyList.Strings = (
            '0'
            '1')
          PickList.Strings = (
            ''
            #26159)
          ReadOnly = True
          Width = 76
        end>
    end
  end
  inherited AdoQry_Tmp: TAdoQuery
    Left = 373
    Top = 147
  end
  inherited ActionList: TActionList
    inherited Act_Modify: TAction
      Enabled = True
      Visible = True
      OnExecute = Act_ModifyExecute
    end
    inherited Act_CancelCheck: TAction [6]
      Enabled = False
      Visible = False
      OnExecute = Act_CancelCheckExecute
    end
    inherited Act_Close: TAction [7]
    end
    inherited Act_Save: TAction [8]
    end
    inherited Act_Quit: TAction [9]
    end
    inherited Act_Hint: TAction [10]
    end
    inherited Act_Delete: TAction [11]
      Enabled = True
      Visible = True
      OnExecute = Act_DeleteExecute
    end
    inherited Act_next: TAction
      Caption = 'l'
    end
    inherited Act_Look: TAction
      Caption = #21453#26597#29238#39033#29289#26009
      Enabled = True
      Hint = #21453#26597#29238#39033#29289#26009
      Visible = True
      OnExecute = Act_LookExecute
    end
    inherited Act_Check: TAction
      Enabled = False
      Visible = False
      OnExecute = Act_CheckExecute
    end
    inherited Act_Expend: TAction
      Caption = #19978#32423#29289#26009
      Hint = #19978#32423#29289#26009
    end
  end
  inherited AdoQry_Head: TAdoQuery
    ConnectionString = 
      'Provider=SQLOLEDB.1;Password=mdrcmrm;Persist Security Info=True;' +
      'User ID=mdrcmrm;Initial Catalog=mdrcmrm_B;Data Source=192.168.0.' +
      '151'
    BeforeInsert = AdoQry_HeadBeforeInsert
    BeforeEdit = AdoQry_HeadBeforeEdit
    SQL.Strings = (
      'Select MoLine.*,Mo.*,Dept.DeptName,Item.ItemName '
      '       ,Uom.UomName,'
      '       Item.Pla_EmployeeCode,'
      
        '       Item.Pla_EmployeeCode+'#39' '#39'+Employee.EmployeeName as plafla' +
        'g,'
      '      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=0 Or MoLineStatus=1)'
      'Left Outer Join Dept On Mo.DeptCode=Dept.DeptCode '
      
        'left outer join Employee on Item.Pla_EmployeeCode=Employee.emplo' +
        'yeeCode'
      'left outer join Uom on Item.UomCode=Uom.UomCode')
    Left = 248
    Top = 198
    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_HeadDeptName: TStringField
      FieldName = 'DeptName'
      Origin = 'Dept'
      Size = 40
    end
    object AdoQry_HeadItemName: TStringField
      FieldName = 'ItemName'
      Origin = 'Item'
      Size = 60
    end
    object AdoQry_HeadMODATE: TDateTimeField
      FieldName = 'MODATE'
      Origin = 'mo'
      DisplayFormat = 'yyyy.mm.dd'
    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_HeadSSQty: TFloatField
      FieldName = 'SSQty'
      Origin = 'MoLine'
    end
    object AdoQry_HeadByProduct: TIntegerField
      FieldName = 'ByProduct'
    end
    object AdoQry_HeadMoRealInQty: TFloatField
      FieldName = 'MoRealInQty'
    end
    object AdoQry_HeadMoInQty: TFloatField
      FieldName = 'MoInQty'
    end
    object AdoQry_HeadCloseRemArk: TStringField
      FieldName = 'CloseRemArk'
      Size = 60
    end
    object AdoQry_HeadBilllineremArk: TStringField
      FieldName = 'BilllineremArk'
      Size = 250
    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_HeadPla_EmployeeCode: TStringField
      DisplayLabel = #35745#21010#21592#20195#30721
      FieldName = 'Pla_EmployeeCode'
      Origin = 'Item'
      Size = 30
    end
    object AdoQry_Headplaflag: TStringField
      DisplayLabel = #35745#21010#21592#26631#35782
      FieldName = 'plaflag'
      ReadOnly = True
      Size = 91
    end
    object AdoQry_HeadBackFlush: TIntegerField
      DisplayLabel = #26159#21542#25289#24335#39046#26009
      FieldName = 'BackFlush'
      Origin = 'MoLine'
    end
  end
  inherited DataSource: TDataSource
    Left = 328
    Top = 225
  end
  inherited PopuPmenu: TPopuPmenu
    Left = 444
  end
end

⌨️ 快捷键说明

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