Commit 285e52c3 authored by 沈良进's avatar 沈良进
parents 52f5a0ef f9858942
...@@ -34,13 +34,21 @@ ...@@ -34,13 +34,21 @@
<div class="flexOne domesticCommissiondetails"> <div class="flexOne domesticCommissiondetails">
<div style="min-height: 70px;"> <div style="min-height: 70px;">
<ul class="opUl"> <ul class="opUl">
<li>
<em>订单类型</em>
<el-select v-model="msg.OrderType" class="w200 HworkInput"
@change="handleCurrentChange(1)">
<el-option label="不限" :value="-1"></el-option>
<el-option v-for="item in OrderTypeList" :key="item.Id" :label="item.Name" :value="item.Id"></el-option>
</el-select>
</li>
<li> <li>
<em>订单号</em> <em>订单号</em>
<el-input maxlength="50" v-model="msg.OrderId" class="permiss-input w200" <el-input maxlength="50" v-model="msg.OrderId" class="permiss-input w200"
@keyup.native.enter="handleCurrentChange(1)" :placeholder="$t('pub.pleaseImport')"></el-input> @keyup.native.enter="handleCurrentChange(1)" :placeholder="$t('pub.pleaseImport')"></el-input>
</li> </li>
<li> <li>
<em>类型</em> <em>销售类型</em>
<el-select v-model="msg.EmpType" size="mini" @change="handleCurrentChange(1)" filterable> <el-select v-model="msg.EmpType" size="mini" @change="handleCurrentChange(1)" filterable>
<el-option v-for="(item,index) in titleList" :key="item.index" :label="item.name" <el-option v-for="(item,index) in titleList" :key="item.index" :label="item.name"
:value="item.id"></el-option> :value="item.id"></el-option>
...@@ -81,6 +89,14 @@ ...@@ -81,6 +89,14 @@
<th>岗位</th> <th>岗位</th>
<th>姓名</th> <th>姓名</th>
<th>订单号</th> <th>订单号</th>
<th>订单类型</th>
<th width="100">团号</th>
<th width="100">出团公司</th>
<th width="100">线路</th>
<th width="50">人数</th>
<th>团利润</th>
<th>提成方式</th>
<th>订单利润</th> <th>订单利润</th>
<th>应发</th> <th>应发</th>
<th>当期提成</th> <th>当期提成</th>
...@@ -101,6 +117,16 @@ ...@@ -101,6 +117,16 @@
<td>{{item.PostName?item.PostName:'-'}}</td> <td>{{item.PostName?item.PostName:'-'}}</td>
<td>{{item.EmName}}</td> <td>{{item.EmName}}</td>
<td><span class="cursor-p" @click="clickUrl(item,1)">{{item.OrderId}}</span></td> <td><span class="cursor-p" @click="clickUrl(item,1)">{{item.OrderId}}</span></td>
<td>{{item.OrderTypeName}}</td>
<td>{{item.TCNUM?item.TCNUM:'-'}}</td>
<td>{{item.OutBranchName?item.OutBranchName:'-'}}</td>
<td>{{item.LineName?item.LineName:'-'}}</td>
<td>{{item.PeopleNum?item.PeopleNum:'-'}}<template v-if="item.TCID>0">/{{item.TCGuestNum}}</template></td>
<td><template v-if="item.TCID>0">{{item.TCProfit?item.TCProfit:'-'}}</template>
<template v-else>-</template>
</td>
<td>{{item.Way==1?'销售额':'利润比'}}</td>
<td>{{item.OrderProfit}}</td> <td>{{item.OrderProfit}}</td>
<td>{{item.YCommission}}</td> <td>{{item.YCommission}}</td>
<td>{{item.Commission}}</td> <td>{{item.Commission}}</td>
...@@ -116,7 +142,7 @@ ...@@ -116,7 +142,7 @@
<td>{{item.Remark?item.Remark:'-'}}</td> <td>{{item.Remark?item.Remark:'-'}}</td>
</tr> </tr>
<tr v-if="dataList.length==0"> <tr v-if="dataList.length==0">
<td style="text-align:center" colspan="16">暂无数据</td> <td style="text-align:center" colspan="23">暂无数据</td>
</tr> </tr>
</table> </table>
<!-- 分页 --> <!-- 分页 -->
...@@ -143,6 +169,7 @@ ...@@ -143,6 +169,7 @@
}, },
data() { data() {
return { return {
OrderTypeList:[],
objNew:{}, objNew:{},
outerVisible:false, outerVisible:false,
Month: moment().format("YYYY-MM"), Month: moment().format("YYYY-MM"),
...@@ -152,7 +179,8 @@ ...@@ -152,7 +179,8 @@
EmpId: -1, EmpId: -1,
PeriodsId: -1, PeriodsId: -1,
EmpType: '-1', EmpType: '-1',
OrderId:'' OrderId:'',
OrderType: -1
}, },
loading: false, loading: false,
//数据源 //数据源
...@@ -174,7 +202,7 @@ ...@@ -174,7 +202,7 @@
}, },
mounted() { mounted() {
let userInfo = this.getLocalStorage(); let userInfo = this.getLocalStorage();
this.GetOrderTypeEnumList()
this.getEmployee() //人员 this.getEmployee() //人员
this.GetCommissionPeroidsList()//期数 this.GetCommissionPeroidsList()//期数
let ActionMenuCode = userInfo.ActionMenuCode; let ActionMenuCode = userInfo.ActionMenuCode;
...@@ -188,6 +216,15 @@ ...@@ -188,6 +216,15 @@
} }
}, },
methods: { methods: {
GetOrderTypeEnumList() {
this.apipost("CarSingle_post_GetOrderTypeEnumList", {}, (res) => {
if (res.data.resultCode == 1) {
this.OrderTypeList = res.data.data;
} else {
this.$message.error(res.data.message);
}
});
},
clickUrl(item,type){ clickUrl(item,type){
if(type==2){//线索 if(type==2){//线索
......
...@@ -672,12 +672,6 @@ ...@@ -672,12 +672,6 @@
}, },
}, },
mounted() { mounted() {
// crm自动登陆传过来的参数
if (this.$route.query.crmOrderObj) {
this.crmOrderObj = JSON.parse(this.$route.query.crmOrderObj)
this.addMsg.LureEmpId = this.crmOrderObj.LureEmpId //引流id
this.addMsg.CRMGuestId = this.crmOrderObj.CRMGuestId //客人ID
}
this.userInfo = this.getLocalStorage(); this.userInfo = this.getLocalStorage();
this.CurrentUserInfo = this.userInfo ; this.CurrentUserInfo = this.userInfo ;
this.userId = this.userInfo.EmployeeId; this.userId = this.userInfo.EmployeeId;
......
...@@ -19,14 +19,14 @@ ...@@ -19,14 +19,14 @@
<div class="left"> <div class="left">
<div class="image"> <div class="image">
<template v-if="day.details[0].fileType&&day.details[0].fileType=='.mp4'"> <template v-if="day.details[0].fileType&&day.details[0].fileType=='.mp4'">
<video ref="myVideo" width="100%" height="100%" :src="day.details[0].videoPath" controls="controls"> <video ref="myVideo" width="100%" height="100%" :src="day.details[0].videoPath" controls="controls">
</video> </video>
</template> </template>
<template v-else> <template v-else>
<img v-if="day.details[0].img!='' && day.details[0].scenicJson" <img v-if="day.details[0].img!='' && day.details[0].scenicJson"
:style="{'top':day.details[0].scenicJson.y+'px'}" :style="{'top':day.details[0].scenicJson.y+'px'}"
:src='compressImg(day.details[2].img, "filt", 663, "")' /> :src='compressImg(day.details[0].img, "filt", 663, "")' />
<img v-else :src='compressImg(day.details[2].img, "filt", 663, "")' /> <img v-else :src='compressImg(day.details[0].img, "filt", 663, "")' />
</template> </template>
</div> </div>
<table class="day_table"> <table class="day_table">
...@@ -37,8 +37,6 @@ ...@@ -37,8 +37,6 @@
</h4> </h4>
<div class="playInfo"> <div class="playInfo">
<span class="playInfo-item" v-if='day.details[0].ticketName!=""'> <span class="playInfo-item" v-if='day.details[0].ticketName!=""'>
<!--<i class="iconfont icon-menpiao"></i>-->
<!--{{day.details[0].ticketName}}-->
</span> </span>
<span class="playInfo-item" v-if='day.details[0].playTimeHour || day.details[0].playTimeMinutes'> <span class="playInfo-item" v-if='day.details[0].playTimeHour || day.details[0].playTimeMinutes'>
<i class="iconfont icon-shijian1"></i> <i class="iconfont icon-shijian1"></i>
...@@ -52,18 +50,15 @@ ...@@ -52,18 +50,15 @@
</td> </td>
</tr> </tr>
</table> </table>
</div> </div>
<div class="right"> <div class="right">
<div class="fiveday"> <div class="fiveday">
<div v-for="(item,i) in day.details" v-if="i>0&&i<5" :key="i"> <div v-for="(item,i) in day.details" v-if="i>0&&i<5" :key="i">
<div class="item item5"> <div class="item item5">
<div class="upFour"> <div class="upFour">
<!-- <img :style="{'top':item.scenicJson.y+'px'}" :src="$commonUtils.replaceHttps(item.img)+'?x-oss-process=image/resize,w_663,image/crop,g_west,w_663'" /> -->
<template v-if="item.fileType&&item.fileType=='.mp4'"> <template v-if="item.fileType&&item.fileType=='.mp4'">
<video ref="myVideo" width="100%" height="100%" :src="item.videoPath" controls="controls"> <video ref="myVideo" width="100%" height="100%" :src="item.videoPath" controls="controls">
</video> </video>
</template> </template>
<template v-else> <template v-else>
<img v-if="item.img!=''&& item.scenicJson" :style="{'top':item.scenicJson.y+'px'}" <img v-if="item.img!=''&& item.scenicJson" :style="{'top':item.scenicJson.y+'px'}"
...@@ -75,8 +70,6 @@ ...@@ -75,8 +70,6 @@
<h4 v-html="item.title" @click.stop="goUrl(item.url)" style="cursor: pointer"></h4> <h4 v-html="item.title" @click.stop="goUrl(item.url)" style="cursor: pointer"></h4>
<div class="playInfo"> <div class="playInfo">
<span class="playInfo-item" v-if='item.ticketName!=""'> <span class="playInfo-item" v-if='item.ticketName!=""'>
<!--<i class="iconfont icon-menpiao"></i>-->
<!--{{item.ticketName}}-->
</span> </span>
<span class="playInfo-item" v-if='item.playTimeHour || item.playTimeMinutes'> <span class="playInfo-item" v-if='item.playTimeHour || item.playTimeMinutes'>
<i class="iconfont icon-shijian1"></i> <i class="iconfont icon-shijian1"></i>
...@@ -123,7 +116,7 @@ ...@@ -123,7 +116,7 @@
</td> </td>
<td valign="middle" colspan="5" class="val" v-if='day.jiu2.length>0'> <td valign="middle" colspan="5" class="val" v-if='day.jiu2.length>0'>
<span v-for="(t,k) in day.jiu2" @click.stop="goUrl(t.url)" style="cursor: pointer" :key="k"> <span v-for="(t,k) in day.jiu2" @click.stop="goUrl(t.url)" style="cursor: pointer" :key="k">
{{k==day.jiu2.length-1? (t.newTitle!=''&& t.newTitle!=t.name?t.newTitle:t.name) : (t.newTitle!=''&& t.newTitle!=t.name?t.newTitle:t.name)+' / ' }} {{k==day.jiu2.length-1? (t.newTitle!=''&& t.newTitle!=t.name?t.newTitle:t.name) : (t.newTitle!=''&& t.newTitle!=t.name?t.newTitle:t.name)+' / ' }}
</span> </span>
{{getHotelSuffix()}} {{getHotelSuffix()}}
</td> </td>
...@@ -140,21 +133,21 @@ ...@@ -140,21 +133,21 @@
isDirect: {}, isDirect: {},
title: {}, title: {},
dayNum: {}, dayNum: {},
showTime: {}, showTime: {},
}, },
data() { data() {
return { return {
isshowtime: true, isshowtime: true,
} }
}, },
watch: { watch: {
showTime: { showTime: {
handler: function (v, ov) { handler: function (v, ov) {
this.isshowtime = v; this.isshowtime = v;
},
deep: true,
}, },
deep: true,
}, },
},
methods: { methods: {
getHotelSuffix() { getHotelSuffix() {
let suffix = ""; let suffix = "";
......
<template> <template>
<el-table border ref="multipleTable" :data="OrderList" style="width: 100%" <el-table border ref="multipleTable" :data="OrderList" style="width: 100%"
:default-sort="{prop: 'Money', order: 'null'}" :default-sort="{prop: 'null', order: 'null'}"
:sort-by="['Money','Income','PreferTipAmount','PlatformTax','Refund','CostMoney','DueInMoney']"> :sort-by="['Money','Income','PreferTipAmount','PlatformTax','Refund','CostMoney','DueInMoney']">
<el-table-column width="200" prop="CreateTimeStr" label="订单Id" show-overflow-tooltip> <el-table-column width="200" prop="CreateTimeStr" label="订单Id" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
......
...@@ -1379,7 +1379,7 @@ ...@@ -1379,7 +1379,7 @@
}, },
//计算少价金额 //计算少价金额
getTypePrice() { getTypePrice() {
if (this.pagesTitle == '当地游产品') { if (this.addMsg.CustomerType<3) {
this.addMsg.ContactName = '' this.addMsg.ContactName = ''
this.addMsg.ContactMobile = '' this.addMsg.ContactMobile = ''
} }
......
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