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