接口调试

This commit is contained in:
qsh
2024-07-23 11:45:55 +08:00
parent 9dada27bd0
commit 3aa44fa60a
5 changed files with 34 additions and 11 deletions

View File

@@ -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"

View File

@@ -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')}`
}
}