clean unused code

This commit is contained in:
Mohit Panjwani
2019-11-23 12:39:21 +05:30
parent 6741f9849d
commit 841ff06005
4 changed files with 2 additions and 12 deletions

View File

@ -263,9 +263,6 @@ export default {
}
},
async mounted () {
// if (!this.$route.params.id) {
// this.$refs.baseSelect.$refs.search.focus()
// }
this.$nextTick(() => {
this.loadData()
if (this.$route.params.id && !this.isEdit) {

View File

@ -215,15 +215,14 @@
</table-column>
</table-component>
</div>
</div>
</template>
<script>
import { mapActions, mapGetters } from 'vuex'
import { SweetModal, SweetModalTab } from 'sweet-modal-vue'
import CapsuleIcon from '../../components/icon/CapsuleIcon'
import BaseButton from '../../../js/components/base/BaseButton'
import { request } from 'http'
export default {
components: {

View File

@ -4,13 +4,6 @@
<div class="row">
<div class="col-md-8">
<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
v-model="selectedRange"
:options="dateRange"

View File

@ -52,6 +52,7 @@
</transition>
</div>
</template>
<script>
export default {
watch: {