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

📄 inv_otherinaudit_h.dfm

📁 一个MRPII系统源代码版本
💻 DFM
字号:
inherited Frm_Inv_OtherInAudit_H: TFrm_Inv_OtherInAudit_H
  Left = -43
  Top = 96
  Caption = '其它入库核价'
  Windowstate = wsMaximized
  PixelsPerInch = 96
  TextHeight = 12
  inherited Pnl_Title: TPanel
    Caption = '其它入库核价'
  end
  inherited Pnl_Head: TPanel
    inherited Lbl_ConditionTitle: TLabel
      Visible = False
    end
    inherited Lbl_Order: TLabel
      Width = 96
      Caption = '仓库代码,单据号'
    end
  end
  inherited Pnl_Body: TPanel
    inherited DBGridEh: TDBGridEh
      Columns = <
        Item
          FieldName = 'InvBillwhchck'
          PickList.Strings = ()
          Title.Caption = '己核标记'
          KeyList.Strings = (
            '1'
            '0')
          Checkboxes = True
        end
        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 = 100
          KeyList.Strings = ()
        end
        Item
          FieldName = 'OutType'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '入库对象'
          Width = 100
          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 = 250
          KeyList.Strings = ()
        end
        Item
          FieldName = 'WhPositionCodeName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '货位'
          Width = 100
          KeyList.Strings = ()
        end>
    end
  end
  inherited ActionList: TActionList
    inherited Act_New: 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;Data Source=NT2'
    CurSorType = ctStatic
    SQL.Strings = (
      '                  select'
      '                    i.InvBillwhchck, '
      '                    i.InvBillid,'
      '                    i.whCode,'
      '                    w.whName,'
      '                    i.whCode+'#39' '#39'+w.whName as whCodeName,'
      '                    i.InvBillno,'
      '                    i.InvBilldate,'
      '                    i.currencyCode,'
      '                    i.wh_EmployeeCode,'
      '                    i.InvBillremArk,'
      '                    i.InvBilltaxrate, '
      '                    i.BillType2Code,'
      '                    b.BillType2Name, '
      
        '                    i.BillType2Code+'#39' '#39'+b.BillType2Name as Billt' +
        'ype2CodeName,'
      '                    OutType='
      '                    case'
      '                      when i.DeptCode<>'#39#39' then '#39'部门'#39
      '                      when i.VendorCode<>'#39#39' then '#39'供应商'#39
      '                    else '#39#39
      '                    end,'
      ''
      '                    OutCode='
      '                    case'
      '                      when i.DeptCode<>'#39#39' then i.DeptCode'
      '                      when i.VendorCode<>'#39#39' then i.VendorCode'
      '                    else '#39#39
      '                    end,'
      '                   OutName='
      '                   case'
      '                     when i.DeptCode<>'#39#39' then D.DeptName'
      '                     when i.VendorCode<>'#39#39' then V.VendorName'
      '                   else '#39#39
      '                   end,'
      '                   i.WhPositionCode,'
      '                   p.WhPositionName,'
      
        '                   i.WhPositionCode+'#39' '#39'+p.WhPositionName as whpo' +
        'sitionCodeName'
      '    from InvInBill i'
      '    left join Dept D on i.DeptCode=D.DeptCode'
      '    left join Vendor V on i.VendorCode=V.VendorCode'
      '    left join Warehouse w on i.whCode=w.whCode'
      '    left join BillType2 b on i.BillType2Code=b.BillType2Code '
      '    left join WhPosition p on i.WhPositionCode=p.WhPositionCode'
      'where i.InvBillStkchck=0 and BillTypeCode='#39'0199'#39)
    object AdoQry_HeadInvBillwhchck: TIntegerField
      FieldName = 'InvBillwhchck'
    end
    object AdoQry_HeadInvBillid: TBCDField
      FieldName = 'InvBillid'
      Origin = 'i'
      ReadOnly = True
      Precision = 18
      Size = 0
    end
    object AdoQry_HeadwhCodeName: TStringField
      FieldName = 'whCodeName'
      ReadOnly = True
      Size = 45
    end
    object AdoQry_HeadInvBillno: TStringField
      FieldName = 'InvBillno'
      Origin = 'i'
      Size = 10
    end
    object AdoQry_HeadInvBilldate: TDateTimeField
      FieldName = 'InvBilldate'
      Origin = 'i'
    end
    object AdoQry_HeadInvBilltaxrate: TFloatField
      FieldName = 'InvBilltaxrate'
      Origin = 'i'
    end
    object AdoQry_HeadBillType2CodeName: TStringField
      FieldName = 'BillType2CodeName'
      ReadOnly = True
      Size = 25
    end
    object AdoQry_HeadOutType: TStringField
      FieldName = 'OutType'
      ReadOnly = True
      Size = 6
    end
    object AdoQry_HeadOutCode: TStringField
      FieldName = 'OutCode'
      ReadOnly = True
      Size = 12
    end
    object AdoQry_HeadOutName: TStringField
      FieldName = 'OutName'
      ReadOnly = True
      Size = 60
    end
    object AdoQry_HeadWhPositionCodeName: TStringField
      FieldName = 'WhPositionCodeName'
      ReadOnly = True
      Size = 45
    end
    object AdoQry_HeadwhCode: TStringField
      FieldName = 'whCode'
      Origin = 'i'
      Size = 4
    end
    object AdoQry_HeadwhName: TStringField
      FieldName = 'whName'
      Size = 40
    end
    object AdoQry_HeadWhPositionCode: TStringField
      FieldName = 'WhPositionCode'
      Size = 4
    end
    object AdoQry_HeadWhPositionName: TStringField
      FieldName = 'WhPositionName'
      Size = 40
    end
    object AdoQry_HeadBillType2Code: TStringField
      FieldName = 'BillType2Code'
      Origin = 'i'
      Size = 4
    end
    object AdoQry_HeadBillType2Name: TStringField
      FieldName = 'BillType2Name'
    end
    object AdoQry_HeadInvBillremArk: TStringField
      FieldName = 'InvBillremArk'
      Size = 60
    end
    object AdoQry_HeadcurrencyCode: TStringField
      FieldName = 'currencyCode'
      Size = 2
    end
    object AdoQry_Headwh_EmployeeCode: TStringField
      FieldName = 'wh_EmployeeCode'
      Size = 30
    end
  end
end

⌨️ 快捷键说明

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