mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-27 11:41:09 -04:00
clean unused code
This commit is contained in:
@ -263,9 +263,6 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
async mounted () {
|
async mounted () {
|
||||||
// if (!this.$route.params.id) {
|
|
||||||
// this.$refs.baseSelect.$refs.search.focus()
|
|
||||||
// }
|
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.loadData()
|
this.loadData()
|
||||||
if (this.$route.params.id && !this.isEdit) {
|
if (this.$route.params.id && !this.isEdit) {
|
||||||
|
|||||||
@ -215,15 +215,14 @@
|
|||||||
</table-column>
|
</table-column>
|
||||||
</table-component>
|
</table-component>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { mapActions, mapGetters } from 'vuex'
|
import { mapActions, mapGetters } from 'vuex'
|
||||||
import { SweetModal, SweetModalTab } from 'sweet-modal-vue'
|
import { SweetModal, SweetModalTab } from 'sweet-modal-vue'
|
||||||
import CapsuleIcon from '../../components/icon/CapsuleIcon'
|
import CapsuleIcon from '../../components/icon/CapsuleIcon'
|
||||||
import BaseButton from '../../../js/components/base/BaseButton'
|
import BaseButton from '../../../js/components/base/BaseButton'
|
||||||
import { request } from 'http'
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
|
|||||||
@ -4,13 +4,6 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-8">
|
<div class="col-md-8">
|
||||||
<label class="report-label">{{ $t('reports.sales.date_range') }}</label>
|
<label class="report-label">{{ $t('reports.sales.date_range') }}</label>
|
||||||
<!-- <base-date-picker
|
|
||||||
v-model="range"
|
|
||||||
:invalid="$v.range.$error"
|
|
||||||
format="yyyy"
|
|
||||||
minimum-view="year"
|
|
||||||
@change="$v.range.$touch()"
|
|
||||||
/> -->
|
|
||||||
<base-select
|
<base-select
|
||||||
v-model="selectedRange"
|
v-model="selectedRange"
|
||||||
:options="dateRange"
|
:options="dateRange"
|
||||||
|
|||||||
@ -52,6 +52,7 @@
|
|||||||
</transition>
|
</transition>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
watch: {
|
watch: {
|
||||||
|
|||||||
Reference in New Issue
Block a user