Commit be2bef07 authored by 黄奎's avatar 黄奎

页面修改

parent 4171bcac
...@@ -737,9 +737,11 @@ ...@@ -737,9 +737,11 @@
var cmdStr = ""; var cmdStr = "";
//cmdStr = "/api/test/get"; //cmdStr = "/api/test/get";
//cmdStr="/api/Mall/GetHome"; //cmdStr="/api/Mall/GetHome";
//cmdStr = "/api/MemberUser/SetMemberPhoto";
var postData = { var postData = {
// "AddressId":154 // Id:1,
// AliasName:"HK",
// Photo:"1111"
}; };
if (cmdStr != "") { if (cmdStr != "") {
this.apipost(cmdStr, postData, res => { this.apipost(cmdStr, postData, res => {
......
...@@ -362,6 +362,7 @@ ...@@ -362,6 +362,7 @@
</div> </div>
<div class="tab-pay"> <div class="tab-pay">
<el-tabs v-model="activeSell" @tab-click="handleSellClick"> <el-tabs v-model="activeSell" @tab-click="handleSellClick">
<el-tab-pane label="今日" name="today"></el-tab-pane>
<el-tab-pane label="昨日" name="first"></el-tab-pane> <el-tab-pane label="昨日" name="first"></el-tab-pane>
<el-tab-pane label="7日" name="second"></el-tab-pane> <el-tab-pane label="7日" name="second"></el-tab-pane>
</el-tabs> </el-tabs>
...@@ -522,7 +523,7 @@ ...@@ -522,7 +523,7 @@
//基础数据 //基础数据
activeName: '', activeName: '',
//销售情况 //销售情况
activeSell: 'first', activeSell: 'today',
//过滤支付订单数 //过滤支付订单数
isShowOrder: true, isShowOrder: true,
//过滤支付金额 //过滤支付金额
...@@ -572,6 +573,7 @@ ...@@ -572,6 +573,7 @@
else if (tab.name == "second") { else if (tab.name == "second") {
this.dateStr.push(this.$commonUtils.AddDay('', -30)) this.dateStr.push(this.$commonUtils.AddDay('', -30))
} }
this.dateStr.push(this.$commonUtils.AddDay('', -0)); this.dateStr.push(this.$commonUtils.AddDay('', -0));
this.getChange(); this.getChange();
}, },
...@@ -625,6 +627,10 @@ ...@@ -625,6 +627,10 @@
//7日 //7日
else if (tab.name == "second") { else if (tab.name == "second") {
this.basicQMsg.SalesTimeType = 7; this.basicQMsg.SalesTimeType = 7;
}
else if(tab.name=="today")
{
this.basicQMsg.SalesTimeType = 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