Commit 9afc8ed8 authored by youjie's avatar youjie

no message

parent 3cc12738
...@@ -848,7 +848,7 @@ export default { ...@@ -848,7 +848,7 @@ export default {
}, },
mounted(){ mounted(){
this.financeinfo_post_GetList() this.financeinfo_post_GetList()
this.getData(2);
this.getCompanyList() this.getCompanyList()
}, },
methods:{ methods:{
...@@ -865,8 +865,14 @@ export default { ...@@ -865,8 +865,14 @@ export default {
financeinfo_post_GetList(){ // 获取币种 financeinfo_post_GetList(){ // 获取币种
this.apipost('financeinfo_post_GetAllStandardCurrencyList',{}, res => { this.apipost('financeinfo_post_GetAllStandardCurrencyList',{}, res => {
if(res.data.resultCode == 1) { if(res.data.resultCode == 1) {
if(this.msg.BranchId==-1){
this.coinGetList = res.data.data; this.coinGetList = res.data.data;
this.msg.StandardCurrencyId = this.coinGetList[0].ID this.msg.StandardCurrencyId = this.coinGetList[0].ID
}else{
this.coinGetShow = true
this.msg.StandardCurrencyId = -1
}
this.getData(2);
} }
}) })
}, },
......
...@@ -1848,6 +1848,14 @@ export default { ...@@ -1848,6 +1848,14 @@ export default {
coinGetShow: false, coinGetShow: false,
}; };
}, },
watch: {
msg: {
handler(newValue, oldValue) {
// this.getPageList();
},
deep: true
},
},
created() { created() {
this.msg.startDate=this.$route.query.StartTime!=undefined?this.$route.query.StartTime:''; this.msg.startDate=this.$route.query.StartTime!=undefined?this.$route.query.StartTime:'';
this.msg.endDate=this.$route.query.EndTime!=undefined?this.$route.query.EndTime:''; this.msg.endDate=this.$route.query.EndTime!=undefined?this.$route.query.EndTime:'';
...@@ -1937,11 +1945,14 @@ export default { ...@@ -1937,11 +1945,14 @@ export default {
let userInfo = this.getLocalStorage(); let userInfo = this.getLocalStorage();
this.getCompanyMsg.RB_Group_Id = userInfo.RB_Group_id; //集团ID this.getCompanyMsg.RB_Group_Id = userInfo.RB_Group_id; //集团ID
this.userId = userInfo.EmployeeId; this.userId = userInfo.EmployeeId;
if (this.$route.query.BranchId) {
this.msg.OutBranchId = this.$route.query.BranchId?Number(this.$route.query.BranchId):this.msg.OutBranchId;
}
this.financeinfo_post_GetList() this.financeinfo_post_GetList()
this.getCompanyList(); this.getCompanyList();
this.getLineList(); this.getLineList();
this.getStartList1(); this.getStartList1();
this.getPageList();
this.GetSupperOrderEditAuth(); this.GetSupperOrderEditAuth();
}, },
methods: { methods: {
...@@ -1960,11 +1971,13 @@ export default { ...@@ -1960,11 +1971,13 @@ export default {
this.coinGetList = res.data.data; this.coinGetList = res.data.data;
if(this.msg.OutBranchId == -1){ if(this.msg.OutBranchId == -1){
this.coinGetShow = false this.coinGetShow = false
this.msg.StandardCurrencyId=this.$route.query.StandardCurrencyId?Number(this.$route.query.StandardCurrencyId):this.coinGetList[0].ID; this.msg.StandardCurrencyId = this.coinGetList[0].ID
this.msg.StandardCurrencyId=this.$route.query.StandardCurrencyId?Number(this.$route.query.StandardCurrencyId):this.msg.StandardCurrencyId;
}else{ }else{
this.coinGetShow = true this.coinGetShow = true
this.msg.StandardCurrencyId = -1 this.msg.StandardCurrencyId = -1
} }
this.getPageList();
} }
}) })
}, },
......
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