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

📄 sfc_mnin_b.dfm

📁 一个MRPII系统源代码版本
💻 DFM
字号:
inherited Frm_Sfc_MnIn_B: TFrm_Sfc_MnIn_B
  Left = -2
  Top = 132
  Caption = '生产入库制单'
  ClientHeight = 553
  ClientWidth = 838
  PixelsPerInch = 96
  TextHeight = 12
  inherited ControlBar: TControlBar
    Width = 838
    inherited ToolBar: TToolBar
      inherited TlBtn_New: TToolButton
        Visible = False
      end
      inherited TlBtn_Modify: TToolButton
        Visible = False
      end
      inherited TlBtn_Delete: TToolButton
        Visible = False
      end
      inherited ToolButton5: TToolButton
        Visible = False
      end
      inherited TlBtn_Filter: TToolButton
        Visible = False
      end
      inherited TlBtn_Locate: TToolButton
        Visible = False
      end
      inherited ToolButton3: 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 = 838
    Caption = '生产入库制单'
    inherited Image2: TImage
      Width = 838
    end
  end
  inherited Pnl_Head: TPanel
    Width = 838
    Height = 82
    inherited Image1: TImage
      Width = 838
      Height = 82
    end
    inherited Lbl_Condition: TLabel
      Left = 533
      Top = -14
      Width = 156
      Caption = '条件和排序都已经不可见了。'
      Visible = False
    end
    inherited Lbl_ConditionTitle: TLabel
      Left = 691
      Top = 10
      Visible = False
    end
    inherited Lbl_OrderTitle: TLabel
      Left = 617
      Top = -13
      Visible = False
    end
    inherited Lbl_Order: TLabel
      Left = 565
      Top = -26
      Width = 96
      Caption = '订单号,订单行号'
      Visible = False
    end
    object Label1: TLabel
      Left = 655
      Top = 56
      Width = 36
      Height = 12
      Caption = '日期:'
    end
    object Label2: TLabel
      Left = 227
      Top = 33
      Width = 36
      Height = 12
      Caption = '班别:'
    end
    object Label3: TLabel
      Left = 20
      Top = 56
      Width = 48
      Height = 12
      Caption = '订单号:'
    end
    object Lbl_MoNo: TLabel
      Left = 71
      Top = 56
      Width = 6
      Height = 12
    end
    object Label5: TLabel
      Left = 32
      Top = 9
      Width = 36
      Height = 12
      Caption = '仓库:'
    end
    object Label6: TLabel
      Left = 227
      Top = 9
      Width = 36
      Height = 12
      Caption = '货位:'
    end
    object Label7: TLabel
      Left = 608
      Top = 9
      Width = 48
      Height = 12
      Caption = '单据号:'
    end
    object Label8: TLabel
      Left = 8
      Top = 33
      Width = 60
      Height = 12
      Caption = '生产部门:'
    end
    object Label9: TLabel
      Left = 227
      Top = 56
      Width = 36
      Height = 12
      Caption = '备注:'
    end
    object Lbl_Dept: TLabel
      Left = 71
      Top = 33
      Width = 6
      Height = 12
    end
    object Label10: TLabel
      Left = 421
      Top = 9
      Width = 48
      Height = 12
      Caption = '仓管员:'
    end
    object Cmbx_WhCode: TComboBox
      Left = 71
      Top = 5
      Width = 132
      Height = 20
      Style = csDropDownList
      ItemHeight = 12
      TabOrder = 0
      OnChange = Cmbx_WhCodeChange
      OnExit = Cmbx_WhCodeExit
    end
    object Cmbx_Position: TComboBox
      Left = 264
      Top = 5
      Width = 134
      Height = 20
      Style = csDropDownList
      ItemHeight = 12
      TabOrder = 1
      OnExit = Cmbx_PositionExit
    end
    object Edt_BillNo: TEdit
      Left = 657
      Top = 5
      Width = 118
      Height = 20
      Enabled = False
      TabOrder = 6
    end
    object MEdt_Date: TMaskEdit
      Left = 693
      Top = 51
      Width = 83
      Height = 20
      EditMask = '9999.99.99;1;_'
      MaxLength = 10
      TabOrder = 4
      Text = '    .  .  '
      OnChange = MEdt_DateChange
      OnExit = DateCheck
    end
    object Edt_Memo: TEdit
      Left = 264
      Top = 51
      Width = 366
      Height = 20
      TabOrder = 5
      OnChange = Edt_MemoChange
    end
    object cmbx_WhEmployee: TComboBox
      Left = 469
      Top = 5
      Width = 121
      Height = 20
      ItemHeight = 12
      TabOrder = 2
      OnChange = cmbx_WhEmployeeChange
    end
    object Cmbox_Shift: TComboBox
      Left = 264
      Top = 28
      Width = 134
      Height = 20
      Style = csDropDownList
      ItemHeight = 12
      TabOrder = 3
    end
  end
  inherited Pnl_Hint: TPanel
    Top = 522
    Width = 838
    Height = 31
    inherited Image4: TImage
      Width = 838
      Height = 31
    end
    object Label4: TLabel
      Left = 32
      Top = 12
      Width = 96
      Height = 12
      Caption = '当前行物料描述:'
    end
    object DBText1: TDBText
      Left = 133
      Top = 12
      Width = 42
      Height = 12
      AutoSize = True
      DataField = 'ItemName'
      DataSource = DataSource
    end
  end
  inherited Pnl_Body: TPanel
    Top = 139
    Width = 838
    Height = 383
    inherited Image3: TImage
      Width = 838
      Height = 383
    end
    inherited DBGridEh: TDBGridEh
      Width = 838
      Height = 383
      ReadOnly = False
      OnDblClick = nil
      Columns = <
        Item
          FieldName = 'MoLineNo'
          PickList.Strings = ()
          ReadOnly = True
          Title.Alignment = taCenter
          Title.Caption = '订单行号'
          Width = 54
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ItemCode'
          PickList.Strings = ()
          ReadOnly = True
          Title.Alignment = taCenter
          Title.Caption = '物料代码'
          Width = 125
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ItemName'
          PickList.Strings = ()
          ReadOnly = True
          Title.Alignment = taCenter
          Title.Caption = '物料描述'
          Width = 250
          KeyList.Strings = ()
        end
        Item
          FieldName = 'wh_EmployeeCode'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '仓管员'
          Width = 113
          KeyList.Strings = ()
        end
        Item
          FieldName = 'MoQty'
          PickList.Strings = ()
          ReadOnly = True
          Title.Alignment = taCenter
          Title.Caption = '约定交货量'
          Width = 66
          KeyList.Strings = ()
        end
        Item
          FieldName = 'MoLineDate'
          PickList.Strings = ()
          ReadOnly = True
          Title.Alignment = taCenter
          Title.Caption = '约定交货日'
          Width = 65
          KeyList.Strings = ()
        end
        Item
          FieldName = 'MoNoFinishQty'
          PickList.Strings = ()
          ReadOnly = True
          Title.Alignment = taCenter
          Title.Caption = '实际未结量'
          Width = 66
          KeyList.Strings = ()
        end
        Item
          FieldName = 'MoRealInQty'
          PickList.Strings = ()
          ReadOnly = True
          Title.Alignment = taCenter
          Title.Caption = '累计实入量'
          Width = 67
          KeyList.Strings = ()
        end
        Item
          FieldName = 'MoInQty'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '本次拟入量'
          Width = 68
          KeyList.Strings = ()
        end
        Item
          FieldName = 'BillLineRemArk'
          PickList.Strings = ()
          Title.Caption = '备注'
          Width = 126
          KeyList.Strings = ()
        end>
    end
  end
  inherited AdoQry_Tmp: TAdoQuery
    Left = 285
    Top = 227
  end
  inherited ActionList: TActionList
    Left = 200
    Top = 248
    inherited Act_New: TAction
      Enabled = False
    end
    inherited Act_Modify: TAction
      Enabled = False
    end
    inherited Act_InsertLine: TAction
      Enabled = False
    end
    inherited Act_DeleteLine: TAction
      Enabled = False
    end
    inherited Act_Delete: TAction
      Enabled = False
    end
    inherited Act_Save: TAction
      OnExecute = Act_SaveExecute
    end
    inherited Act_auto: TAction
      OnExecute = Act_autoExecute
    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
    Prepared = True
    SQL.Strings = (
      'select moFinishline.*,Item.ItemName,'
      ' MoLine.MoQty,MoLine.MoLineDate,MoLine.MoNoFinishQty,'
      ' MoLine.BackFlush,'
      
        ' Item.wh_EmployeeCode+'#39' '#39'+Employee.EmployeeName as Wh_Employeeco' +
        'de, '
      'MoLine.MoRealInQty,MoLine.MoInQty,MoLine.BillLineRemArk'
      ' from moFinishline ,Item ,MoLine,Employee,mo mo'
      'where Item.ItemCode=moFinishline.ItemCode'
      ' and MoLine.ItemCode=MOFinishline.ItemCode'
      ' and Employee.EmployeeCode=Item.Wh_EmployeeCode'
      ' and mo.mono=MoLine.mono')
    Left = 432
    Top = 225
    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_MainMoNoFinishQty: TFloatField
      FieldName = 'MoNoFinishQty'
      Origin = 'MoLine'
    end
    object AdoQry_MainMoRealInQty: TFloatField
      FieldName = 'MoRealInQty'
      Origin = 'MoLine'
    end
    object AdoQry_MainMoInQty: TFloatField
      FieldName = 'MoInQty'
      Origin = 'MoLine'
    end
    object AdoQry_MaInBillLineRemArk: TStringField
      FieldName = 'BillLineRemArk'
      Size = 250
    end
    object AdoQry_Mainwh_EmployeeCode: TStringField
      FieldName = 'wh_EmployeeCode'
      Size = 30
    end
    object AdoQry_MainBackFlush: TIntegerField
      FieldName = 'BackFlush'
    end
    object AdoQry_MainIScheck: TIntegerField
      FieldName = 'IScheck'
    end
  end
  inherited DataSource: TDataSource
    Top = 225
  end
  inherited ExtPrintReport: TExtPrintReport
    Left = 120
    Top = 217
  end
  inherited PopuPmenu: TPopuPmenu
    Left = 240
    Top = 209
  end
end

⌨️ 快捷键说明

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