Commit 89aab90c authored by zhengke's avatar zhengke

修改

parent c5453bea
......@@ -168,6 +168,8 @@
import {
queryCourseOfferPage,
} from '../../api/course/index'
import { mapState } from "vuex";
export default {
meta: {
title: "报价单"
......@@ -187,6 +189,7 @@
rowsPerPage: 10,
Name: "",
IsGetDetails: 1,
CreateBy:0
},
pageCount: 0,
showForm: false, //是否显示报价单弹窗
......@@ -270,10 +273,30 @@
}
],
showOrderForm: false, //是否显示转订单表单
commonId:0
}
},
computed: mapState({
isHavePriceAction(state) {
if (state.user.userInfo.ActionMenuList) {
let commonNum=0;
let action = state.user.userInfo.ActionMenuList.find(x => {
if (x.FunctionCode == "Query_All_Offer") {
commonNum+=1;
}
});
this.commonId=state.user.userInfo.Id;
return commonNum;
}
}
}),
mounted() {
this.currentUrl = this.$route.path
this.currentUrl = this.$route.path;
if(this.isHavePriceAction>0){
this.msg.CreateBy=0;
}else{
this.msg.CreateBy=this.commonId;
}
this.getcourseofferpage();
},
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