From 401adb8ac90bf06e482b5e25d8267932c24f6dc1 Mon Sep 17 00:00:00 2001 From: wuxw <928255095@qq.com> Date: Fri, 9 Sep 2022 00:44:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../property/staffAttendanceManage/staffAttendanceManage.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/public/pages/property/staffAttendanceManage/staffAttendanceManage.js b/public/pages/property/staffAttendanceManage/staffAttendanceManage.js index 9cc0f9596..0beb1ea07 100644 --- a/public/pages/property/staffAttendanceManage/staffAttendanceManage.js +++ b/public/pages/property/staffAttendanceManage/staffAttendanceManage.js @@ -73,6 +73,10 @@ vc.initDateMonth('queryDate',function(_value){ $that.staffAttendanceManageInfo.curDate = _value; + let _values = _value.split('-'); + $that.staffAttendanceManageInfo.curYear = _values[0]; + + $that.staffAttendanceManageInfo.curMonth = _values[1]; $that._loadStaffAttendances(); }) },