Showing
1 changed file
with
4 additions
and
0 deletions
| ... | @@ -71,6 +71,7 @@ | ... | @@ -71,6 +71,7 @@ |
| 71 | 71 | ||
| 72 | <script> | 72 | <script> |
| 73 | import { declareUpload, checkBillNo } from "@/api/declareData-api.js"; | 73 | import { declareUpload, checkBillNo } from "@/api/declareData-api.js"; |
| 74 | +import { formatDate } from "../../utils"; | ||
| 74 | export default { | 75 | export default { |
| 75 | props: { | 76 | props: { |
| 76 | timeVisible: { | 77 | timeVisible: { |
| ... | @@ -120,6 +121,9 @@ export default { | ... | @@ -120,6 +121,9 @@ export default { |
| 120 | if (val) { | 121 | if (val) { |
| 121 | this.timeVisibleConfig = val; | 122 | this.timeVisibleConfig = val; |
| 122 | this.getBillNo(); | 123 | this.getBillNo(); |
| 124 | + this.formData = { | ||
| 125 | + leaveTime: formatDate(new Date()), | ||
| 126 | + }; | ||
| 123 | } | 127 | } |
| 124 | }, | 128 | }, |
| 125 | }, | 129 | }, | ... | ... |
-
Please register or login to post a comment