Commit 7376c3b6 authored by youjie's avatar youjie

no message

parent 3a4016ee
......@@ -196,6 +196,7 @@
mounted() {
let userInfo = this.getLocalStorage();
let ActionMenuCode = userInfo.ActionMenuCode;
this.msg.TCNUM = this.$route.query.TCNUM?this.$route.query.TCNUM:''
if (this.$route.query) { //不大于0的话用默认值
if (this.$route.query.PeriodId && this.$route.query.PeriodId > 0) {
this.msg.PeriodId = Number(this.$route.query.PeriodId)
......
......@@ -205,6 +205,7 @@
}
},
mounted() {
this.msg.TCNUM = this.$route.query.TCNUM?this.$route.query.TCNUM:''
let userInfo = this.getLocalStorage();
let ActionMenuCode = userInfo.ActionMenuCode;
if (this.$route.query) { //不大于0的话用默认值
......
......@@ -2,12 +2,25 @@
<div class="groupApproval">
<div class="query-box">
<ul>
<li>
<em>出团公司</em>
<el-select filterable v-model='msg.OutBranchId'
@change='getControlList()'>
<el-option label="不限" :value="-1" :key="-1"></el-option>
<el-option
v-for="item in companyList"
:label='item.BName'
:value='item.Id'
:key='item.Id'
></el-option>
</el-select>
</li>
<li>
<span>
<em>团类型</em>
<el-select class="w200" v-model="msg.PriceTeamType" filterable :placeholder="$t('pub.pleaseImport')"
@change="getControlList()">
<el-option label="不限" value="0">
<el-option label="不限" value="-1">
</el-option>
<el-option v-for="item in TeamListArr" :label="item.Name" :value="item.Id"
:key="item.Id"></el-option>
......@@ -94,7 +107,8 @@
prop="PriceTeamTypeName"
label="团队类型">
<template slot-scope="scope">
<template v-if="scope.row.TeamTypeName">{{scope.row.TeamTypeName}}/</template>{{scope.row.PriceTeamTypeName}}
<template v-if="scope.row.TeamTypeName">{{scope.row.TeamTypeName}}/</template>
{{scope.row.PriceTeamTypeName}}
</template>
</el-table-column>
<el-table-column
......@@ -122,7 +136,12 @@
prop="SaleCommission"
label="预计销售提成" width="130px">
<template slot-scope="scope">
<span
:style="{'cursor':scope.row.SaleCommissionType>0?'pointer':'',
'color': scope.row.SaleCommissionType>0?'#33B3FF':''}"
@click="scope.row.SaleCommissionType>0?goAnticipate(scope.row,scope.row.SaleCommissionType):''">
{{scope.row.SaleCommission}}
</span>
</template>
</el-table-column>
<el-table-column
......@@ -226,6 +245,7 @@
export default {
data() {
return {
companyList:[],
cancelRemark: '',
dataRow: null,
cancelOrderDialog: false,
......@@ -238,6 +258,7 @@
PriceTeamType: "0",
TCNUM: '',//团号
TCID: '',
OutBranchId: -1,
OutGroupAuditState: 1,
OutGroupAuditEmpId: 0,//当前登录用户id , 如果有查询所有的权限 则=0
},
......@@ -251,6 +272,10 @@
ConfigId: '',
OfferId: ''
},
getCompanyMsg:{
RB_Group_Id:'0',
Status:'0',
},
}
},
components: {
......@@ -259,6 +284,7 @@
created() {
this.getTeamList()
let userinfo = this.getLocalStorage();
this.getCompanyMsg.RB_Group_Id=userinfo.RB_Group_id;
this.EmployeeId = userinfo.EmployeeId
let ActionMenuCode=userinfo.ActionMenuCode;
if(ActionMenuCode.indexOf('Finance_clumpSeeAll')!=-1){//如果有权限 可以查看所有 如果没有只能看自己审核的
......@@ -269,12 +295,42 @@
if(this.$route.query && this.$route.query.TCID){
this.msg.TCID = this.$route.query.TCID
}
this.getCompany()
},
mounted() {
this.getList()
},
methods: {
// 销售预期提成
goAnticipate(row,type){
let userInfo = this.getLocalStorage();
let name
if(type==1){//国内
name = 'domesticCommissiondetails'
}else if(type==2){//单项
name = 'ServiceCommissiondetails'
}else if(type==3){//台湾
name = 'domesticCommissiondetailsTW'
}else if(type==4){//同业
name = 'TradeTicketDetails'
}
this.$router.push({
name: name,
query: {
Type: 1,
TCNUM: row.TCNUM,
blank: 'y'
}
});
},
getCompany(){
this.apipost('admin_get_BranchGetList',this.getCompanyMsg,res=>{
if(res.data.resultCode==1){
this.companyList=res.data.data;
}else{}
},err=>{})
},
showDialog(ConfigId, OfferId) {
this.dialog = {
show: true,
......
......@@ -395,7 +395,7 @@
</style>
<template>
<div class="page_MyCustomer MyCustomerDiv">
<div class="page_MyCustomerSearch">
<div class="page_MyCustomerSearch" v-if="type!=5">
<li>
<span>
<em>{{$t('salesModule.keyWords')}}</em>
......
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