fix bug calendar
This commit is contained in:
parent
8122abea92
commit
b3e2c90d6c
1 changed files with 6 additions and 5 deletions
|
|
@ -169,11 +169,12 @@ watch(
|
|||
if (salaryPosTypeOption.value.length === 0) {
|
||||
await fetchPosType();
|
||||
}
|
||||
// if (props.typeAction === "add") {
|
||||
// formData.date = new Date();
|
||||
// formData.startDate = new Date();
|
||||
// formData.endDate = new Date();
|
||||
// }
|
||||
if (props.typeAction === "add") {
|
||||
formData.date = new Date();
|
||||
formData.startDate = new Date();
|
||||
formData.endDate = new Date();
|
||||
}
|
||||
|
||||
if (props.typeAction === "edit") {
|
||||
await showLoader();
|
||||
if (props.data) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue