Commit f75afc12 authored by huangyuanyuan's avatar huangyuanyuan

新增财务单据,切换公司审核人清空

parent 18798251
...@@ -862,6 +862,7 @@ export default { ...@@ -862,6 +862,7 @@ export default {
e.target.value = (e.target.value.match(/^\d*(\.?\d{0,1})/g)[0]) || null e.target.value = (e.target.value.match(/^\d*(\.?\d{0,1})/g)[0]) || null
}, },
AddFinancial(z){ //保存 AddFinancial(z){ //保存
if(z){ if(z){
this.msg.Status = 0; this.msg.Status = 0;
}else{ }else{
...@@ -904,7 +905,6 @@ export default { ...@@ -904,7 +905,6 @@ export default {
if(this.orderObj!=null&&this.orderObj.OrderSource===10){ if(this.orderObj!=null&&this.orderObj.OrderSource===10){
// console.log("getGuestInfo",this.$store.getters.getGuestInfo) // console.log("getGuestInfo",this.$store.getters.getGuestInfo)
let guestInfo = JSON.parse(sessionStorage.getItem("saveGuestInfo")); let guestInfo = JSON.parse(sessionStorage.getItem("saveGuestInfo"));
console.log("getGuestInfo",guestInfo)
// return; // return;
this.msg.GuestInfoList=[]; this.msg.GuestInfoList=[];
if(guestInfo!=null&&guestInfo.length>0){ if(guestInfo!=null&&guestInfo.length>0){
...@@ -913,7 +913,6 @@ export default { ...@@ -913,7 +913,6 @@ export default {
}) })
} }
} }
console.log("1234",this.msg);
this.loading = true; this.loading = true;
this.msg.Description=this.Description; this.msg.Description=this.Description;
this.apipost('Financial_post_Set',this.msg,res=>{ this.apipost('Financial_post_Set',this.msg,res=>{
...@@ -1306,6 +1305,9 @@ export default { ...@@ -1306,6 +1305,9 @@ export default {
}, err => {}) }, err => {})
}, },
admin_get_DepartmentGetList(Bid, T){ admin_get_DepartmentGetList(Bid, T){
if(Bid==0){
this.chosenPeople=[];
}
// this.msg.RB_Depart_Id = ''; // this.msg.RB_Depart_Id = '';
// this.departmentMsg.RB_Branch_Id = Bid ? Bid : -1; // this.departmentMsg.RB_Branch_Id = Bid ? Bid : -1;
this.departmentMsg.RB_Branch_Id = -1; this.departmentMsg.RB_Branch_Id = -1;
...@@ -1369,7 +1371,7 @@ export default { ...@@ -1369,7 +1371,7 @@ export default {
this.companyList = data; this.companyList = data;
} }
} }
console.log('this.companyList', this.companyList)
}, err => {}) }, err => {})
} }
...@@ -1458,7 +1460,8 @@ export default { ...@@ -1458,7 +1460,8 @@ export default {
this.Description= gj+' '+gn+' '+gjzd+ ' '+ sj+' '+sc this.Description= gj+' '+gn+' '+gjzd+ ' '+ sj+' '+sc
} }
} }
},created(){ },
created(){
var that=this; var that=this;
this.orderObj = this.$route.query.orderObj?JSON.parse(this.$route.query.orderObj):null; this.orderObj = this.$route.query.orderObj?JSON.parse(this.$route.query.orderObj):null;
this.isFrompassenger = this.orderObj.isFromPassenger; this.isFrompassenger = this.orderObj.isFromPassenger;
...@@ -1473,7 +1476,8 @@ export default { ...@@ -1473,7 +1476,8 @@ export default {
} }
} }
},mounted(){ },
mounted(){
let userInfo = this.getLocalStorage(); let userInfo = this.getLocalStorage();
this.department = userInfo.DepartName; this.department = userInfo.DepartName;
this.EmployeeId=userInfo.EmployeeId; this.EmployeeId=userInfo.EmployeeId;
......
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