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

📄 inv_otherin_h.dfm

📁 一个MRPII系统源代码版本
💻 DFM
字号:
inherited Frm_Inv_OtherIn_H: TFrm_Inv_OtherIn_H
  Left = 16
  Top = 120
  Caption = '其它入库'
  Windowstate = wsMaximized
  OnDestroy = FormDestroy
  PixelsPerInch = 96
  TextHeight = 12
  inherited Pnl_Title: TPanel
    Caption = '其它入库'
  end
  inherited Pnl_Head: TPanel
    inherited Lbl_Order: TLabel
      Width = 96
      Caption = '仓库代码,单据号'
    end
  end
  inherited Pnl_Body: TPanel
    inherited DBGridEh: TDBGridEh
      Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgRowSelect, dgConfirmDelete, dgCancelOnExit]
      Columns = <
        Item
          FieldName = 'whCodeName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '仓库'
          Width = 120
          KeyList.Strings = ()
        end
        Item
          FieldName = 'InvBillno'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '单据号'
          Width = 80
          KeyList.Strings = ()
        end
        Item
          FieldName = 'InvBilldate'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '单据日期'
          Width = 80
          KeyList.Strings = ()
        end
        Item
          FieldName = 'BillType2CodeName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '入库类型'
          Width = 150
          KeyList.Strings = ()
        end
        Item
          FieldName = 'OutType'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '入库对象'
          Width = 80
          KeyList.Strings = ()
        end
        Item
          FieldName = 'OutCode'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '入库对象代码'
          Width = 80
          KeyList.Strings = ()
        end
        Item
          FieldName = 'OutName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '入库对象描述'
          Width = 150
          KeyList.Strings = ()
        end
        Item
          FieldName = 'WhPositionCodeName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '货位'
          Width = 120
          KeyList.Strings = ()
        end
        Item
          FieldName = 'whCode'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '仓库代码'
          Visible = False
          KeyList.Strings = ()
        end
        Item
          FieldName = 'BillType2Code'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '入库类型代码'
          Visible = False
          KeyList.Strings = ()
        end
        Item
          FieldName = 'WhPositionCode'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '货位代码'
          Visible = False
          KeyList.Strings = ()
        end>
    end
  end
  inherited ActionList: TActionList
    inherited Act_Modify: TAction
      Enabled = False
      Visible = False
    end
    inherited Act_Delete: TAction
      Enabled = False
      Visible = False
    end
  end
  inherited AdoQry_Head: TAdoQuery
    ConnectionString = 
      'Provider=SQLOLEDB.1;Password=mdrcmrm;Persist Security Info=True;' +
      'User ID=mdrcmrm;Initial Catalog=mdrcmrm_B;Data Source=192.168.0.' +
      '151'
    CurSorType = ctStatic
    SQL.Strings = (
      'select '
      '                    InvInBill.InvBillid,'
      '                    InvInBill.whCode,'
      '                    InvInBill.WhPositionCode,'
      '                    InvInBill.whCode+'#39' '#39'+w.whName as whCodeName,'
      '                    InvInBill.InvBillno,'
      '                    InvInBill.currencyCode,  '
      '                    InvInBill.InvBilldate,'
      '                    InvInBill.InvBillremArk,'
      '                    InvInBill.InvBilltaxrate,'
      '                    InvInBill.BillType2Code,'
      
        '                    InvInBill.BillType2Code+'#39' '#39'+b.BillType2Name ' +
        'as BillType2CodeName,'
      '                    OutType='
      '                    case'
      
        '                      when InvInBill.DeptCode is not null then '#39 +
        '部门'#39' '
      
        '                      when InvInBill.VendorCode is not null then' +
        ' '#39'供应商'#39' '
      '                    else '
      '                     '#39#39
      '                     end,'
      '                   OutCode='
      '                    case'
      
        '                      when InvInBill.DeptCode is not null then I' +
        'nvInBill.DeptCode '
      
        '                      when InvInBill.VendorCode is not null then' +
        ' InvInBill.VendorCode '
      '                    else '
      '                    '#39' '#39
      '                    end,'
      '                   OutName='
      '                   case'
      
        '                     when InvInBill.DeptCode is not null then D.' +
        'DeptName '
      
        '                     when InvInBill.VendorCode is not null then ' +
        'V.VendorName '
      '                   else '
      '                    '#39' '#39
      '                   end, '
      '                   InvInBill.WhPositionCode,'
      
        '                   InvInBill.WhPositionCode+'#39' '#39'+p.WhPositionName' +
        ' as WhPositionCodeName '
      '    from InvInBill  '
      '    left join Dept D on InvInBill.DeptCode=D.DeptCode '
      '    left join Vendor V on InvInBill.VendorCode=V.VendorCode '
      '    left join Warehouse w on InvInBill.whCode=w.whCode '
      
        '    left join BillType2 b on InvInBill.BillType2Code=b.BillType2' +
        'Code '
      
        '    left join WhPosition p on InvInBill.whCode=p.whCode and InvI' +
        'nBill.WhPositionCode=p.WhPositionCode '
      
        'where InvInBill.InvBillStkchck=0 and InvInBill.BillTypeCode='#39'019' +
        '9'#39)
    object AdoQry_HeadInvBillid: TFloatField
      FieldName = 'InvBillid'
      ReadOnly = True
    end
    object AdoQry_HeadwhCode: TStringField
      FieldName = 'whCode'
      Origin = 'InvInBill'
      Size = 4
    end
    object AdoQry_HeadWhPositionCode: TStringField
      FieldName = 'WhPositionCode'
      Origin = 'InvInBill'
      Size = 4
    end
    object AdoQry_HeadwhCodeName: TStringField
      FieldName = 'whCodeName'
      ReadOnly = True
      Size = 45
    end
    object AdoQry_HeadInvBillno: TStringField
      FieldName = 'InvBillno'
      Origin = 'InvInBill'
      Size = 10
    end
    object AdoQry_HeadcurrencyCode: TStringField
      FieldName = 'currencyCode'
      Origin = 'InvInBill'
      Size = 2
    end
    object AdoQry_HeadInvBilldate: TDateTimeField
      FieldName = 'InvBilldate'
      Origin = 'InvInBill'
    end
    object AdoQry_HeadInvBillremArk: TStringField
      FieldName = 'InvBillremArk'
      Origin = 'InvInBill'
      Size = 250
    end
    object AdoQry_HeadInvBilltaxrate: TFloatField
      FieldName = 'InvBilltaxrate'
      Origin = 'InvInBill'
    end
    object AdoQry_HeadBillType2Code: TStringField
      FieldName = 'BillType2Code'
      Origin = 'InvInBill'
      Size = 4
    end
    object AdoQry_HeadBillType2CodeName: TStringField
      FieldName = 'BillType2CodeName'
      ReadOnly = True
      Size = 25
    end
    object AdoQry_HeadOutType: TStringField
      FieldName = 'OutType'
      Size = 6
    end
    object AdoQry_HeadOutCode: TStringField
      FieldName = 'OutCode'
      Size = 12
    end
    object AdoQry_HeadOutName: TStringField
      FieldName = 'OutName'
      Size = 60
    end
    object AdoQry_HeadWhPositionCode_1: TStringField
      FieldName = 'WhPositionCode_1'
      Size = 4
    end
    object AdoQry_HeadWhPositionCodeName: TStringField
      FieldName = 'WhPositionCodeName'
      ReadOnly = True
      Size = 45
    end
  end
end

⌨️ 快捷键说明

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