|
@@ -328,6 +328,10 @@
|
|
row.value = new Date().getMonth() + 1
|
|
row.value = new Date().getMonth() + 1
|
|
row.showType = true
|
|
row.showType = true
|
|
}
|
|
}
|
|
|
|
+ if (type === '10') {
|
|
|
|
+ row.value = new Date().getDate()
|
|
|
|
+ row.showType = true
|
|
|
|
+ }
|
|
},
|
|
},
|
|
// 生成模板
|
|
// 生成模板
|
|
generateTemplate () {
|
|
generateTemplate () {
|
|
@@ -363,6 +367,11 @@
|
|
i = i + '{month}'
|
|
i = i + '{month}'
|
|
j = j + obj.value
|
|
j = j + obj.value
|
|
}
|
|
}
|
|
|
|
+ // 日期
|
|
|
|
+ if (obj.type === '10') {
|
|
|
|
+ i = i + '{day}'
|
|
|
|
+ j = j + obj.value
|
|
|
|
+ }
|
|
})
|
|
})
|
|
this.inputForm.serialTpl = i
|
|
this.inputForm.serialTpl = i
|
|
this.inputForm.serialTplEx = j
|
|
this.inputForm.serialTplEx = j
|