⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gts.prg

📁 一个功能较单一的企业工资管理系统。用FoxPro开发
💻 PRG
字号:
sele 9
use gzhist
go top
do while .not. eof()
	if ygxz='1' and gwlb='1'
		lgts=gwgz+zjjt+ngjt+blgz+qtbt+wjbt+djjl+jbbx-bksb-zfgj-ghf-ybf-100
		do case
		case lgts<0
			repl gts with 0
		case lgts>0 and lgts<=500
			repl gts with lgts*0.05
		case lgts>500 and lgts<=2000
			repl gts with (lgts*0.10-25)
		case lgts>2000
			repl gts with (lgts*0.15-125)
	endcase
	endif
	skip
enddo
use xmlb
select count(*) into array lnf from xmlb where xmbz='1'
select xmjp into array lajpf from xmlb where xmbz='1'
select count(*) into array lnk from xmlb where xmbz='2'
select xmjp into array lajpk from xmlb where xmbz='2'
use gzhist
go 1
do while .not. eof()
  syfs=0
  for i=1 to lnf
	l1='syfs=syfs+'+allt((lajpf(i)))
    &l1
  endfor
  repl yfs with syfs
  syks=0
  for i=1 to lnk
	l2='syks=syks+'+allt((lajpk(i)))
	&l2
  endfor
  repl yks with syks
  repl sfs with yfs-yks
  skip
enddo
=messagebox("个调税计算完毕!",0+64,"信息提示")
use
return

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -