上传用户:zhpu1995
上传日期:2013-09-06
资源大小:61151k
文件大小:42k
源码类别:

企业管理

开发平台:

Visual Basic

  1. VERSION 5.00
  2. Object = "{BEEECC20-4D5F-4F8B-BFDC-5D9B6FBDE09D}#1.0#0"; "vsflex8.ocx"
  3. Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "mscomctl.ocx"
  4. Begin VB.Form Cg_PurPlanExecThing 
  5.    Caption         =   "采购计划执行情况—明细(关联)"
  6.    ClientHeight    =   8595
  7.    ClientLeft      =   315
  8.    ClientTop       =   390
  9.    ClientWidth     =   11820
  10.    HelpContextID   =   110300602
  11.    Icon            =   "采购系统_采购执行情况明细(关联)查询结果.frx":0000
  12.    KeyPreview      =   -1  'True
  13.    LinkTopic       =   "Form1"
  14.    MDIChild        =   -1  'True
  15.    ScaleHeight     =   8595
  16.    ScaleWidth      =   11820
  17.    WindowState     =   2  'Maximized
  18.    Begin MSComctlLib.Toolbar GsToolbar 
  19.       Height          =   525
  20.       Left            =   9330
  21.       TabIndex        =   3
  22.       Top             =   30
  23.       Width           =   2475
  24.       _ExtentX        =   4366
  25.       _ExtentY        =   926
  26.       ButtonWidth     =   1455
  27.       ButtonHeight    =   926
  28.       Appearance      =   1
  29.       Style           =   1
  30.       ImageList       =   "ImageList2"
  31.       _Version        =   393216
  32.       BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628} 
  33.          NumButtons      =   3
  34.          BeginProperty Button1 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  35.             Caption         =   "保存格式"
  36.             Key             =   "bcgs"
  37.             ImageKey        =   "bcgs"
  38.          EndProperty
  39.          BeginProperty Button2 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  40.             Caption         =   "默认列宽"
  41.             Key             =   "hfmrgs"
  42.             ImageKey        =   "mrlk"
  43.          EndProperty
  44.          BeginProperty Button3 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  45.             Caption         =   "显示项目"
  46.             Key             =   "szxsxm"
  47.             ImageKey        =   "xsxm"
  48.          EndProperty
  49.       EndProperty
  50.    End
  51.    Begin VB.PictureBox Pic_Title 
  52.       BackColor       =   &H00FFFFFF&
  53.       Height          =   1065
  54.       Left            =   0
  55.       Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":1042
  56.       ScaleHeight     =   1005
  57.       ScaleWidth      =   11715
  58.       TabIndex        =   1
  59.       Top             =   570
  60.       Width           =   11775
  61.       Begin VB.Label Label1 
  62.          AutoSize        =   -1  'True
  63.          BackStyle       =   0  'Transparent
  64.          Caption         =   "会计年度:"
  65.          Height          =   180
  66.          Index           =   0
  67.          Left            =   120
  68.          TabIndex        =   14
  69.          Top             =   720
  70.          Width           =   810
  71.       End
  72.       Begin VB.Label Label1 
  73.          AutoSize        =   -1  'True
  74.          BackStyle       =   0  'Transparent
  75.          Caption         =   "会计月份:"
  76.          Height          =   180
  77.          Index           =   1
  78.          Left            =   1440
  79.          TabIndex        =   13
  80.          Top             =   720
  81.          Width           =   810
  82.       End
  83.       Begin VB.Label Label1 
  84.          AutoSize        =   -1  'True
  85.          BackStyle       =   0  'Transparent
  86.          Caption         =   "采购物料分类:"
  87.          Height          =   180
  88.          Index           =   2
  89.          Left            =   2700
  90.          TabIndex        =   12
  91.          Top             =   720
  92.          Width           =   1170
  93.       End
  94.       Begin VB.Label Label1 
  95.          AutoSize        =   -1  'True
  96.          BackStyle       =   0  'Transparent
  97.          Caption         =   "计划人:"
  98.          Height          =   180
  99.          Index           =   4
  100.          Left            =   6840
  101.          TabIndex        =   11
  102.          Top             =   720
  103.          Width           =   630
  104.       End
  105.       Begin VB.Label Label1 
  106.          AutoSize        =   -1  'True
  107.          BackStyle       =   0  'Transparent
  108.          Caption         =   "计划单号:"
  109.          Height          =   180
  110.          Index           =   5
  111.          Left            =   8520
  112.          TabIndex        =   10
  113.          Top             =   720
  114.          Width           =   810
  115.       End
  116.       Begin VB.Label Lbl_Xslabel 
  117.          BackStyle       =   0  'Transparent
  118.          Height          =   180
  119.          Index           =   0
  120.          Left            =   960
  121.          TabIndex        =   9
  122.          Top             =   720
  123.          Width           =   435
  124.       End
  125.       Begin VB.Label Lbl_Xslabel 
  126.          BackStyle       =   0  'Transparent
  127.          Height          =   180
  128.          Index           =   1
  129.          Left            =   2280
  130.          TabIndex        =   8
  131.          Top             =   720
  132.          Width           =   330
  133.       End
  134.       Begin VB.Label Lbl_Xslabel 
  135.          BackStyle       =   0  'Transparent
  136.          Height          =   180
  137.          Index           =   2
  138.          Left            =   4050
  139.          TabIndex        =   7
  140.          Top             =   720
  141.          Width           =   2460
  142.       End
  143.       Begin VB.Label Lbl_Xslabel 
  144.          BackStyle       =   0  'Transparent
  145.          Height          =   180
  146.          Index           =   4
  147.          Left            =   7560
  148.          TabIndex        =   6
  149.          Top             =   720
  150.          Width           =   870
  151.       End
  152.       Begin VB.Label Lbl_Xslabel 
  153.          BackStyle       =   0  'Transparent
  154.          Height          =   180
  155.          Index           =   5
  156.          Left            =   9360
  157.          TabIndex        =   5
  158.          Top             =   720
  159.          Width           =   2190
  160.       End
  161.       Begin VB.Label Lab_Title 
  162.          BackColor       =   &H80000018&
  163.          BackStyle       =   0  'Transparent
  164.          Caption         =   "采购计划执行情况—明细(关联)"
  165.          BeginProperty Font 
  166.             Name            =   "宋体"
  167.             Size            =   12
  168.             Charset         =   134
  169.             Weight          =   700
  170.             Underline       =   0   'False
  171.             Italic          =   0   'False
  172.             Strikethrough   =   0   'False
  173.          EndProperty
  174.          ForeColor       =   &H00000000&
  175.          Height          =   300
  176.          Index           =   4
  177.          Left            =   480
  178.          TabIndex        =   2
  179.          Top             =   210
  180.          Width           =   4035
  181.       End
  182.    End
  183.    Begin VB.Timer Timer1 
  184.       Enabled         =   0   'False
  185.       Interval        =   1
  186.       Left            =   7620
  187.       Top             =   90
  188.    End
  189.    Begin VSFlex8Ctl.VSFlexGrid CxbbGrid 
  190.       Height          =   7185
  191.       Left            =   0
  192.       TabIndex        =   0
  193.       Top             =   1680
  194.       Width           =   11775
  195.       _cx             =   5080
  196.       _cy             =   5080
  197.       Appearance      =   1
  198.       BorderStyle     =   1
  199.       Enabled         =   -1  'True
  200.       BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
  201.          Name            =   "宋体"
  202.          Size            =   9
  203.          Charset         =   134
  204.          Weight          =   400
  205.          Underline       =   0   'False
  206.          Italic          =   0   'False
  207.          Strikethrough   =   0   'False
  208.       EndProperty
  209.       MousePointer    =   0
  210.       BackColor       =   16777215
  211.       ForeColor       =   -2147483640
  212.       BackColorFixed  =   13826538
  213.       ForeColorFixed  =   -2147483630
  214.       BackColorSel    =   -2147483635
  215.       ForeColorSel    =   -2147483634
  216.       BackColorBkg    =   -2147483636
  217.       BackColorAlternate=   16777215
  218.       GridColor       =   -2147483633
  219.       GridColorFixed  =   -2147483632
  220.       TreeColor       =   -2147483632
  221.       FloodColor      =   192
  222.       SheetBorder     =   -2147483642
  223.       FocusRect       =   1
  224.       HighLight       =   1
  225.       AllowSelection  =   -1  'True
  226.       AllowBigSelection=   -1  'True
  227.       AllowUserResizing=   0
  228.       SelectionMode   =   0
  229.       GridLines       =   1
  230.       GridLinesFixed  =   2
  231.       GridLineWidth   =   1
  232.       Rows            =   50
  233.       Cols            =   10
  234.       FixedRows       =   1
  235.       FixedCols       =   1
  236.       RowHeightMin    =   0
  237.       RowHeightMax    =   0
  238.       ColWidthMin     =   0
  239.       ColWidthMax     =   0
  240.       ExtendLastCol   =   0   'False
  241.       FormatString    =   ""
  242.       ScrollTrack     =   0   'False
  243.       ScrollBars      =   3
  244.       ScrollTips      =   0   'False
  245.       MergeCells      =   0
  246.       MergeCompare    =   0
  247.       AutoResize      =   -1  'True
  248.       AutoSizeMode    =   0
  249.       AutoSearch      =   0
  250.       AutoSearchDelay =   2
  251.       MultiTotals     =   -1  'True
  252.       SubtotalPosition=   1
  253.       OutlineBar      =   0
  254.       OutlineCol      =   0
  255.       Ellipsis        =   0
  256.       ExplorerBar     =   0
  257.       PicturesOver    =   0   'False
  258.       FillStyle       =   0
  259.       RightToLeft     =   0   'False
  260.       PictureType     =   0
  261.       TabBehavior     =   0
  262.       OwnerDraw       =   0
  263.       Editable        =   0
  264.       ShowComboButton =   1
  265.       WordWrap        =   0   'False
  266.       TextStyle       =   0
  267.       TextStyleFixed  =   0
  268.       OleDragMode     =   0
  269.       OleDropMode     =   0
  270.       DataMode        =   0
  271.       VirtualData     =   -1  'True
  272.       DataMember      =   ""
  273.       ComboSearch     =   3
  274.       AutoSizeMouse   =   -1  'True
  275.       FrozenRows      =   0
  276.       FrozenCols      =   0
  277.       AllowUserFreezing=   0
  278.       BackColorFrozen =   0
  279.       ForeColorFrozen =   0
  280.       WallPaperAlignment=   9
  281.       AccessibleName  =   ""
  282.       AccessibleDescription=   ""
  283.       AccessibleValue =   ""
  284.       AccessibleRole  =   24
  285.       Begin MSComctlLib.ImageList ImageList2 
  286.          Left            =   0
  287.          Top             =   0
  288.          _ExtentX        =   1005
  289.          _ExtentY        =   1005
  290.          BackColor       =   -2147483643
  291.          ImageWidth      =   16
  292.          ImageHeight     =   16
  293.          MaskColor       =   12632256
  294.          _Version        =   393216
  295.          BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628} 
  296.             NumListImages   =   40
  297.             BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  298.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":35106
  299.                Key             =   "sz"
  300.             EndProperty
  301.             BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  302.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":354A0
  303.                Key             =   "dy"
  304.             EndProperty
  305.             BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  306.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":3583A
  307.                Key             =   "yl"
  308.             EndProperty
  309.             BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  310.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":35BD4
  311.                Key             =   "xg"
  312.             EndProperty
  313.             BeginProperty ListImage5 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  314.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":35F6E
  315.                Key             =   "zh"
  316.             EndProperty
  317.             BeginProperty ListImage6 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  318.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":36308
  319.                Key             =   "sh"
  320.             EndProperty
  321.             BeginProperty ListImage7 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  322.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":366A2
  323.                Key             =   "bc"
  324.             EndProperty
  325.             BeginProperty ListImage8 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  326.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":36A3C
  327.                Key             =   "fq"
  328.             EndProperty
  329.             BeginProperty ListImage9 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  330.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":36DD6
  331.                Key             =   "bz"
  332.             EndProperty
  333.             BeginProperty ListImage10 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  334.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":37170
  335.                Key             =   "tc"
  336.             EndProperty
  337.             BeginProperty ListImage11 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  338.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":3750A
  339.                Key             =   "bcgs"
  340.             EndProperty
  341.             BeginProperty ListImage12 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  342.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":378A4
  343.                Key             =   "mrlk"
  344.             EndProperty
  345.             BeginProperty ListImage13 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  346.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":37C3E
  347.                Key             =   "xsxm"
  348.             EndProperty
  349.             BeginProperty ListImage14 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  350.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":37FD8
  351.                Key             =   "first"
  352.             EndProperty
  353.             BeginProperty ListImage15 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  354.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":38372
  355.                Key             =   "prev"
  356.             EndProperty
  357.             BeginProperty ListImage16 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  358.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":3870C
  359.                Key             =   "next"
  360.             EndProperty
  361.             BeginProperty ListImage17 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  362.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":38AA6
  363.                Key             =   "last"
  364.             EndProperty
  365.             BeginProperty ListImage18 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  366.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":38E40
  367.                Key             =   "xx"
  368.             EndProperty
  369.             BeginProperty ListImage19 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  370.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":391DA
  371.                Key             =   "define"
  372.             EndProperty
  373.             BeginProperty ListImage20 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  374.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":39574
  375.                Key             =   "exec"
  376.             EndProperty
  377.             BeginProperty ListImage21 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  378.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":3990E
  379.                Key             =   "xz"
  380.             EndProperty
  381.             BeginProperty ListImage22 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  382.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":39CA8
  383.                Key             =   "sc"
  384.             EndProperty
  385.             BeginProperty ListImage23 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  386.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":3A042
  387.                Key             =   "sx"
  388.             EndProperty
  389.             BeginProperty ListImage24 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  390.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":3A3DC
  391.                Key             =   "cx"
  392.             EndProperty
  393.             BeginProperty ListImage25 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  394.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":3A776
  395.                Key             =   "zd"
  396.             EndProperty
  397.             BeginProperty ListImage26 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  398.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":3AB10
  399.                Key             =   "dz"
  400.             EndProperty
  401.             BeginProperty ListImage27 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  402.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":3AEAA
  403.                Key             =   "ph"
  404.             EndProperty
  405.             BeginProperty ListImage28 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  406.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":3B244
  407.                Key             =   "fz"
  408.             EndProperty
  409.             BeginProperty ListImage29 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  410.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":3B5DE
  411.                Key             =   "dw"
  412.             EndProperty
  413.             BeginProperty ListImage30 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  414.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":3B978
  415.                Key             =   "hf"
  416.             EndProperty
  417.             BeginProperty ListImage31 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  418.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":3BD12
  419.                Key             =   "pz"
  420.             EndProperty
  421.             BeginProperty ListImage32 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  422.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":3C0AC
  423.                Key             =   "check"
  424.             EndProperty
  425.             BeginProperty ListImage33 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  426.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":3C446
  427.                Key             =   "qs"
  428.             EndProperty
  429.             BeginProperty ListImage34 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  430.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":3C7E0
  431.                Key             =   "fullcheck"
  432.             EndProperty
  433.             BeginProperty ListImage35 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  434.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":3CB7A
  435.                Key             =   "qq"
  436.             EndProperty
  437.             BeginProperty ListImage36 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  438.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":3CF14
  439.                Key             =   "bcw"
  440.             EndProperty
  441.             BeginProperty ListImage37 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  442.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":3D2AE
  443.                Key             =   "ye"
  444.             EndProperty
  445.             BeginProperty ListImage38 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  446.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":3D648
  447.                Key             =   ""
  448.             EndProperty
  449.             BeginProperty ListImage39 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  450.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":3D9E2
  451.                Key             =   "frist"
  452.             EndProperty
  453.             BeginProperty ListImage40 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  454.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":3DD7C
  455.                Key             =   "dj"
  456.             EndProperty
  457.          EndProperty
  458.       End
  459.    End
  460.    Begin MSComctlLib.Toolbar SzToolbar 
  461.       Align           =   1  'Align Top
  462.       Height          =   555
  463.       Left            =   0
  464.       TabIndex        =   4
  465.       Top             =   0
  466.       Width           =   11820
  467.       _ExtentX        =   20849
  468.       _ExtentY        =   979
  469.       ButtonWidth     =   820
  470.       ButtonHeight    =   926
  471.       AllowCustomize  =   0   'False
  472.       Appearance      =   1
  473.       Style           =   1
  474.       ImageList       =   "ImageList1"
  475.       _Version        =   393216
  476.       BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628} 
  477.          NumButtons      =   12
  478.          BeginProperty Button1 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  479.             Caption         =   "设置"
  480.             Key             =   "ymsz"
  481.             ImageKey        =   "sz"
  482.          EndProperty
  483.          BeginProperty Button2 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  484.             Caption         =   "打印"
  485.             Key             =   "dy"
  486.             ImageKey        =   "dy"
  487.          EndProperty
  488.          BeginProperty Button3 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  489.             Caption         =   "预览"
  490.             Key             =   "yl"
  491.             ImageKey        =   "yl"
  492.          EndProperty
  493.          BeginProperty Button4 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  494.             Style           =   3
  495.          EndProperty
  496.          BeginProperty Button5 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  497.             Caption         =   "查询"
  498.             Key             =   "cx"
  499.             ImageKey        =   "cx"
  500.          EndProperty
  501.          BeginProperty Button6 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  502.             Object.Visible         =   0   'False
  503.             Caption         =   "单据"
  504.             Key             =   "Bill"
  505.             ImageKey        =   "pz"
  506.          EndProperty
  507.          BeginProperty Button7 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  508.             Object.Visible         =   0   'False
  509.             Style           =   3
  510.          EndProperty
  511.          BeginProperty Button8 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  512.             Object.Visible         =   0   'False
  513.             Caption         =   "新增"
  514.             Key             =   "xz"
  515.             ImageKey        =   "xz"
  516.          EndProperty
  517.          BeginProperty Button9 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  518.             Object.Visible         =   0   'False
  519.             Caption         =   "删除"
  520.             Key             =   "sc"
  521.             ImageKey        =   "sc"
  522.          EndProperty
  523.          BeginProperty Button10 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  524.             Style           =   3
  525.          EndProperty
  526.          BeginProperty Button11 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  527.             Caption         =   "帮助"
  528.             Key             =   "bz"
  529.             ImageKey        =   "bz"
  530.          EndProperty
  531.          BeginProperty Button12 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  532.             Caption         =   "退出"
  533.             Key             =   "fh"
  534.             ImageKey        =   "tc"
  535.          EndProperty
  536.       EndProperty
  537.       BorderStyle     =   1
  538.       Begin MSComctlLib.ImageList ImageList1 
  539.          Left            =   6990
  540.          Top             =   30
  541.          _ExtentX        =   1005
  542.          _ExtentY        =   1005
  543.          BackColor       =   -2147483643
  544.          ImageWidth      =   16
  545.          ImageHeight     =   16
  546.          MaskColor       =   12632256
  547.          _Version        =   393216
  548.          BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628} 
  549.             NumListImages   =   32
  550.             BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  551.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":3E116
  552.                Key             =   "sz"
  553.             EndProperty
  554.             BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  555.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":3E4B0
  556.                Key             =   "dy"
  557.             EndProperty
  558.             BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  559.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":3E84A
  560.                Key             =   "yl"
  561.             EndProperty
  562.             BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  563.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":3EBE4
  564.                Key             =   "xg"
  565.             EndProperty
  566.             BeginProperty ListImage5 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  567.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":3EF7E
  568.                Key             =   "zh"
  569.             EndProperty
  570.             BeginProperty ListImage6 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  571.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":3F318
  572.                Key             =   "sh"
  573.             EndProperty
  574.             BeginProperty ListImage7 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  575.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":3F6B2
  576.                Key             =   "bc"
  577.             EndProperty
  578.             BeginProperty ListImage8 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  579.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":3FA4C
  580.                Key             =   "fq"
  581.             EndProperty
  582.             BeginProperty ListImage9 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  583.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":3FDE6
  584.                Key             =   "bz"
  585.             EndProperty
  586.             BeginProperty ListImage10 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  587.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":40180
  588.                Key             =   "tc"
  589.             EndProperty
  590.             BeginProperty ListImage11 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  591.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":4051A
  592.                Key             =   "bcgs"
  593.             EndProperty
  594.             BeginProperty ListImage12 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  595.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":408B4
  596.                Key             =   "mrlk"
  597.             EndProperty
  598.             BeginProperty ListImage13 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  599.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":40C4E
  600.                Key             =   "xsxm"
  601.             EndProperty
  602.             BeginProperty ListImage14 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  603.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":40FE8
  604.                Key             =   "first"
  605.             EndProperty
  606.             BeginProperty ListImage15 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  607.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":41382
  608.                Key             =   "prev"
  609.             EndProperty
  610.             BeginProperty ListImage16 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  611.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":4171C
  612.                Key             =   "next"
  613.             EndProperty
  614.             BeginProperty ListImage17 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  615.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":41AB6
  616.                Key             =   "last"
  617.             EndProperty
  618.             BeginProperty ListImage18 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  619.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":41E50
  620.                Key             =   "xx"
  621.             EndProperty
  622.             BeginProperty ListImage19 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  623.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":421EA
  624.                Key             =   "define"
  625.             EndProperty
  626.             BeginProperty ListImage20 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  627.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":42584
  628.                Key             =   "exec"
  629.             EndProperty
  630.             BeginProperty ListImage21 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  631.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":4291E
  632.                Key             =   "xz"
  633.             EndProperty
  634.             BeginProperty ListImage22 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  635.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":42CB8
  636.                Key             =   "sc"
  637.             EndProperty
  638.             BeginProperty ListImage23 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  639.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":43052
  640.                Key             =   "sx"
  641.             EndProperty
  642.             BeginProperty ListImage24 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  643.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":433EC
  644.                Key             =   "cx"
  645.             EndProperty
  646.             BeginProperty ListImage25 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  647.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":43786
  648.                Key             =   "zd"
  649.             EndProperty
  650.             BeginProperty ListImage26 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  651.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":43B20
  652.                Key             =   "dz"
  653.             EndProperty
  654.             BeginProperty ListImage27 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  655.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":43EBA
  656.                Key             =   "ph"
  657.             EndProperty
  658.             BeginProperty ListImage28 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  659.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":44254
  660.                Key             =   "fz"
  661.             EndProperty
  662.             BeginProperty ListImage29 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  663.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":445EE
  664.                Key             =   "dw"
  665.             EndProperty
  666.             BeginProperty ListImage30 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  667.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":44988
  668.                Key             =   "hf"
  669.             EndProperty
  670.             BeginProperty ListImage31 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  671.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":44D22
  672.                Key             =   "pz"
  673.             EndProperty
  674.             BeginProperty ListImage32 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  675.                Picture         =   "采购系统_采购执行情况明细(关联)查询结果.frx":450BC
  676.                Key             =   "check"
  677.             EndProperty
  678.          EndProperty
  679.       End
  680.    End
  681. End
  682. Attribute VB_Name = "Cg_PurPlanExecThing"
  683. Attribute VB_GlobalNameSpace = False
  684. Attribute VB_Creatable = False
  685. Attribute VB_PredeclaredId = True
  686. Attribute VB_Exposed = False
  687. '**************************************************************************
  688. '*    模 块 名 称 :采购计划执行情况明细(关联)
  689. '*    功 能 描 述 :
  690. '*    程序员姓名  :李海祥
  691. '*    最后修改人  :李海祥
  692. '*    最后修改时间:2001/10/06
  693. '*    备        注:程序中所有依实际情况自定义部分均用[>>  <<]括起
  694. '**************************************************************************
  695. Dim ReportTitle As String                '报表主标题
  696. Dim Str_QueryCondi As String             '用户录入查询条件
  697. Dim Rec_BillID As New ADODB.Recordset    '用户查询单据ID动态集
  698. '以下为固定使用变量
  699. Dim Dyymctbl As New DY_Dyymsz            '打印页面窗体变量
  700. Dim GridCode As String                   '显示网格网格代码
  701. Dim GridInf() As Variant                 '整个网格设置信息
  702. Dim Tsxx As String                       '系统提示信息
  703. Dim Qslz As Long                         '网格隐藏(非操作显示)列数
  704. Dim Sjhgd As Double                      '网格数据行高度
  705. Dim Sfxshjwg As Boolean                  '是否显示合计网格
  706. Dim GridBoolean() As Boolean             '网格列信息(布尔型)
  707. Dim GridStr()  As String                 '网格列信息(字符型)
  708. Dim GridInt() As Integer                 '网格列信息(整型)
  709. Dim Szzls As Integer                     '数组总列数(网格列数-1)
  710. Private Sub Form_Resize()                '根据窗体大小来调整网格,标题栏大小(Fixed)
  711.     On Error Resume Next
  712.     With CxbbGrid
  713.         .Width = Me.Width - 160
  714.         .Height = Me.Height - .Top - 400
  715.     End With
  716.     With Pic_Title
  717.         .Width = Me.Width - 160
  718.     End With
  719.     
  720.     GsToolbar.Left = Me.Width - GsToolbar.Width - 140
  721. End Sub
  722. Private Sub Form_Load()                                                   '窗体装入
  723.   
  724.     '调入打印页面设置窗体
  725.     ReportTitle = "采购计划执行情况—明细(关联)"
  726.     XtReportCode = "Cg_PlanExecThing"
  727.     Load Dyymctbl
  728.       
  729.     '调整标题栏及网格、格式工具条位置(Fixed)
  730.     Pic_Title.Left = 40
  731.     Pic_Title.Top = SzToolbar.Top + SzToolbar.Height - 10
  732.     CxbbGrid.Left = Pic_Title.Left
  733.     CxbbGrid.Top = Pic_Title.Top + Pic_Title.Height + 20
  734.      
  735.     '调 入 网 格(Fixed)
  736.     GridCode = "Cg_PlanExecThing"
  737.     Call BzWgcsh(CxbbGrid, GridCode, GridInf(), GridBoolean(), GridInt(), GridStr())
  738.       
  739.     Qslz = GridInf(1)
  740.     Sjhgd = GridInf(2)
  741.     Sfxshjwg = GridInf(7)
  742.     Szzls = CxbbGrid.Cols - 1
  743. End Sub
  744. Private Sub Form_Unload(Cancel As Integer)                                  '窗体卸载
  745.     '卸载条件窗体
  746.     Cg_PlanExecThingQuery.UnloadCheck.Value = 1
  747.     Unload Cg_PlanExecThingQuery
  748.     
  749.     '卸载打印页面设置窗体
  750.     Unload Dyymctbl
  751. End Sub
  752. Private Sub CxbbGrid_BeforeMoveColumn(ByVal Col As Long, Position As Long)           '网格列发生移动时自动交换网格索引信息
  753.     Call FnBln_RefreshArray(Col, Position, GridStr(), GridInf())
  754. End Sub
  755. Private Sub GsToolbar_ButtonClick(ByVal Button As MSComctlLib.Button)                '网格格式调整(Fixed)
  756.   
  757.     Select Case Button.Key
  758.         Case "bcgs"                                          '保存表格格式
  759.             Call Bcwggs(CxbbGrid, GridCode, GridStr())
  760.         Case "hfmrgs"                                        '恢复默认格式
  761.             Call Hfmrgs(CxbbGrid, GridCode, GridStr())
  762.         Case "szxsxm"                                        '设置显示项目
  763.             Call Szxsxm(CxbbGrid, GridCode)
  764.     End Select
  765. End Sub
  766. Private Sub SzToolbar_ButtonClick(ByVal Button As MSComctlLib.Button)
  767.     
  768.     Select Case Button.Key
  769.         Case "ymsz"                                          '页面设置
  770.             Dyymctbl.Show 1
  771.         Case "yl"                                            '预 览
  772.             Call bbyl(True)
  773.         Case "dy"                                            '打 印
  774.             Call bbyl(False)
  775.         Case "cx"                                            '查 询
  776.             Int_PlanQueryType = 2
  777.             Cg_PlanExecThingQuery.Show 1
  778.             
  779.         
  780.         Case "bz"                                            '帮 助
  781.             Call F1bz
  782.         Case "fh"                                            '退 出
  783.            Unload Me
  784.     End Select
  785. End Sub
  786. Private Sub Timer1_Timer()                                 '在窗体激活后调入查询程序
  787.     
  788.     Timer1.Enabled = False
  789.     Xt_Wait.Show
  790.     Xt_Wait.Refresh
  791.    
  792.     '加快显示速度
  793.     CxbbGrid.Redraw = False
  794.  
  795.     '生成查询结果
  796.     Call Sub_Query
  797.    
  798.     CxbbGrid.Redraw = True
  799.     
  800.     Xt_Wait.Hide
  801. End Sub
  802. Private Sub Sub_Query()                                     '生成查询结果(Define)
  803.     
  804.     '过程参数:Int_QueryType 0-"点确定按钮"查询  1-"刷新"查询
  805.     Dim Rec_Query As New ADODB.Recordset        '查询结果动态集
  806.     Dim Coljsq As Long                          '网格列计数器
  807.     Dim jsqte As Long                           '临时动态计数器
  808.     '以下为自定义部分[
  809.     
  810.     With Cg_PlanExecThingQuery
  811.      
  812.         '生成查询条件
  813.         Str_QueryCondi = " where 1=1 "
  814.         For jsqte = 1 To 9
  815.             Select Case jsqte
  816.                 Case 1  '计划年度
  817.                     If Trim(.LrText(0).Text) <> "" Then
  818.                         Str_QueryCondi = Str_QueryCondi & " And KjYear=" & S2N(Trim(.LrText(0).Text))
  819.                         Me.Lbl_Xslabel(0).Caption = Trim(.LrText(0).Text)
  820.                     Else
  821.                         Me.Lbl_Xslabel(0).Caption = ""
  822.                     End If
  823.                 Case 2  '计划会计月份
  824.                     If Trim(.LrText(1).Text) <> "" Then
  825.                         Str_QueryCondi = Str_QueryCondi & " And Period= " & S2N(Trim(.LrText(1).Text))
  826.                         Me.Lbl_Xslabel(1).Caption = Trim(.LrText(1).Text)
  827.                     Else
  828.                         Me.Lbl_Xslabel(1).Caption = ""
  829.                     End If
  830.                 Case 3  '物料分类
  831.                     If Trim(.LrText(2).Text) <> "" Then
  832.                         Str_QueryCondi = Str_QueryCondi & " And PurSortCode  like '" & Trim(.LrText(2).Tag) & "%'"
  833.                         Me.Lbl_Xslabel(2).Caption = Trim(.LrText(2).Text)
  834.                     Else
  835.                         Me.Lbl_Xslabel(2).Caption = ""
  836.                     End If
  837.                 Case 4  '物料编码
  838.                     If Trim(.LrText(3).Text) <> "" Then
  839.                         Str_QueryCondi = Str_QueryCondi & " and MNumber = '" & Trim(.LrText(3).Tag) & "'"
  840.                         
  841.                     End If
  842.                 Case 5  '计划人
  843.                     If Trim(.LrText(4).Text) <> "" Then
  844.                         Str_QueryCondi = Str_QueryCondi & " and PersonCode = '" & Trim(.LrText(4).Tag) & "'"
  845.                         Me.Lbl_Xslabel(4).Caption = Trim(.LrText(4).Text)
  846.                     Else
  847.                         Me.Lbl_Xslabel(4).Caption = ""
  848.                     End If
  849.                 Case 6   '采购员
  850.                     If Trim(.LrText(5).Text) <> "" Then
  851.                         Str_QueryCondi = Str_QueryCondi & " and Buyer= '" & Trim(.LrText(5).Tag) & "'"
  852.                     End If
  853.                 Case 7   '计划单号
  854.                     If Trim(.LrText(6).Text) <> "" Then
  855.                         Str_QueryCondi = Str_QueryCondi & " and PurPlanNum = '" & Trim(.LrText(6).Text) & "'"
  856.                         Me.Lbl_Xslabel(5).Caption = Trim(.LrText(6).Text)
  857.                     Else
  858.                         Me.Lbl_Xslabel(5).Caption = ""
  859.                     End If
  860.                 Case 8  '紧急计划
  861.                     If Not .Opt_Jjplan(0).Value Then
  862.                         If .Opt_Jjplan(1).Value Then
  863.                             Str_QueryCondi = Str_QueryCondi & " and  ExigenceFlag=0 "
  864.                         Else
  865.                             Str_QueryCondi = Str_QueryCondi & " and  ExigenceFlag=1 "
  866.                         End If
  867.                     End If
  868.                 Case 9  '计划完成情况
  869.                     If Not .Opt_Wcplan(0).Value Then
  870.                         If .Opt_Wcplan(1).Value Then
  871.                             Str_QueryCondi = Str_QueryCondi & " and  FinishFlag=0 "
  872.                         Else
  873.                             Str_QueryCondi = Str_QueryCondi & " and  FinishFlag=1 "
  874.                         End If
  875.                     End If
  876.             End Select
  877.         Next jsqte
  878.     End With
  879.     
  880.     Str_QueryCondi = Str_QueryCondi & " and PurPlanStyle>0 and Transmitter<>'' "
  881.      
  882.     Sqlstr = " Select distinct purplanmainid,PurPlanNum,PlanArriveDate,Sum(Quantity) as SumQuantity,MNumber,MName,Model,PurUnitName, " & _
  883.             " (select sum(Quantity) from cg_v_orderform where purplanmainid=cg_v_planbill.purplanmainid and MNumber=Cg_V_Planbill.MNumber group by purplanmainid,MNumber )as OrderQuan," & _
  884.             " (select sum(Quantity) from cg_v_PurRecipt where purplanmainid=cg_v_planbill.purplanmainid and MNumber=Cg_V_Planbill.MNumber group by purplanmainid,MNumber )as ReciptQuan from Cg_V_PlanBill " & Str_QueryCondi & " Group By PurPlanNum,PlanArriveDate,MNumber,MName,Model,PurUnitName,purplanmainid"
  885.     Set Rec_Query = Cw_DataEnvi.DataConnect.Execute(Sqlstr)
  886.     With Rec_Query
  887.         CxbbGrid.Rows = CxbbGrid.FixedRows
  888.         jsqte = CxbbGrid.FixedRows
  889.         Do While Not .EOF
  890.             CxbbGrid.AddItem ""
  891.             '[>>自定义填充内容
  892.             CxbbGrid.TextMatrix(jsqte, Sydz("001", GridStr(), Szzls)) = Trim(.Fields("PurPlanNum"))                             '计划单号
  893.             CxbbGrid.TextMatrix(jsqte, Sydz("002", GridStr(), Szzls)) = Trim(.Fields("MNumber"))                                '物料编码
  894.             CxbbGrid.TextMatrix(jsqte, Sydz("003", GridStr(), Szzls)) = Trim(.Fields("MName") & "")                             '物料名称
  895.             CxbbGrid.TextMatrix(jsqte, Sydz("004", GridStr(), Szzls)) = Trim(.Fields("Model") & "")                             '规格型号
  896.             CxbbGrid.TextMatrix(jsqte, Sydz("005", GridStr(), Szzls)) = Trim(.Fields("PurUnitName") & "")                       '计量单位
  897.             CxbbGrid.TextMatrix(jsqte, Sydz("006", GridStr(), Szzls)) = S2N(.Fields("SumQuantity") & "")                        '计划数量
  898.             CxbbGrid.TextMatrix(jsqte, Sydz("007", GridStr(), Szzls)) = Format(.Fields("PlanArriveDate") & "", "yyyy-mm-dd")    '计划到货日期
  899.             '添加订单数量
  900.             CxbbGrid.TextMatrix(jsqte, Sydz("008", GridStr(), Szzls)) = S2N(.Fields("OrderQuan") & "")                          '订单数量
  901.             '添加到货数量
  902.             CxbbGrid.TextMatrix(jsqte, Sydz("009", GridStr(), Szzls)) = S2N(.Fields("ReciptQuan") & "")                         '到货数量
  903.             '添加未到货数量
  904.             CxbbGrid.TextMatrix(jsqte, Sydz("010", GridStr(), Szzls)) = S2N(CxbbGrid.TextMatrix(jsqte, Sydz("006", GridStr(), Szzls))) - S2N(CxbbGrid.TextMatrix(jsqte, Sydz("009", GridStr(), Szzls)))     '未到货数量
  905.             
  906.             '<<]
  907.             '设置数据行高度(Fixed)
  908.             CxbbGrid.RowHeight(jsqte) = Sjhgd
  909.      
  910.             '动态集指针加1,同时将计数器加1(Fixed)
  911.             .MoveNext
  912.             jsqte = jsqte + 1
  913.         Loop
  914.     End With
  915.     ']以上为用户自定义部分
  916. End Sub
  917. Private Sub bbyl(bbylte As Boolean)                    '报表打印预览
  918.     
  919.     Dim Bbzbt$, Bbxbt() As String, bbxbtzzxs() As Integer, Bbxbtgs As Integer
  920.     Dim Bbbwh() As String, Bbbwhzzxs() As Integer, Bbbwhgs As Integer
  921.     Bbxbtgs = 2                                          '报 表 小 标 题 行 数
  922.     Bbbwhgs = 0                                          '报 表 表 尾 行 数
  923.     ReDim Bbxbt(1 To Bbxbtgs)
  924.     ReDim bbxbtzzxs(1 To Bbxbtgs)
  925.     If Bbbwhgs <> 0 Then
  926.         ReDim Bbbwh(1 To Bbbwhgs)
  927.         ReDim Bbbwhzzxs(1 To Bbbwhgs)
  928.     End If
  929.     Bbzbt = ReportTitle
  930.     Bbxbt(1) = ""
  931.     Bbxbt(2) = Space(4) + Fun_FormatOutPut(Me.Label1(0) + Me.Lbl_Xslabel(0), 10)
  932.     Bbxbt(2) = Bbxbt(2) + Fun_FormatOutPut(Me.Label1(1) + Me.Lbl_Xslabel(1), 10) + Fun_FormatOutPut(Me.Label1(2) + Me.Lbl_Xslabel(2), 10)
  933.     
  934.     Bbxbt(2) = Bbxbt(2) + Fun_FormatOutPut(Me.Label1(4) + Me.Lbl_Xslabel(4), 10)
  935.     Bbxbt(2) = Bbxbt(2) + Fun_FormatOutPut(Me.Label1(5) + Me.Lbl_Xslabel(5), 20)
  936.     bbxbtzzxs(1) = 0                                     '报表行组织形式(0-居左 1-居中 2-居右)
  937.     Call Scyxsjb(CxbbGrid)                               '生成报表数据
  938.     Call Scdybb(Dyymctbl, Bbzbt, Bbxbt(), bbxbtzzxs(), Bbxbtgs, Bbbwh(), Bbbwhzzxs(), Bbbwhgs, bbylte)
  939.     If Not bbylte Then
  940.         Unload DY_Tybbyldy
  941.     End If
  942. End Sub