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

📄 sfc_mninoverplan_b.dfm

📁 一个MRPII系统源代码版本
💻 DFM
字号:
inherited Frm_Sfc_MnInOverPlan_B: TFrm_Sfc_MnInOverPlan_B
  Left = 92
  Top = 107
  Caption = '生产超订单入库制单'
  ClientHeight = 553
  ClientWidth = 800
  PixelsPerInch = 96
  TextHeight = 12
  inherited ControlBar: TControlBar
    Width = 800
    inherited ToolBar: TToolBar
      inherited ToolButton5: TToolButton
        Visible = False
      end
      inherited TlBtn_Filter: TToolButton
        Visible = False
      end
      inherited TlBtn_Locate: TToolButton
        Visible = False
      end
      inherited TlBtn_Order: TToolButton
        Action = Act_Save
      end
      inherited ToolButton2: TToolButton
        Visible = False
      end
      inherited ToolButton9: TToolButton
        Visible = False
      end
      inherited TlBtn_Preview: TToolButton
        Hint = '打印预览(不计打印次数)'
      end
    end
  end
  inherited Pnl_Title: TPanel
    Width = 800
    Caption = '生产超订单入库制单'
    inherited Image2: TImage
      Width = 800
    end
  end
  inherited Pnl_Head: TPanel
    Width = 800
    Height = 84
    inherited Image1: TImage
      Width = 800
      Height = 84
    end
    inherited Lbl_Condition: TLabel
      Left = 685
      Top = -20
      Width = 168
      Caption = '由于不可删除,所以全部不可见'
      Visible = False
    end
    inherited Lbl_ConditionTitle: TLabel
      Left = 582
      Top = -11
      Visible = False
    end
    inherited Lbl_OrderTitle: TLabel
      Left = 609
      Top = -15
      Visible = False
    end
    inherited Lbl_Order: TLabel
      Left = 677
      Top = -16
      Width = 120
      Caption = '约定交货期,物料代码'
      Visible = False
    end
    object Label3: TLabel
      Left = 12
      Top = 58
      Width = 48
      Height = 12
      Caption = '订单号:'
    end
    object Label2: TLabel
      Left = 216
      Top = 35
      Width = 36
      Height = 12
      Caption = '班别:'
    end
    object Lbl_MoNo: TLabel
      Left = 63
      Top = 58
      Width = 6
      Height = 12
    end
    object Label5: TLabel
      Left = 24
      Top = 12
      Width = 36
      Height = 12
      Caption = '仓库:'
    end
    object Label6: TLabel
      Left = 216
      Top = 12
      Width = 36
      Height = 12
      Caption = '货位:'
    end
    object Label9: TLabel
      Left = 216
      Top = 58
      Width = 36
      Height = 12
      Caption = '备注:'
    end
    object Label8: TLabel
      Left = 0
      Top = 35
      Width = 60
      Height = 12
      Caption = '生产部门:'
    end
    object Lbl_Dept: TLabel
      Left = 63
      Top = 35
      Width = 6
      Height = 12
    end
    object Label7: TLabel
      Left = 642
      Top = 58
      Width = 36
      Height = 12
      Caption = '日期:'
    end
    object Label10: TLabel
      Left = 630
      Top = 12
      Width = 48
      Height = 12
      Caption = '单据号:'
    end
    object Label1: TLabel
      Left = 423
      Top = 12
      Width = 48
      Height = 12
      Caption = '仓管员:'
    end
    object Cmbx_WhCode: TComboBox
      Left = 63
      Top = 8
      Width = 133
      Height = 20
      Style = csDropDownList
      ItemHeight = 12
      TabOrder = 0
      OnChange = Cmbx_WhCodeChange
      OnExit = Cmbx_WhCodeExit
    end
    object Cmbx_Position: TComboBox
      Left = 256
      Top = 8
      Width = 145
      Height = 20
      Style = csDropDownList
      ItemHeight = 12
      TabOrder = 1
      OnChange = Cmbx_PositionChange
      OnExit = Cmbx_PositionExit
    end
    object Edt_Memo: TEdit
      Left = 256
      Top = 54
      Width = 359
      Height = 20
      TabOrder = 4
    end
    object MEdt_Date: TMaskEdit
      Left = 679
      Top = 54
      Width = 83
      Height = 20
      EditMask = '9999.99.99;1;_'
      MaxLength = 10
      TabOrder = 3
      Text = '    .  .  '
      OnExit = DateCheck
    end
    object Edt_BillNo: TEdit
      Left = 679
      Top = 8
      Width = 110
      Height = 20
      Enabled = False
      TabOrder = 5
    end
    object cmbx_WhEmployee: TComboBox
      Left = 471
      Top = 8
      Width = 142
      Height = 20
      ItemHeight = 12
      TabOrder = 2
      OnChange = cmbx_WhEmployeeChange
    end
  end
  inherited Pnl_Hint: TPanel
    Top = 520
    Width = 800
    Height = 33
    inherited Image4: TImage
      Width = 800
      Height = 33
    end
    object Label4: TLabel
      Left = 16
      Top = 12
      Width = 96
      Height = 12
      Caption = '当前行物料描述:'
    end
    object DBText1: TDBText
      Left = 116
      Top = 12
      Width = 42
      Height = 12
      AutoSize = True
      DataField = 'ItemName'
      DataSource = DataSource
    end
  end
  inherited Pnl_Body: TPanel
    Top = 141
    Width = 800
    Height = 379
    TabOrder = 5
    inherited Image3: TImage
      Width = 800
      Height = 379
    end
    inherited DBGridEh: TDBGridEh
      Width = 800
      Height = 379
      OnDblClick = Act_ModifyExecute
      OnKeyDown = DBGridEhKeyDown
      Columns = <
        Item
          FieldName = 'MoLineNo'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '订单行号'
          Width = 57
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ItemCode'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '物料代码'
          Width = 125
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ItemName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '物料描述'
          Width = 250
          KeyList.Strings = ()
        end
        Item
          FieldName = 'Employeeflag'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '仓管员'
          Width = 93
          KeyList.Strings = ()
        end
        Item
          FieldName = 'MoQty'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '约定交货量'
          KeyList.Strings = ()
        end
        Item
          FieldName = 'MoLineDate'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '约定交货日'
          Width = 66
          KeyList.Strings = ()
        end
        Item
          FieldName = 'MoNoFinishQty'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '实际未结量'
          Width = 69
          KeyList.Strings = ()
        end
        Item
          FieldName = 'MoRealInQty'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '累计实入量'
          Width = 72
          KeyList.Strings = ()
        end
        Item
          FieldName = 'MoInQty'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '本次拟入量'
          Width = 68
          KeyList.Strings = ()
        end>
    end
  end
  object Cmbox_Shift: TComboBox [5]
    Left = 256
    Top = 88
    Width = 145
    Height = 20
    Style = csDropDownList
    ItemHeight = 12
    TabOrder = 4
    OnExit = Cmbx_PositionExit
  end
  inherited AdoQry_Tmp: TAdoQuery
    Left = 285
    Top = 275
  end
  inherited ActionList: TActionList
    Top = 296
    inherited Act_New: TAction
      Hint = '增加行'
      ImageIndex = 4
      ShortCut = 16429
    end
    inherited Act_InsertLine: TAction
      Enabled = False
    end
    inherited Act_DeleteLine: TAction
      Enabled = False
      ShortCut = 8238
    end
    inherited Act_Delete: TAction
      Hint = '删除行'
      ImageIndex = 5
      ShortCut = 16430
    end
    inherited Act_Save: TAction
      OnExecute = Act_SaveExecute
    end
    inherited Act_Excel: TAction
      Enabled = False
      Visible = False
    end
  end
  inherited AdoQry_Main: TAdoQuery
    ConnectionString = 
      'Provider=SQLOLEDB.1;Password=mdrcmrm;Persist Security Info=True;' +
      'User ID=mdrcmrm;Initial Catalog=mdrcmrm_test_zcw;Data Source=192' +
      '.168.0.151'
    CurSorType = ctStatic
    AfterInsert = AdoQry_MainAfterInsert
    BeforePost = AdoQry_MainBeforePost
    AfterPost = AdoQry_MainAfterPost
    Prepared = True
    SQL.Strings = (
      'select moFinishline.*,Item.ItemName,'
      ' MoLine.MoQty,MoLine.MoLineDate,MoLine.MoNoFinishQty,'
      ' Item.wh_EmployeeCode,'
      ' Item.wh_EmployeeCode+'#39' '#39'+Employee.EmployeeName Employeeflag,'
      'MoLine.MoRealInQty,MoLine.MoInQty'
      ' from moFinishline ,Item ,MoLine,Employee'
      'where Item.ItemCode=moFinishline.ItemCode'
      ' and MoLine.ItemCode=MOFinishline.ItemCode '
      ' and Employee.EmployeeCode=Item.wh_EmployeeCode'
      ' ')
    Left = 424
    Top = 369
    object AdoQry_MainMoLineNo: TIntegerField
      FieldName = 'MoLineNo'
      Origin = 'MoFinishLine'
    end
    object AdoQry_MainItemCode: TStringField
      FieldName = 'ItemCode'
      Origin = 'MoFinishLine'
      Size = 16
    end
    object AdoQry_MainItemName: TStringField
      FieldName = 'ItemName'
      Origin = 'Item'
      Size = 60
    end
    object AdoQry_MainMoQty: TFloatField
      FieldName = 'MoQty'
      Origin = 'MoLine'
    end
    object AdoQry_MainMoLineDate: TDateTimeField
      FieldName = 'MoLineDate'
      Origin = 'MoLine'
    end
    object AdoQry_MainMoRealInQty: TFloatField
      FieldName = 'MoRealInQty'
      Origin = 'MoLine'
    end
    object AdoQry_MainMoNoFinishQty: TFloatField
      FieldName = 'MoNoFinishQty'
      Origin = 'MoLine'
    end
    object AdoQry_MainMoInQty: TFloatField
      FieldName = 'MoInQty'
      Origin = 'MoLine'
    end
    object AdoQry_Mainwh_EmployeeCode: TStringField
      FieldName = 'wh_EmployeeCode'
      Size = 30
    end
    object AdoQry_MainEmployeeflag: TStringField
      FieldName = 'Employeeflag'
      ReadOnly = True
      Size = 91
    end
  end
  inherited DataSource: TDataSource
    Left = 368
    Top = 329
  end
  inherited ExtPrintReport: TExtPrintReport
    Top = 273
  end
  inherited PopuPmenu: TPopuPmenu
    Top = 385
  end
end

⌨️ 快捷键说明

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