Commit 3aca600f authored by 黄媛媛's avatar 黄媛媛

111

parent c7aeb3b3
...@@ -218,6 +218,7 @@ export default { ...@@ -218,6 +218,7 @@ export default {
"BankID": obj.BankID, "BankID": obj.BankID,
"sTradeDate": this.msg.sTradeDate, "sTradeDate": this.msg.sTradeDate,
"eTradeDate": this.msg.eTradeDate, "eTradeDate": this.msg.eTradeDate,
"DayReport":1,
"blank": 'y', "blank": 'y',
"tab": '现金账户明细' "tab": '现金账户明细'
} }
......
...@@ -189,10 +189,13 @@ ...@@ -189,10 +189,13 @@
}, },
goUrl: function(obj) { goUrl: function(obj) {
let name = ''; let name = '';
let type = 0;
if (obj.TradeWay === 2) { // 平台 if (obj.TradeWay === 2) { // 平台
name = 'PlatformAccDetail' name = 'PlatformAccDetail';
type=1;
} else if (obj.TradeWay === 1) { // 银行 } else if (obj.TradeWay === 1) { // 银行
name = 'CompanyAccDetail' name = 'CompanyAccDetail';
type=1;
} else if (obj.TradeWay === 3) { //资金池 } else if (obj.TradeWay === 3) { //资金池
name = 'PoolAccDetail' name = 'PoolAccDetail'
} }
...@@ -204,6 +207,7 @@ ...@@ -204,6 +207,7 @@
"BankID": obj.BankID, "BankID": obj.BankID,
"sTradeDate": this.msg.sTradeDate, "sTradeDate": this.msg.sTradeDate,
"eTradeDate": this.msg.eTradeDate, "eTradeDate": this.msg.eTradeDate,
"DayReport":type,
"blank": 'y', "blank": 'y',
"tab": '现金账户明细' "tab": '现金账户明细'
} }
......
...@@ -476,6 +476,9 @@ export default { ...@@ -476,6 +476,9 @@ export default {
} }
},created(){ },created(){
this.userInfo = this.getLocalStorage(); this.userInfo = this.getLocalStorage();
if(this.$route.query.DayReport && this.$route.query.DayReport=='1'){
this.msg.IsFromDayReport =1;
}
if(this.$route.query.TypeId&&!this.$route.query.ID){ if(this.$route.query.TypeId&&!this.$route.query.ID){
this.msg.Is_Cashier = parseInt(this.$route.query.Is_Cashier); this.msg.Is_Cashier = parseInt(this.$route.query.Is_Cashier);
this.accType = parseInt(this.$route.query.TypeId); this.accType = parseInt(this.$route.query.TypeId);
......
...@@ -522,6 +522,9 @@ export default { ...@@ -522,6 +522,9 @@ export default {
}, },
created(){ created(){
this.userInfo = this.getLocalStorage(); this.userInfo = this.getLocalStorage();
if(this.$route.query.DayReport && this.$route.query.DayReport=='1'){
this.msg.IsFromDayReport =1;
}
if(this.$route.query.TypeId&&!this.$route.query.ID){ if(this.$route.query.TypeId&&!this.$route.query.ID){
this.msg.Is_Cashier = parseInt(this.$route.query.Is_Cashier); this.msg.Is_Cashier = parseInt(this.$route.query.Is_Cashier);
this.accType = parseInt(this.$route.query.TypeId); this.accType = parseInt(this.$route.query.TypeId);
......
...@@ -375,6 +375,7 @@ export default { ...@@ -375,6 +375,7 @@ export default {
Is_Cashier:-1, Is_Cashier:-1,
Status:-1, Status:-1,
AccountNumber:'' AccountNumber:''
}, },
Type:2, Type:2,
AccountId:"", AccountId:"",
...@@ -435,6 +436,9 @@ export default { ...@@ -435,6 +436,9 @@ export default {
} }
},created(){ },created(){
this.userInfo = this.getLocalStorage(); this.userInfo = this.getLocalStorage();
if(this.$route.query.DayReport && this.$route.query.DayReport=='1'){
this.msg.IsFromDayReport =1;
}
if(this.$route.query.TypeId&&!this.$route.query.ID){ if(this.$route.query.TypeId&&!this.$route.query.ID){
this.msg.Is_Cashier = parseInt(this.$route.query.Is_Cashier); this.msg.Is_Cashier = parseInt(this.$route.query.Is_Cashier);
this.accType = parseInt(this.$route.query.TypeId); this.accType = parseInt(this.$route.query.TypeId);
......
...@@ -353,7 +353,6 @@ ...@@ -353,7 +353,6 @@
this.productionDate=[]; this.productionDate=[];
this.productionDate[0]=this.$route.query.StartTime; this.productionDate[0]=this.$route.query.StartTime;
this.productionDate[1]=this.$route.query.EndTime; this.productionDate[1]=this.$route.query.EndTime;
console.log("this.productionDate",this.productionDate)
} }
}, },
methods: { methods: {
......
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