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

页面修改

parent 19b086e9
...@@ -313,7 +313,7 @@ ...@@ -313,7 +313,7 @@
</el-select> </el-select>
</div> </div>
<div style="margin-right:50px;"> <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"> start-placeholder="开始日期" end-placeholder="结束日期" @change="getChange" value-format="yyyy-MM-dd">
</el-date-picker> </el-date-picker>
</div> </div>
...@@ -529,10 +529,10 @@ ...@@ -529,10 +529,10 @@
isShowPay: true, isShowPay: true,
//过滤支付件数 //过滤支付件数
isShowPayNum: true, isShowPayNum: true,
dateStr: [], //日期
//查询数据 //查询数据
basicQMsg: { basicQMsg: {
Source: 0, //来源 Source: 0, //来源
dateStr: [], //日期
StartDate: "", //开始时间 StartDate: "", //开始时间
EndDate: "", //结束时间 EndDate: "", //结束时间
SalesTimeType: 1, //默认昨日 SalesTimeType: 1, //默认昨日
...@@ -548,7 +548,7 @@ ...@@ -548,7 +548,7 @@
//清空选择 //清空选择
ClearMsg() { ClearMsg() {
this.basicQMsg.Source = 0; this.basicQMsg.Source = 0;
this.basicQMsg.dateStr = []; this.dateStr = [];
this.basicQMsg.StartDate = ""; this.basicQMsg.StartDate = "";
this.basicQMsg.EndDate = ""; this.basicQMsg.EndDate = "";
this.activeName = ""; this.activeName = "";
...@@ -563,16 +563,16 @@ ...@@ -563,16 +563,16 @@
}, },
//基础数据日期切换 //基础数据日期切换
handleClick(tab, event) { handleClick(tab, event) {
this.basicQMsg.dateStr = []; this.dateStr = [];
//7日 //7日
if (tab.name == 'first') { if (tab.name == 'first') {
this.basicQMsg.dateStr.push(this.$commonUtils.AddDay('', -7)); this.dateStr.push(this.$commonUtils.AddDay('', -7));
} }
//30日 //30日
else if (tab.name == "second") { 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(); 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