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

📄 inv_backpricedefine.dfm

📁 一个MRPII系统源代码版本
💻 DFM
字号:
inherited Frm_Inv_BackPriceDefine: TFrm_Inv_BackPriceDefine
  Left = 38
  Top = 145
  Caption = '退库价格定义'
  PixelsPerInch = 96
  TextHeight = 12
  inherited ControlBar: TControlBar
    inherited ToolBar: TToolBar
      inherited TlBtn_New: TToolButton
        AutoSize = True
      end
    end
  end
  inherited Pnl_Title: TPanel
    Caption = '退库价格定义'
  end
  inherited Pnl_Head: TPanel
    Height = 24
    inherited Lbl_OrderTitle: TLabel
      Left = -39
      Top = 36
      Visible = False
    end
    inherited Lbl_ConditionTitle: TLabel
      Left = 617
      Top = 25
      Visible = False
    end
    inherited Lbl_Condition: TLabel
      Left = 78
      Top = 6
    end
    inherited Lbl_Order: TLabel
      Left = 29
      Top = 36
      Width = 6
      Caption = ''
      Visible = False
    end
    object Label4: TLabel
      Left = 16
      Top = 6
      Width = 60
      Height = 12
      Caption = '处理月份:'
    end
  end
  inherited Pnl_Hint: TPanel
    Top = 396
    Height = 33
    object Label3: TLabel
      Left = 17
      Top = 16
      Width = 60
      Height = 12
      Caption = '物料描述:'
    end
    object DBText1: TDBText
      Left = 82
      Top = 16
      Width = 42
      Height = 12
      AutoSize = True
      DataField = 'ItemCode'
      DataSource = DataSource
    end
  end
  inherited Pnl_Body: TPanel
    Top = 81
    Height = 315
    inherited DBGridEh: TDBGridEh
      Height = 315
      Columns = <
        Item
          FieldName = 'WHCode'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '仓库标识'
          Width = 115
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ItemCode'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '物料标识'
          Width = 265
          KeyList.Strings = ()
        end
        Item
          FieldName = 'UomName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '计量单位'
          Width = 57
          KeyList.Strings = ()
        end
        Item
          FieldName = 'Invoutqty'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '累计发出数量'
          Width = 76
          KeyList.Strings = ()
        end
        Item
          FieldName = 'Price'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '价格'
          Width = 74
          KeyList.Strings = ()
        end
        Item
          FieldName = 'RemArk'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '备注'
          Width = 190
          KeyList.Strings = ()
        end>
    end
  end
  inherited AdoQry_Tmp: TAdoQuery
    Left = 317
    Top = 195
  end
  inherited ActionList: TActionList
    Left = 240
    Top = 120
    inherited Act_New: TAction
      Enabled = False
      Visible = False
    end
    inherited Act_Delete: TAction
      Enabled = False
      Visible = False
    end
    inherited Act_Save: TAction
      OnExecute = Act_SaveExecute
    end
    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;Data Source=192.168' +
      '.0.151;Use procedure for Prepare=1;Auto Translate=True;Packet Si' +
      'ze=4096;Workstation ID=XYB'
    CurSorType = ctStatic
    SQL.Strings = (
      'select b.InvMonth,b.WHCode,b.ItemCode,'
      '              Price,RemArk,UomName,i.Invoutqty'
      '          from BackPrice b'
      
        '          left join (select Item.ItemCode,Uom.UomName from Item,' +
        'Uom where Item.UomCode=Uom.UomCode) Uom'
      '           on b.ItemCode=Uom.ItemCode'
      
        '                    left join InvMonthSum i on i.ItemCode=b.Item' +
        'Code and i.whCode=b.whCode and i.InvMonth=b.InvMonth')
    Left = 184
    Top = 121
    object AdoQry_MainInvMonth: TStringField
      FieldName = 'InvMonth'
      FixedChAr = True
      Size = 7
    end
    object AdoQry_MainWHCode: TStringField
      FieldName = 'WHCode'
      Size = 100
    end
    object AdoQry_MainItemCode: TStringField
      FieldName = 'ItemCode'
      Size = 100
    end
    object AdoQry_MainPrice: TFloatField
      FieldName = 'Price'
    end
    object AdoQry_MainRemArk: TStringField
      FieldName = 'RemArk'
      Size = 300
    end
    object AdoQry_MainUomName: TStringField
      FieldName = 'UomName'
      Size = 10
    end
    object AdoQry_MainInvoutqty: TFloatField
      FieldName = 'Invoutqty'
    end
  end
  inherited DataSource: TDataSource
    Left = 312
    Top = 145
  end
  object AdoQry_tmp1: TAdoQuery
    Parameters = <>
    Left = 480
    Top = 193
  end
end

⌨️ 快捷键说明

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