mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-10-30 21:21:09 -04:00 
			
		
		
		
	refactor date issue
This commit is contained in:
		| @ -29,7 +29,7 @@ | ||||
|             :calendar-button="true" | ||||
|             calendar-button-icon="calendar" | ||||
|             class="mt-2" | ||||
|             @change="$v.formData.from_date.$touch()" | ||||
|             @input="$v.formData.from_date.$touch()" | ||||
|           /> | ||||
|         </sw-input-group> | ||||
|  | ||||
| @ -44,7 +44,7 @@ | ||||
|             :calendar-button="true" | ||||
|             calendar-button-icon="calendar" | ||||
|             class="mt-2" | ||||
|             @change="$v.formData.to_date.$touch()" | ||||
|             @input="$v.formData.to_date.$touch()" | ||||
|           /> | ||||
|         </sw-input-group> | ||||
|       </div> | ||||
| @ -164,13 +164,13 @@ export default { | ||||
|       } | ||||
|     }, | ||||
|  | ||||
|     dateRangeUrl () { | ||||
|     dateRangeUrl() { | ||||
|       return `${this.siteURL}?from_date=${moment( | ||||
|         this.formData.from_date | ||||
|       ).format('YYYY-MM-DD')}&to_date=${moment(this.formData.to_date).format( | ||||
|         'YYYY-MM-DD' | ||||
|       )}` | ||||
|     } | ||||
|     }, | ||||
|   }, | ||||
|  | ||||
|   watch: { | ||||
|  | ||||
		Reference in New Issue
	
	Block a user