diff --git a/src/main/webapp/js/common/common.js b/src/main/webapp/js/common/common.js
index 606ea249..3e32f56f 100644
--- a/src/main/webapp/js/common/common.js
+++ b/src/main/webapp/js/common/common.js
@@ -105,6 +105,20 @@ function getNowFormatDateTime() {
return currentdate;
}
+/**
+ * js获取当前时间, 格式“yyyy-MM”
+ */
+function getNowFormatMonth() {
+ var date = new Date();
+ var seperator1 = "-";
+ var month = date.getMonth() + 1;
+ if (month >= 1 && month <= 9) {
+ month = "0" + month;
+ }
+ var currentdate = date.getFullYear() + seperator1 + month;
+ return currentdate;
+}
+
/**
* js获取当前时间, 格式“yyyy-MM-dd”
*/
diff --git a/src/main/webapp/pages/materials/person.jsp b/src/main/webapp/pages/materials/person.jsp
index 956c0b00..8939e462 100644
--- a/src/main/webapp/pages/materials/person.jsp
+++ b/src/main/webapp/pages/materials/person.jsp
@@ -28,11 +28,11 @@
| 姓名: |
-
+
|
类型: |
- |