接口调试
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
</el-row>
|
||||
<el-row :gutter="20">
|
||||
<el-col :span="12" :offset="0">
|
||||
<el-form-item label="导入工资">
|
||||
<el-form-item label="导入奖金">
|
||||
<div>
|
||||
<el-upload
|
||||
ref="rewardFile"
|
||||
|
||||
@@ -68,8 +68,9 @@ function open() {
|
||||
}
|
||||
|
||||
function resetForm() {
|
||||
const month = `${new Date().getMonth() + 1}`
|
||||
formData.value = {
|
||||
period: `${new Date().getFullYear()}-${new Date().getMonth() + 1}`
|
||||
period: `${new Date().getFullYear()}-${month.padStart(2, '0')}`
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user