« 看到好多好多同时代的好友离职好难过 |
Main
| 追星 »
September 20, 2004
个人所得税计算 (未完成)
版权声明:可以任意转载,转载时请务必以超链接形式标明文章原始出处和作者信息及本声明。
https://windtear.net/life/2004/09/000199.html
主要就是一个税率的问题 考虑不算税的起征额 还有个数字
应付工资 减除费用 税率 速算扣除数 RMB2000以内 1000 10% 25 RMB2000-5000 1000 15% 125 RMB5000-20000 1000 20% 375 RMB20000-40000 1000 25% 1375 RMB40000-600001000 30% 3375 RMB60000-800001000 35% 6375 RMB80000-100000 1000 40% 10375 RMB100000以上 1000 45% 15375 例如: 应付工资 计算公式 RMB2000以内(1500) 1500-(1500-1000)*10%+25=1475 RMB2000-5000(4000) 4000-(4000-1000)*15%+125=3675 RMB5000-20000(15000) 15000-(15000-1000)*20%+375=12575 RMB20000-40000(35000) 35000- (35000-1000)*25%+1375=27875 RMB40000-60000
用 JavaScript 做了一个表单 不过没做完呢 做完应该是一个自动的计算域
先不作为 html 发布 容后修改
<script Language="JavaScript"> <!-- function calcTax() { shouldSalary=salary.shouldSalary.value; noTax=salary.noTax.value; taxSalary=(shouldSalary-noTax); tax=0; if (taxSalary>0&&taxSalary<=500) {tax=taxSalary*0.05;} if (taxSalary>500&&taxSalary<=2000) {tax=taxSalary*0.1-25;} if (taxSalary>2000&&taxSalary<=5000) {tax=taxSalary*0.15-125;} if (taxSalary>5000&&taxSalary<=20000) {tax=taxSalary*0.2-375;} if (taxSalary>20000&&taxSalary<=40000) {tax=taxSalary*0.25-1375;} if (taxSalary>40000&&taxSalary<=60000) {tax=taxSalary*0.30-3375;} if (taxSalary>60000&&taxSalary<=80000) {tax=taxSalary*0.35-6375;} if (taxSalary>80000&&taxSalary<=100000) {tax=taxSalary*0.4-10375;} if (taxSalary>100000&&taxSalary>100000) {tax=taxSalary*0.45-15375;} salary.tax.value=tax; return false; } //--> </script>
|
|
Posted by windtear at September 20, 2004 11:58 PM