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

📄 sal_qry_chginfosalecontract.dfm

📁 一个MRPII系统源代码版本
💻 DFM
字号:
inherited Frm_Sal_Qry_ChgInfoSaleContract: TFrm_Sal_Qry_ChgInfoSaleContract
  Caption = '销售合同表身操作日志'
  PixelsPerInch = 96
  TextHeight = 12
  inherited Pnl_Title: TPanel
    Caption = '销售合同表身操作日志'
  end
  inherited Pnl_Head: TPanel
    inherited Lbl_Order: TLabel
      Width = 102
      Caption = '操作时间/销售客户'
    end
  end
  inherited Pnl_Body: TPanel
    inherited DBGridEh: TDBGridEh
      FrozenCols = 3
      Columns = <
        Item
          FieldName = 'CustomerCode'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '销售客户代码'
          Visible = False
          KeyList.Strings = ()
        end
        Item
          FieldName = 'customerName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '销售客户名称'
          Visible = False
          KeyList.Strings = ()
        end
        Item
          FieldName = 'CustomerB'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '销售客户标识'
          Width = 117
          KeyList.Strings = ()
        end
        Item
          FieldName = 'SlcNo'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '销售合同号'
          Width = 76
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ItemCode'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '物料代码'
          Visible = False
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ItemName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '物料描述'
          Visible = False
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ItemB'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '物料标识'
          Width = 250
          KeyList.Strings = ()
        end
        Item
          FieldName = 'StArtDate'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '起始日期'
          Width = 77
          KeyList.Strings = ()
        end
        Item
          FieldName = 'endDate'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '终至日期'
          Width = 72
          KeyList.Strings = ()
        end
        Item
          FieldName = 'StArtQty'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '起始数量'
          Width = 52
          KeyList.Strings = ()
        end
        Item
          FieldName = 'endQty'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '终至数量'
          Width = 52
          KeyList.Strings = ()
        end
        Item
          FieldName = 'NoTaxPrice'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '未税价'
          Width = 42
          KeyList.Strings = ()
        end
        Item
          FieldName = 'TaxPrice'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '含税价'
          Width = 42
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ReferencedPrice'
          PickList.Strings = (
            '标准 '
            '非标准')
          Title.Alignment = taCenter
          Title.Caption = '价格类型'
          Width = 53
          KeyList.Strings = (
            '1'
            '0')
        end
        Item
          FieldName = 'Linestatus'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '合同行状态'
          KeyList.Strings = ()
        end
        Item
          FieldName = 'SlcLineRemArk'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '备注'
          Width = 61
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ChgType'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '操作类型 '
          KeyList.Strings = ()
        end
        Item
          FieldName = 'chgEmployeeCode'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '操作人员代码'
          Visible = False
          KeyList.Strings = ()
        end
        Item
          FieldName = 'EmployeeName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '人员名称'
          Visible = False
          KeyList.Strings = ()
        end
        Item
          FieldName = 'EmployeeB'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '操作人员标识'
          Width = 118
          KeyList.Strings = ()
        end
        Item
          FieldName = 'Chgtime'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '操作时间'
          Visible = False
          KeyList.Strings = ()
        end>
    end
  end
  inherited ActionList: TActionList
    Left = 200
    Top = 200
  end
  inherited AdoQry_Main: TAdoQuery
    ConnectionString = 
      'Provider=SQLOLEDB.1;Password=mdrcmrm;Persist Security Info=True;' +
      'User ID=mdrcmrm;Initial Catalog=Mrpii_Puyuan_010207;Data Source=' +
      '192.168.0.151;Use procedure for Prepare=1;Auto Translate=True;Pa' +
      'cket Size=4096;Workstation ID=XYB'
    CurSorType = ctStatic
    SQL.Strings = (
      'select  sa_SaleContractHistory.CustomerCode,'
      '        customer.customerName,'
      
        '        sa_SaleContractHistory.CustomerCode+'#39' '#39'+customer.custome' +
        'rName as CustomerB,'
      #9'sa_SaleContractLineHistory.SlcNo,'
      #9'sa_SaleContractLineHistory.ItemCode,'
      '        Item.ItemName,'
      #9'sa_SaleContractLineHistory.ItemCode+'#39' '#39'+Item.ItemName as ItemB,'
      #9'sa_SaleContractLineHistory.StArtDate,'
      #9'sa_SaleContractLineHistory.endDate,'
      #9'sa_SaleContractLineHistory.StArtQty,'
      #9'sa_SaleContractLineHistory.endQty,'
      #9'sa_SaleContractLineHistory.NoTaxPrice,'
      #9'sa_SaleContractLineHistory.TaxPrice,'
      #9'sa_SaleContractLineHistory.ReferencedPrice,'
      #9'sa_SaleContractLineHistory.Linestatus,'
      #9'sa_SaleContractLineHistory.SlcLineRemArk,'
      #9'sa_SaleContractLineHistory.ChgType,'
      #9'sa_SaleContractLineHistory.chgEmployeeCode,'
      '        Employee.EmployeeName,'
      
        #9'sa_SaleContractLineHistory.chgEmployeeCode+'#39' '#39'+Employee.employe' +
        'eName as EmployeeB,'
      '        sa_SaleContractLineHistory.Chgtime'
      'from sa_SaleContractLineHistory'
      
        'join sa_SaleContractHistory on sa_SaleContractLineHistory.SlcNo=' +
        'sa_SaleContractHistory.SlcNo'
      
        'join customer on sa_SaleContractHistory.CustomerCode=customer.Cu' +
        'stomerCode'
      'join Item on sa_SaleContractLineHistory.ItemCode=Item.ItemCode'
      
        'join Employee on sa_SaleContractLineHistory.chgEmployeeCode=empl' +
        'oyee.EmployeeCode'
      ''
      '')
    Left = 304
    Top = 241
    object AdoQry_MainCustomerCode: TStringField
      FieldName = 'CustomerCode'
      Origin = 'sa_SaleContractHistory'
      Size = 12
    end
    object AdoQry_MaincustomerName: TStringField
      FieldName = 'customerName'
      Origin = 'customer'
      Size = 60
    end
    object AdoQry_MainCustomerB: TStringField
      FieldName = 'CustomerB'
      ReadOnly = True
      Size = 73
    end
    object AdoQry_MainSlcNo: TStringField
      FieldName = 'SlcNo'
      Origin = 'sa_SaleContractLineHistory'
      Size = 16
    end
    object AdoQry_MainItemCode: TStringField
      FieldName = 'ItemCode'
      Origin = 'sa_SaleContractLineHistory'
      Size = 16
    end
    object AdoQry_MainItemName: TStringField
      FieldName = 'ItemName'
      Origin = 'Item'
      Size = 80
    end
    object AdoQry_MainItemB: TStringField
      FieldName = 'ItemB'
      ReadOnly = True
      Size = 97
    end
    object AdoQry_MainStArtDate: TDateTimeField
      FieldName = 'StArtDate'
      Origin = 'sa_SaleContractLineHistory'
    end
    object AdoQry_MainendDate: TDateTimeField
      FieldName = 'endDate'
      Origin = 'sa_SaleContractLineHistory'
    end
    object AdoQry_MainStArtQty: TFloatField
      FieldName = 'StArtQty'
      Origin = 'sa_SaleContractLineHistory'
    end
    object AdoQry_MainendQty: TFloatField
      FieldName = 'endQty'
      Origin = 'sa_SaleContractLineHistory'
    end
    object AdoQry_MainNoTaxPrice: TFloatField
      FieldName = 'NoTaxPrice'
      Origin = 'sa_SaleContractLineHistory'
    end
    object AdoQry_MainTaxPrice: TFloatField
      FieldName = 'TaxPrice'
      Origin = 'sa_SaleContractLineHistory'
    end
    object AdoQry_MainReferencedPrice: TIntegerField
      FieldName = 'ReferencedPrice'
      Origin = 'sa_SaleContractLineHistory'
    end
    object AdoQry_MainLinestatus: TIntegerField
      FieldName = 'Linestatus'
      Origin = 'sa_SaleContractLineHistory'
    end
    object AdoQry_MainSlcLineRemArk: TStringField
      FieldName = 'SlcLineRemArk'
      Origin = 'sa_SaleContractLineHistory'
      Size = 60
    end
    object AdoQry_MainChgType: TStringField
      FieldName = 'ChgType'
      Origin = 'sa_SaleContractLineHistory'
      Size = 10
    end
    object AdoQry_MainchgEmployeeCode: TStringField
      FieldName = 'chgEmployeeCode'
      Origin = 'sa_SaleContractLineHistory'
      Size = 30
    end
    object AdoQry_MainEmployeeName: TStringField
      FieldName = 'EmployeeName'
      Origin = 'Employee'
      Size = 60
    end
    object AdoQry_MainEmployeeB: TStringField
      FieldName = 'EmployeeB'
      ReadOnly = True
      Size = 91
    end
    object AdoQry_MainChgtime: TDateTimeField
      FieldName = 'Chgtime'
      Origin = 'sa_SaleContractLineHistory'
    end
  end
end

⌨️ 快捷键说明

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