Commit 2cb110e8 authored by 黄奎's avatar 黄奎

页面修改

parent 19b086e9
......@@ -313,7 +313,7 @@
</el-select>
</div>
<div style="margin-right:50px;">
<el-date-picker class="indataPicker" type="daterange" v-model="basicQMsg.dateStr" range-separator="至"
<el-date-picker class="indataPicker" type="daterange" v-model="dateStr" range-separator="至"
start-placeholder="开始日期" end-placeholder="结束日期" @change="getChange" value-format="yyyy-MM-dd">
</el-date-picker>
</div>
......@@ -529,10 +529,10 @@
isShowPay: true,
//过滤支付件数
isShowPayNum: true,
dateStr: [], //日期
//查询数据
basicQMsg: {
Source: 0, //来源
dateStr: [], //日期
StartDate: "", //开始时间
EndDate: "", //结束时间
SalesTimeType: 1, //默认昨日
......@@ -548,7 +548,7 @@
//清空选择
ClearMsg() {
this.basicQMsg.Source = 0;
this.basicQMsg.dateStr = [];
this.dateStr = [];
this.basicQMsg.StartDate = "";
this.basicQMsg.EndDate = "";
this.activeName = "";
......@@ -563,16 +563,16 @@
},
//基础数据日期切换
handleClick(tab, event) {
this.basicQMsg.dateStr = [];
this.dateStr = [];
//7日
if (tab.name == 'first') {
this.basicQMsg.dateStr.push(this.$commonUtils.AddDay('', -7));
this.dateStr.push(this.$commonUtils.AddDay('', -7));
}
//30日
else if (tab.name == "second") {
this.basicQMsg.dateStr.push(this.$commonUtils.AddDay('', -30))
this.dateStr.push(this.$commonUtils.AddDay('', -30))
}
this.basicQMsg.dateStr.push(this.$commonUtils.AddDay('', -0));
this.dateStr.push(this.$commonUtils.AddDay('', -0));
this.getChange();
},
//获取基础数据
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment