From fb6666b31cf77d6b948ec4a76c2933956ca3261d Mon Sep 17 00:00:00 2001 From: "1147680382@qq.com" Date: Fri, 23 May 2025 11:30:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=96=E6=B6=88=E6=89=A3=E6=AC=BE=E5=B0=8F?= =?UTF-8?q?=E7=BB=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lock.json | 17 ++++++++++ pages/salaryDetails/salaryDetails.vue | 46 +++++++++++++-------------- 2 files changed, 40 insertions(+), 23 deletions(-) create mode 100644 package-lock.json diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..d4f2124 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,17 @@ +{ + "name": "salaryAccounting", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "dependencies": { + "mini-smooth-signature": "^1.2.3" + } + }, + "node_modules/mini-smooth-signature": { + "version": "1.2.3", + "resolved": "https://registry.npmmirror.com/mini-smooth-signature/-/mini-smooth-signature-1.2.3.tgz", + "integrity": "sha512-T/ZYnjqdXM11n6GQ29XG5PRXeoq1LFJMWlcc/EljJUVM2J00RF1ffnX5+4XKbUMymH/TNQF9mBhAU1cPXiKQlw==" + } + } +} diff --git a/pages/salaryDetails/salaryDetails.vue b/pages/salaryDetails/salaryDetails.vue index ced6851..5e1b53a 100644 --- a/pages/salaryDetails/salaryDetails.vue +++ b/pages/salaryDetails/salaryDetails.vue @@ -141,10 +141,10 @@ 个税 {{dataInfo.individualTaxDeduction}} - + @@ -206,27 +206,27 @@ }; }, computed: { - deductionTotle() { - return Number(this.dataInfo.absentCardDeduction) + - Number(this.dataInfo.absenteeismDeduction) + - Number(this.dataInfo.annualPerformanceDeduction) + - Number(this.dataInfo.basicMedicalDeduction) + - Number(this.dataInfo.basicPensionDeduction) + - Number(this.dataInfo.bereavementLeaveDeduction) + - Number(this.dataInfo.housingFundDeduction) + - Number(this.dataInfo.individualTaxDeduction) + - Number(this.dataInfo.lateEarlyDeduction) + - Number(this.dataInfo.marriageLeaveDeduction) + - Number(this.dataInfo.maternityLeaveDeduction) + - Number(this.dataInfo.missedCheckInOutDeduction) + - Number(this.dataInfo.monthlyPerformanceDeduction) + - Number(this.dataInfo.paternityLeaveDeduction) + - Number(this.dataInfo.personalLeaveDeduction) + - Number(this.dataInfo.severeLateEarlyDeduction) + - Number(this.dataInfo.sickLeaveDeduction) + - Number(this.dataInfo.unemploymentInsuranceDeduction) + - Number(this.dataInfo.violationDeduction) - } + // deductionTotle() { + // return Number(this.dataInfo.absentCardDeduction) + + // Number(this.dataInfo.absenteeismDeduction) + + // Number(this.dataInfo.annualPerformanceDeduction) + + // Number(this.dataInfo.basicMedicalDeduction) + + // Number(this.dataInfo.basicPensionDeduction) + + // Number(this.dataInfo.bereavementLeaveDeduction) + + // Number(this.dataInfo.housingFundDeduction) + + // Number(this.dataInfo.individualTaxDeduction) + + // Number(this.dataInfo.lateEarlyDeduction) + + // Number(this.dataInfo.marriageLeaveDeduction) + + // Number(this.dataInfo.maternityLeaveDeduction) + + // Number(this.dataInfo.missedCheckInOutDeduction) + + // Number(this.dataInfo.monthlyPerformanceDeduction) + + // Number(this.dataInfo.paternityLeaveDeduction) + + // Number(this.dataInfo.personalLeaveDeduction) + + // Number(this.dataInfo.severeLateEarlyDeduction) + + // Number(this.dataInfo.sickLeaveDeduction) + + // Number(this.dataInfo.unemploymentInsuranceDeduction) + + // Number(this.dataInfo.violationDeduction) + // } }, onLoad: function(option) { const {