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

📄 inv_yearsumqry.dfm

📁 一个MRPII系统源代码版本
💻 DFM
字号:
inherited Frm_Inv_YearSumQry: TFrm_Inv_YearSumQry
  Left = 50
  Top = 90
  PixelsPerInch = 96
  TextHeight = 12
  inherited Pnl_Head: TPanel
    inherited Lbl_Order: TLabel
      Width = 48
      Caption = '物料代码'
    end
  end
  inherited Pnl_Hint: TPanel
    object Label1: TLabel
      Left = 6
      Top = 8
      Width = 96
      Height = 12
      Caption = '当前行物料描述:'
    end
    object DBText1: TDBText
      Left = 102
      Top = 8
      Width = 42
      Height = 12
      AutoSize = True
      DataField = 'ItemName'
      DataSource = DataSource
    end
  end
  inherited Pnl_Body: TPanel
    inherited DBGridEh: TDBGridEh
      UseMultiTitle = True
      Columns = <
        Item
          FieldName = 'ItemCode'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '物料代码'
          Width = 75
          Visible = False
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ItemName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '物料描述'
          Width = 204
          Visible = False
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ItemCodeName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '物料标识'
          Width = 230
          KeyList.Strings = ()
        end
        Item
          FieldName = 'UomName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '计量单位'
          Width = 63
          KeyList.Strings = ()
        end
        Item
          FieldName = 'InvLMQty'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '上月结存|数量'
          KeyList.Strings = ()
        end
        Item
          FieldName = 'InvLMPrice'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '上月结存|单价'
          KeyList.Strings = ()
        end
        Item
          FieldName = 'InvLMAmount'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '上月结存|金额'
          Width = 67
          KeyList.Strings = ()
        end
        Item
          FieldName = 'InvInQty'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '本月收入|数量'
          KeyList.Strings = ()
        end
        Item
          FieldName = 'InvInPrice'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '本月收入|单价'
          KeyList.Strings = ()
        end
        Item
          FieldName = 'InvInAmount'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '本月收入|金额'
          Width = 68
          KeyList.Strings = ()
        end
        Item
          FieldName = 'InvOutQty'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '本月发出|数量'
          KeyList.Strings = ()
        end
        Item
          FieldName = 'InvOutPrice'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '本月发出|单价'
          KeyList.Strings = ()
        end
        Item
          FieldName = 'InvOutAmount'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '本月发出|金额'
          Width = 65
          KeyList.Strings = ()
        end
        Item
          FieldName = 'InvBlncQty'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '本月结存|数量'
          KeyList.Strings = ()
        end
        Item
          FieldName = 'InvBlncPrice'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '本月结存|单价'
          KeyList.Strings = ()
        end
        Item
          FieldName = 'InvBlncAmount'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '本月结存|金额'
          Width = 69
          KeyList.Strings = ()
        end>
    end
  end
  inherited ActionList: TActionList
    Left = 224
    Top = 208
  end
  inherited AdoQry_Main: TAdoQuery
    CurSorType = ctStatic
    SQL.Strings = (
      'Select InvMonthSum.ItemCode'
      '    ,Item.ItemName'
      '    ,InvMonthSum.ItemCode+'#39' '#39'+Item.ItemName As ItemCodeName'
      '    ,Uom.UomName'
      '    ,InvMonthSum.InvLMQty'
      '    ,InvMonthSum.InvLMPrice'
      '    ,InvMonthSum.InvLMAmount'
      '    ,InvMonthSum.InvInQty'
      '    ,InvMonthSum.InvInPrice'
      '    ,InvMonthSum.InvInAmount'
      '    ,InvMonthSum.InvOutQty'
      '    ,InvMonthSum.InvOutPrice'
      '    ,InvMonthSum.InvOutAmount'
      '    ,InvMonthSum.InvBlncQty'
      '    ,InvMonthSum.InvBlncPrice'
      '    ,InvMonthSum.InvBlncAmount'
      
        '     From InvMonthSum Join Item On InvMonthSum.ItemCode=Item.Ite' +
        'mCode'
      '     Join Uom On Item.UomCode=Uom.UomCode'
      ' ')
    Left = 320
    Top = 225
  end
  inherited DataSource: TDataSource
    Left = 368
    Top = 209
  end
end

⌨️ 快捷键说明

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