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