|
|
@ -119,8 +119,12 @@ export default { |
|
|
|
// 获取日期 |
|
|
|
newDate() { |
|
|
|
let date = new Date() |
|
|
|
let year = date.getFullYear() // 年 |
|
|
|
let month = date.getMonth() // 月 |
|
|
|
let year = date.getFullYear() // 本年 |
|
|
|
let month = date.getMonth() // 上一月 |
|
|
|
let day = date.getDate() // 本日 |
|
|
|
if (day > 6) { |
|
|
|
month = date.getMonth() + 1 // 本月 |
|
|
|
} |
|
|
|
this.formobj.collectionApply = year + '年' + month + '月' |
|
|
|
}, |
|
|
|
showAdd(createOrgSid) { |
|
|
|