企业标准修改复审日期计算方式
This commit is contained in:
+2
-3
@@ -5450,9 +5450,8 @@ export default {
|
||||
let date = new Date(this.$moment(this.sarBussionessStandEO.issueTime).format('YYYY-MM-DD'))
|
||||
// const FSRQBUSS = date.getFullYear()+ 5 + '-' + date.getMonth() + '-' + date.getDate()
|
||||
// this.sarBussionessStandEO["FSRQBUSS"] = FSRQBUSS
|
||||
|
||||
let year = date.getFullYear() + 5;
|
||||
let month = (date.getMonth()).toString();
|
||||
let year = date.getMonth() == 0 ? date.getFullYear() + 4 : date.getFullYear() + 5;
|
||||
let month = (date.getMonth()).toString() == 0 ? '12' : (date.getMonth()).toString();
|
||||
let day = (date.getDate()).toString();
|
||||
if (month.length == 1) {
|
||||
month = "0" + month;
|
||||
|
||||
Reference in New Issue
Block a user