批量上传门店号

master
yechenhao 6 years ago
parent 230a2abe6e
commit a9e6651fb5

@ -25,8 +25,7 @@
class="date-picker" size="small" @on-change="diyDateChange"></DatePicker>
<span style="margin: 0 5px"></span>
<DatePicker v-model="selectEndTime" type="date" placeholder="请选择时间"
class="date-picker" size="small" @on-change="diyDateChange">
</DatePicker>
class="date-picker" size="small" @on-change="diyDateChange"></DatePicker>
</span>
<img src="../../static/img/bsd-logo.png" class="title-logo"/>
</span>
@ -206,8 +205,8 @@
this.dateBtnValue = "本月";
this.recentName = "本月";
this.dateSelectChange('本月');
this.chartExtend.barWidth = 8;
this.chartExtend.label.show = false;
this.chartExtend.barWidth = 28;
this.chartExtend.label.show = true;
break;
case '自定义':
this.dateBtnValue = "自定义";
@ -219,14 +218,6 @@
//
diyDateChange: function () {
if (this.selectStartTime && this.selectEndTime) {
//15
if (this.$moment(this.selectEndTime).valueOf() - this.$moment(this.selectStartTime).valueOf() > 15 * 24 * 60 * 60 * 1000) {
this.chartExtend.barWidth = 8;
this.chartExtend.label.show = false;
} else {
this.chartExtend.barWidth = 28;
this.chartExtend.label.show = true;
}
this.dateSelectChange('自定义');
}
},

@ -172,8 +172,8 @@
this.dateBtnValue = "本月";
this.recentName = "本月";
this.dateSelectChange('本月');
this.chartExtend.barWidth = 8;
this.chartExtend.label.show = false;
this.chartExtend.barWidth = 28;
this.chartExtend.label.show = true;
break;
case '自定义':
this.dateBtnValue = "自定义";
@ -185,14 +185,6 @@
//
diyDateChange: function () {
if (this.selectStartTime && this.selectEndTime) {
//15
if (this.$moment(this.selectEndTime).valueOf() - this.$moment(this.selectStartTime).valueOf() > 15 * 24 * 60 * 60 * 1000) {
this.chartExtend.barWidth = 8;
this.chartExtend.label.show = false;
} else {
this.chartExtend.barWidth = 28;
this.chartExtend.label.show = true;
}
this.dateSelectChange('自定义');
}
},

Loading…
Cancel
Save