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

📄 inv_averagepriceqry.dfm

📁 一个MRPII系统源代码版本
💻 DFM
字号:
inherited Frm_Inv_AveragePriceQry: TFrm_Inv_AveragePriceQry
  Left = 6
  Top = 93
  Caption = '当前移动加权平均价'
  ClientHeight = 480
  ClientWidth = 774
  OnShow = FormShow
  PixelsPerInch = 96
  TextHeight = 12
  inherited ControlBar: TControlBar
    Width = 774
  end
  inherited Pnl_Title: TPanel
    Width = 774
    Caption = '当前移动加权平均价'
  end
  inherited Pnl_Head: TPanel
    Width = 774
  end
  inherited Pnl_Hint: TPanel
    Top = 448
    Width = 774
    Height = 32
    object Label1: TLabel
      Left = 16
      Top = 8
      Width = 60
      Height = 12
      Caption = '物料标识:'
    end
    object DBText1: TDBText
      Left = 88
      Top = 8
      Width = 42
      Height = 12
      AutoSize = True
      DataField = 'ItemCode'
      DataSource = DataSource
    end
  end
  inherited Pnl_Body: TPanel
    Width = 774
    Height = 351
    inherited DBGridEh: TDBGridEh
      Width = 774
      Height = 351
      UseMultiTitle = True
      Columns = <
        Item
          FieldName = 'ItemCode'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '物料标识'
          Width = 296
          KeyList.Strings = ()
        end
        Item
          FieldName = 'whCode'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '仓库标识'
          Width = 149
          KeyList.Strings = ()
        end
        Item
          FieldName = 'UomName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '计量单位'
          Width = 33
          KeyList.Strings = ()
        end
        Item
          FieldName = 'AveragePrice'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '当前会计期|平均价'
          Width = 88
          KeyList.Strings = ()
        end
        Item
          FieldName = 'Apqty'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '当前会计期|结存数量'
          Width = 93
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ApAmount'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '当前会计期|结存金额'
          Width = 100
          KeyList.Strings = ()
        end>
    end
  end
  inherited AdoQry_Tmp: TAdoQuery
    Left = 325
    Top = 195
  end
  inherited ActionList: TActionList
    Top = 176
    inherited Act_Look: TAction
      Enabled = True
      Visible = True
    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
    SQL.Strings = (
      'select AveragePrice.whCode+'#39' '#39'+Warehouse.whName whCode,'
      '              AveragePrice.ItemCode+'#39' '#39'+Uom.ItemName ItemCode,'
      '              AveragePrice.AveragePrice,'
      '              AveragePrice.Apqty,'
      '              AveragePrice.ApAmount,Uom.UomName '
      '          from AveragePrice '
      
        '          left join (select Item.ItemCode,Item.ItemName,UomName ' +
        'from Item,Uom where Item.UomCode=Uom.UomCode) Uom'
      '          on  AveragePrice.ItemCode=Uom.ItemCode'
      
        '                    left join Warehouse on AveragePrice.whCode=w' +
        'Arehouse.whCode'
      '                    ')
    Top = 177
  end
  inherited DataSource: TDataSource
    Top = 185
  end
end

⌨️ 快捷键说明

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