Commit 50dd7da7 authored by zhengke's avatar zhengke

修改

parent 8ee106dc
...@@ -126,28 +126,23 @@ ...@@ -126,28 +126,23 @@
Id: 3, Id: 3,
Name: '返佣' Name: '返佣'
} }
] ],
isHaveModify:false
} }
}, },
computed: mapState({
//是否有查看合同权限
isHaveModify(state) {
// if (state.user.userInfo && state.user.userInfo.ActionMenuList && state.user.userInfo.ActionMenuList.length >
// 0) {
// let action = state.user.userInfo.ActionMenuList.find(x => {
// if (x.FunctionCode == "E_ModifyStudyOrderPrice") {
// return x;
// }
// });
// return action && action.FunctionCode;
// }
return false;
}
}),
created() { created() {
this.getOrderSEList(); this.getOrderSEList();
this.getEmployee(); this.getEmployee();
var localStorageData = window.localStorage["loginUserInfo"];
let ActionMenuList = JSON.parse(localStorageData).data.ActionMenuList
if(ActionMenuList && ActionMenuList.length>0){
ActionMenuList.forEach(x=>{
if(x.FunctionCode == 'E_ModifyStudyOrderPrice'){
this.isHaveModify = true
}
})
}
}, },
mounted() { mounted() {
console.log("saveObj", this.saveObj); console.log("saveObj", this.saveObj);
...@@ -171,6 +166,13 @@ ...@@ -171,6 +166,13 @@
this.OrderMsg.OrderId = res.Data.OrderInfo.OrderId; this.OrderMsg.OrderId = res.Data.OrderInfo.OrderId;
this.OrderMsg.OrderType = res.Data.OrderInfo.OrderType; this.OrderMsg.OrderType = res.Data.OrderInfo.OrderType;
this.OrderMsg.SourceId = res.Data.OrderInfo.SourceId; this.OrderMsg.SourceId = res.Data.OrderInfo.SourceId;
this.OrderMsg.HelpEnterId = res.Data.OrderInfo.HelpEnterId;
this.OrderMsg.GeneralOccupation = res.Data.OrderInfo.GeneralOccupation;
this.OrderMsg.EduOccupation = res.Data.OrderInfo.EduOccupation;
this.OrderMsg.IsLessPrice = res.Data.OrderInfo.IsLessPrice;
this.OrderMsg.LessPrice = res.Data.OrderInfo.LessPrice;
this.OrderMsg.OrderNature = res.Data.OrderInfo.OrderNature;
this.OrderMsg.OldPreferPrice = res.Data.OrderInfo.OldPreferPrice;
this.UnitPrice = this.OrderMsg.Unit_Price; this.UnitPrice = this.OrderMsg.Unit_Price;
this.StepPriceList = res.Data.StepPriceList; this.StepPriceList = res.Data.StepPriceList;
this.IsShowEditOrder = true; this.IsShowEditOrder = true;
......
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