Commit cb9f45b6 authored by 沈良进's avatar 沈良进

Merge branch 'master' into month

parents 6d04730f f1d78b81
......@@ -322,4 +322,11 @@
.cursor-p.active{
color: #409EFF;
}
.float-l{
float: left;
}
.width100-float-l{
width: 100%;
float: left;
}
</style>
......@@ -212,7 +212,8 @@
EmployeeId: -1,
PeriodsId: -1,
OrderType: -1,
Way: -1,
Way: '-1',
TCID: '',
TCNUM: '',
RB_Department_Id: -1,//部门ID
EmBranchId: -1,//公司ID
......@@ -267,7 +268,6 @@
this.getDepartment()
this.getCompany()
this.GetOrderTypeEnumList()
this.GetCommissionPeroidsList()//期数
},
mounted() {
let userInfo = this.getLocalStorage();
......@@ -285,7 +285,6 @@
}
}
this.msg.TCNUM = this.$route.query.TCNUM?this.$route.query.TCNUM:''
this.msg.PeriodsId = this.$route.query.PeriodId?Number(this.$route.query.PeriodId):-1
this.msg.RB_Branch_Id = this.$route.query.OutBranchId?Number(this.$route.query.OutBranchId):-1
this.msg.EmBranchId = this.$route.query.RB_Branch_Id?Number(this.$route.query.RB_Branch_Id):Number(userInfo.RB_Branch_id)
this.msg.EmployeeId = this.$route.query.UserId?Number(this.$route.query.UserId):Number(userInfo.EmployeeId)
......@@ -482,9 +481,7 @@
"opcommission_GetNewOPCommissionPeroidsList",{},res => {
if (res.data.resultCode == 1) {
this.PeroidsList = res.data.data;
if(!this.$route.query.PeriodId){
this.msg.PeriodsId = this.PeroidsList[0].Id
}
this.msg.PeriodsId = this.$route.query.PeriodId?Number(this.$route.query.PeriodId):this.PeroidsList[0].ID
this.getList()
} else {
this.Error(res.data.message);
......
......@@ -164,9 +164,7 @@
this.msg.UserId = this.$route.query.UserId?Number(this.$route.query.UserId):Number(userInfo.EmployeeId)
}
}
if (this.$route.query && this.$route.query.PeriodId) {
this.msg.PeriodId = this.$route.query.PeriodId
}
this.msg.PeriodId = this.$route.query.PeriodId?Number(this.$route.query.PeriodId):0
this.getqishilist()
this.getCompanyList()//获取公司
this.getEmployee()//人员
......
......@@ -345,7 +345,6 @@
// });
},
clickUrl(row,type){
console.log(row.OrderType,'----')
let data = [{
path: "",
OrderId: row.OrderId,
......
......@@ -26,7 +26,7 @@
<div class="flexOne domesticCommissionUser">
<div>
<ul class="opUl">
<li>
<em>人员</em>
<el-select v-model="msg.UserId" size="mini" @change="handleCurrentChange(1)" filterable :disabled='disabled'>
......@@ -60,7 +60,7 @@
</el-select>
</li>
</ul>
</div>
<table v-loading="loading" class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
......@@ -80,7 +80,7 @@
<td>{{item.PeopleCount}}</td>
<td>{{item.CommissionMoney}}</td>
<td>{{item.Periods}}</td>
<td>
......@@ -140,9 +140,7 @@
this.disabled = true;
this.msg.UserId = Number(userInfo.EmployeeId)
}
if (this.$route.query && this.$route.query.PeriodId) {
this.msg.PeriodId = this.$route.query.PeriodId
}
this.msg.PeriodId = this.$route.query.PeriodId?Number(this.$route.query.PeriodId):0
this.getList();
// this.getqishilist()
this.getCompanyList()//获取公司
......@@ -233,7 +231,7 @@
PeriodId: this.$route.query.PeriodId,
UserId:item.UserId,
RB_Branch_Id:item.RB_Branch_Id,
RB_Department_Id:item.RB_Department_Id,
RB_Department_Id:item.RB_Department_Id,
blank: 'y',
tab: '国内提现详情'
}
......@@ -260,4 +258,4 @@
}
}
</script>
\ No newline at end of file
</script>
......@@ -160,9 +160,7 @@
this.msg.UserId = this.$route.query.UserId?Number(this.$route.query.UserId):Number(userInfo.EmployeeId)
}
}
if (this.$route.query && this.$route.query.PeriodId) {
this.msg.PeriodId = this.$route.query.PeriodId
}
this.msg.PeriodId = this.$route.query.PeriodId?Number(this.$route.query.PeriodId):0
this.getqishilist()
this.getCompanyList()//获取公司
......
......@@ -26,7 +26,7 @@
<div class="flexOne domesticCommissionUser">
<div>
<ul class="opUl">
<li>
<em>人员</em>
<el-select v-model="msg.UserId" size="mini" @change="handleCurrentChange(1)" filterable :disabled='disabled'>
......@@ -60,7 +60,7 @@
</el-select>
</li>
</ul>
</div>
<table v-loading="loading" class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
......@@ -70,7 +70,7 @@
<th>销售</th>
<th>团的数量</th>
<th>提成金额</th>
<th>期数</th>
......@@ -142,9 +142,7 @@
this.disabled = true;
this.msg.UserId = Number(userInfo.EmployeeId)
}
if (this.$route.query && this.$route.query.PeriodId) {
this.msg.PeriodId = this.$route.query.PeriodId
}
this.msg.PeriodId = this.$route.query.PeriodId?Number(this.$route.query.PeriodId):0
this.getList();
// this.getqishilist()
this.getCompanyList()//获取公司
......@@ -235,7 +233,7 @@
PeriodId: this.$route.query.PeriodId,
UserId:item.UserId,
RB_Branch_Id:item.RB_Branch_Id,
RB_Department_Id:item.RB_Department_Id,
RB_Department_Id:item.RB_Department_Id,
blank: 'y',
tab: '国内提现详情'
}
......@@ -262,4 +260,4 @@
}
}
</script>
\ No newline at end of file
</script>
......@@ -26,7 +26,7 @@
<div class="flexOne domesticCommissionUser">
<div>
<ul class="opUl">
<li>
<em>人员</em>
<el-select v-model="msg.UserId" size="mini" @change="handleCurrentChange(1)" filterable :disabled='disabled'>
......@@ -37,7 +37,7 @@
</li>
<li>
<em>出团公司</em>
<el-select v-model="msg.OutBranchId" size="mini" @change="handleCurrentChange(1)"
<el-select v-model="msg.OutBranchId" size="mini" @change="handleCurrentChange(1)"
:disabled="S_CheckBranchOrder">
<el-option label="不限" :value="-1"></el-option>
<el-option v-for="(item,index) in BranchList" :key="item.index" :label="item.BName"
......@@ -60,13 +60,13 @@
:value="item.DepartmentID"></el-option>
</el-select>
</li>
</ul>
</div>
<div style="display: flex;align-items: center;height: 50px;justify-content: space-between;">
<div style="display: flex;align-items: center;"></div>
<input type="button" class="normalBtn" value="导出" @click="exportExcel">
</div>
<table v-loading="loading" class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
<tr>
......@@ -75,7 +75,7 @@
<th>销售</th>
<!-- <th>团的数量</th> -->
<th>提成金额</th>
<th>地接奖金</th>
<th>年终奖金</th>
......@@ -160,9 +160,7 @@
this.S_CheckBranchOrder = true
this.msg.OutBranchId = userInfo.RB_Branch_id
}
if (this.$route.query && this.$route.query.PeriodId) {
this.msg.PeriodId = this.$route.query.PeriodId
}
this.msg.PeriodId = this.$route.query.PeriodId?Number(this.$route.query.PeriodId):0
if (this.$route.query && this.$route.query.OutBranchId) {
this.msg.OutBranchId = this.$route.query.OutBranchId
}
......@@ -262,7 +260,7 @@
PeriodId: this.$route.query.PeriodId,
UserId:item.UserId,
RB_Branch_Id:item.RB_Branch_Id,
RB_Department_Id:item.RB_Department_Id,
RB_Department_Id:item.RB_Department_Id,
blank: 'y',
tab: '国内提现详情'
}
......@@ -300,4 +298,4 @@
}
}
</script>
\ No newline at end of file
</script>
......@@ -510,7 +510,7 @@
<span class="fz15 fbold">{{ scope.row.Refund ? scope.row.Refund : "-" }}</span>
</template>
</el-table-column>
<!-- <el-table-column label="手配费应收" min-width="100">
<template slot-scope="scope">
<span class="fz15 fbold">{{
......@@ -535,14 +535,19 @@
<span class="fz15 fbold">{{ scope.row.Income-scope.row.CostMoney-scope.row.Refund>0?(scope.row.Income-scope.row.CostMoney-scope.row.Refund).toFixed(2):'-' }}</span>
</template>
</el-table-column>
<el-table-column v-if="item.SellCommission&&item.SellCommission>0" label="提成" style="background:#EAEAEA">
<el-table-column v-if="(item.SellCommission&&item.SellCommission>0)||(item.OPCommission&&item.OPCommission>0)" label="提成" style="background:#EAEAEA">
<template slot-scope="scope">
<commissionDialog :objNew="item"></commissionDialog>
<div class="width100-float-l" v-if="item.SellCommission&&item.SellCommission>0"><span class="float-l">销售:</span>
<commissionDialog :objNew="item" :OP="0"></commissionDialog>
</div>
<div class="width100-float-l" v-if="item.OPCommission&&item.OPCommission>0"><span class="float-l">OP:</span>
<commissionDialog :objNew="item" :OP="1"></commissionDialog>
</div>
</template>
</el-table-column>
</el-table>
<div class="row justify-sb mt mb20" v-if="item.OrderStatus!=3">
<div class="row pt20" style="margin-right: 10px;width: 300px;"
<div class="row pt20" style="margin-right: 10px;width: 300px;"
v-if="item.GuestFileList.length > 0||((item.CustomerPayType==1 || item.CustomerPayType==3)&&pagesTitle)">
<!-- <i class="el-icon-warning cF57A98 fz15 mr"></i> -->
<div class="column">
......@@ -580,10 +585,10 @@
</div>
<div class="row fz12 see-rec mt">
<el-upload ref="my-upload" :http-request="uploadFileBtn" v-loading="loading"
:multiple="true"
:multiple="true"
:show-file-list="false" action="">
<div :class="{'cursor-pointer seeLK c059FF6':!loading,
'cursor-pointer see c04C8C8':loading}"
'cursor-pointer see c04C8C8':loading}"
@click="uploadOrderId=item.OrderId">上车旅客名单</div>
</el-upload>
</div>
......@@ -594,7 +599,7 @@
<div class="fz12">收款单据</div>
<div class="row wrap orderNo fz12 py">
<span
class="cursor-pointer radius5 mr px5"
class="cursor-pointer radius5 mr px5"
:class="{'bgD9F3FF':x.Status==1,'bgFAEAED':x.Status==2,'bjFFF3E0':x.Status==3,
'c3FC4FF':x.Status==1,'cF1416C':x.Status==2,'cff9800':x.Status==3}"
v-for="(x, i) in item.IncomeList"
......@@ -622,7 +627,7 @@
<div class="fz12">退款单据</div>
<div class="row wrap orderNo fz12 py">
<span
class="cursor-pointer radius5 mr px5"
class="cursor-pointer radius5 mr px5"
:class="{'bgD9F3FF':x.Status==1,'bgFAEAED':x.Status==2,'bjFFF3E0':x.Status==3,
'c3FC4FF':x.Status==1,'cF1416C':x.Status==2,'cff9800':x.Status==3}"
v-for="(x, i) in item.RefundList"
......@@ -650,7 +655,7 @@
<div class="fz12">成本单据</div>
<div class="row wrap orderNo fz12 py">
<span
class="cursor-pointer radius5 mr px5"
class="cursor-pointer radius5 mr px5"
:class="{'bgD9F3FF':x.Status==1,'bgFAEAED':x.Status==2,'bjFFF3E0':x.Status==3,
'c3FC4FF':x.Status==1,'cF1416C':x.Status==2,'cff9800':x.Status==3}"
v-for="(x, i) in item.CostList"
......@@ -677,7 +682,7 @@
<div class="fz12">手配费单据</div>
<div class="row wrap orderNo fz12 py">
<span
class="cursor-pointer radius5 mr px5"
class="cursor-pointer radius5 mr px5"
:class="{'bgD9F3FF':x.Status==1,'bgFAEAED':x.Status==2,'bjFFF3E0':x.Status==3,
'c3FC4FF':x.Status==1,'cF1416C':x.Status==2,'cff9800':x.Status==3}"
v-for="(x, i) in item.HandFittingFinanceList"
......@@ -973,7 +978,7 @@ export default {
},
watch: {
pagesTitle(val,oldval){
},
OrderList:{
handler(val, oldVal){
......@@ -1006,7 +1011,7 @@ export default {
setTimeout(()=>{
this.cdState = true
},100)
},
editRemark(item){
this.postMsg.OrderId = item.OrderId
......@@ -1044,7 +1049,7 @@ export default {
}
})
}
},
uploadFileBtn(file){
let ft = file.file.name.substring(file.file.name.lastIndexOf('.') + 1, file.file.name.length).toUpperCase();
......@@ -1210,7 +1215,7 @@ export default {
this.Error(res.data.message);
}
}).catch(err=>{
this.Error(err.message)
this.Error(err.message)
this.loading0= false
})
}).catch(()=>{
......@@ -1260,9 +1265,9 @@ export default {
this.loading0 = false;
}
);
},
saveUpdate() {
this.$confirm("是否确认设置收损?", "提示", {
confirmButtonText: "确定",
......
......@@ -1467,9 +1467,16 @@
<p style="min-width: 180px;">{{$t('hotel.hotel_StartTeam')}}:{{item.startDate}}</p>
<p>{{$t('restaurant.res_oderTime')}}:{{item.createDate}}</p>
<p v-if="item.tradeWay ==1">{{item.platformOrder}}</p>
<p v-if='item.commissionMoney' style="color:red">
<span style="float: left;">{{$t('salesModule.Commission')}}:</span>
<commissionDialog :objNew="item"></commissionDialog>
<p v-if='(item.commissionMoney&&item.commissionMoney>0)||(item.opcommission&&item.opcommission>0)' style="color:red">
<template v-if="item.commissionMoney&&item.commissionMoney>0">
<span style="float: left;">销售{{$t('salesModule.Commission')}}</span>
<commissionDialog :objNew="item" :OP="0"></commissionDialog>
</template>
<template v-if="item.opcommission&&item.opcommission>0">
<span style="float: left; margin-left: 10px;">OP提成:</span>
<commissionDialog :objNew="item" :OP="1"></commissionDialog>
</template>
<!-- {{item.commissionMoney}} -->
</p>
<p v-else-if="item.latestCommissionMoney" style="color:red">
......@@ -3409,7 +3416,7 @@
}
})
},
cancelSubmit() {
this.isShowLayer = false
this.$refs['addMsg'].resetFields()
......
......@@ -407,8 +407,9 @@
},
// 线路
getLineList() {
this.apipost("line_post_GetAllList_V2", {
LineDirection: 0
// LineDirection: 0
this.apipost("line_post_GetAllList_V3", {
IsShow: -1
}, (res) => {
if (res.data.resultCode == 1) {
this.LineList = res.data.data;
......
......@@ -528,12 +528,12 @@
<span class="mr">{{ item.createName }}</span>
<el-image class="mr" v-if="item.createPhoto"
style="width: 20px; height: 20px;border-radius: 50%;"
:src="item.createPhoto"
:src="item.createPhoto"
:preview-src-list="[item.createPhoto]">
</el-image>
</template>
</div>
<span>下单时间:</span>
<span>{{ item.createTime }}</span>
</div>
......@@ -610,10 +610,17 @@
</span>
</template>
</el-table-column>
<el-table-column v-if="item.commissionMoney&&item.commissionMoney>0" label="提成" style="background:#EAEAEA">
<el-table-column label="提成" style="background:#EAEAEA"
v-if="(item.commissionMoney&&item.commissionMoney>0)||(item.opCommission&&item.opCommission>0)">
<template slot-scope="scope">
<span class="cF1416C" style="float: left;"></span>
<commissionDialog :objNew="scope.row"></commissionDialog>
<div class="width100-float-l" v-if="item.commissionMoney&&item.commissionMoney>0">
<span class="float-l">销售:<span class="cF1416C"></span></span>
<commissionDialog :objNew="scope.row" :OP="0"></commissionDialog>
</div>
<div class="width100-float-l" v-if="item.opCommission&&item.opCommission>0">
<span class="float-l">OP:<span class="cF1416C"></span></span>
<commissionDialog :objNew="scope.row" :OP="1"></commissionDialog>
</div>
</template>
</el-table-column>
<template slot="append" >
......@@ -634,7 +641,7 @@
</el-tooltip>
</div>
</div>
<div class="row justify-sb">
<div class="row-c justify-sb px15 bgf5 radius5 flex-g pa relative" style="min-width: 200px;max-width: 400px;">
<div class="row-c">
......@@ -734,13 +741,13 @@
</div>
</div>
</div>
</template>
</el-table>
</div>
</div>
<div class="_mc_edit _scrollbar" :class="addShow==true?'edHeight':''">
<p class="_tit">{{$t('salesModule.UpOrder')}}
......@@ -891,7 +898,7 @@ export default {
userInfo: {},
qjGroupId: -1,
F_InvoiceManagement: false,
F_Finance_Create: false,
F_Finance_Create: false,
msg: {
pageIndex: 1,
pageSize: 12,
......@@ -981,7 +988,7 @@ export default {
setTimeout(()=>{
this.cdState = true
},100)
},
PerferPrice() {
this.apipost('dmc_get_visa_SetVisaOrderPrice', this.EditMsg, res => {
......@@ -1237,7 +1244,7 @@ export default {
this.addMsg.EnterCountryFlight = x[0].EnterCountryFlight
this.addMsg.LeaveCountryFlight = x[0].LeaveCountryFlight
this.addMsg.VisaPlanId = x[0].VisaPlanId
//this.addMsg.DepartDate=x[0].DepartDate
//this.addMsg.DepartDate=x[0].DepartDate
this.addMsg.ClientType = x[0].ClientType.toString()
}
......@@ -1324,7 +1331,7 @@ export default {
SourceID: row.visaId,
TCIDList: TCIDARR,
ReFinanceId2: num,
MatchFrId:0
MatchFrId:0
}
let query = {};
query = {
......
......@@ -132,7 +132,7 @@
.cff9800 {
color: #ff9800;
}
.cF1416C {
color: #f1416c;
}
......@@ -449,17 +449,17 @@
}
/deep/.el-table tr:last-child td{
border-bottom: 1px solid #EBEEF5;
}
/deep/.el-table tr td{
border-bottom: 1px solid #EBEEF5;
}
.cp{
cursor: pointer;
}
</style>
<template>
<div>
<div
......@@ -492,7 +492,7 @@
(items.Id==3?'three':
(items.Id==4?'four':
(items.Id==5?'five':'')))),{'line-through':items.show}]"
v-for="(items,i) in item.MultipleChoiceList">{{items.Name}}</span> -->
</div>
<div class="c9e fz12">
......@@ -603,14 +603,21 @@
<span :class="{'cF1416C':scope.row.DueinMoney>0}">{{ scope.row.DueinMoney }}</span>
</template>
</el-table-column>
<el-table-column v-if="item.SellCommission&&item.SellCommission>0" label="提成" style="background:#EAEAEA">
<el-table-column v-if="(item.SellCommission&&item.SellCommission>0)||(item.OPCommission&&item.OPCommission>0)" label="提成" style="background:#EAEAEA">
<template slot-scope="scope">
<commissionDialog :objNew="scope.row"></commissionDialog>
<div class="width100-float-l" v-if="item.SellCommission&&item.SellCommission>0">
<span class="float-l">销售:</span>
<commissionDialog :objNew="scope.row" :OP="0"></commissionDialog>
</div>
<div class="width100-float-l" v-if="item.OPCommission&&item.OPCommission>0">
<span class="float-l">OP:</span>
<commissionDialog :objNew="scope.row" :OP="1"></commissionDialog>
</div>
</template>
</el-table-column>
<el-table-column label="出票状态" style="background:#EAEAEA">
<template slot-scope="scope">
<span @click="scope.row.TicketStatusName!='无需机票'?modifyStatus(scope.row):''"
<span @click="scope.row.TicketStatusName!='无需机票'?modifyStatus(scope.row):''"
class="cp tatusText"
:class="item.TicketStatus==1?'grey':
(scope.row.TicketStatus==2?'success':
......@@ -619,21 +626,21 @@
(scope.row.TicketStatus==5?'Black':''))))">
{{item.TicketStatusName}}
</span>
<!-- <i v-if="scope.row.TicketStatus!=1&&scope.row.TicketVoucherList!=[]&&scope.row.CancelVoucherList!=[]&&scope.row.TicketStatusName!='无需机票'"
class="c3FC4FF cursor-pointer el-icon-document-checked"
<!-- <i v-if="scope.row.TicketStatus!=1&&scope.row.TicketVoucherList!=[]&&scope.row.CancelVoucherList!=[]&&scope.row.TicketStatusName!='无需机票'"
class="c3FC4FF cursor-pointer el-icon-document-checked"
@click="viewCredentials(scope.row)"></i> -->
</template>
</el-table-column>
<el-table-column label="签证状态" style="background:#EAEAEA">
<template slot-scope="scope">
<span @click="scope.row.VisaStatus=='1'?AmendVisa(scope.row):''"
<span @click="scope.row.VisaStatus=='1'?AmendVisa(scope.row):''"
class="tatusText"
:class="scope.row.VisaStatus==1?'grey'+' cursor-pointer':
(scope.row.VisaStatus==2?'success':
(scope.row.VisaStatus==0?'Black':''))">
{{scope.row.VisaStatus==1?'未出签':(scope.row.VisaStatus==2?'已出签':'无需签证')}}
</span>
<i v-if="scope.row.VisaStatus==2" class="c3FC4FF cursor-pointer el-icon-document-checked"
<i v-if="scope.row.VisaStatus==2" class="c3FC4FF cursor-pointer el-icon-document-checked"
@click="CheckOutDetails(scope.row)"></i>
</template>
</el-table-column>
......@@ -643,7 +650,7 @@
style="background:#EAEAEA"
>
<template slot-scope="scope">
<input type="button" class="normalBtn" value="查看"
<input type="button" class="normalBtn" value="查看"
@click="goDetails(scope.row)" />
</template>
</el-table-column> !-->
......@@ -686,7 +693,7 @@
<div class="fz12">收款单据</div>
<div class="row wrap orderNo fz12 py">
<span
class="cursor-pointer radius5 mr px5"
class="cursor-pointer radius5 mr px5"
:class="{'bgD9F3FF':x.Status==0,'bgFAEAED':x.Status==1,'bjFFF3E0':x.Status==2,
'c3FC4FF':x.Status==0,'cF1416C':x.Status==1,'cff9800':x.Status==2}"
v-for="(x, i) in item.IncomeFinance"
......@@ -714,7 +721,7 @@
<div class="fz12">退款单据</div>
<div class="row wrap orderNo fz12 py">
<span
class="cursor-pointer radius5 mr px5"
class="cursor-pointer radius5 mr px5"
:class="{'bgD9F3FF':x.Status==0,'bgFAEAED':x.Status==1,'bjFFF3E0':x.Status==2,
'c3FC4FF':x.Status==0,'cF1416C':x.Status==1,'cff9800':x.Status==2}"
v-for="(x, i) in item.BackFinance"
......@@ -742,7 +749,7 @@
<div class="fz12">成本单据</div>
<div class="row wrap orderNo fz12 py">
<span
class="cursor-pointer radius5 mr px5"
class="cursor-pointer radius5 mr px5"
:class="{'bgD9F3FF':x.Status==0,'bgFAEAED':x.Status==1,'bjFFF3E0':x.Status==2,
'c3FC4FF':x.Status==0,'cF1416C':x.Status==1,'cff9800':x.Status==2}"
v-for="(x, i) in item.PayFinance"
......@@ -795,7 +802,7 @@
</div>
</div>
</div>
<el-dialog
custom-class="w400"
title="设置收损金额"
......@@ -988,7 +995,7 @@
},
OrderList:{
handler(val, oldVal){
}
}
},
......@@ -1077,7 +1084,7 @@
},
err => {
this.loading3 = false
this.Error(err.message)
this.Error(err.message)
});
},
uploadFileBtn(file){
......@@ -1319,9 +1326,9 @@
this.loading0 = false;
}
);
},
saveUpdate() {
let text = '是否确认设置收损?'
this.$confirm(text, "提示", {
......@@ -1438,6 +1445,5 @@
}
};
</script>
<style></style>
\ No newline at end of file
......@@ -637,7 +637,7 @@
</el-dropdown-menu>
</el-dropdown>
<el-button @click='goUrlMake("GroupAdvertising",item.LineID,item.TCID,"团期广告")' type="primary"
style="background:#67c23a; border-color:#67c23a;display:none;">广告&nbsp;{{item.AdvertCount}}
style="background:#67c23a; border-color:#67c23a;">广告&nbsp;{{item.AdvertCount}}
</el-button>
<el-button @click="ckOPremark(item)" type="primary" style="background:#F16C3C; border-color:#F16C3C">
{{$t('Operation.Op_remark')}}
......
......@@ -250,7 +250,10 @@
</el-tooltip>
</span>
<span class="bianji newAopbdd" @click="goMakeQuo('QuotationNewPrice',item.ID, item.TeamType)">
<span class="bianji newAopbdd"
v-if="item.TravelState==1||item.TravelState==2||item.TravelState==4||item.TravelState==5"
@click="goMakeQuo('QuotationNewPrice',item.ID, item.TeamType)">
<el-tooltip class="item" effect="dark" :content="$t('pub.updateMsg')" placement="top-start"
popper-class="max-w250">
<i class="iconfont icon-bianji-smal"></i>
......
......@@ -384,7 +384,7 @@
border-bottom: 1px solid #ebeef5;
}
</style>
<template>
<div>
<div
......@@ -663,12 +663,17 @@
</template>
</el-table-column>
<el-table-column
v-if="item.SellCommission && item.SellCommission > 0"
v-if="(item.SellCommission&&item.SellCommission>0)||(item.OPCommission&&item.OPCommission>0)"
label="提成"
style="background: #eaeaea"
>
<template slot-scope="scope">
<commissionDialog :objNew="item"></commissionDialog>
<div class="width100-float-l" v-if="item.SellCommission&&item.SellCommission>0"><span class="float-l">销售:</span>
<commissionDialog :objNew="item" :OP="0"></commissionDialog>
</div>
<div class="width100-float-l" v-if="item.OPCommission&&item.OPCommission>0"><span class="float-l">OP:</span>
<commissionDialog :objNew="item" :OP="1"></commissionDialog>
</div>
</template>
</el-table-column>
</el-table>
......@@ -1610,6 +1615,5 @@ export default {
},
};
</script>
<style></style>
\ No newline at end of file
......@@ -615,8 +615,8 @@
let userInfo=this.getLocalStorage();
this.employeeMsg.GroupId = userInfo.RB_Group_id; //集团ID
this.msg.EnterId = this.$route.query.EnterId?this.$route.query.EnterId:0//userInfo.EmployeeId;
this.msg.LureEmpId = this.$route.query.LureEmpId?this.$route.query.LureEmpId:0
this.msg.EnterId = this.$route.query.EnterId?Number(this.$route.query.EnterId):0//userInfo.EmployeeId;
this.msg.LureEmpId = this.$route.query.LureEmpId?Number(this.$route.query.LureEmpId):0
this.msg.StartTime = this.getBeforeDate(0, new Date())
this.msg.EndTime = this.getBeforeDate(0, new Date())
this.DatelistBM = [new Date(this.msg.StartTime),new Date()]
......
......@@ -242,7 +242,7 @@
</div>
</div>
</div>
<div style="display: flex;">
<div style="display: flex;" v-if="isAnnualBonus">
<div class="CommissionLadder Line" style="margin: 0;">
<div style="display: flex;justify-content: space-between;">
<span>年终奖(不含门票、包车、国内游)</span>
......@@ -498,12 +498,21 @@
IsSelectCRM: 0,//1来源crm
IsMyOrder: 1,//1我的订单
},
isAnnualBonus: false,// 年终奖权限
};
},
mounted() {
this.getList()
},
created() {
let userInfo = this.getLocalStorage();
// 年终奖权限 销售, 引流, 市场, 票务 , 票務,总经理,总经理
if(userInfo.PostName.indexOf('销售')||userInfo.PostName.indexOf('引流')||
userInfo.PostName.indexOf('市场,')||userInfo.PostName.indexOf('票务')||
userInfo.PostName.indexOf('票務')||userInfo.PostName.indexOf('总经理')||
userInfo.PostName.indexOf('总经理')){
this.isAnnualBonus = true
}
let nowdays = new Date()
this.Year = new Date().getFullYear()
this.LastMonthTime = new Date().getMonth()
......
......@@ -121,7 +121,7 @@
</div>
<el-tooltip class="item" effect="dark" content="预期提成" placement="top">
<img src="../../assets/img/xiaosouYQ.png" @click="goAnticipate(4)"
style="width: 15px;height: auto; position: absolute;right: -0;top: -13px;cursor: pointer;color: #33B3FF;"></img>
style="width: 20px;height: auto; position: absolute;right: -0;top: -13px;cursor: pointer;color: #33B3FF;"></img>
</el-tooltip>
</div>
</div>
......
......@@ -614,7 +614,7 @@
</el-table-column>
<el-table-column label="待收" min-width="100">
<template slot-scope="scope">
<span class="fz15 fbold"
<span class="fz15 fbold"
:class="{'cF1416C':item.DaiShou>0}">
{{item.DaiShou}}
</span>
......@@ -625,13 +625,18 @@
<span class="fz15 fbold">{{ scope.row.Income-scope.row.CostMoney-scope.row.Refund>0?(scope.row.Income-scope.row.CostMoney-scope.row.Refund).toFixed(2):'-' }}</span>
</template>
</el-table-column>
<el-table-column v-if="item.SellCommission&&item.SellCommission>0" label="提成" style="background:#EAEAEA">
<el-table-column v-if="(item.SellCommission&&item.SellCommission>0)||(item.OPCommission&&item.OPCommission>0)" label="提成" style="background:#EAEAEA">
<template slot-scope="scope">
<commissionDialog :objNew="item"></commissionDialog>
<div class="width100-float-l" v-if="item.SellCommission&&item.SellCommission>0"><span class="float-l">销售:</span>
<commissionDialog :objNew="item" :OP="0"></commissionDialog>
</div>
<div class="width100-float-l" v-if="item.OPCommission&&item.OPCommission>0"><span class="float-l">OP:</span>
<commissionDialog :objNew="item" :OP="1"></commissionDialog>
</div>
</template>
</el-table-column>
</el-table>
<div class="row justify-sb mt mb20">
<div class="column px15 bjFFF3E0 radius5 flex-g pa relative" style="max-width: 300px;min-width: 150px;">
<div class="fz12 row justify-sb" v-if="item.MailingState != 4">
......@@ -679,13 +684,13 @@
<span class="cff9800">{{item.UseDate}}</span>
</div>
<div class="row fz12 see-rec mt">
<el-upload ref="my-upload"
:http-request="uploadFileBtn"
<el-upload ref="my-upload"
:http-request="uploadFileBtn"
v-loading="loadingDZP"
:multiple="true"
:multiple="true"
:show-file-list="false" action="">
<div :class="{'cursor-pointer seeLK c059FF6':!loadingDZP,
'cursor-pointer see c04C8C8':loadingDZP}"
'cursor-pointer see c04C8C8':loadingDZP}"
@click="uploadOrderId=item.OrderId">上传电子券</div>
</el-upload>
</div>
......@@ -701,7 +706,7 @@
<div class="column px15 bgf5 radius5 ml flex-g pa relative" style="min-width: 150px;max-width:400px">
<div class="fz12">收款单据</div>
<div class="row wrap orderNo fz12 py">
<span class="cursor-pointer radius5 mr mb px5"
<span class="cursor-pointer radius5 mr mb px5"
:class="{'bgD9F3FF':x.Status==1,'bgFAEAED':x.Status==2,'bjFFF3E0':x.Status==3,
'c3FC4FF':x.Status==1,'cF1416C':x.Status==2,'cff9800':x.Status==3}" v-for="(x, i) in item.IncomeList"
@click="openDetails(x)">{{ x.FrID }}</span>
......@@ -717,7 +722,7 @@
<div class="column px15 bgf5 radius5 ml flex-g pa relative" style="min-width: 150px;max-width:400px">
<div class="fz12">退款单据</div>
<div class="row wrap orderNo fz12 py">
<span class="cursor-pointer radius5 mr mb px5"
<span class="cursor-pointer radius5 mr mb px5"
:class="{'bgD9F3FF':x.Status==1,'bgFAEAED':x.Status==2,'bjFFF3E0':x.Status==3,
'c3FC4FF':x.Status==1,'cF1416C':x.Status==2,'cff9800':x.Status==3}" v-for="(x, i) in item.RefundList"
@click="openDetails(x)">{{ x.FrID }}</span>
......@@ -733,7 +738,7 @@
<div class="column px15 bgf5 radius5 ml flex-g pa relative" style="min-width: 150px;max-width:400px">
<div class="fz12">成本单据</div>
<div class="row wrap orderNo fz12 py">
<span class="cursor-pointer radius5 mr mb px5"
<span class="cursor-pointer radius5 mr mb px5"
:class="{'bgD9F3FF':x.Status==1,'bgFAEAED':x.Status==2,'bjFFF3E0':x.Status==3,
'c3FC4FF':x.Status==1,'cF1416C':x.Status==2,'cff9800':x.Status==3}" v-for="(x, i) in item.CostList"
@click="openDetails(x)">{{ x.FrID }}</span>
......@@ -752,7 +757,7 @@
@click="isOffset(item, index, 3)"></i>
</el-tooltip>
</div>
</div>
<div class="column justify-c px15 bgf5 radius5 ml flex-g pa20" style="min-width: 230px;">
<div class="row-c justify-sb pb5" :class="{'borderD':item.MailingMoney>0||item.DiscountsMoney>0}">
......@@ -1166,7 +1171,7 @@ export default {
setTimeout(()=>{
this.cdState = true
},100)
},
editRemark(item){
this.postMsg.OrderId = item.OrderId
......@@ -1319,7 +1324,7 @@ export default {
this.BillMakingMsg.ReFinanceId = row.OrderId;
this.BillMakingMsg.ReFinanceId2 = num;
this.BillMakingMsg.OtherType = 66;
let text = "";
let query = {};
if (num == 1) {
......@@ -1329,7 +1334,7 @@ export default {
} else if (num == 3) {
text = "成本";
}
query = {
blank: "y",
tab: `新增${text}单据`,
......
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