BCMXBDY.PRG
资源名称:jq_caiwu.ARJ [点击查看]
上传用户:hbmaozhan
上传日期:2013-01-31
资源大小:1007k
文件大小:3k
源码类别:
企业管理
开发平台:
VFP
- SET COLOR TO GR+/N
- h = '19 年 月 日 ( ) '
- @ 3, 9 SAY '请输入报表日期'
- SET COLOR TO W/N
- DO WHILE .T.
- @ 6, 1 CLEAR TO 9, 35
- @ 7, 1 GET h
- 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)
- @ 8, 4 SAY ' '
- 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 PRINTER ON
- SET DEVICE TO PRINTER
- SET CONSOLE OFF
- rsele = SELECT()
- SELE 0
- USE set
- kh = printer
- USE
- SELE (rsele)
- jsq = 1
- DO WHILE jsq<=kh
- ? ' '
- jsq = jsq+1
- ENDD
- USE bcmxb
- ?? '`@D`'
- ? ' 费 用 及 补 充 资 料 明 细 表'
- ? ' '
- ?? '`@A`'
- @ PROW(), 1 SAY '编制单位:'+rdwmc
- @ PROW(), 50 SAY h
- @ PROW(), 90 SAY '会商02表附表1'
- ?? '`&0`'
- ? '┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓'
- ? '┃ 项 目 │行│ 本 月 数 │ 累 计 数 │ 项 目 │行│ 本 月 数 │ 累 计 数 ┃'
- ? '┠──────────────┼─┼────────┼─────────┼─────────────┼─┼────────┼─────────┨'
- GOTO 1
- DO WHILE .T.
- ? '┃'
- @ PROW(), 3 SAY xm1
- @ PROW(), 30 SAY '│'
- @ PROW(), 32 SAY h1
- @ PROW(), 34 SAY '│'
- @ PROW(), 36 SAY bys1 PICTURE '@z999999999.99'
- @ PROW(), 52 SAY '│'
- @ PROW(), 54 SAY ljs1 PICTURE '@z999999999.99'
- @ PROW(), 72 SAY '│'
- @ PROW(), 74 SAY xm2
- @ PROW(), 100 SAY '│'
- @ PROW(), 102 SAY h2
- @ PROW(), 104 SAY '│'
- @ PROW(), 106 SAY bys2 PICTURE '@z999999999.99'
- @ PROW(), 122 SAY '│'
- @ PROW(), 124 SAY ljs2 PICTURE '@z999999999.99'
- @ PROW(), 142 SAY '┃'
- pd = RECNO()
- IF pd=45
- EXIT
- ENDI
- ? '┠──────────────┼─┼────────┼─────────┼─────────────┼─┼────────┼─────────┨'
- SKIP
- ENDD
- ? '┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛'
- ? ' 企业主管: 财务主管: 复核: 制表: '+czy
- ? ' '
- SET PRINTER OFF
- SET DEVICE TO SCREEN
- SET CONSOLE ON
- CLOS DATABASES
- SET COLOR TO W+/N
- @ 1, 1, 22, 78 BOX '鞍鞍鞍鞍鞍'
- RETU
- *