From 7ace4829b023490ec4dccd04004294692d17d08d Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期二, 07 五月 2024 18:11:46 +0800
Subject: [PATCH] 产量登记表模块 台产量,个人产量等限制保留2为小数

---
 src/views/employeeSalary/attendanceStatistics/index.vue |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/views/employeeSalary/attendanceStatistics/index.vue b/src/views/employeeSalary/attendanceStatistics/index.vue
index 752ffcb..d3aa38f 100644
--- a/src/views/employeeSalary/attendanceStatistics/index.vue
+++ b/src/views/employeeSalary/attendanceStatistics/index.vue
@@ -50,7 +50,7 @@
 import pageMixin from "@/components/makepager/pager/mixin/pageMixin"
 import AttendanceStatisticsDetails from  "@/views/employeeSalary/attendanceStatistics/components/AttendanceStatisticsDetails"
 import NewDate from "@/api/date";
-const { getCurrentMonth } = NewDate;
+const { getPreviousMonth } = NewDate;
 export default {
   name: "attendanceStatistics",
   props: {
@@ -69,7 +69,7 @@
         },
       },
       object:{
-        date:getCurrentMonth()
+        date:getPreviousMonth()
       },
       editRow:{
 
@@ -115,6 +115,7 @@
         tableInfomation: [],
         allcol: [],
         showcol: this.showCol,
+        headerHeight:'47px',
         tableColumn: this.setColumnVisible(this.showCol)
       }
       this.tableList.allcol = this.tableList.tableColumn.filter((ele) => !ele.default).map((ele) => ele.label)
@@ -170,7 +171,7 @@
                       label:headerList.details[i].date+'',
                       weekDay:headerList.details[i].weekDay+'',
                       prop:'headerDate'+headerList.details[i].date,
-                      min:100,
+                      min:80,
                       default:true,
                       isCallMethod:true,
                       isClass: true,

--
Gitblit v1.8.0