ZZSBDY.PRG
资源名称:jq_caiwu.ARJ [点击查看]
上传用户:hbmaozhan
上传日期:2013-01-31
资源大小:1007k
文件大小:3k
源码类别:
企业管理
开发平台:
VFP
- SET COLOR TO GR+/N
- hb = '19 年 月 日 ( ) '
- @ 3, 9 SAY '请输入报表日期'
- SET COLOR TO W/N
- DO WHILE .T.
- @ 6, 1 CLEAR TO 9, 35
- @ 7, 1 GET hb
- READ
- pd = 'N'
- SET COLOR TO RB+/N
- @ 8, 4 SAY '确认了吗? Y=是,其他=否' GET pd
- READ
- IF pd='Y' .OR. pd='y'
- EXIT
- ENDI
- ?? CHR(7)
- ENDD
- SET COLOR TO N/W
- @ 3, 0 CLEAR TO 9, 35
- SET COLOR TO W/N
- @ 5, 8 CLEAR TO 10, 35
- SET COLOR TO W+/B
- @ 4, 5 CLEAR TO 9, 33
- x1 = 4
- x2 = 9
- y1 = 5
- y2 = 31
- DO box-1
- @ 6, 9 SAY '正在打印应交款项表!'
- @ 7, 13 SAY '请稍候......'
- DO WHILE .T.
- IF SYS(13)<>'READY'
- ?? CHR(7)
- SET COLOR TO W/N
- @ 5, 8 CLEAR TO 10, 35
- SET COLOR TO W+/B
- @ 4, 5 CLEAR TO 9, 33
- x1 = 4
- x2 = 9
- y1 = 5
- y2 = 31
- DO box-1
- @ 6, 9 SAY '打印机尚未准备好!'
- @ 7, 9 SAY '准备好后按任意键......'
- i = INKEY(0)
- IF i=27
- SET COLOR TO W+/N
- @ 1, 1, 22, 78 BOX '鞍鞍鞍鞍鞍'
- RETU
- ENDI
- ELSE
- SET COLOR TO W+/B
- @ 6, 8 CLEAR TO 8, 30
- @ 6, 9 SAY '正在打印增值税报表!'
- @ 7, 13 SAY '请稍候......'
- EXIT
- ENDI
- ENDD
- SET DEVICE TO PRINTER
- SET PRINTER ON
- SET CONSOLE OFF
- rsele = SELECT()
- SELE 0
- USE set
- kh = printer
- USE
- SELE (rsele)
- jsq = 1
- DO WHILE jsq<=kh
- ? ' '
- jsq = jsq+1
- ENDD
- ?? '`@D`'
- ? ' 应 交 增 值 税 明 细 表'
- ?? '`@A`'
- ? ' '
- ? ' '
- @ PROW()+1, 1 SAY '编制单位:'+rdwmc
- @ PROW(), 40 SAY hb
- @ PROW(), 80 SAY '会商01表附表1 单位:元'
- ?? '`&0`'
- ? '┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┯━━┭━━━━━━━━━━━━┭━━━━━━━━━━━━━┓'
- ? '┃ 项 目 │ 行 │ 本 月 数 │ 累 计 数 ┃'
- ? '┠──────────────────────────────────┼──┼────────────┼─────────────┨'
- USE zzsb
- DO WHILE .T.
- @ PROW()+1, 0 SAY '┃'
- @ PROW(), 4 SAY xm
- @ PROW(), 70 SAY '│'
- @ PROW(), 73 SAY h
- @ PROW(), 76 SAY '│'
- IF bys<>0
- @ PROW(), 82 SAY bys PICTURE '99,999,999,999.99'
- ENDI
- @ PROW(), 102 SAY '│'
- IF ljs<>0
- @ PROW(), 110 SAY ljs PICTURE '99,999,999,999.99'
- ENDI
- @ PROW(), 130 SAY '┃'
- pd = RECNO()
- IF pd<22
- ? '┠──────────────────────────────────┼──┼────────────┼─────────────┨'
- ELSE
- ? '┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┷━━┷━━━━━━━━━━━━┷━━━━━━━━━━━━━┛'
- ENDI
- SKIP
- IF EOF()
- EXIT
- ENDI
- ENDD
- ? ' 企业主管: 会计主管: 复核: 制表: '+czy
- ? ' '
- SET DEVICE TO SCREEN
- SET PRINTER OFF
- SET CONSOLE ON
- SET COLOR TO W+/N
- @ 1, 1, 22, 78 BOX '鞍鞍鞍鞍鞍'
- RETU
- *