Commit 2cd0b7a9 authored by agping's avatar agping

收款 财务日报

parent 80a75249
...@@ -75,18 +75,19 @@ ...@@ -75,18 +75,19 @@
}, },
data() { data() {
let _this = this; let _this = this;
let _token = _this.$route.query.token; //测试 注释
if(!_token) { // let _token = _this.$route.query.token;
layer.tipsX('token获取出错'); // if(!_token) {
return false; // layer.tipsX('token获取出错');
}; // return false;
// };
return { return {
headerData: { headerData: {
'title': '财务日报', 'title': '财务日报',
'noborder': false, 'noborder': false,
'isBack': false 'isBack': false
}, },
token: _token, // token: _token,
seatH: 1.58*4,//占位高度 seatH: 1.58*4,//占位高度
pageSize: 10, pageSize: 10,
initTabNumMain: 0, initTabNumMain: 0,
...@@ -261,13 +262,19 @@ ...@@ -261,13 +262,19 @@
} }
}, },
//财务日报参数
initData : function(){ initData : function(){
let that = this ; let that = this ;
var params = { var params = {
'AuthToken': that.urlParams.token, // 'AuthToken': that.urlParams.token,
'store_id': that.urlParams.store_id, // 'store_id': that.urlParams.store_id,
'is_store': that.urlParams.is_store, // 'is_store': that.urlParams.is_store,
'daily_data': that.time // 'daily_data': that.time
'AuthToken': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJkYXRhIjp7ImlkIjoxLCJuYW1lIjoiXHU3YmExXHU3NDA2XHU1NDU4IiwicGhvbmUiOiJyb290IiwibGV2ZWwiOjQwfSwidGltZVN0YW1wXyI6MTU3MTYyMjYyNn0.z-1xnhtiHH3DlsmTZ39JnuJMZt6f-aV0_-B-m7REfUI',
'store_id': 5298,
'is_store': 1,
'daily_data': '2019-09-05'
}; };
that.axios({ that.axios({
method: 'get', method: 'get',
......
...@@ -175,6 +175,13 @@ ...@@ -175,6 +175,13 @@
'nameCustom': '业绩对比', 'nameCustom': '业绩对比',
'query': { 'query': {
}
},
{
'path': '/receiveDetail',
'nameCustom': '收款详情',
'query': {
} }
} }
......
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