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

📄 sal_enter_passsalecontract.dfm

📁 一个MRPII系统源代码版本
💻 DFM
字号:
inherited Frm_Sal_Enter_PassSaleContract: TFrm_Sal_Enter_PassSaleContract
  Left = 7
  Top = 116
  Caption = '销售价格表批准'
  OnDestroy = FormDestroy
  PixelsPerInch = 96
  TextHeight = 12
  inherited Pnl_Title: TPanel
    Caption = '销售价格表批准'
  end
  inherited Pnl_Head: TPanel
    inherited Lbl_Order: TLabel
      Width = 48
      Caption = '客户代码'
    end
  end
  inherited Pnl_Hint: TPanel
    Top = 408
    Height = 33
    inherited Image4: TImage
      Height = 33
    end
    object DBText2: TDBText
      Left = 69
      Top = 4
      Width = 42
      Height = 12
      AutoSize = True
      DataField = 'Itemflag'
      DataSource = DataSource
      TransParent = True
    end
    object Label2: TLabel
      Left = 3
      Top = 4
      Width = 60
      Height = 12
      Caption = '物料标识:'
      TransParent = True
    end
  end
  inherited Pnl_Body: TPanel
    Height = 311
    inherited Image3: TImage
      Height = 311
    end
    inherited DBGridEh: TDBGridEh
      Height = 311
      ReadOnly = False
      OnTitleClick = DBGridEhTitleClick
      FrozenCols = 5
      Columns = <
        Item
          FieldName = 'checkflag'
          PickList.Strings = (
            '1'
            '0')
          Title.Font.ChArset = GB2312_CHArSET
          Title.Font.Color = clBlue
          Title.Font.Height = -12
          Title.Font.Name = '宋体'
          Title.Font.Style = []
          Width = 30
          KeyList.Strings = (
            '1'
            '0')
          Checkboxes = True
        end
        Item
          FieldName = 'customerCode'
          PickList.Strings = ()
          ReadOnly = True
          Width = 80
          Visible = False
          KeyList.Strings = ()
        end
        Item
          FieldName = 'customerName'
          PickList.Strings = ()
          ReadOnly = True
          Width = 150
          Visible = False
          KeyList.Strings = ()
        end
        Item
          FieldName = 'customerflag'
          PickList.Strings = ()
          Width = 200
          KeyList.Strings = ()
        end
        Item
          FieldName = 'slclineno'
          PickList.Strings = ()
          ReadOnly = True
          Title.Caption = '价格表行号'
          Width = 41
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ItemCode'
          PickList.Strings = ()
          ReadOnly = True
          Visible = False
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ItemName'
          PickList.Strings = ()
          ReadOnly = True
          Visible = False
          KeyList.Strings = ()
        end
        Item
          FieldName = 'Itemflag'
          PickList.Strings = ()
          Width = 200
          KeyList.Strings = ()
        end
        Item
          FieldName = 'linestatus'
          PickList.Strings = (
            '0 未批准'
            '1 已批准')
          ReadOnly = True
          Width = 55
          KeyList.Strings = (
            '0'
            '1')
        end
        Item
          FieldName = 'stArtdate'
          PickList.Strings = ()
          ReadOnly = True
          Width = 67
          KeyList.Strings = ()
        end
        Item
          FieldName = 'enddate'
          PickList.Strings = ()
          ReadOnly = True
          Width = 67
          KeyList.Strings = ()
        end
        Item
          FieldName = 'stArtqty'
          PickList.Strings = ()
          ReadOnly = True
          KeyList.Strings = ()
        end
        Item
          FieldName = 'endqty'
          PickList.Strings = ()
          ReadOnly = True
          Width = 58
          KeyList.Strings = ()
        end
        Item
          FieldName = 'notaxPrice'
          PickList.Strings = ()
          ReadOnly = True
          Width = 50
          KeyList.Strings = ()
        end
        Item
          FieldName = 'taxPrice'
          PickList.Strings = ()
          ReadOnly = True
          Width = 48
          KeyList.Strings = ()
        end
        Item
          FieldName = 'taxrate'
          PickList.Strings = ()
          Width = 39
          KeyList.Strings = ()
        end
        Item
          FieldName = 'slclineremArk'
          PickList.Strings = ()
          ReadOnly = True
          Width = 200
          KeyList.Strings = ()
        end
        Item
          FieldName = 'slcdate'
          PickList.Strings = ()
          ReadOnly = True
          Title.Caption = '建表日期'
          Width = 70
          KeyList.Strings = ()
        end>
    end
  end
  inherited ActionList: TActionList
    Top = 176
    inherited Act_CancelCheck: TAction
      OnExecute = Act_CancelCheckExecute
    end
    inherited Act_Check: TAction
      OnExecute = Act_CheckExecute
    end
  end
  inherited AdoQry_Head: TAdoQuery
    ConnectionString = 
      'Provider=SQLOLEDB.1;Password=mdrcmrm;Persist Security Info=True;' +
      'User ID=mdrcmrm;Initial Catalog=mdrcmrm_B_old;Data Source=ZHENGJ' +
      'IArONG'
    BeforeInsert = AdoQry_HeadBeforeInsert
    SQL.Strings = (
      'select sa_SaleContract.customerCode,'
      '       customer.customerName,'
      
        '       sa_SaleContract.customerCode+'#39' '#39'+customer.customerName as' +
        ' customerflag,'
      '       sa_SaleContract.slcno,'
      '       sa_SaleContractline.slclineno,'
      '       sa_SaleContract.slcdate,'
      '       sa_SaleContractline.ItemCode,'
      '       Item.ItemName,'
      
        '       sa_SaleContractline.ItemCode+'#39' '#39'+Item.ItemName as Itemfla' +
        'g,'
      '       sa_SaleContractline.stArtdate,'
      '       sa_SaleContractline.enddate,'
      '       sa_SaleContractline.stArtqty,'
      '       sa_SaleContractline.endqty,'
      '       sa_SaleContractline.notaxPrice,'
      '       sa_SaleContractline.taxPrice,'
      '       sa_SaleContractline.referencedPrice,'
      '       sa_SaleContractline.linestatus,'
      '       sa_SaleContractline.slclineremArk,'
      '       sa_SaleContractline.checkflag,'
      '       taxrate=convert(varchAr,taxrate_Percent)+'#39'%'#39
      'from  sa_SaleContractline '
      
        'join  sa_SaleContract on sa_SaleContractline.slcno=sa_Salecontra' +
        'ct.slcno'
      
        'join  customer on sa_SaleContract.customerCode=customer.customer' +
        'Name'
      'join  Item on sa_SaleContractline.ItemCode=Item.ItemCode'
      '     ')
    Left = 280
    Top = 198
    object AdoQry_HeadcustomerCode: TStringField
      DisplayLabel = '客户代码'
      FieldName = 'customerCode'
      Origin = '#tmpContractPass'
      Size = 12
    end
    object AdoQry_HeadcustomerName: TStringField
      DisplayLabel = '客户名称'
      FieldName = 'customerName'
      Origin = '#tmpContractPass'
      Size = 60
    end
    object AdoQry_Headslcno: TStringField
      DisplayLabel = '销售合同号'
      FieldName = 'slcno'
      Origin = '#tmpContractPass'
      Size = 16
    end
    object AdoQry_Headslcdate: TDateTimeField
      DisplayLabel = '合同日期'
      FieldName = 'slcdate'
      Origin = '#tmpContractPass'
    end
    object AdoQry_HeadItemCode: TStringField
      DisplayLabel = '物料代码'
      FieldName = 'ItemCode'
      Origin = '#tmpContractPass'
      Size = 16
    end
    object AdoQry_HeadItemName: TStringField
      DisplayLabel = '物料描述'
      FieldName = 'ItemName'
      Origin = '#tmpContractPass'
      Size = 80
    end
    object AdoQry_HeadItemflag: TStringField
      DisplayLabel = '物料标识'
      FieldName = 'Itemflag'
      Origin = '#tmpContractPass'
      ReadOnly = True
      Size = 97
    end
    object AdoQry_HeadstArtdate: TDateTimeField
      DisplayLabel = '起始日期'
      FieldName = 'stArtdate'
      Origin = '#tmpContractPass'
    end
    object AdoQry_Headenddate: TDateTimeField
      DisplayLabel = '终止日期'
      FieldName = 'enddate'
      Origin = '#tmpContractPass'
    end
    object AdoQry_HeadstArtqty: TFloatField
      DisplayLabel = '起始数量'
      FieldName = 'stArtqty'
      Origin = '#tmpContractPass'
    end
    object AdoQry_Headendqty: TFloatField
      DisplayLabel = '终止数量'
      FieldName = 'endqty'
      Origin = '#tmpContractPass'
    end
    object AdoQry_HeadnotaxPrice: TFloatField
      DisplayLabel = '未税价'
      FieldName = 'notaxPrice'
      Origin = '#tmpContractPass'
    end
    object AdoQry_HeadtaxPrice: TFloatField
      DisplayLabel = '含税价'
      FieldName = 'taxPrice'
      Origin = '#tmpContractPass'
    end
    object AdoQry_HeadreferencedPrice: TIntegerField
      DisplayLabel = '价格类型'
      FieldName = 'referencedPrice'
      Origin = '#tmpContractPass'
    end
    object AdoQry_Headlinestatus: TIntegerField
      DisplayLabel = '行状态'
      FieldName = 'linestatus'
      Origin = '#tmpContractPass'
    end
    object AdoQry_HeadslclineremArk: TStringField
      DisplayLabel = '备注'
      FieldName = 'slclineremArk'
      Origin = '#tmpContractPass'
      Size = 60
    end
    object AdoQry_Headcheckflag: TIntegerField
      DisplayLabel = '标记'
      FieldName = 'checkflag'
      Origin = '#tmpContractPass'
    end
    object AdoQry_Headtaxrate: TStringField
      DisplayLabel = '税率'
      FieldName = 'taxrate'
      Origin = '#tmpContractPass'
      ReadOnly = True
      Size = 31
    end
    object AdoQry_Headcustomerflag: TStringField
      DisplayLabel = '客户标识'
      FieldName = 'customerflag'
      Origin = '#tmpContractPass'
      ReadOnly = True
      Size = 73
    end
    object AdoQry_Headslclineno: TIntegerField
      DisplayLabel = '合同行号'
      FieldName = 'slclineno'
      Origin = '#tmpContractPass'
    end
  end
  inherited PopuPmenu: TPopuPmenu
    Left = 444
  end
end

⌨️ 快捷键说明

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