ZZSBCX.PRG
上传用户:hbmaozhan
上传日期:2013-01-31
资源大小:1007k
文件大小:9k
源码类别:

企业管理

开发平台:

VFP

  1.  HIDE POPUP pop4
  2.  HIDE POPUP pop4_2
  3.  HIDE MENU mainmenu
  4.  SET CLOCK TO 0, 69
  5.  DEAC WINDOW win
  6.  ON KEY
  7.  SET SYSMENU OFF
  8.  SET COLOR TO W/B
  9.  CLEA
  10.  p = 1
  11.  USE zzsb
  12.  SET COLOR TO GR/B
  13.  @ 1, 0 SAY 'JQ软件工作室'
  14.  @ 1, 67 SAY 'JQ财务系统'
  15.  SET COLOR TO G/B
  16.  @ 0, 25 SAY '增  值  税  明  细  表 '
  17.  @ 2, 0 SAY '┏━━━━━━━━━━━━━━━━┯━┯━━━━━━━━━━┯━━━━━━━━┓'
  18.  @ 3, 0 SAY '┃'
  19.  @ 3, 5 SAY '        项         目 '
  20.  @ 3, 34 SAY '│'
  21.  @ 3, 36 SAY '行'
  22.  @ 3, 38 SAY '│'
  23.  @ 3, 44 SAY '上  年   数'
  24.  @ 3, 60 SAY '│'
  25.  @ 3, 63 SAY ' 累  计   数'
  26.  @ 3, 78 SAY '┃'
  27.  @ 4, 0 SAY '┠────────────────┼─┼──────────┼────────┨'
  28.  pd = 4
  29.  DO WHILE pd<23
  30.       i = pd+1
  31.       @ i, 0 SAY '┃'
  32.       @ i, 34 SAY '│'
  33.       @ i, 38 SAY '│'
  34.       @ i, 60 SAY '│'
  35.       @ i, 78 SAY '┃'
  36.       pd = pd+1
  37.  ENDD
  38.  @ 23, 0 SAY '┗━━━━━━━━━━━━━━━━┷━┷━━━━━━━━━━┷━━━━━━━━┛'
  39.  SET COLOR TO B/GR
  40.  @ 24, 0 SAY '      ↑ 上一笔 : ↓ 下一笔 : PgUp 上一页 : PgDn 下一页 : Esc 退出            '
  41.  SET COLOR TO W/B
  42.  GOTO BOTTOM
  43.  pd = RECNO()
  44.  pd = pd/16
  45.  pd1 = INT(pd)
  46.  ys = pd-pd1
  47.  IF ys=0
  48.       ys = pd1
  49.  ELSE
  50.       ys = pd1+1
  51.  ENDI
  52.  GOTO TOP
  53.  pd = 1
  54.  ys1 = 1
  55.  DO WHILE .T.
  56.       @ 4+pd, 2 SAY xm PICTURE 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
  57.       @ 4+pd, 36 SAY h
  58.       IF bys<>0
  59.            @ 4+pd, 43 SAY bys PICTURE '999,999,999.99'
  60.       ENDI
  61.       IF ljs<>0
  62.            @ 4+pd, 63 SAY ljs PICTURE '999,999,999.99'
  63.       ENDI
  64.       IF  .NOT. EOF()
  65.            SKIP
  66.            pd = pd+1
  67.       ELSE
  68.            EXIT
  69.       ENDI
  70.       IF pd=19
  71.            EXIT
  72.       ENDI
  73.  ENDD
  74.  GOTO 1
  75.  SET COLOR TO G+/B
  76.  @ 5, 2 SAY xm PICTURE 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
  77.  @ 5, 36 SAY h
  78.  IF bys<>0
  79.       @ 5, 43 SAY bys PICTURE '999,999,999.99'
  80.  ELSE
  81.       @ 5, 43 SAY '              '
  82.  ENDI
  83.  IF ljs<>0
  84.       @ 5, 63 SAY ljs PICTURE '999,999,999.99'
  85.  ELSE
  86.       @ 5, 63 SAY '              '
  87.  ENDI
  88.  pd = 1
  89.  DO WHILE .T.
  90.       x = INKEY(0)
  91.       DO CASE
  92.            CASE x=5
  93.                 IF pd=1 .OR. RECNO()=1
  94.                      ?? CHR(7)
  95.                 ELSE
  96.                      SET COLOR TO W/B
  97.                      @ 4+pd, 2 SAY xm PICTURE 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
  98.                      @ 4+pd, 36 SAY h
  99.                      IF bys<>0
  100.                           @ 4+pd, 43 SAY bys PICTURE '999,999,999.99'
  101.                      ELSE
  102.                           @ 4+pd, 43 SAY '              '
  103.                      ENDI
  104.                      IF ljs<>0
  105.                           @ 4+pd, 63 SAY ljs PICTURE '999,999,999.99'
  106.                      ELSE
  107.                           @ 4+pd, 63 SAY '              '
  108.                      ENDI
  109.                      SET COLOR TO G+/B
  110.                      SKIP -1
  111.                      pd = pd-1
  112.                      @ 4+pd, 2 SAY xm PICTURE 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
  113.                      @ 4+pd, 36 SAY h
  114.                      IF bys<>0
  115.                           @ 4+pd, 43 SAY bys PICTURE '999,999,999.99'
  116.                      ELSE
  117.                           @ 4+pd, 43 SAY '              '
  118.                      ENDI
  119.                      IF ljs<>0
  120.                           @ 4+pd, 63 SAY ljs PICTURE '999,999,999.99'
  121.                      ELSE
  122.                           @ 4+pd, 63 SAY '              '
  123.                      ENDI
  124.                 ENDI
  125.            CASE x=24
  126.                 IF pd=18 .OR. EOF()
  127.                      ?? CHR(7)
  128.                 ELSE
  129.                      SET COLOR TO W/B
  130.                      @ 4+pd, 2 SAY xm PICTURE 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
  131.                      @ 4+pd, 36 SAY h
  132.                      IF bys<>0
  133.                           @ 4+pd, 43 SAY bys PICTURE '999,999,999.99'
  134.                      ELSE
  135.                           @ 4+pd, 43 SAY '              '
  136.                      ENDI
  137.                      IF ljs<>0
  138.                           @ 4+pd, 63 SAY ljs PICTURE '999,999,999.99'
  139.                      ELSE
  140.                           @ 4+pd, 63 SAY '              '
  141.                      ENDI
  142.                      SET COLOR TO G+/B
  143.                      SKIP
  144.                      pd = pd+1
  145.                      @ 4+pd, 2 SAY xm PICTURE 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
  146.                      @ 4+pd, 36 SAY h
  147.                      IF bys<>0
  148.                           @ 4+pd, 43 SAY bys PICTURE '999,999,999.99'
  149.                      ELSE
  150.                           @ 4+pd, 43 SAY '              '
  151.                      ENDI
  152.                      IF ljs<>0
  153.                           @ 4+pd, 63 SAY ljs PICTURE '999,999,999.99'
  154.                      ELSE
  155.                           @ 4+pd, 63 SAY '              '
  156.                      ENDI
  157.                 ENDI
  158.            CASE x=18
  159.                 IF ys1>1
  160.                      ys1 = ys1-1
  161.                      GOTO ys1*18
  162.                      SKIP -17
  163.                      pd = 1
  164.                      SET COLOR TO W/B
  165.                      @ 5, 2 CLEAR TO 22, 33
  166.                      @ 5, 36 CLEAR TO 22, 37
  167.                      @ 5, 40 CLEAR TO 22, 58
  168.                      @ 5, 62 CLEAR TO 22, 77
  169.                      DO WHILE .T.
  170.                           @ 4+pd, 2 SAY xm PICTURE 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
  171.                           @ 4+pd, 36 SAY h
  172.                           IF bys<>0
  173.                                @ 4+pd, 43 SAY bys PICTURE '999,999,999.99'
  174.                           ELSE
  175.                                @ 4+pd, 43 SAY '              '
  176.                           ENDI
  177.                           IF ljs<>0
  178.                                @ 4+pd, 63 SAY ljs PICTURE '999,999,999.99'
  179.                           ELSE
  180.                                @ 4+pd, 63 SAY '              '
  181.                           ENDI
  182.                           IF  .NOT. EOF()
  183.                                SKIP
  184.                                pd = pd+1
  185.                           ELSE
  186.                                EXIT
  187.                           ENDI
  188.                           IF pd=19
  189.                                EXIT
  190.                           ENDI
  191.                      ENDD
  192.                      SKIP -18
  193.                      SET COLOR TO G+/B
  194.                      @ 5, 2 SAY xm PICTURE 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
  195.                      @ 5, 36 SAY h
  196.                      IF bys<>0
  197.                           @ 5, 43 SAY bys PICTURE '999,999,999.99'
  198.                      ELSE
  199.                           @ 5, 43 SAY '              '
  200.                      ENDI
  201.                      IF ljs<>0
  202.                           @ 5, 63 SAY ljs PICTURE '999,999,999.99'
  203.                      ELSE
  204.                           @ 5, 63 SAY '              '
  205.                      ENDI
  206.                      pd = 1
  207.                 ELSE
  208.                      ?? CHR(7)
  209.                 ENDI
  210.            CASE x=3
  211.                 SET COLOR TO W/B
  212.                 IF ys1<ys
  213.                      ys1 = ys1+1
  214.                      GOTO (ys1-1)*18+1
  215.                      x = RECNO()
  216.                      pd = 1
  217.                      SET COLOR TO W/B
  218.                      @ 5, 2 CLEAR TO 22, 33
  219.                      @ 5, 36 CLEAR TO 22, 37
  220.                      @ 5, 40 CLEAR TO 22, 58
  221.                      @ 5, 62 CLEAR TO 22, 77
  222.                      DO WHILE .T.
  223.                           @ 4+pd, 2 SAY xm PICTURE 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
  224.                           @ 4+pd, 36 SAY h
  225.                           IF bys<>0
  226.                                @ 4+pd, 43 SAY bys PICTURE '999,999,999.99'
  227.                           ENDI
  228.                           IF ljs<>0
  229.                                @ 4+pd, 63 SAY ljs PICTURE '999,999,999.99'
  230.                           ENDI
  231.                           IF  .NOT. EOF()
  232.                                SKIP
  233.                                pd = pd+1
  234.                           ELSE
  235.                                EXIT
  236.                           ENDI
  237.                           IF pd=19
  238.                                EXIT
  239.                           ENDI
  240.                      ENDD
  241.                      GOTO x
  242.                      SET COLOR TO G+/B
  243.                      @ 5, 2 SAY xm PICTURE 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
  244.                      @ 5, 36 SAY h
  245.                      IF bys<>0
  246.                           @ 5, 43 SAY bys PICTURE '999,999,999.99'
  247.                      ELSE
  248.                           @ 5, 43 SAY '              '
  249.                      ENDI
  250.                      IF ljs<>0
  251.                           @ 5, 63 SAY ljs PICTURE '999,999,999.99'
  252.                      ELSE
  253.                           @ 5, 63 SAY '              '
  254.                      ENDI
  255.                      pd = 1
  256.                 ELSE
  257.                      ?? CHR(7)
  258.                 ENDI
  259.            CASE x=27
  260.                 EXIT
  261.            OTHE
  262.                 ?? CHR(7)
  263.       ENDC
  264.  ENDD
  265.  CLOS DATABASES
  266.  SET COLOR TO W+/B
  267.  @ 0, 0, 23, 79 BOX '北北北北'
  268.  SET COLOR TO W+/N
  269.  @ 1, 1, 22, 78 BOX '鞍鞍鞍鞍鞍'
  270.  @ 23, 28 SAY '当前数据的月份:'+STR(ryear, 4, 0)+'年'+STR(ryf, 2, 0)+'月' COLOR B+/BG 
  271.  @ 24, 0 SAY ' JQ001财务管理系统(Ver2.5)  黄朝生研制  版权所有  南宁市建政路51号  邮编:530023 ' COLOR R/W 
  272.  SET CLOCK TO 23, 69
  273.  ON KEY LABEL Escape do Rquit
  274.  RETU
  275. *