diff --git a/ruoyi-ui/src/views/pay/salaryReport/index.vue b/ruoyi-ui/src/views/pay/salaryReport/index.vue index 0e6738a..608db30 100644 --- a/ruoyi-ui/src/views/pay/salaryReport/index.vue +++ b/ruoyi-ui/src/views/pay/salaryReport/index.vue @@ -122,17 +122,37 @@ - - - + + + {{ Math.round(scope.row.basicSalary * Math.pow(10, 2)) / Math.pow(10, 2) }} + + + + - - - - - + + + + {{ Math.round(scope.row.dayWorkPay * Math.pow(10, 2)) / Math.pow(10, 2) }} + + + + + {{ Math.round(scope.row.workOrderPay * Math.pow(10, 2)) / Math.pow(10, 2) }} + + + + + {{ Math.round(scope.row.overtime * Math.pow(10, 2)) / Math.pow(10, 2) }} + + + + + {{ Math.round(scope.row.banggongPay * Math.pow(10, 2)) / Math.pow(10, 2) }} + + @@ -140,7 +160,11 @@ - + + + {{ Math.round(scope.row.shoudPayMoney * Math.pow(10, 2)) / Math.pow(10, 2) }} + + @@ -148,7 +172,11 @@ - + + + {{ Math.round(scope.row.actuallyPayMoney * Math.pow(10, 2)) / Math.pow(10, 2) }} + + @@ -425,9 +453,17 @@ export default { /** 查询工资明细总列表 */ getList() { this.loading = true; + this.increaseDec = [] this.queryParams.tenantId = this.gsInfo.active_id; listSalaryReport(this.queryParams).then(response => { this.salaryReportList = response.rows; + if(this.salaryReportList.length > 0){ + this.salaryReportList.forEach(item => { + this.$set(item,'edit',false) + item.allButieData = JSON.parse(item.allButieData) + }) + this.increaseDec = this.salaryReportList[0].allButieData + } this.total = response.total; this.loading = false; });