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

📄 sfc_mninbilllistqry.dfm

📁 一个MRPII系统源代码版本
💻 DFM
字号:
inherited Frm_Sfc_MnInBillListQry: TFrm_Sfc_MnInBillListQry
  Left = -53
  Top = 96
  PixelsPerInch = 96
  TextHeight = 12
  inherited Pnl_Head: TPanel
    inherited Lbl_Order: TLabel
      Width = 66
      Caption = '日期/单据号'
    end
  end
  inherited Pnl_Hint: TPanel
    object Label1: TLabel
      Left = 8
      Top = 8
      Width = 96
      Height = 12
      Caption = '当前行物料描述:'
    end
    object DBText1: TDBText
      Left = 104
      Top = 8
      Width = 42
      Height = 12
      AutoSize = True
      DataField = 'ItemName'
      DataSource = DataSource
    end
  end
  inherited Pnl_Body: TPanel
    inherited DBGridEh: TDBGridEh
      OnDblClick = Act_LookExecute
      Columns = <
        Item
          FieldName = 'InvBillDate'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '日期'
          Width = 66
          KeyList.Strings = ()
        end
        Item
          FieldName = 'InvBillNo'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '单据号'
          Width = 67
          KeyList.Strings = ()
        end
        Item
          FieldName = 'MoNo'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '生产订单号'
          Width = 72
          KeyList.Strings = ()
        end
        Item
          FieldName = 'MoLineNo'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '生产订单行号'
          Width = 77
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ItemCode'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '物料代码'
          Width = 106
          Visible = False
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ItemName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '物料名称'
          Width = 197
          Visible = False
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ItemCodeName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '物料标识'
          Width = 202
          KeyList.Strings = ()
        end
        Item
          FieldName = 'UomName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '计量单位'
          Width = 57
          KeyList.Strings = ()
        end
        Item
          FieldName = 'InvBillSfcQty'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '数量'
          Width = 70
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ShiftType'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '班别'
          Width = 55
          KeyList.Strings = ()
        end
        Item
          FieldName = 'OverPlan'
          PickList.Strings = (
            ''
            '是')
          Title.Alignment = taCenter
          Title.Caption = '超订单'
          Width = 42
          KeyList.Strings = (
            '0'
            '1')
        end
        Item
          FieldName = 'EmployeeCode'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '录入员代码'
          Visible = False
          KeyList.Strings = ()
        end
        Item
          FieldName = 'EmployeeName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '录入员名称'
          Width = 63
          Visible = False
          KeyList.Strings = ()
        end
        Item
          FieldName = 'EmployeeCodeName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '录入员'
          Width = 104
          KeyList.Strings = ()
        end
        Item
          FieldName = 'BatchNo'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '批次号'
          Width = 59
          KeyList.Strings = ()
        end>
    end
  end
  inherited AdoQry_Tmp: TAdoQuery
    Left = 309
    Top = 155
  end
  inherited ActionList: TActionList
    Top = 208
    inherited Act_Look: TAction
      Enabled = True
      Visible = True
      OnExecute = Act_LookExecute
    end
  end
  inherited AdoQry_Main: TAdoQuery
    ConnectionString = 
      'Provider=SQLOLEDB.1;Password=mdrcmrm;Persist Security Info=True;' +
      'User ID=mdrcmrm;Initial Catalog=mdrcmrm;Data Source=192.168.0.15' +
      '1;Use procedure for Prepare=1;Auto Translate=True;Packet Size=40' +
      '96;Workstation ID=XYB'
    SQL.Strings = (
      'Select InvInBill.InvBillDate'
      '    ,InvInBill.InvBillId'
      '    ,InvInBill.InvBillNo'
      '    ,InvInBill.MoNo'
      '    ,InvInBill.WHCode'
      '    ,InvInBillLine.MoLineNo'
      '    ,InvInBillLine.ItemCode'
      '    ,Item.ItemName'
      '    ,InvInBillLine.ItemCode+'#39' '#39'+Item.ItemName As ItemCodeName'
      '    ,Uom.UomName'
      '    ,InvInBillLine.InvBillSfcQty'
      '    ,InvInBill.EmployeeCode'
      '    ,Employee.EmployeeName'
      '    ,InvInBill.ShiftType'
      
        '    ,InvInBill.EmployeeCode+'#39' '#39'+Employee.EmployeeName As Employe' +
        'eCodeName'
      '    ,InvInBillLine.BatchNo'
      '     From InvInBillLine'
      
        '     Join InvInBill On InvInBillLine.InvBillId=InvInBill.InvBill' +
        'Id'
      '     Join Item On InvInBillLine.ItemCode=Item.ItemCode'
      '     Join Uom On Item.UomCode=Uom.UomCode'
      
        '     Join Employee On InvInBill.EmployeeCode=Employee.EmployeeCo' +
        'de'
      ' ')
    Left = 368
    Top = 249
  end
  inherited DataSource: TDataSource
    Left = 376
    Top = 145
  end
end

⌨️ 快捷键说明

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