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

企业管理

开发平台:

Visual Basic

  1. VERSION 5.00
  2. Object = "{BDC217C8-ED16-11CD-956C-0000C04E4C0A}#1.1#0"; "tabctl32.ocx"
  3. Begin VB.Form LBCX_OtherOutBillListFind 
  4.    BorderStyle     =   3  'Fixed Dialog
  5.    Caption         =   "其它出库单列表查询"
  6.    ClientHeight    =   5580
  7.    ClientLeft      =   45
  8.    ClientTop       =   330
  9.    ClientWidth     =   6150
  10.    HelpContextID   =   13030403
  11.    Icon            =   "单据列表查询_其它出库单查询.frx":0000
  12.    KeyPreview      =   -1  'True
  13.    LinkTopic       =   "Form1"
  14.    LockControls    =   -1  'True
  15.    MaxButton       =   0   'False
  16.    MinButton       =   0   'False
  17.    ScaleHeight     =   5580
  18.    ScaleWidth      =   6150
  19.    ShowInTaskbar   =   0   'False
  20.    StartUpPosition =   2  'CenterScreen
  21.    Begin VB.CommandButton QdCommand 
  22.       Caption         =   "确定(&O)"
  23.       Height          =   300
  24.       Left            =   3690
  25.       TabIndex        =   20
  26.       Top             =   5145
  27.       Width           =   1120
  28.    End
  29.    Begin VB.CommandButton QxCommand 
  30.       Caption         =   "取消(&C)"
  31.       Height          =   300
  32.       Left            =   4905
  33.       TabIndex        =   24
  34.       Top             =   5145
  35.       Width           =   1120
  36.    End
  37.    Begin VB.CommandButton Cmd_Clear 
  38.       Caption         =   "全清"
  39.       Height          =   300
  40.       Left            =   2490
  41.       TabIndex        =   23
  42.       Top             =   5145
  43.       Width           =   1120
  44.    End
  45.    Begin VB.CheckBox Chk_Sum 
  46.       Caption         =   "每张单据输出合计"
  47.       Height          =   315
  48.       Left            =   135
  49.       TabIndex        =   22
  50.       Top             =   5115
  51.       Value           =   1  'Checked
  52.       Width           =   1905
  53.    End
  54.    Begin VB.CheckBox UnloadCheck 
  55.       Caption         =   "卸载窗体"
  56.       Height          =   615
  57.       Left            =   7980
  58.       TabIndex        =   21
  59.       Top             =   1860
  60.       Visible         =   0   'False
  61.       Width           =   825
  62.    End
  63.    Begin TabDlg.SSTab Tab_SSTab 
  64.       Height          =   4950
  65.       Left            =   90
  66.       TabIndex        =   25
  67.       Top             =   90
  68.       Width           =   5970
  69.       _ExtentX        =   10530
  70.       _ExtentY        =   8731
  71.       _Version        =   393216
  72.       Style           =   1
  73.       Tabs            =   2
  74.       TabHeight       =   520
  75.       TabCaption(0)   =   "基本条件"
  76.       TabPicture(0)   =   "单据列表查询_其它出库单查询.frx":1042
  77.       Tab(0).ControlEnabled=   -1  'True
  78.       Tab(0).Control(0)=   "Frame1(0)"
  79.       Tab(0).Control(0).Enabled=   0   'False
  80.       Tab(0).ControlCount=   1
  81.       TabCaption(1)   =   "辅助条件"
  82.       TabPicture(1)   =   "单据列表查询_其它出库单查询.frx":105E
  83.       Tab(1).ControlEnabled=   0   'False
  84.       Tab(1).Control(0)=   "Frame2"
  85.       Tab(1).ControlCount=   1
  86.       Begin VB.Frame Frame2 
  87.          Height          =   4275
  88.          Left            =   -74880
  89.          TabIndex        =   68
  90.          Top             =   450
  91.          Width           =   5715
  92.          Begin VB.CommandButton Ydcommand1 
  93.             Height          =   300
  94.             Index           =   15
  95.             Left            =   5280
  96.             Picture         =   "单据列表查询_其它出库单查询.frx":107A
  97.             Style           =   1  'Graphical
  98.             TabIndex        =   72
  99.             Top             =   960
  100.             Width           =   300
  101.          End
  102.          Begin VB.TextBox lrText 
  103.             Height          =   300
  104.             Index           =   15
  105.             Left            =   840
  106.             TabIndex        =   16
  107.             Text            =   "15"
  108.             Top             =   960
  109.             Width           =   4425
  110.          End
  111.          Begin VB.CommandButton Ydcommand1 
  112.             Height          =   300
  113.             Index           =   16
  114.             Left            =   5280
  115.             Picture         =   "单据列表查询_其它出库单查询.frx":1404
  116.             Style           =   1  'Graphical
  117.             TabIndex        =   71
  118.             Top             =   1320
  119.             Width           =   300
  120.          End
  121.          Begin VB.CommandButton Ydcommand1 
  122.             Height          =   300
  123.             Index           =   18
  124.             Left            =   5280
  125.             Picture         =   "单据列表查询_其它出库单查询.frx":178E
  126.             Style           =   1  'Graphical
  127.             TabIndex        =   70
  128.             Top             =   2040
  129.             Width           =   300
  130.          End
  131.          Begin VB.TextBox lrText 
  132.             Height          =   300
  133.             Index           =   18
  134.             Left            =   840
  135.             TabIndex        =   19
  136.             Text            =   "18"
  137.             Top             =   2040
  138.             Width           =   4425
  139.          End
  140.          Begin VB.TextBox lrText 
  141.             Height          =   300
  142.             Index           =   16
  143.             Left            =   840
  144.             TabIndex        =   17
  145.             Text            =   "16"
  146.             Top             =   1320
  147.             Width           =   4425
  148.          End
  149.          Begin VB.TextBox lrText 
  150.             Height          =   300
  151.             Index           =   11
  152.             Left            =   840
  153.             TabIndex        =   12
  154.             Text            =   "11"
  155.             Top             =   240
  156.             Width           =   2130
  157.          End
  158.          Begin VB.TextBox lrText 
  159.             Height          =   300
  160.             Index           =   12
  161.             Left            =   3450
  162.             TabIndex        =   13
  163.             Text            =   "12"
  164.             Top             =   240
  165.             Width           =   2130
  166.          End
  167.          Begin VB.TextBox lrText 
  168.             Height          =   300
  169.             Index           =   14
  170.             Left            =   3450
  171.             TabIndex        =   15
  172.             Text            =   "14"
  173.             Top             =   600
  174.             Width           =   2130
  175.          End
  176.          Begin VB.TextBox lrText 
  177.             Height          =   300
  178.             Index           =   13
  179.             Left            =   840
  180.             TabIndex        =   14
  181.             Text            =   "13"
  182.             Top             =   600
  183.             Width           =   2130
  184.          End
  185.          Begin VB.TextBox lrText 
  186.             Height          =   300
  187.             Index           =   17
  188.             Left            =   840
  189.             TabIndex        =   18
  190.             Text            =   "17"
  191.             Top             =   1680
  192.             Width           =   4425
  193.          End
  194.          Begin VB.CommandButton Ydcommand1 
  195.             Height          =   300
  196.             Index           =   17
  197.             Left            =   5280
  198.             Picture         =   "单据列表查询_其它出库单查询.frx":1B18
  199.             Style           =   1  'Graphical
  200.             TabIndex        =   69
  201.             Top             =   1680
  202.             Width           =   300
  203.          End
  204.          Begin VB.Label Label4 
  205.             Caption         =   "业务员:"
  206.             Height          =   225
  207.             Left            =   165
  208.             TabIndex        =   78
  209.             Top             =   990
  210.             Width           =   645
  211.          End
  212.          Begin VB.Line Line2 
  213.             Index           =   4
  214.             X1              =   3120
  215.             X2              =   3285
  216.             Y1              =   405
  217.             Y2              =   405
  218.          End
  219.          Begin VB.Label Label1 
  220.             AutoSize        =   -1  'True
  221.             Caption         =   "数量:"
  222.             Height          =   180
  223.             Index           =   23
  224.             Left            =   165
  225.             TabIndex        =   77
  226.             Top             =   300
  227.             Width           =   450
  228.          End
  229.          Begin VB.Label Label1 
  230.             AutoSize        =   -1  'True
  231.             Caption         =   "金额:"
  232.             Height          =   180
  233.             Index           =   22
  234.             Left            =   165
  235.             TabIndex        =   76
  236.             Top             =   660
  237.             Width           =   450
  238.          End
  239.          Begin VB.Line Line2 
  240.             Index           =   1
  241.             X1              =   3120
  242.             X2              =   3300
  243.             Y1              =   750
  244.             Y2              =   750
  245.          End
  246.          Begin VB.Label Label1 
  247.             AutoSize        =   -1  'True
  248.             Caption         =   "制单人:"
  249.             Height          =   180
  250.             Index           =   11
  251.             Left            =   165
  252.             TabIndex        =   75
  253.             Top             =   1380
  254.             Width           =   630
  255.          End
  256.          Begin VB.Label Label1 
  257.             AutoSize        =   -1  'True
  258.             Caption         =   "记帐人:"
  259.             Height          =   180
  260.             Index           =   2
  261.             Left            =   165
  262.             TabIndex        =   74
  263.             Top             =   2100
  264.             Width           =   630
  265.          End
  266.          Begin VB.Label Label1 
  267.             AutoSize        =   -1  'True
  268.             Caption         =   "审核人:"
  269.             Height          =   180
  270.             Index           =   0
  271.             Left            =   150
  272.             TabIndex        =   73
  273.             Top             =   1740
  274.             Width           =   630
  275.          End
  276.       End
  277.       Begin VB.Frame Frame1 
  278.          Height          =   4275
  279.          Index           =   0
  280.          Left            =   120
  281.          TabIndex        =   45
  282.          Top             =   450
  283.          Width           =   5715
  284.          Begin VB.CommandButton Ydcommand1 
  285.             Height          =   300
  286.             Index           =   19
  287.             Left            =   5250
  288.             Picture         =   "单据列表查询_其它出库单查询.frx":1EA2
  289.             Style           =   1  'Graphical
  290.             TabIndex        =   58
  291.             Top             =   2400
  292.             Width           =   300
  293.          End
  294.          Begin VB.TextBox lrText 
  295.             Height          =   300
  296.             Index           =   19
  297.             Left            =   1035
  298.             TabIndex        =   9
  299.             Text            =   "19"
  300.             Top             =   2400
  301.             Width           =   4230
  302.          End
  303.          Begin VB.CommandButton Ydcommand1 
  304.             Height          =   300
  305.             Index           =   5
  306.             Left            =   5250
  307.             Picture         =   "单据列表查询_其它出库单查询.frx":222C
  308.             Style           =   1  'Graphical
  309.             TabIndex        =   57
  310.             Top             =   1320
  311.             Width           =   300
  312.          End
  313.          Begin VB.TextBox lrText 
  314.             Height          =   300
  315.             Index           =   5
  316.             Left            =   1035
  317.             TabIndex        =   5
  318.             Text            =   "5"
  319.             Top             =   1320
  320.             Width           =   4230
  321.          End
  322.          Begin VB.CommandButton Ydcommand1 
  323.             Height          =   300
  324.             Index           =   8
  325.             Left            =   5250
  326.             Picture         =   "单据列表查询_其它出库单查询.frx":25B6
  327.             Style           =   1  'Graphical
  328.             TabIndex        =   56
  329.             Top             =   2040
  330.             Width           =   300
  331.          End
  332.          Begin VB.CommandButton Ydcommand1 
  333.             Height          =   300
  334.             Index           =   4
  335.             Left            =   5250
  336.             Picture         =   "单据列表查询_其它出库单查询.frx":2940
  337.             Style           =   1  'Graphical
  338.             TabIndex        =   55
  339.             Top             =   960
  340.             Width           =   300
  341.          End
  342.          Begin VB.CommandButton Ydcommand1 
  343.             Height          =   300
  344.             Index           =   3
  345.             Left            =   2805
  346.             Picture         =   "单据列表查询_其它出库单查询.frx":2CCA
  347.             Style           =   1  'Graphical
  348.             TabIndex        =   54
  349.             Top             =   960
  350.             Width           =   300
  351.          End
  352.          Begin VB.CommandButton Ydcommand1 
  353.             Height          =   300
  354.             Index           =   0
  355.             Left            =   5250
  356.             Picture         =   "单据列表查询_其它出库单查询.frx":3054
  357.             Style           =   1  'Graphical
  358.             TabIndex        =   53
  359.             Top             =   240
  360.             Width           =   300
  361.          End
  362.          Begin VB.TextBox lrText 
  363.             BackColor       =   &H00FFFFFF&
  364.             Height          =   300
  365.             Index           =   9
  366.             Left            =   1035
  367.             TabIndex        =   10
  368.             Text            =   "9"
  369.             Top             =   2760
  370.             Width           =   4500
  371.          End
  372.          Begin VB.TextBox lrText 
  373.             Height          =   300
  374.             Index           =   6
  375.             Left            =   1035
  376.             TabIndex        =   6
  377.             Text            =   "6"
  378.             Top             =   1680
  379.             Width           =   1785
  380.          End
  381.          Begin VB.TextBox lrText 
  382.             BackColor       =   &H00FFFFFF&
  383.             Height          =   300
  384.             Index           =   7
  385.             Left            =   3525
  386.             TabIndex        =   7
  387.             Text            =   "7"
  388.             Top             =   1680
  389.             Width           =   1725
  390.          End
  391.          Begin VB.TextBox lrText 
  392.             Height          =   300
  393.             Index           =   3
  394.             Left            =   1035
  395.             TabIndex        =   3
  396.             Text            =   "3"
  397.             Top             =   960
  398.             Width           =   1785
  399.          End
  400.          Begin VB.TextBox lrText 
  401.             Height          =   300
  402.             Index           =   4
  403.             Left            =   3540
  404.             TabIndex        =   4
  405.             Text            =   "4"
  406.             Top             =   960
  407.             Width           =   1725
  408.          End
  409.          Begin VB.TextBox lrText 
  410.             Height          =   300
  411.             Index           =   0
  412.             Left            =   1035
  413.             TabIndex        =   0
  414.             Text            =   "0"
  415.             Top             =   240
  416.             Width           =   4230
  417.          End
  418.          Begin VB.TextBox lrText 
  419.             Height          =   300
  420.             Index           =   2
  421.             Left            =   3540
  422.             TabIndex        =   2
  423.             Text            =   "2"
  424.             Top             =   600
  425.             Width           =   2025
  426.          End
  427.          Begin VB.TextBox lrText 
  428.             Height          =   300
  429.             Index           =   1
  430.             Left            =   1035
  431.             TabIndex        =   1
  432.             Text            =   "1"
  433.             Top             =   600
  434.             Width           =   2055
  435.          End
  436.          Begin VB.CommandButton Ydcommand1 
  437.             Height          =   300
  438.             Index           =   6
  439.             Left            =   2805
  440.             Picture         =   "单据列表查询_其它出库单查询.frx":33DE
  441.             Style           =   1  'Graphical
  442.             TabIndex        =   52
  443.             Top             =   1680
  444.             Width           =   300
  445.          End
  446.          Begin VB.CommandButton Ydcommand1 
  447.             Height          =   300
  448.             Index           =   7
  449.             Left            =   5250
  450.             Picture         =   "单据列表查询_其它出库单查询.frx":3768
  451.             Style           =   1  'Graphical
  452.             TabIndex        =   51
  453.             Top             =   1680
  454.             Width           =   300
  455.          End
  456.          Begin VB.TextBox lrText 
  457.             Height          =   300
  458.             Index           =   10
  459.             Left            =   1035
  460.             TabIndex        =   11
  461.             Text            =   "10"
  462.             Top             =   3120
  463.             Width           =   4230
  464.          End
  465.          Begin VB.CommandButton Ydcommand1 
  466.             Height          =   300
  467.             Index           =   10
  468.             Left            =   5250
  469.             Picture         =   "单据列表查询_其它出库单查询.frx":3AF2
  470.             Style           =   1  'Graphical
  471.             TabIndex        =   50
  472.             Top             =   3135
  473.             Width           =   300
  474.          End
  475.          Begin VB.Frame Frame1 
  476.             Caption         =   "记帐状态"
  477.             Height          =   585
  478.             Index           =   1
  479.             Left            =   165
  480.             TabIndex        =   46
  481.             Top             =   3525
  482.             Width           =   5385
  483.             Begin VB.OptionButton Opt_Check 
  484.                Caption         =   "未记帐"
  485.                Height          =   195
  486.                Index           =   2
  487.                Left            =   4095
  488.                TabIndex        =   49
  489.                Top             =   270
  490.                Width           =   915
  491.             End
  492.             Begin VB.OptionButton Opt_Check 
  493.                Caption         =   "已记帐"
  494.                Height          =   195
  495.                Index           =   1
  496.                Left            =   2160
  497.                TabIndex        =   48
  498.                Top             =   270
  499.                Width           =   975
  500.             End
  501.             Begin VB.OptionButton Opt_Check 
  502.                Caption         =   "全部"
  503.                Height          =   195
  504.                Index           =   0
  505.                Left            =   330
  506.                TabIndex        =   47
  507.                Top             =   270
  508.                Value           =   -1  'True
  509.                Width           =   855
  510.             End
  511.          End
  512.          Begin VB.TextBox lrText 
  513.             Height          =   300
  514.             Index           =   8
  515.             Left            =   1035
  516.             TabIndex        =   8
  517.             Text            =   "8"
  518.             Top             =   2040
  519.             Width           =   4230
  520.          End
  521.          Begin VB.Label Label3 
  522.             Caption         =   "业务类型:"
  523.             Height          =   225
  524.             Left            =   150
  525.             TabIndex        =   67
  526.             Top             =   2460
  527.             Width           =   855
  528.          End
  529.          Begin VB.Label Label2 
  530.             Caption         =   "存货分类:"
  531.             Height          =   225
  532.             Left            =   165
  533.             TabIndex        =   66
  534.             Top             =   1380
  535.             Width           =   765
  536.          End
  537.          Begin VB.Label Label1 
  538.             AutoSize        =   -1  'True
  539.             Caption         =   "业务单号:"
  540.             Height          =   195
  541.             Index           =   8
  542.             Left            =   150
  543.             TabIndex        =   65
  544.             Top             =   2820
  545.             Width           =   765
  546.          End
  547.          Begin VB.Label Label1 
  548.             AutoSize        =   -1  'True
  549.             Caption         =   "出库类别:"
  550.             Height          =   195
  551.             Index           =   12
  552.             Left            =   150
  553.             TabIndex        =   64
  554.             Top             =   3180
  555.             Width           =   765
  556.          End
  557.          Begin VB.Line Line1 
  558.             Index           =   1
  559.             X1              =   3225
  560.             X2              =   3390
  561.             Y1              =   1110
  562.             Y2              =   1110
  563.          End
  564.          Begin VB.Label Label1 
  565.             AutoSize        =   -1  'True
  566.             Caption         =   "出库日期:"
  567.             Height          =   195
  568.             Index           =   7
  569.             Left            =   150
  570.             TabIndex        =   63
  571.             Top             =   1020
  572.             Width           =   765
  573.          End
  574.          Begin VB.Label Label1 
  575.             AutoSize        =   -1  'True
  576.             Caption         =   "仓库:"
  577.             Height          =   180
  578.             Index           =   6
  579.             Left            =   150
  580.             TabIndex        =   62
  581.             Top             =   300
  582.             Width           =   450
  583.          End
  584.          Begin VB.Label Label1 
  585.             AutoSize        =   -1  'True
  586.             Caption         =   "单据号:"
  587.             Height          =   180
  588.             Index           =   4
  589.             Left            =   150
  590.             TabIndex        =   61
  591.             Top             =   660
  592.             Width           =   630
  593.          End
  594.          Begin VB.Line Line1 
  595.             Index           =   0
  596.             X1              =   3225
  597.             X2              =   3390
  598.             Y1              =   750
  599.             Y2              =   750
  600.          End
  601.          Begin VB.Label Label1 
  602.             AutoSize        =   -1  'True
  603.             Caption         =   "部门:"
  604.             Height          =   195
  605.             Index           =   3
  606.             Left            =   150
  607.             TabIndex        =   60
  608.             Top             =   2100
  609.             Width           =   405
  610.          End
  611.          Begin VB.Line Line2 
  612.             Index           =   0
  613.             X1              =   3255
  614.             X2              =   3420
  615.             Y1              =   1815
  616.             Y2              =   1815
  617.          End
  618.          Begin VB.Label Label1 
  619.             AutoSize        =   -1  'True
  620.             Caption         =   "存货编码:"
  621.             Height          =   195
  622.             Index           =   5
  623.             Left            =   150
  624.             TabIndex        =   59
  625.             Top             =   1740
  626.             Width           =   765
  627.          End
  628.       End
  629.       Begin VB.TextBox Txt_LrText 
  630.          Height          =   300
  631.          Index           =   10
  632.          Left            =   -73920
  633.          TabIndex        =   35
  634.          Text            =   "10"
  635.          Top             =   600
  636.          Width           =   3735
  637.       End
  638.       Begin VB.TextBox Txt_LrText 
  639.          Height          =   300
  640.          Index           =   13
  641.          Left            =   -73920
  642.          TabIndex        =   34
  643.          Text            =   "13"
  644.          Top             =   1380
  645.          Width           =   1860
  646.       End
  647.       Begin VB.TextBox Txt_LrText 
  648.          Height          =   300
  649.          Index           =   15
  650.          Left            =   -73920
  651.          TabIndex        =   33
  652.          Text            =   "15"
  653.          Top             =   1770
  654.          Width           =   3735
  655.       End
  656.       Begin VB.TextBox Txt_LrText 
  657.          Height          =   300
  658.          Index           =   14
  659.          Left            =   -71745
  660.          TabIndex        =   32
  661.          Text            =   "14"
  662.          Top             =   1380
  663.          Width           =   1830
  664.       End
  665.       Begin VB.TextBox Txt_LrText 
  666.          Height          =   300
  667.          Index           =   12
  668.          Left            =   -71745
  669.          TabIndex        =   31
  670.          Text            =   "12"
  671.          Top             =   990
  672.          Width           =   1830
  673.       End
  674.       Begin VB.TextBox Txt_LrText 
  675.          Height          =   300
  676.          Index           =   11
  677.          Left            =   -73920
  678.          TabIndex        =   30
  679.          Text            =   "11"
  680.          Top             =   990
  681.          Width           =   1875
  682.       End
  683.       Begin VB.TextBox Txt_LrText 
  684.          Height          =   300
  685.          Index           =   16
  686.          Left            =   -73920
  687.          TabIndex        =   29
  688.          Text            =   "16"
  689.          Top             =   2160
  690.          Width           =   3735
  691.       End
  692.       Begin VB.TextBox Txt_LrText 
  693.          Height          =   300
  694.          Index           =   17
  695.          Left            =   -73920
  696.          TabIndex        =   28
  697.          Text            =   "17"
  698.          Top             =   2550
  699.          Width           =   3735
  700.       End
  701.       Begin VB.TextBox Txt_LrText 
  702.          Height          =   300
  703.          Index           =   18
  704.          Left            =   -73920
  705.          TabIndex        =   27
  706.          Text            =   "18"
  707.          Top             =   2940
  708.          Width           =   3735
  709.       End
  710.       Begin VB.TextBox Txt_LrText 
  711.          Height          =   300
  712.          Index           =   19
  713.          Left            =   -73920
  714.          TabIndex        =   26
  715.          Text            =   "19"
  716.          Top             =   3330
  717.          Width           =   3735
  718.       End
  719.       Begin VB.Label Label1 
  720.          AutoSize        =   -1  'True
  721.          Caption         =   "审核人:"
  722.          Height          =   180
  723.          Index           =   14
  724.          Left            =   -74820
  725.          TabIndex        =   44
  726.          Top             =   3810
  727.          Width           =   630
  728.       End
  729.       Begin VB.Label Label1 
  730.          AutoSize        =   -1  'True
  731.          Caption         =   "采购类型:"
  732.          Height          =   180
  733.          Index           =   13
  734.          Left            =   -74805
  735.          TabIndex        =   43
  736.          Top             =   645
  737.          Width           =   810
  738.       End
  739.       Begin VB.Label Label1 
  740.          AutoSize        =   -1  'True
  741.          Caption         =   "记帐人:"
  742.          Height          =   180
  743.          Index           =   19
  744.          Left            =   -74805
  745.          TabIndex        =   42
  746.          Top             =   3390
  747.          Width           =   630
  748.       End
  749.       Begin VB.Label Label1 
  750.          AutoSize        =   -1  'True
  751.          Caption         =   "制单人:"
  752.          Height          =   180
  753.          Index           =   18
  754.          Left            =   -74805
  755.          TabIndex        =   41
  756.          Top             =   3030
  757.          Width           =   630
  758.       End
  759.       Begin VB.Label Label1 
  760.          AutoSize        =   -1  'True
  761.          Caption         =   "业务员:"
  762.          Height          =   180
  763.          Index           =   10
  764.          Left            =   -74805
  765.          TabIndex        =   40
  766.          Top             =   1860
  767.          Width           =   630
  768.       End
  769.       Begin VB.Label Label1 
  770.          AutoSize        =   -1  'True
  771.          Caption         =   "保管员:"
  772.          Height          =   180
  773.          Index           =   9
  774.          Left            =   -74805
  775.          TabIndex        =   39
  776.          Top             =   2640
  777.          Width           =   630
  778.       End
  779.       Begin VB.Label Label1 
  780.          AutoSize        =   -1  'True
  781.          Caption         =   "验收员:"
  782.          Height          =   180
  783.          Index           =   15
  784.          Left            =   -74805
  785.          TabIndex        =   38
  786.          Top             =   2250
  787.          Width           =   630
  788.       End
  789.       Begin VB.Line Line2 
  790.          Index           =   2
  791.          X1              =   -72060
  792.          X2              =   -71760
  793.          Y1              =   1125
  794.          Y2              =   1125
  795.       End
  796.       Begin VB.Label Label1 
  797.          AutoSize        =   -1  'True
  798.          Caption         =   "金额:"
  799.          Height          =   180
  800.          Index           =   16
  801.          Left            =   -74805
  802.          TabIndex        =   37
  803.          Top             =   1440
  804.          Width           =   450
  805.       End
  806.       Begin VB.Label Label1 
  807.          AutoSize        =   -1  'True
  808.          Caption         =   "数量:"
  809.          Height          =   180
  810.          Index           =   17
  811.          Left            =   -74805
  812.          TabIndex        =   36
  813.          Top             =   1050
  814.          Width           =   450
  815.       End
  816.       Begin VB.Line Line2 
  817.          Index           =   3
  818.          X1              =   -72045
  819.          X2              =   -71775
  820.          Y1              =   1515
  821.          Y2              =   1515
  822.       End
  823.    End
  824. End
  825. Attribute VB_Name = "LBCX_OtherOutBillListFind"
  826. Attribute VB_GlobalNameSpace = False
  827. Attribute VB_Creatable = False
  828. Attribute VB_PredeclaredId = True
  829. Attribute VB_Exposed = False
  830. '******************************************************************
  831. '*    模 块 名 称 :其它出库单列表查询条件
  832. '*    功 能 描 述 :
  833. '*    程序员姓名  :杨波
  834. '*    最后修改人  :杨波
  835. '*    最后修改时间:2001/11/26
  836. '*    备        注:程序中所有依实际情况自定义部分均用[>>  <<]括起
  837. '******************************************************************
  838. Dim Tsxx As String                       '系统信息提示
  839. '以下为固定使用变量(文本框)
  840. Dim Textvar() As Variant                 '存储变体型文本框信息
  841. Dim Textboolean() As Boolean             '存储布尔型文本框信息
  842. Dim Textint() As Integer                 '存储整型文本框信息
  843. Dim Textstr() As String                  '存储字符型文本框信息
  844. Dim Max_Text_Index As Integer            '最大录入文本框索引值
  845. Dim TextGroupCode As String              '文本框录入分组编码
  846. Dim TextValiLock As Boolean              '文本框失去焦点是否进行有效性控制判断
  847. Dim TextValiJudgeLock() As Boolean       '文本框录入有效性判断控制锁
  848. Dim CurTextIndex As Integer              '当前文本框索引值
  849. Dim TextChangeLock As Boolean            '文本框内容变换控制锁
  850. Dim Bln_Cancel As Boolean                '取消按钮信息传递
  851. Dim SaveTxt() As String                  '保留文本框值
  852. Dim SaveTxttag() As String               '保留文本框的tag值
  853. Private Sub Form_KeyPress(KeyAscii As Integer)   '控 制 焦 点 转 移(Fixed)
  854.     Dim jdzygs As Integer                         '控件焦点转移个数
  855.     jdzygs = 22
  856.     Select Case KeyAscii
  857.         Case vbKeyReturn
  858.             If Kjjdzy(jdzygs) Then
  859.                 KeyAscii = 0
  860.             End If
  861.         Case 39           '屏蔽"'"
  862.             KeyAscii = 0
  863.     End Select
  864. End Sub
  865. Private Sub Form_Load()
  866.    
  867.     '以下为文本框处理程序(Fixed)
  868.     TextGroupCode = "Chhs_OtherOutList"
  869.     Call Drwbkxx(TextGroupCode, Textvar(), Textboolean(), Textint(), Textstr())  '读入文本框录入信息
  870.     Call Wbkcsh
  871.     
  872.     Tab_SSTab.Tab = 0
  873.     
  874.     '[>>初始化查询条件默认值
  875.     LrText(3).Text = Format(Xtrq, "yyyy-mm-dd")
  876.     LrText(4).Text = Format(Xtrq, "yyyy-mm-dd")
  877.     '<<]
  878.     
  879.     '限制变量个数
  880.     ReDim SaveTxt(LrText.count)
  881.     ReDim SaveTxttag(LrText.count)
  882.     
  883.     SaveTxt(3) = Format(Xtrq, "yyyy-mm-dd")
  884.     SaveTxt(4) = Format(Xtrq, "yyyy-mm-dd")
  885.    
  886. End Sub
  887. Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer)          '查询条件窗体卸载
  888.     
  889.     '恢复保留值
  890.     For Jsqte = 0 To LrText.count - 1
  891.         LrText(Jsqte) = SaveTxt(Jsqte)
  892.         LrText(Jsqte).Tag = SaveTxttag(Jsqte)
  893.     Next Jsqte
  894.     
  895.     '查询条件窗体卸载时判断是否因为结果窗体卸载,如是则卸载,否则隐藏
  896.     If UnloadCheck.Value <> 1 Then
  897.         Cancel = 1
  898.         Me.Hide
  899.     End If
  900.     
  901. End Sub
  902. Private Sub QdCommand_Click()                                   '确 定
  903.     '录入条件有效性判断(Fixed)
  904.     If Not Lrtjyxxpd Then
  905.         Exit Sub
  906.     End If
  907.     Me.Hide
  908.     
  909.     '保留当前值
  910.     For Jsqte = 0 To LrText.count - 1
  911.         SaveTxt(Jsqte) = LrText(Jsqte)
  912.         SaveTxttag(Jsqte) = LrText(Jsqte).Tag
  913.     Next Jsqte
  914.         
  915.     '[>>激活查询过程结果窗体
  916.     
  917.     LB_OtherOutBillList.Timer1.Enabled = True
  918.     LB_OtherOutBillList.SetFocus
  919.     
  920.     '<<]
  921. End Sub
  922. Private Sub QxCommand_Click()                                    '取消(Fixed)
  923.     '恢复保留值
  924.     For Jsqte = 0 To LrText.count - 1
  925.        LrText(Jsqte) = SaveTxt(Jsqte)
  926.        LrText(Jsqte).Tag = SaveTxttag(Jsqte)
  927.     Next Jsqte
  928.     
  929.     If LB_OtherOutBillList.CxbbGrid.Rows = LB_OtherOutBillList.CxbbGrid.FixedRows Then
  930.         LB_OtherOutBillList.SzToolbar.Buttons("Bill").Enabled = False
  931.         LB_OtherOutBillList.SzToolbar.Buttons("sc").Enabled = False
  932.     End If
  933.     
  934.     Me.Hide
  935.     
  936. End Sub
  937. Private Function Lrtjyxxpd() As Boolean                          '用户录入条件有效性判断
  938.     Dim Jsqte As Integer
  939.     Lrtjyxxpd = False
  940.  
  941.     '对需要进行事后判断的文本框录入内容进行有效性判断 (Fixed)
  942.     For Jsqte = 0 To Max_Text_Index
  943.         If Textint(Jsqte, 9) = 0 Or Textint(Jsqte, 9) = 2 Then
  944.             If Not TextYxxpd(Jsqte) Then
  945.                 Exit Function
  946.             End If
  947.         End If
  948.     Next Jsqte
  949.    
  950.     '[>>以下为依据实际情况自定义部分
  951.  
  952.     '查询日期范围应由小到大
  953.     
  954.     '单据号由小到大
  955.     If Trim(LrText(1).Text) > Trim(LrText(2).Text) And Trim(LrText(2).Text) <> "" Then
  956.         Tsxx = "查询单据号范围应由小到大!"
  957.         Call Xtxxts(Tsxx, 0, 4)
  958.         LrText(1).SetFocus
  959.         Exit Function
  960.     End If
  961.     
  962.     '入库日期由小到大
  963.     If LrText(3).Text > LrText(4).Text And Trim(LrText(4).Text) <> "" Then
  964.         Tsxx = "查询入库日期范围应由小到大!"
  965.         Call Xtxxts(Tsxx, 0, 4)
  966.         LrText(3).SetFocus
  967.         Exit Function
  968.     End If
  969.     
  970.     '查询存货范围应由小到大
  971.     If Trim(LrText(6).Text) > Trim(LrText(7).Text) And Trim(LrText(7).Text) <> "" Then
  972.         Tsxx = "查询存货范围应由小到大!"
  973.         Call Xtxxts(Tsxx, 0, 4)
  974.         LrText(6).SetFocus
  975.         Exit Function
  976.     End If
  977.     
  978.     '生产日期由小到大
  979.     If LrText(8).Text > LrText(9).Text And Trim(LrText(9).Text) <> "" Then
  980.         Tsxx = "查询生产日期范围应由小到大!"
  981.         Call Xtxxts(Tsxx, 0, 4)
  982.         LrText(8).SetFocus
  983.         Exit Function
  984.     End If
  985.     
  986.     '查询数量范围应由小到大
  987.     If Val(LrText(11).Text) > Val(LrText(12).Text) And Trim(LrText(12).Text) <> "" Then
  988.         Tsxx = "查询数量范围应由小到大!"
  989.         Call Xtxxts(Tsxx, 0, 4)
  990.         LrText(12).SetFocus
  991.         Exit Function
  992.     End If
  993.   
  994.     '查询金额范围应由小到大
  995.     If Val(LrText(13).Text) > Val(LrText(14).Text) And Trim(LrText(14).Text) <> "" Then
  996.         Tsxx = "查询金额范围应由小到大!"
  997.         Call Xtxxts(Tsxx, 0, 4)
  998.         LrText(14).SetFocus
  999.         Exit Function
  1000.     End If
  1001.   
  1002.     '<<]以上为依据实际情况自定义部分
  1003.  
  1004.     Lrtjyxxpd = True
  1005. End Function
  1006. Private Sub Cmd_Clear_MouseDown(Button As Integer, Shift As Integer, x As Single, y As Single)    '将用户输入条件全部清除(可选)
  1007.     '清除文本框(Fixed)
  1008.     For Jsqte = 0 To Max_Text_Index
  1009.         LrText(Jsqte).Tag = ""
  1010.         LrText(Jsqte).Text = ""
  1011.     Next Jsqte
  1012.   
  1013.     '[>>
  1014.     '此处可以写入其他清除条件程序
  1015.     Opt_Check(0).Value = True
  1016.     '<<]
  1017.   
  1018. End Sub
  1019. '*************以下为文本框录入处理程序(固定不变部分)*************'
  1020. Private Sub Wbklrwbcl(Index As Integer)    '文本框录入事后处理程序
  1021.   
  1022.     '以下为依据实际情况自定义部分[
  1023.     '在此填写文本框录入事后处理程序
  1024.     ']以上为依据实际情况自定义部分
  1025.   
  1026. End Sub
  1027. Private Sub LrText_Change(Index As Integer)
  1028.    
  1029.     '屏蔽程序改变控制
  1030.     If TextChangeLock Then
  1031.         Exit Sub
  1032.     End If
  1033.     
  1034.     TextValiJudgeLock(Index) = False    '打开有效性判断锁
  1035.     
  1036.     '限制字段录入长度
  1037.           
  1038.     TextChangeLock = True  '加锁(防止执行Lrtext_Change)
  1039.     
  1040.     Call TextChangeLimit(LrText(Index), Textint(Index, 1))  '去掉无效字符
  1041.         
  1042.     Select Case Textint(Index, 1)
  1043.         Case 8, 11      '金额型
  1044.             Call Sjgskz(LrText(Index), Xtjezws - Xtjexsws - 1, Xtjexsws)
  1045.         Case 9, 12      '数量型
  1046.             Call Sjgskz(LrText(Index), Xtslzws - Xtslxsws - 1, Xtslxsws)
  1047.         Case 10          '单价型
  1048.             Call Sjgskz(LrText(Index), Xtdjzws - Xtdjxsws - 1, Xtdjxsws)
  1049.         Case Else        '其他小数类型控制
  1050.             If Textint(Index, 6) <> 0 Or Textint(Index, 7) <> 0 Then
  1051.                 Call Sjgskz(LrText(Index), Textint(Index, 6), Textint(Index, 7))
  1052.             End If
  1053.     End Select
  1054.         
  1055.     TextChangeLock = False '解锁
  1056. End Sub
  1057. Private Sub LrText_GotFocus(Index As Integer)                                                 '文本框得到焦点,显示相应信息
  1058.     Call TextShow(Index)
  1059.     CurTextIndex = Index
  1060.     LrText(Index).SelStart = Len(LrText(Index))
  1061. End Sub
  1062. Private Sub LrText_KeyDown(Index As Integer, KeyCode As Integer, Shift As Integer)            '字段按F2键提供帮助
  1063.     
  1064.     Select Case KeyCode
  1065.         Case vbKeyF2
  1066.             Call Text_Help(Index)
  1067.     End Select
  1068. End Sub
  1069. Private Sub LrText_KeyPress(Index As Integer, KeyAscii As Integer)                            '文本框录入事中控制
  1070.     Call InputFieldLimit(LrText(Index), Textint(Index, 1), KeyAscii)
  1071. End Sub
  1072. Private Sub LrText_LostFocus(Index As Integer)                                                '文本框失去焦点
  1073.     '显示相应信息但不能进行有效性判断
  1074.   
  1075. End Sub
  1076. Private Sub Ydcommand1_MouseDown(Index As Integer, Button As Integer, Shift As Integer, x As Single, y As Single)     '按钮提供帮助
  1077.     Call Text_Help(Index)
  1078. End Sub
  1079. Private Sub Text_Help(Index As Integer)                                                       '录入字段帮助
  1080.     If Not Textboolean(Index, 1) Then
  1081.         Exit Sub
  1082.     End If
  1083.      
  1084.     '调用帮助
  1085.     Call Drbmhelp(Textint(Index, 2), Textstr(Index, 4), Trim(LrText(Index).Text))
  1086.   
  1087.     '根据设置选择显示编码和名称,并进行存储
  1088.     If Len(Xtfhcs) <> 0 Then
  1089.         If Textint(Index, 3) = 1 Then
  1090.             LrText(Index).Text = Xtfhcsfz
  1091.             LrText(Index).Tag = Xtfhcs
  1092.         Else
  1093.             LrText(Index).Text = Xtfhcs
  1094.             LrText(Index).Tag = Xtfhcsfz
  1095.         End If
  1096.     End If
  1097.    
  1098.     LrText(Index).SetFocus
  1099. End Sub
  1100. Private Sub TextShow(Index As Integer)        '文本框得到焦点,显示相应信息
  1101.     '填写文本框得到焦点,进行相应信息处理程序
  1102.    
  1103. End Sub
  1104. Private Sub Wbkcsh()                          '录入文本框初始化
  1105.     
  1106.     Dim Jsqte As Integer
  1107.   
  1108.     '最大录入文本框索引值
  1109.     Max_Text_Index = Textvar(1)
  1110.   
  1111.     ReDim TextValiJudgeLock(Max_Text_Index)
  1112.     For Jsqte = 0 To Max_Text_Index
  1113.         If Len(Trim(Textstr(Jsqte, 1))) <> 0 Then
  1114.             If Textboolean(Jsqte, 1) Then
  1115.                 If Jsqte <> 0 And Not Textboolean(Jsqte, 3) Then
  1116.                     Load Ydcommand1(Jsqte)
  1117.                 End If
  1118.                 Ydcommand1(Jsqte).Visible = True
  1119.                 Ydcommand1(Jsqte).Move LrText(Jsqte).Left + LrText(Jsqte).Width, LrText(Jsqte).Top
  1120.             End If
  1121.             TextChangeLock = True
  1122.             LrText(Jsqte).Text = ""
  1123.             LrText(Jsqte).Tag = ""
  1124.             If Textint(Jsqte, 5) <> 0 Then
  1125.                 LrText(Jsqte).MaxLength = Textint(Jsqte, 5)
  1126.             End If
  1127.             TextChangeLock = False
  1128.         End If
  1129.         TextValiJudgeLock(Jsqte) = True
  1130.     Next Jsqte
  1131. End Sub
  1132. Private Function TextYxxpd(Index As Integer) As Boolean           '文本框有效性判断
  1133.     
  1134.     Dim SqlStr As String
  1135.     Dim Findrec As ADODB.Recordset
  1136.   
  1137.     '文本框内容未曾改变不进行有效性判断
  1138.     If TextValiJudgeLock(Index) Then
  1139.         TextYxxpd = True
  1140.         Exit Function
  1141.     End If
  1142.   
  1143.     '文本框内容为空认为有效,并清空其Tag值
  1144.     If Trim(LrText(Index)) = "" Then
  1145.         LrText(Index).Tag = ""
  1146.         Call Wbklrwbcl(Index)
  1147.         TextValiJudgeLock(Index) = True
  1148.         TextYxxpd = True
  1149.         Exit Function
  1150.     End If
  1151.   
  1152.     '可在此加入不做有效性判断的理由
  1153.   
  1154.     Select Case Textint(Index, 4)
  1155.         Case 1      '编码型
  1156.             SqlStr = Trim(Textstr(Index, 5))
  1157.             SqlStr = Replace(SqlStr, "@", "'" + Trim(LrText(Index).Text) + "'")
  1158.             SqlStr = Replace(SqlStr, "$$", "'" + Trim(Xtczybm) + "'")
  1159.             Set Findrec = Cw_DataEnvi.DataConnect.Execute(SqlStr)
  1160.             If Findrec.EOF Then
  1161.                 Call Xtxxts(Trim(Textstr(Index, 6)), 0, 1)
  1162.                 LrText(Index).SetFocus
  1163.                 Exit Function
  1164.             Else
  1165.                 Select Case Textint(Index, 3)
  1166.                     Case 0
  1167.                         If Len(Trim(Textstr(Index, 2))) <> 0 Then
  1168.                             LrText(Index).Text = Trim(Findrec.Fields(Trim(Textstr(Index, 2))))
  1169.                         End If
  1170.                         If Len(Trim(Textstr(Index, 3) & "")) <> 0 Then
  1171.                             LrText(Index).Tag = Trim(Findrec.Fields(Trim(Textstr(Index, 3))))
  1172.                         End If
  1173.                     Case 1
  1174.                         If Len(Trim(Textstr(Index, 3) & "")) <> 0 Then
  1175.                             LrText(Index).Text = Trim(Findrec.Fields(Trim(Textstr(Index, 3))))
  1176.                         End If
  1177.                         If Len(Trim(Textstr(Index, 2))) <> 0 Then
  1178.                             LrText(Index).Tag = Trim(Findrec.Fields(Trim(Textstr(Index, 2))))
  1179.                         End If
  1180.                 End Select
  1181.             End If
  1182.         Case 2      '日期型
  1183.             If IsDate(LrText(Index).Text) Then
  1184.                 LrText(Index).Text = Format(LrText(Index).Text, "yyyy-mm-dd")
  1185.                 If Val(Mid(LrText(Index), 1, 4)) < 1900 Then
  1186.                     LrText(Index).Text = "1900" + Mid(LrText(Index), 5, 6)
  1187.                 End If
  1188.             Else
  1189.                 Tsxx = "非法公历日期!(格式:" + Format(Date, "yyyy-mm-dd") + ")"
  1190.                 Call Xtxxts(Tsxx, 0, 1)
  1191.                 LrText(Index).SetFocus
  1192.                 Exit Function
  1193.             End If
  1194.         Case 3      '其他类型
  1195.     End Select
  1196.     
  1197.     '如果有效则加锁,用户不改变内容则不再进行有效性判断
  1198.     TextValiJudgeLock(Index) = True
  1199.     '调用文本框事后处理程序
  1200.     Call Wbklrwbcl(Index)
  1201.    
  1202.     '有效性判断通过则返回True
  1203.     TextYxxpd = True
  1204.    
  1205. End Function