Commit e86b01b8 authored by 华国豪's avatar 华国豪 🙄
parents 3cee2c0f 6c4f6b9b
...@@ -1117,6 +1117,15 @@ export default { ...@@ -1117,6 +1117,15 @@ export default {
columnAlign: "left", columnAlign: "left",
isResize: true isResize: true
}, },
{
field: "UnionExtraMoney",
formatter: this.moneyFormat,
title: "额外返佣",
width: 90,
titleAlign: "left",
columnAlign: "left",
isResize: true
},
{ {
field: "UnionTiCheng", field: "UnionTiCheng",
formatter: this.moneyFormat, formatter: this.moneyFormat,
...@@ -1547,6 +1556,9 @@ export default { ...@@ -1547,6 +1556,9 @@ export default {
if (field === "ShiJiLiRun") return this.priceFormat(rowData.ShiJiLiRun); if (field === "ShiJiLiRun") return this.priceFormat(rowData.ShiJiLiRun);
if (field === "TransportCost") if (field === "TransportCost")
return this.priceFormat(rowData.TransportCost); return this.priceFormat(rowData.TransportCost);
if(field === "UnionExtraMoney"){
return this.priceFormat(rowData.UnionExtraMoney);
}
if (field === "UnionTiCheng") if (field === "UnionTiCheng")
return this.priceFormat(rowData.UnionTiCheng); return this.priceFormat(rowData.UnionTiCheng);
if (field === "YingYeE") return this.priceFormat(rowData.YingYeE); if (field === "YingYeE") return this.priceFormat(rowData.YingYeE);
......
...@@ -1457,6 +1457,15 @@ export default { ...@@ -1457,6 +1457,15 @@ export default {
columnAlign: "right", columnAlign: "right",
isResize: true isResize: true
}, },
{
field: "UnionExtraMoney",
formatter: this.moneyFormat,
title: "额外返佣",
width: 90,
titleAlign: "left",
columnAlign: "right",
isResize: true
},
{ {
field: "UnionTiCheng", field: "UnionTiCheng",
formatter: this.moneyFormat, formatter: this.moneyFormat,
...@@ -1999,6 +2008,8 @@ export default { ...@@ -1999,6 +2008,8 @@ export default {
if (field === "ShiJiLiRun") return this.priceFormat(rowData.ShiJiLiRun); if (field === "ShiJiLiRun") return this.priceFormat(rowData.ShiJiLiRun);
if (field === "TransportCost") if (field === "TransportCost")
return this.priceFormat(rowData.TransportCost); return this.priceFormat(rowData.TransportCost);
if(field === "UnionExtraMoney")
return this.priceFormat(rowData.UnionExtraMoney);
if (field === "UnionTiCheng") if (field === "UnionTiCheng")
return this.priceFormat(rowData.UnionTiCheng); return this.priceFormat(rowData.UnionTiCheng);
if (field === "YingYeE") return this.priceFormat(rowData.YingYeE); if (field === "YingYeE") return this.priceFormat(rowData.YingYeE);
...@@ -2158,6 +2169,9 @@ export default { ...@@ -2158,6 +2169,9 @@ export default {
} }
if(rowData.TransportCost < 0 && columnName=="TransportCost"){ if(rowData.TransportCost < 0 && columnName=="TransportCost"){
return "column-cell-class-name-test-red" return "column-cell-class-name-test-red"
}
if(rowData.UnionExtraMoney<0 && columnName=="UnionExtraMoney"){
return "column-cell-class-name-test-red"
} }
if(rowData.UnionTiCheng < 0 && columnName=="UnionTiCheng"){ if(rowData.UnionTiCheng < 0 && columnName=="UnionTiCheng"){
return "column-cell-class-name-test-red" return "column-cell-class-name-test-red"
......
...@@ -232,7 +232,7 @@ export default { ...@@ -232,7 +232,7 @@ export default {
this.msg.Date = this.$route.query.sDate; this.msg.Date = this.$route.query.sDate;
this.msg.CheckOutDate = this.$route.query.eData; this.msg.CheckOutDate = this.$route.query.eData;
} }
this.apipost('hotel_post_GetAll',{hotelID:this.msg.Hotel},res=>{ this.apipost('hotel_post_GetAll',{ID:this.msg.Hotel},res=>{
if(res.data.resultCode==1){ if(res.data.resultCode==1){
this.HotelName = res.data.data.Name this.HotelName = res.data.data.Name
} }
......
...@@ -27,7 +27,8 @@ ...@@ -27,7 +27,8 @@
</li> </li>
</ul> </ul>
税别计算: 单价 * (预订人数-免减人数) * (1 + 0.08 - 返佣比例 / 100) <br/> 税别计算: 单价 * (预订人数-免减人数) * (1 + 0.08 - 返佣比例 / 100) <br/>
税入计算: 单价 * (预订人数-免减人数) * (1 - 返佣比例 / 100) 税入计算: 单价 * (预订人数-免减人数) * (1 - 返佣比例 / 100) <br/>
司导间【月结】不计入总金额
</div> </div>
<div style="width: 100%; overflow-x: auto;padding-bottom: 10px; " :style="{height: boxHeight + 'px'}" <div style="width: 100%; overflow-x: auto;padding-bottom: 10px; " :style="{height: boxHeight + 'px'}"
class="ownScrollbarStyle" ref="ownScrollbarStyle"> class="ownScrollbarStyle" ref="ownScrollbarStyle">
...@@ -325,7 +326,7 @@ ...@@ -325,7 +326,7 @@
<tr> <tr>
<td width="70" style="text-align:right;color:red">付款方式:</td> <td width="70" style="text-align:right;color:red">付款方式:</td>
<td> <td>
<el-select class='w135 sel' v-model='subItem.DMCPayType' :placeholder="$t('pub.pleaseSel')" <el-select class='w135 sel' v-model='subItem.PayStyle' :placeholder="$t('pub.pleaseSel')"
:disabled="IsEditHotel==0?true:false"> :disabled="IsEditHotel==0?true:false">
<el-option label='请选择' :value='0'></el-option> <el-option label='请选择' :value='0'></el-option>
<el-option label='现付' :value='1'></el-option> <el-option label='现付' :value='1'></el-option>
...@@ -336,20 +337,21 @@ ...@@ -336,20 +337,21 @@
</el-select> </el-select>
</td> </td>
</tr> </tr>
<tr style="display:none;"> <tr>
<td colspan="2" style="height:5px;"></td> <td colspan="2" style="height:5px;"></td>
</tr> </tr>
<tr style="display:none;"> <tr>
<td width="70" style="text-align:right;">报账付款方式:</td> <td width="70" style="text-align:right;">司导房付款方式:</td>
<td> <td>
<el-select class='w135 sel' v-model='subItem.PayStyle' :placeholder="$t('pub.pleaseSel')" <el-select class='w135 sel' v-model='subItem.DMCPayType' :placeholder="$t('pub.pleaseSel')"
:disabled="IsEditHotel==0?true:false"> :disabled="IsEditHotel==0?true:false" @change="calculationPrice(subItem)">
<el-option label='请选择' :value='0'></el-option> <el-option label='请选择' :value='0'></el-option>
<el-option label='现付' :value='1' v-if="subItem.PayStyleExt==1"></el-option> <el-option label='月结' :value='9' ></el-option>
<el-option label='签单' :value='2' v-if="subItem.PayStyleExt==2"></el-option> <el-option label='现付' :value='1' ></el-option>
<el-option label='实物抵扣' :value='3' v-if="subItem.PayStyleExt==3"></el-option> <el-option label='签单' :value='2'></el-option>
<el-option label='预付' :value='4' v-if="subItem.PayStyleExt==4"></el-option> <el-option label='实物抵扣' :value='3' ></el-option>
<el-option label='预付款抵扣' :value='5' v-if="subItem.PayStyleExt==5"></el-option> <el-option label='预付' :value='4'></el-option>
<el-option label='预付款抵扣' :value='5' ></el-option>
<el-option label='公司合团支付' :value='6'></el-option> <el-option label='公司合团支付' :value='6'></el-option>
</el-select> </el-select>
</td> </td>
...@@ -717,11 +719,19 @@ ...@@ -717,11 +719,19 @@
let totalPrice = 0; let totalPrice = 0;
obj.OrderDetailsList.forEach((item, index) => { obj.OrderDetailsList.forEach((item, index) => {
var tempPrice=0; var tempPrice=0;
//税别 && item.RebateRatio>0 var coefficient=1;
if (obj.TaxType == 2 ) { //税别
tempPrice= item.UnitPrice * (item.BookNum - item.HotelDiscount) * (1 + 0.08 - item.RebateRatio / 100); if(obj.TaxType == 2)
} else { {
tempPrice= item.UnitPrice * (item.BookNum - item.HotelDiscount) * (1 - item.RebateRatio / 100); coefficient=1+0.08;
}
if(index==4 && obj.DMCPayType==9)
{
tempPrice=0;
}
else
{
tempPrice= item.UnitPrice * (item.BookNum - item.HotelDiscount) * (coefficient - item.RebateRatio / 100);
} }
totalPrice+=tempPrice; totalPrice+=tempPrice;
}) })
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
<td>{{item.LeaderName}}</td> <td>{{item.LeaderName}}</td>
<td>{{item.GuideName}}</td> <td>{{item.GuideName}}</td>
<td> <td>
<el-popover width="900" trigger="click" popper-class="DMC_HotelPop"> <el-popover width="1000" trigger="click" popper-class="DMC_HotelPop">
<commonHotelInfo :HotelObj="item.CommonReport.PriceHotelResult" :showHotelObj="showHotelObj" <commonHotelInfo :HotelObj="item.CommonReport.PriceHotelResult" :showHotelObj="showHotelObj"
:TCID="item.TCIDS" :DMCNum="NewCombinationNum" :TCNUM="item.TCNUMS"></commonHotelInfo> :TCID="item.TCIDS" :DMCNum="NewCombinationNum" :TCNUM="item.TCNUMS"></commonHotelInfo>
<span slot="reference" class="price" style="cursor:pointer;text-decoration:underline;">酒店信息</span> <span slot="reference" class="price" style="cursor:pointer;text-decoration:underline;">酒店信息</span>
...@@ -132,17 +132,19 @@ ...@@ -132,17 +132,19 @@
</table> </table>
<table class="leaderReimbursementTable" border="0" cellspacing="1" cellpadding="0"> <table class="leaderReimbursementTable" border="0" cellspacing="1" cellpadding="0">
<tr> <tr>
<th colspan="22" class="bgwhite">酒店使用 </th> <th colspan="24" class="bgwhite">酒店使用 </th>
</tr> </tr>
<tr> <tr>
<th colspan="22" class="bgwhite"> <th colspan="24" class="bgwhite">
税别计算: 单价 * (预订人数-免减人数) * (1 + 0.08 - 返佣比例 / 100) <br /> 税别计算: 单价 * (预订人数-免减人数) * (1 + 0.08 - 返佣比例 / 100) <br />
税入计算: 单价 * (预订人数-免减人数) * (1 - 返佣比例 / 100) 税入计算: 单价 * (预订人数-免减人数) * (1 - 返佣比例 / 100)<br />
司导间【月结】不计入总金额
</th> </th>
</tr> </tr>
<tr class="title"> <tr class="title">
<th width="90">使用时间</th> <th width="90">使用时间</th>
<th width="150">酒店名称</th> <th width="150">酒店名称</th>
<th width="150">更换酒店</th>
<th width="70">占床<br />不占床</th> <th width="70">占床<br />不占床</th>
<th width="70">实际<br />用房数</th> <th width="70">实际<br />用房数</th>
<th width="70">房间<br />类型</th> <th width="70">房间<br />类型</th>
...@@ -160,6 +162,7 @@ ...@@ -160,6 +162,7 @@
<th width="60">税入<br />税别</th> <th width="60">税入<br />税别</th>
<th width="60">总金额</th> <th width="60">总金额</th>
<th width="60">付款<br />方式</th> <th width="60">付款<br />方式</th>
<th width="60">司导间<br />付款方式</th>
<th width="100">供应商</th> <th width="100">供应商</th>
<th width="100">状态</th> <th width="100">状态</th>
<th width="100">备注</th> <th width="100">备注</th>
...@@ -170,10 +173,16 @@ ...@@ -170,10 +173,16 @@
<td v-if="childIndex==0&&subIndex==0" :rowspan="6*outItem.HotelOrderList.length" <td v-if="childIndex==0&&subIndex==0" :rowspan="6*outItem.HotelOrderList.length"
style="white-space:nowrap; ">{{outItem.UseTimeStr}} style="white-space:nowrap; ">{{outItem.UseTimeStr}}
</td> </td>
<td v-if="childIndex==0" :rowspan="6" style="text-align:left; ">{{subItem.HotelName}} <td v-if="childIndex==0" :rowspan="6" style="text-align:left; ">
<p class="cursorpointer" style="margin-top:5px;color: blue;"> <template v-if="subItem.HotelName!=subItem.NewHotelName && subItem.NewHotelName!=''">
<a v-if="subItem.ContractUrl" target="_blank" :href="subItem.ContractUrl">手配书</a> <span style="text-decoration:line-through"> {{subItem.HotelName}}</span>
</p> </template>
<template v-else>
{{subItem.HotelName}}
</template>
</td>
<td v-if="childIndex==0" :rowspan="6" style="text-align:left;color:red; ">
{{subItem.HotelName!=subItem.NewHotelName?""+subItem.NewHotelName:""}}
</td> </td>
<td v-if="childIndex==0" :rowspan="6"> <td v-if="childIndex==0" :rowspan="6">
{{subItem.HouseStatistics.NeedBed}}/{{subItem.HouseStatistics.NoNeedBed}} {{subItem.HouseStatistics.NeedBed}}/{{subItem.HouseStatistics.NoNeedBed}}
...@@ -281,6 +290,16 @@ ...@@ -281,6 +290,16 @@
<span v-else></span> <span v-else></span>
</br> </br>
<span v-show="subItem.PayStyle==6">付款团号:{{subItem.PayTypeTCNUM}}</span> <span v-show="subItem.PayStyle==6">付款团号:{{subItem.PayTypeTCNUM}}</span>
</td>
<td v-if="childIndex==0" :rowspan="6">
<span v-if="subItem.DMCPayType === 1">现付</span>
<span v-else-if="subItem.DMCPayType === 2">签单</span>
<span v-else-if="subItem.DMCPayType === 4">预付</span>
<span v-else-if="subItem.DMCPayType === 5">实物抵扣</span>
<span v-else-if="subItem.DMCPayType === 6">公司合团支付</span>
<span v-else-if="subItem.DMCPayType === 9">月结</span>
</br>
<span v-show="subItem.DMCPayType==6">付款团号:{{subItem.PayTypeTCNUM}}</span>
</td> </td>
<td v-if="childIndex==0" :rowspan="6"> <td v-if="childIndex==0" :rowspan="6">
<span>{{subItem.SupplierName}} <span v-if="subItem.SupplierPayType !== 0" <span>{{subItem.SupplierName}} <span v-if="subItem.SupplierPayType !== 0"
...@@ -305,14 +324,14 @@ ...@@ -305,14 +324,14 @@
</template> </template>
<tr v-if="TotalNav.reimburseTotalPrice"> <tr v-if="TotalNav.reimburseTotalPrice">
<td>总金额</td> <td>总金额</td>
<td colspan="21"> <td colspan="23">
{{moneyFormat(TotalNav.reimburseTotalPrice.ExpendTotalPrice)}} {{moneyFormat(TotalNav.reimburseTotalPrice.ExpendTotalPrice)}}
</td> </td>
</tr> </tr>
</table> </table>
<table class="leaderReimbursementTable" border="0" cellspacing="1" cellpadding="0"> <table class="leaderReimbursementTable" border="0" cellspacing="1" cellpadding="0">
<tr> <tr>
<th colspan="11" class="bgwhite">餐食使用</th> <th colspan="12" class="bgwhite">餐食使用</th>
</tr> </tr>
<tr class="title"> <tr class="title">
<th width="100">使用时间</th> <th width="100">使用时间</th>
...@@ -560,13 +579,15 @@ ...@@ -560,13 +579,15 @@
LeaderGetPrice: 0, LeaderGetPrice: 0,
HangingList: [], HangingList: [],
showHotelObj: { showHotelObj: {
showPrice: true, showPrice: true,//是否显示价格
showPay: true, showPay: true,//是否显示支付方式
showZhan: true, showZhan: true,//占房时间
showBtnList: false, showBtnList: false,//是否下载、确认按钮
showCaozuoTime: true,
ShowTaxType: true, //显示税入税别 ShowTaxType: true, //显示税入税别
ShowRebateRatio: true, //显示返佣比列 ShowRebateRatio: true, //显示返佣比列
ShowSupplier:true,//是否显示供应商
showCaozuoTime:true,//操作时间
colspanLength:6//跨行
}, },
} }
}, },
...@@ -733,16 +754,22 @@ ...@@ -733,16 +754,22 @@
hotelTotalPrice(obj) { hotelTotalPrice(obj) {
let totalPrice = 0; let totalPrice = 0;
obj.OrderDetailsList.forEach((item, index) => { obj.OrderDetailsList.forEach((item, index) => {
if (obj.PayStyle === 1) { var coefficient = 1;
//税别 && item.RebateRatio>0 //税别
if (obj.TaxType == 2) { if (obj.TaxType == 2) {
totalPrice += item.UnitPrice * (item.BookNum - item.HotelDiscount) * (1 + 0.08 - item.RebateRatio / 100); coefficient = 1 + 0.08;
//税入 }
} else { if (obj.PayStyle === 1) {
totalPrice += item.UnitPrice * (item.BookNum - item.HotelDiscount) * (1 - item.RebateRatio / 100); if (index == 4 && obj.DMCPayType == 9) {
totalPrice += 0;
}
else
{
totalPrice += item.UnitPrice * (item.BookNum - item.HotelDiscount) * (coefficient - item.RebateRatio /
100);
} }
} else { } else {
totalPrice += 0 totalPrice += 0;
} }
}) })
totalPrice += obj.ParkFee + obj.CityTax + obj.InTangTax; totalPrice += obj.ParkFee + obj.CityTax + obj.InTangTax;
......
...@@ -35,6 +35,20 @@ ...@@ -35,6 +35,20 @@
</span> </span>
<el-input v-model="msg.CustomerName" placeholder="请输入门店名称或电话"></el-input> <el-input v-model="msg.CustomerName" placeholder="请输入门店名称或电话"></el-input>
</li> </li>
<li>
<span>
<em>所属品牌</em>
</span>
<el-select filterable class='multiple_input' v-model='msg.Brand' :placeholder="$t('pub.pleaseSel')">
<el-option label="不限" :value="-1"></el-option>
<el-option v-for='item in CustomerBrandList'
:label='item.name'
:value='item.id'
:key='item.id'>
</el-option>
</el-select>
</li>
<li style="float:right;padding-top:10px;color:#111111">交易额总计:{{datainfo.sumMoney}}</li>
<li> <li>
<input <input
type="button" type="button"
...@@ -93,17 +107,18 @@ ...@@ -93,17 +107,18 @@
<th width="15%">门店名称 <th width="15%">门店名称
<!--<label><input type="checkbox" v-model="isCkedAll" @click='checkedAll()' style="vertical-align: middle;"/>门店名称</label>--> <!--<label><input type="checkbox" v-model="isCkedAll" @click='checkedAll()' style="vertical-align: middle;"/>门店名称</label>-->
</th> </th>
<th width="10%">联系人</th> <th width="7%">联系人</th>
<th width="10%">联系电话</th> <th width="10%">联系电话</th>
<th width="20%">地址</th> <th width="20%">地址</th>
<th width="8%">所属销售</th> <th width="8%">所属销售</th>
<th width="8%">客户状态</th> <th width="8%">客户状态</th>
<th width="5%">交易额</th>
<th width="5%">幸福存折</th> <th width="5%">幸福存折</th>
<th width="10%">备注</th> <th width="10%">备注</th>
<th width="12%">操作</th> <th width="14%">操作</th>
</tr> </tr>
<tr> <tr>
<td colspan="8" align="center" v-show="list.length==0">暂无数据</td> <td colspan="10" align="center" v-show="list.length==0">暂无数据</td>
</tr> </tr>
<tr v-for="(item,index) in list"> <tr v-for="(item,index) in list">
<td> <td>
...@@ -127,6 +142,7 @@ ...@@ -127,6 +142,7 @@
<td>{{item.Address}}</td> <td>{{item.Address}}</td>
<td>{{item.EmName}}</td> <td>{{item.EmName}}</td>
<td>{{valueToWord(item.CustomerStatus)}}</td> <td>{{valueToWord(item.CustomerStatus)}}</td>
<td>{{item.TotalPrice}}</td>
<td>{{item.CL_Balance}}</td> <td>{{item.CL_Balance}}</td>
<td>{{item.Remark}}</td> <td>{{item.Remark}}</td>
...@@ -453,6 +469,8 @@ export default { ...@@ -453,6 +469,8 @@ export default {
children: node.ChildList children: node.ChildList
}; };
}, },
datainfo:{},
CustomerBrandList:[],
DepartmentId: null, DepartmentId: null,
isSelLayer: false, isSelLayer: false,
layerShow: false, layerShow: false,
...@@ -461,7 +479,8 @@ export default { ...@@ -461,7 +479,8 @@ export default {
pageSize: 15, pageSize: 15,
CustomerName: "", CustomerName: "",
CreateBy: "-1", CreateBy: "-1",
DepartmentId: "-1" DepartmentId: "-1",
Brand:-1,
}, },
RecipientMsg: { RecipientMsg: {
CustomerIdArr: [], CustomerIdArr: [],
...@@ -522,7 +541,6 @@ export default { ...@@ -522,7 +541,6 @@ export default {
HousePhotos: "", HousePhotos: "",
Images: "", Images: "",
isOldPerson: false, isOldPerson: false,
CustomerBrandList: [],
provinceList: [], provinceList: [],
cityList: [], cityList: [],
regionList: [], regionList: [],
...@@ -572,6 +590,15 @@ export default { ...@@ -572,6 +590,15 @@ export default {
}; };
}, },
methods: { methods: {
getCustomerBrandList(){ // 获取品牌
this.apipost('app_get_customer_brand',{},res=>{
if(res.data.resultCode==1){
this.CustomerBrandList = res.data.data;
}else{
this.$message.error(res.data.message)
}
},err=>{})
},
getUrl(item){ getUrl(item){
this.$router.push({ name:"CustomerAnalysis",query:{"customerId":item.CustomerIdS,blank: 'y'} }) this.$router.push({ name:"CustomerAnalysis",query:{"customerId":item.CustomerIdS,blank: 'y'} })
}, },
...@@ -959,9 +986,9 @@ export default { ...@@ -959,9 +986,9 @@ export default {
res => { res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.loading = false; this.loading = false;
this.allLength = res.data.data.pageData.length; this.allLength = res.data.data.pages.pageData.length;
this.customerListAll = []; this.customerListAll = [];
res.data.data.pageData.forEach(item => { res.data.data.pages.pageData.forEach(item => {
this.customerListAll.push(item.CustomerId); this.customerListAll.push(item.CustomerId);
item.CustomerIdS = item.CustomerId; item.CustomerIdS = item.CustomerId;
item.CustomerId = item.CustomerId =
...@@ -973,8 +1000,9 @@ export default { ...@@ -973,8 +1000,9 @@ export default {
item["disabled"] = false; item["disabled"] = false;
item.Address = item.Address.split(",").join(""); item.Address = item.Address.split(",").join("");
}); });
this.list = res.data.data.pageData; this.datainfo=res.data.data;
this.total = res.data.data.count; this.list = res.data.data.pages.pageData;
this.total = res.data.data.pages.count;
} else { } else {
this.$message.error(res.data.message); this.$message.error(res.data.message);
this.loading = false; this.loading = false;
...@@ -1055,7 +1083,7 @@ export default { ...@@ -1055,7 +1083,7 @@ export default {
ContactNumber: "", ContactNumber: "",
Address: "", Address: "",
remark: "", remark: "",
brandIds: [] Brand: []
}; };
(this.BusinessCardPhotos = ""), (this.BusinessCardPhotos = ""),
(this.HousePhotos = ""), (this.HousePhotos = ""),
...@@ -1149,6 +1177,7 @@ export default { ...@@ -1149,6 +1177,7 @@ export default {
this.getJycs(); this.getJycs();
this.getZw(); this.getZw();
this.getKhly(); this.getKhly();
this.getCustomerBrandList();
} }
}; };
</script> </script>
......
...@@ -168,7 +168,7 @@ ...@@ -168,7 +168,7 @@
<div style="clear: both; width: 100%;height: 20px;"></div> <div style="clear: both; width: 100%;height: 20px;"></div>
<table class="enrollTotalSearchTable" border="0" cellspacing="0" cellpadding="0" v-loading='loading'> <table class="enrollTotalSearchTable" border="0" cellspacing="0" cellpadding="0" v-loading='loading'>
<tr> <tr>
<th width="130">单号&团号</th> <th width="160">单号&团号</th>
<th width="60">客户信息</th> <th width="60">客户信息</th>
<th width="70">类型</th> <th width="70">类型</th>
<th width="180">系列&线路</th> <th width="180">系列&线路</th>
...@@ -218,6 +218,9 @@ ...@@ -218,6 +218,9 @@
<p v-if="item.extraRewardMoney>0">额外奖励金额:{{item.extraRewardMoney}}</p> <p v-if="item.extraRewardMoney>0">额外奖励金额:{{item.extraRewardMoney}}</p>
<p v-if="item.extraDeductMoney>0">额外扣除金额:{{item.extraDeductMoney}}</p> <p v-if="item.extraDeductMoney>0">额外扣除金额:{{item.extraDeductMoney}}</p>
</div> </div>
<div style="color:red">
<p v-if="item.unionExtraMoney!=0">联运额外返佣:{{item.unionExtraMoney}}</p>
</div>
</div> </div>
</td> </td>
<td> <td>
......
...@@ -1541,6 +1541,9 @@ ...@@ -1541,6 +1541,9 @@
<p v-if="item.extraRewardMoney>0">额外奖励金额:{{item.extraRewardMoney}}</p> <p v-if="item.extraRewardMoney>0">额外奖励金额:{{item.extraRewardMoney}}</p>
<p v-if="item.extraDeductMoney>0">额外扣除金额:{{item.extraDeductMoney}}</p> <p v-if="item.extraDeductMoney>0">额外扣除金额:{{item.extraDeductMoney}}</p>
</div> </div>
<div style="color:red">
<p v-if="item.unionExtraMoney!=0">联运额外返佣:{{item.unionExtraMoney}}</p>
</div>
</div> </div>
</td> </td>
<td> <td>
......
...@@ -1680,6 +1680,9 @@ ...@@ -1680,6 +1680,9 @@
<p v-if="item.extraRewardMoney>0">额外奖励金额:{{item.extraRewardMoney}}</p> <p v-if="item.extraRewardMoney>0">额外奖励金额:{{item.extraRewardMoney}}</p>
<p v-if="item.extraDeductMoney>0">额外扣除金额:{{item.extraDeductMoney}}</p> <p v-if="item.extraDeductMoney>0">额外扣除金额:{{item.extraDeductMoney}}</p>
</div> </div>
<div style="color:red">
<p v-if="item.unionExtraMoney!=0">联运额外返佣:{{item.unionExtraMoney}}</p>
</div>
</div> </div>
</td> </td>
<td> <td>
......
...@@ -88,11 +88,11 @@ ...@@ -88,11 +88,11 @@
<tbody v-for="(item,index) in dataList"> <tbody v-for="(item,index) in dataList">
<tr> <tr>
<td style="border-bottom:2px solid #333" rowspan="2">{{item.ThirdOrderNo}}</td> <td style="border-bottom:2px solid #333" rowspan="2">{{item.ThirdOrderNo}}</td>
<td>{{item.Number}}</td>
<td> <td>
<div>{{item.CustomerName}}</div> <div>{{item.CustomerName}}</div>
<div>{{item.CustomerPhone}}</div> <div>{{item.CustomerPhone}}</div>
</td> </td>
<td>{{item.Number}}</td>
<td>{{item.TotalPrice}}</td> <td>{{item.TotalPrice}}</td>
<td>{{item.Income}}</td> <td>{{item.Income}}</td>
<td>{{item.RedEnvelopeMoney}}</td> <td>{{item.RedEnvelopeMoney}}</td>
...@@ -190,7 +190,6 @@ export default { ...@@ -190,7 +190,6 @@ export default {
res => { res => {
this.loading = false; this.loading = false;
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
console.log(res,'resssss');
this.dataList = res.data.data.pageData; this.dataList = res.data.data.pageData;
this.total = res.data.data.count; this.total = res.data.data.count;
} else { } else {
......
...@@ -88,11 +88,11 @@ ...@@ -88,11 +88,11 @@
<tbody v-for="(item,index) in dataList"> <tbody v-for="(item,index) in dataList">
<tr> <tr>
<td style="border-bottom:2px solid #333" rowspan="2">{{item.ThirdOrderNo}}</td> <td style="border-bottom:2px solid #333" rowspan="2">{{item.ThirdOrderNo}}</td>
<td>{{item.Number}}</td>
<td> <td>
<div>{{item.CustomerName}}</div> <div>{{item.CustomerName}}</div>
<div>{{item.CustomerPhone}}</div> <div>{{item.CustomerPhone}}</div>
</td> </td>
<td>{{item.Number}}</td>
<td>{{item.TotalPrice}}</td> <td>{{item.TotalPrice}}</td>
<td>{{item.Income}}</td> <td>{{item.Income}}</td>
<td>{{item.RedEnvelopeMoney}}</td> <td>{{item.RedEnvelopeMoney}}</td>
...@@ -190,7 +190,6 @@ export default { ...@@ -190,7 +190,6 @@ export default {
res => { res => {
this.loading = false; this.loading = false;
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
console.log(res,'resssss');
this.dataList = res.data.data.pageData; this.dataList = res.data.data.pageData;
this.total = res.data.data.count; this.total = res.data.data.count;
} else { } else {
......
...@@ -1814,6 +1814,9 @@ ...@@ -1814,6 +1814,9 @@
<p v-if="childItem.ExtraRewardMoney>0">额外奖励金额:{{childItem.ExtraRewardMoney}}</p> <p v-if="childItem.ExtraRewardMoney>0">额外奖励金额:{{childItem.ExtraRewardMoney}}</p>
<p v-if="childItem.ExtraDeductMoney>0">额外扣除金额:{{childItem.ExtraDeductMoney}}</p> <p v-if="childItem.ExtraDeductMoney>0">额外扣除金额:{{childItem.ExtraDeductMoney}}</p>
</div> </div>
<div style="color:red">
<p v-if="childItem.UnionExtraMoney!=0">联运额外返佣:{{childItem.UnionExtraMoney}}</p>
</div>
</div> </div>
</td> </td>
...@@ -2560,7 +2563,10 @@ ...@@ -2560,7 +2563,10 @@
<!--zhaunMsg.TCNUM--> <!--zhaunMsg.TCNUM-->
<el-form label-width="110px"> <el-form label-width="110px">
<el-form-item label="是否返佣:" class="w280"> <el-form-item label="是否返佣:" class="w280">
<el-switch v-model="IsBackStatus" :active-value="0" :inactive-value="1"></el-switch> <el-switch v-model="fanyongMsg.IsBackStatus" :active-value="0" :inactive-value="1"></el-switch>
</el-form-item>
<el-form-item label="额外返佣金额:" class="w280">
<el-input :rows="2" v-model="fanyongMsg.UnionExtraMoney" @keyup.native="checkPrice(fanyongMsg,'UnionExtraMoney',true)"></el-input>
</el-form-item> </el-form-item>
</el-form> </el-form>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
...@@ -2760,6 +2766,13 @@ ...@@ -2760,6 +2766,13 @@
PeopleNum: 0, PeopleNum: 0,
LossMoney: 0, LossMoney: 0,
}, },
//联运返佣msg
fanyongMsg:{
IsBackStatus:'',
UnionExtraMoney:'',
OrderId:0
},
FyongLoading: false,
pickerOptions0: { pickerOptions0: {
disabledDate: time => { disabledDate: time => {
let starTime = new Date(this.starTime); let starTime = new Date(this.starTime);
...@@ -2882,7 +2895,6 @@ ...@@ -2882,7 +2895,6 @@
CreateBy: 0, CreateBy: 0,
RefuseVisaNum: 0, //拒签人数 RefuseVisaNum: 0, //拒签人数
}, },
lianyunFYId: 0,
//行程下载使用 //行程下载使用
travelControlTripLayerShow: false, travelControlTripLayerShow: false,
tripObj: { tripObj: {
...@@ -2955,7 +2967,6 @@ ...@@ -2955,7 +2967,6 @@
message: "请选择客户门店", message: "请选择客户门店",
trigger: "change" trigger: "change"
}], }],
FyongLoading: false,
// DepartureCityId: [ // DepartureCityId: [
// { required: true, message: "请选择出发城市", trigger: "change" } // { required: true, message: "请选择出发城市", trigger: "change" }
// ], // ],
...@@ -3146,7 +3157,6 @@ ...@@ -3146,7 +3157,6 @@
OrderUnitPrice: 0 OrderUnitPrice: 0
}, },
SuperiorPeople: [], SuperiorPeople: [],
IsBackStatus: 1,
Unit_Price: 0 Unit_Price: 0
}; };
}, },
...@@ -3195,11 +3205,11 @@ ...@@ -3195,11 +3205,11 @@
}) })
}, },
FyongLossOk: function () { FyongLossOk: function () {
let msg = { if(this.fanyongMsg.UnionExtraMoney==""){
OrderId: this.lianyunFYId, this.Error('请输入额外返佣金额');
IsBackStatus: this.IsBackStatus return;
} }
this.apipost('sellorder_post_SetOrderUnionBackMoney', msg, res => { this.apipost('sellorder_post_SetOrderUnionBackMoney', this.fanyongMsg, res => {
if (res.data.resultCode === 1) { if (res.data.resultCode === 1) {
this.$message.success(res.data.message) this.$message.success(res.data.message)
this.getList() this.getList()
...@@ -3211,8 +3221,9 @@ ...@@ -3211,8 +3221,9 @@
}, },
lianyunFY: function (item) { lianyunFY: function (item) {
this.FyongLoading = true this.FyongLoading = true
this.IsBackStatus = item.IsBackUnionMoney this.fanyongMsg.IsBackStatus = item.IsBackUnionMoney;
this.lianyunFYId = item.OrderId this.fanyongMsg.UnionExtraMoney = item.UnionExtraMoney;
this.fanyongMsg.OrderId = item.OrderId;
}, },
goIisDetail: function (id) { // 跳转发票详情页面 goIisDetail: function (id) { // 跳转发票详情页面
this.$router.push({ this.$router.push({
......
...@@ -251,6 +251,7 @@ ...@@ -251,6 +251,7 @@
</div> </div>
</div> </div>
<div>联运成本:<span>¥{{DataList.LYCB}}</span></div> <div>联运成本:<span>¥{{DataList.LYCB}}</span></div>
<div>额外返佣:<span>¥{{DataList.EWFY}}</span></div>
</div> </div>
</el-col> </el-col>
<el-col :span="4"> <el-col :span="4">
......
...@@ -1068,12 +1068,15 @@ ...@@ -1068,12 +1068,15 @@
//当前登录用户信息 //当前登录用户信息
CurrentUserInfo: {}, CurrentUserInfo: {},
showHotelObj: { showHotelObj: {
showPrice: true, showPrice: true,//是否显示价格
showPay: true, showPay: false,//是否显示支付方式
showZhan: true, showZhan: true,//占房时间
showBtnList: true, showBtnList: false,//是否下载、确认按钮
showCaozuoTime: true, ShowTaxType: false, //显示税入税别
isFromTCList: true ShowRebateRatio: false, //显示返佣比列
ShowSupplier:false,//是否显示供应商
showCaozuoTime:true,//操作时间
colspanLength:4//跨行
}, },
IsModifyTravelControl: 0, //分公司是否有修改团控权限 IsModifyTravelControl: 0, //分公司是否有修改团控权限
pickerBeginDateBefore: { pickerBeginDateBefore: {
......
...@@ -234,6 +234,9 @@ ...@@ -234,6 +234,9 @@
<p v-if="item.extraRewardMoney>0">额外奖励金额:{{item.extraRewardMoney}}</p> <p v-if="item.extraRewardMoney>0">额外奖励金额:{{item.extraRewardMoney}}</p>
<p v-if="item.extraDeductMoney>0">额外扣除金额:{{item.extraDeductMoney}}</p> <p v-if="item.extraDeductMoney>0">额外扣除金额:{{item.extraDeductMoney}}</p>
</div> </div>
<div style="color:red">
<p v-if="item.unionExtraMoney!=0">联运额外返佣:{{item.unionExtraMoney}}</p>
</div>
</div> </div>
</td> </td>
<td> <td>
......
This diff is collapsed.
...@@ -30,13 +30,13 @@ ...@@ -30,13 +30,13 @@
<td> <td>
公司团号 公司团号
</td> </td>
<td :colspan="5" style="text-align:left;"> <td colspan="4" style="text-align:left;">
<span style="padding-left:5px;">{{TCNUM}} ({{TCID}})</span> <span style="padding-left:5px;">{{TCNUM}} ({{TCID}})</span>
</td> </td>
<td> <td>
地接团号 地接团号
</td> </td>
<td :colspan="showHotelObj.ShowTaxType?6:4" style="text-align:left;"> <td :colspan="showHotelObj.colspanLength" style="text-align:left;">
<span style="padding-left:5px;">{{DMCNum}}</span> <span style="padding-left:5px;">{{DMCNum}}</span>
</td> </td>
</tr> </tr>
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
<th width="120" v-if="showHotelObj.showPay">付款方式<br/>返佣比例</th> <th width="120" v-if="showHotelObj.showPay">付款方式<br/>返佣比例</th>
<th width="130" v-if="showHotelObj.showZhan">占房时间</th> <th width="130" v-if="showHotelObj.showZhan">占房时间</th>
<th width="100" v-if="showHotelObj.showZhan">确认时间</th> <th width="100" v-if="showHotelObj.showZhan">确认时间</th>
<th width="100" v-if="showHotelObj.showZhan">供应商</th> <th width="100" v-if="showHotelObj.ShowSupplier">供应商</th>
<th width="70" v-if="showHotelObj.showPrice"> <th width="70" v-if="showHotelObj.showPrice">
日志 日志
</th> </th>
...@@ -121,7 +121,7 @@ ...@@ -121,7 +121,7 @@
<td v-if="showHotelObj.showZhan"> <td v-if="showHotelObj.showZhan">
{{hotelSubItem.SureTimeStr}} {{hotelSubItem.SureTimeStr}}
</td> </td>
<td v-if="showHotelObj.showZhan"> <td v-if="showHotelObj.ShowSupplier">
{{hotelSubItem.SupplierName}} {{hotelSubItem.SupplierName}}
</td> </td>
<td v-if="showHotelObj.showPrice"> <td v-if="showHotelObj.showPrice">
...@@ -136,8 +136,8 @@ ...@@ -136,8 +136,8 @@
</table> </table>
</div> </div>
<div> <div>
<table width="100%" class="comHotelOperation"> <table width="100%" class="comHotelOperation" v-if="showHotelObj.showCaozuoTime">
<template v-if="HotelObj&&HotelObj.length>0&&showHotelObj.showCaozuoTime"> <template v-if="HotelObj&&HotelObj.length>0">
<tr> <tr>
<td class="tdRight"> <td class="tdRight">
开团时间: 开团时间:
...@@ -174,15 +174,8 @@ ...@@ -174,15 +174,8 @@
<template v-if="showHotelObj.showBtnList"> <template v-if="showHotelObj.showBtnList">
<tr> <tr>
<td colspan="4" style="padding:10px 0;text-align:center;"> <td colspan="4" style="padding:10px 0;text-align:center;">
<input type="button" class="normalBtn" :value="HotelObj[0].ShouPeiStatus==0?'手配书(确定)':'手配书(暂定)'" <input type="button" class="normalBtn" :value="HotelObj[0].ShouPeiStatus==0?'手配书(确定)':'手配书(暂定)'" @click="subSetShouPeiShu(HotelObj[0].ShouPeiStatus)" />
v-if="showHotelObj.ShowShouPeiStatus" @click="subSetShouPeiShu(HotelObj[0].ShouPeiStatus)" />
<template v-if="showHotelObj.isFromTCList">
<input type="button" v-if="HotelObj[0].ShouPeiStatus==1" class="normalBtn" value="下载"
@click="DownLoadShouPeiShu()" />
</template>
<template v-else>
<input type="button" class="normalBtn" value="下载" @click="DownLoadShouPeiShu()" /> <input type="button" class="normalBtn" value="下载" @click="DownLoadShouPeiShu()" />
</template>
</td> </td>
</tr> </tr>
</template> </template>
......
...@@ -565,14 +565,15 @@ ...@@ -565,14 +565,15 @@
}, },
LeaderList: [], LeaderList: [],
showHotelObj: { showHotelObj: {
showPrice: true, showPrice: true,//是否显示价格
showPay: true, showPay: true,//是否显示支付方式
showZhan: true, showZhan: true,//占房时间
showBtnList: true, showBtnList: true,//是否下载、确认按钮
showCaozuoTime: true,
ShowShouPeiStatus: true, //显示手配置暂定确定按钮
ShowTaxType: true, //显示税入税别 ShowTaxType: true, //显示税入税别
ShowRebateRatio: true, //显示返佣比列 ShowRebateRatio: true, //显示返佣比列
ShowSupplier:true,//是否显示供应商
showCaozuoTime:true,//操作时间
colspanLength:6//跨行
}, },
pickerBeginDateBefore: { pickerBeginDateBefore: {
disabledDate: time => { disabledDate: time => {
......
...@@ -369,9 +369,13 @@ ...@@ -369,9 +369,13 @@
if (TripFeature.FeatureType >= 4) { if (TripFeature.FeatureType >= 4) {
var htmlObj = document.getElementById("newFeatureBox"); var htmlObj = document.getElementById("newFeatureBox");
if (htmlObj && htmlObj.innerHTML != null && htmlObj.innerHTML != "") {} else { if (htmlObj && htmlObj.innerHTML != null && htmlObj.innerHTML != "") {} else {
//更新行程特色
if(this.journeyList.IsUpdateTrip==1)
{
this.MsgBus.$emit('comUpTravel'); this.MsgBus.$emit('comUpTravel');
} }
} }
}
TripFeature.FeeInclude = this.PostNotice.FeeInclude; TripFeature.FeeInclude = this.PostNotice.FeeInclude;
TripFeature.FeeNonInclude = this.PostNotice.FeeNonInclude; TripFeature.FeeNonInclude = this.PostNotice.FeeNonInclude;
...@@ -399,6 +403,7 @@ ...@@ -399,6 +403,7 @@
} }
basicData.TeamType = this.TeamType; basicData.TeamType = this.TeamType;
basicData.IsUpdateHotel = this.PostConfig.IsUpdateHotel; basicData.IsUpdateHotel = this.PostConfig.IsUpdateHotel;
this.apipost( this.apipost(
"travel_post_SetTravelConfigInfo", "travel_post_SetTravelConfigInfo",
basicData, basicData,
...@@ -625,6 +630,7 @@ ...@@ -625,6 +630,7 @@
res => { res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
var tempData = res.data.data; var tempData = res.data.data;
if (tempData.Feature != null) { if (tempData.Feature != null) {
this.FeatureData.ID = tempData.Feature.ID; this.FeatureData.ID = tempData.Feature.ID;
this.FeatureData.ConfigId = tempData.Feature.ConfigId; this.FeatureData.ConfigId = tempData.Feature.ConfigId;
......
...@@ -664,6 +664,13 @@ ...@@ -664,6 +664,13 @@
<template slot="prepend">集合标识</template> <template slot="prepend">集合标识</template>
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item>
<span class="TP_Sendprepend" style="margin-left:0;width:120px;">可退景点</span>
<el-select class="w180" v-model="priceData.ChooseBackScenicArr" multiple >
<el-option v-for="item in priceData.scenicBackList" :key="item.ID" :label="item.Name" :value="item.ID">
</el-option>
</el-select>
</el-form-item>
<el-form-item> <el-form-item>
<el-input placeholder="请输入" class="w460 ComSeat" v-model="priceData.AirportService"> <el-input placeholder="请输入" class="w460 ComSeat" v-model="priceData.AirportService">
<template slot="prepend">机场服务</template> <template slot="prepend">机场服务</template>
...@@ -1053,7 +1060,6 @@ ...@@ -1053,7 +1060,6 @@
var objItem = ""; var objItem = "";
if (this.returnPriceList.length > 0) { if (this.returnPriceList.length > 0) {
objItem = JSON.parse(JSON.stringify(this.returnPriceList[0])); objItem = JSON.parse(JSON.stringify(this.returnPriceList[0]));
console.log("objItem",objItem);
objItem.OPRemark = ""; objItem.OPRemark = "";
objItem.AirTicketId = 0; objItem.AirTicketId = 0;
objItem.AirticketBindList = []; objItem.AirticketBindList = [];
...@@ -1136,6 +1142,10 @@ ...@@ -1136,6 +1142,10 @@
ChooseHotelArray: [], ChooseHotelArray: [],
//销售清位时间 //销售清位时间
SaleClearOrderHour: 0, SaleClearOrderHour: 0,
//可退景点选择列表
chooseBackScenicArr:[],
//可退景点下拉列表
scenicBackList:[],
}; };
} }
this.returnPriceList.push(objItem); this.returnPriceList.push(objItem);
...@@ -1282,14 +1292,6 @@ ...@@ -1282,14 +1292,6 @@
err => {} err => {}
); );
}, },
compareDay(day) {
var _string = this.getDayStr(day);
if (_string == this.chooseDay) {
return true;
} else {
return false;
}
},
validateForm() { validateForm() {
//表单验证 //表单验证
let flag = true; let flag = true;
...@@ -1602,7 +1604,6 @@ ...@@ -1602,7 +1604,6 @@
this.priceData.IsNew = true; this.priceData.IsNew = true;
} }
} }
}, },
//保存酒店使用情况 //保存酒店使用情况
saveHoteluseDetail(type) { saveHoteluseDetail(type) {
...@@ -1765,5 +1766,4 @@ ...@@ -1765,5 +1766,4 @@
commonPHInfo: commonPHlInfo commonPHInfo: commonPHlInfo
} }
}; };
</script> </script>
\ No newline at end of file
...@@ -97,8 +97,8 @@ ...@@ -97,8 +97,8 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</span> </span>
<span class="TDTextspan" style="display:none;">是否更新行程特色</span> <span class="TDTextspan" >是否更新行程特色</span>
<span style="display:none;"> <span>
<el-form-item prop="ReturnArriveCityId"> <el-form-item prop="ReturnArriveCityId">
<el-select class="w120" :placeholder="$t('pub.pleaseSel')" v-model="subConfig.IsUpdateTrip"> <el-select class="w120" :placeholder="$t('pub.pleaseSel')" v-model="subConfig.IsUpdateTrip">
<el-option label="不更新" :value="0"></el-option> <el-option label="不更新" :value="0"></el-option>
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
</div> </div>
</div> </div>
<div class="remark"> <div class="remark">
徐数学在本期的排名中取得了{{champion.weekTotalIncome}}的业绩,领先第二名{{champion.differencePrice.toFixed(2)}},这是他第{{champion.rankTopCount}}次获得销售周冠的称号,想看他的成功秘笈?戳下面的按钮查看吧! {{champion.employeeName}}在本期的排名中取得了{{champion.weekTotalIncome}}的业绩,领先第二名{{champion.differencePrice.toFixed(2)}},这是他第{{champion.rankTopCount}}次获得销售周冠的称号,想看他的成功秘笈?戳下面的按钮查看吧!
</div> </div>
<div class="more-btn" @click="openRank">立即查看</div> <div class="more-btn" @click="openRank">立即查看</div>
</div> </div>
......
...@@ -3,9 +3,14 @@ ...@@ -3,9 +3,14 @@
<div class="query-box" style="border-bottom: none;"> <div class="query-box" style="border-bottom: none;">
<ul> <ul>
<li> <li>
<input v-if="IsOperation !=1" type="button" class="fr normalBtn mb30" value="保存" @click="saveList(1)" /> <template v-if="IsOperation !=1">
<input type="button" class="fr normalBtn mb30" value="保存" @click="saveList(1)" />
<input type="button" class="fr normalBtn mb30" value="保存草稿" @click="saveList(0)" />
</template>
<template v-else>
<span style="color:red;font-size:14px;">已制单,不能在修改!</span>
</template>
<input style="display:none;" type="button" class="fr normalBtn mb30" value="保存" @click="saveList(1)" /> <input style="display:none;" type="button" class="fr normalBtn mb30" value="保存" @click="saveList(1)" />
<input v-if="IsOperation !=1" type="button" class="fr normalBtn mb30" value="保存草稿" @click="saveList(0)" />
</li> </li>
</ul> </ul>
</div> </div>
...@@ -86,7 +91,12 @@ ...@@ -86,7 +91,12 @@
<span class="spanlink" v-if='childItem.PeoplePrice==0' <span class="spanlink" v-if='childItem.PeoplePrice==0'
@click="goUrl('ticketManagement',subItem,'门票管理')">设置</span> @click="goUrl('ticketManagement',subItem,'门票管理')">设置</span>
<span v-else> <span v-else>
<template v-if="CurrentUserInfo.EmployeeId==615">
<el-input class='w135' v-model='childItem.PeoplePrice' @keyup.native="checkPrice(childItem,'PeoplePrice')" type="text"></el-input>
</template>
<template v-else>
{{childItem.PeoplePrice}} {{childItem.PeoplePrice}}
</template>
</span> </span>
</td> </td>
<td> <td>
...@@ -127,7 +137,7 @@ ...@@ -127,7 +137,7 @@
</tr> </tr>
</table> </table>
</td> </td>
<td v-if="childIndex==0" :rowspan="3" > <td v-if="childIndex==0" :rowspan="3">
<el-input type='textarea' rows="4" class='w170' v-model='subItem.Remarks'></el-input> <el-input type='textarea' rows="4" class='w170' v-model='subItem.Remarks'></el-input>
</td> </td>
</tr> </tr>
...@@ -148,7 +158,9 @@ ...@@ -148,7 +158,9 @@
flightTotal: 0, flightTotal: 0,
GuestNum: 0, GuestNum: 0,
loading: false, loading: false,
IsOperation:'', IsOperation: '',
//当前登录人信息
CurrentUserInfo:{},
} }
}, },
methods: { methods: {
...@@ -209,9 +221,8 @@ ...@@ -209,9 +221,8 @@
if (!subItem.Discount) { if (!subItem.Discount) {
subItem.Discount = 0; subItem.Discount = 0;
} }
if(!subItem.UsePeopleNum) if (!subItem.UsePeopleNum) {
{ subItem.UsePeopleNum = 0;
subItem.UsePeopleNum=0;
} }
}); });
}) })
...@@ -225,9 +236,8 @@ ...@@ -225,9 +236,8 @@
if (!subItem.Discount) { if (!subItem.Discount) {
subItem.Discount = 0; subItem.Discount = 0;
} }
if(!subItem.UsePeopleNum) if (!subItem.UsePeopleNum) {
{ subItem.UsePeopleNum = 0;
subItem.UsePeopleNum=0;
} }
}); });
}) })
...@@ -244,6 +254,8 @@ ...@@ -244,6 +254,8 @@
}, },
}, },
mounted() { mounted() {
let userInfo = this.getLocalStorage();
this.CurrentUserInfo = userInfo;
this.TCNUM = this.$route.query.TCNUM; this.TCNUM = this.$route.query.TCNUM;
this.flightTotal = this.$route.query.flightTotal; this.flightTotal = this.$route.query.flightTotal;
this.GuestNum = this.$route.query.GuestNum; this.GuestNum = this.$route.query.GuestNum;
......
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