Commit 74134e13 authored by 华国豪's avatar 华国豪 🙄
parents 6a5d9156 b4824e67
......@@ -327,6 +327,7 @@
<td :colspan="3">
{{o.TCNUM}}({{o.TCID}})
<span v-if="GetDetail.IsShowPlanUrl === 1" @click="goInves('investigationList',o.TCID)" class="FD_yijian">旅客意见 {{o.GuestSurveyNum}}/{{o.GuestTotalNum}}份</span>
<span v-if="GetDetail.IsShowPlanUrl==1&&GetDetail.ClientType==7" @click="goGuideAccount('GuideAccount',GetDetail.ClientID)" class="FD_yijian">领队导游往来</span>
</td>
<td @click="jumpPage('TravelControlList',o.TCNUM,1)"> <span class="_jump_page _font_bold">查看团队</span> </td>
<td @click="jumpPage('RegistrationList',o.TCID,7)"> <span class="_jump_page _font_bold">查看报名</span> </td>
......@@ -2358,7 +2359,6 @@ export default {
this.apipost('AccountType_post_GetList',this.queryAccMsg,res=>{
if(res.data.resultCode==1){
let data=res.data.data;
console.log(1);
if(this.RB_Post_Id!=5&&this.userId!=1648){
if(this.userId==1918){
this.AccList = res.data.data;
......@@ -2468,9 +2468,23 @@ export default {
name: path,
query: {
TCID:TCID,
blank:'y'
}
});
},
goGuideAccount(path,ClientID){
if(ClientID==0){
this.Error('临时导游,无往来');
return;
}
this.$router.push({
name: path,
query: {
ClientID:ClientID,
blank:'y'
}
});
},
},created(){
if(this.$route.query.pageIndex){
this.pageIndex = this.$route.query.pageIndex;
......
......@@ -391,6 +391,7 @@
<td :colspan="3">
{{o.TCNUM}}{{o.TCID}}
<span v-if="GetDetail.IsShowPlanUrl === 1" @click="goInves('investigationList',o.TCID)" class="FD_yijian">旅客意见 {{o.GuestSurveyNum}}/{{o.GuestTotalNum}}</span>
<span v-if="GetDetail.IsShowPlanUrl==1&&GetDetail.ClientType==7" @click="goGuideAccount('GuideAccount',GetDetail.ClientID)" class="FD_yijian">领队导游往来</span>
</td>
<td @click="jumpPage('TravelControlList',o.TCNUM,1)"> <span class="_jump_page _font_bold">查看团队</span> </td>
<td @click="jumpPage('RegistrationList',o.TCID,7)"> <span class="_jump_page _font_bold">查看报名</span> </td>
......@@ -973,6 +974,20 @@ export default {
name: path,
query: {
TCID:TCID,
blank:'y'
}
});
},
goGuideAccount(path,ClientID){
if(ClientID==0){
this.Error('临时导游,无往来');
return;
}
this.$router.push({
name: path,
query: {
ClientID:ClientID,
blank:'y'
}
});
},
......@@ -1245,7 +1260,6 @@ export default {
handleAvatarSuccess(res, file) { //上传
if(res.resultCode==1){
var img_path = res.data.FullFilePath
console.log(res.data)
this.imageUrl = img_path
let obj = {
src:img_path
......@@ -1319,7 +1333,6 @@ export default {
this.FrID = this.GetDetail.FrID;
this.SourceID = this.GetDetail.SourceID;
this.Callback = this.GetDetail.Callback;
// 拼接团号显示团信息
let str = '';
if(data.TCIDList.length>0){
......
......@@ -44,18 +44,18 @@
<div class="_sanjiao_"></div>
<table border="1" class="_border_color_b Receipt_table" bordercolor="#c94052" style="border-collapse:collapse;width: 100%;" v-loading='loading'>
<tr>
<th rowspan="2">{{$t('system.query_company')}}</th>
<th rowspan="2">{{$t('fnc.danhao')}}</th>
<th rowspan="2">{{$t('fnc.fyshuoming')}}</th>
<th rowspan="2" width="100">{{$t('system.query_company')}}</th>
<th rowspan="2" width="70">{{$t('fnc.danhao')}}</th>
<th rowspan="2" width="120">{{$t('fnc.fyshuoming')}}</th>
<th rowspan="2">{{$t('hotel.hotel_Currency')}}</th>
<th colspan="3">{{$t('fnc.jine')}}</th>
<th rowspan="2">{{$t('hotel.hotel_remark')}}</th>
<th rowspan="2">{{$t('fnc.zhidanren')}}</th>
<th rowspan="2" width="70">{{$t('fnc.zhidanren')}}</th>
</tr>
<tr>
<th width="88">{{$t('fnc.yuanbi')}}</th>
<th width="50">{{$t('hotel.hotel_CurrentRate')}}</th>
<th width="68">{{$t('fnc.bweibi')}}</th>
<th width="90">{{$t('hotel.hotel_CurrentRate')}}</th>
<th width="75">{{$t('fnc.bweibi')}}</th>
</tr>
<template v-if="details&&details.length">
<tr v-for="(item) in details" class="_color_b">
......
......@@ -41,9 +41,10 @@ export default {
msg: {
pageIndex: 1,
pageSize: 20,
ParentId: 0,
PeriodsId: 0,
OrderStr: "RB_Branch_Id asc",
BName:-1
BName:-1,
},
total: 0,
currentPage: 1,
......@@ -95,7 +96,6 @@ export default {
}
},
filterMethod(filters){
console.log("filter", filters);
let data = JSON.parse(JSON.stringify(this.dataListTwo))
let dataListTwo = JSON.parse(JSON.stringify(this.dataListTwo))
if (filters.BName!='' && filters.BName!='__all__'){
......@@ -111,7 +111,6 @@ export default {
data = dataListTwo
}
this.dataList = data
console.log(data)
},
customCompFunc(params) {
if (params.type === "see") {
......@@ -147,7 +146,6 @@ export default {
item.value = x.BName;
companyList.push(item);
});
console.log(companyList)
let company = {
field: "BName",
title: "公司",
......@@ -313,7 +311,6 @@ export default {
this.isReady = true;
},
sortChange(param) {
// console.log("param",param)
// if(param.sumMoney==''){
if(param.BName!=''){
this.msg.OrderStr='RB_Branch_Id '+param.BName
......@@ -348,7 +345,6 @@ export default {
"sellcommission_GetOPCommissionDetailsList",
this.msg,
res => {
// console.log("ressfasf",res);
this.loading = false;
if (res.data.resultCode == 1) {
this.dataList = res.data.data.pageData;
......@@ -377,23 +373,22 @@ export default {
},
//跳转
getInfo(item) {
var dateStr = item.Periods;
var year = dateStr.substring(0, 4);
var month = dateStr.substring(4, 6);
// var dateStr = item.Periods;
// var year = dateStr.substring(0, 4);
// var month = dateStr.substring(4, 6);
var nextMonthFirstDay = new Date(year, month, 1);
// var nextMonthFirstDay = new Date(year, month, 1);
var oneDay = 1000 * 60 * 60 * 24;
var entDay = new Date(nextMonthFirstDay - oneDay).Format("yyyy-MM-dd");
var startDay = year + "-" + month + "-" + "01";
var userId = item.userId;
// var oneDay = 1000 * 60 * 60 * 24;
// var entDay = new Date(nextMonthFirstDay - oneDay).Format("yyyy-MM-dd");
// var startDay = year + "-" + month + "-" + "01";
// var userId = item.userId;
this.$router.push({
path: "enrollTotal",
path: "OpComPersonDetails",
query: {
EmployeeId: userId,
starTime: startDay,
endTime: entDay,
EmployeeId: item.EmployeeId,
PeriodsId:this.msg.PeriodsId,
blank:'y'
}
});
......@@ -401,10 +396,10 @@ export default {
},
mounted() {
this.msg.pageSize = 10000; //不分页
this.msg.ParentId = this.$route.query.ParentId;
this.msg.PeriodsId = this.$route.query.PeriodsId?this.$route.query.PeriodsId:0;
let dt=new Date()
this.stringPerons=(dt.getMonth()==0?(dt.getFullYear()-1):dt.getFullYear())+''+(dt.getMonth().toString().length<2?'0':'')+(dt.getMonth()==0?12:dt.getMonth());
console.log(this.stringPerons)
this.getList();
this.getCompanyList();
},
......
......@@ -4,17 +4,31 @@
position: relative;
top:1px;
}
.opUl li{
display: inline-block;
margin:10px 15px 10px 0;
}
</style>
<template>
<div class="flexOne">
<!-- <div class="query-box">
<ul>
<div>
<ul class="opUl">
<li>
<em>选择月份</em>
<el-date-picker
v-model="Month"
value-format="yyyy-MM"
type="month"
placeholder="选择月">
</el-date-picker>
</li>
<li>
<input type="button" class="normalBtn" @click="generateTable" value="生成提成报表"/>
<el-button size="mini" type="danger" style="border-radius:14px" :loading="btnLoading" @click="generateTable">生成提成</el-button>
<!-- <input v-loading="btnLoading" type="button" class="normalBtn" @click="generateTable" value="生成提成"/> -->
</li>
</ul>
</div> -->
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
</div>
<table v-loading="loading" class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
<tr>
<th>期数</th>
<th>提成总金额</th>
......@@ -43,9 +57,11 @@
</template>
<script>
import moment from "moment"
export default {
data() {
return {
Month:moment().format("YYYY-MM"),
msg: {
PageIndex: 1,
PageSize: 20
......@@ -55,6 +71,7 @@
dataList:[],
total:0,
currentPage: 1,
btnLoading:false,
}
},
mounted() {
......@@ -69,7 +86,7 @@
this.$router.push({
path: path,
query: {
ParentId:id,
PeriodsId:id,
blank: 'y',
tab: '期数详情'
}
......@@ -85,7 +102,7 @@
this.loading = false;
if(res.data.resultCode==1){
this.dataList = res.data.data.pageData;
console.log(res);
// console.log(res);
this.total = res.data.data.count;
}else{
this.Error(res.data.message);
......@@ -96,12 +113,16 @@
},
//生成提成报表
generateTable(){
let msg = {
UserId: 0
if(!this.Month||this.Month==""){
this.Error("请选择月份!")
return;
}
this.btnLoading=true;
this.apipost(
"sellcommission_SetGenerateCommission",msg,
"sellcommission_SetOPCommission",{Month:this.Month},
res => {
this.btnLoading=false;
if(res.data.resultCode==1){
this.getList();
this.Success('报表生成成功')
......
<style scoped>
</style>
<template>
<div class="flexOne currentManage">
<div class="query-box">
<ul>
<li>
<span>
<em>员工</em>
<el-select filterable v-model='msg.EmployeeId' >
<el-option key="0" :value="0" label="不限"></el-option>
<el-option v-for="item in EmployeeList" :label="item.EmName"
:value="item.EmployeeId" :key="item.EmployeeId"></el-option>
</el-select>
</span>
</li>
<li>
<span>
<em>团队ID</em>
<el-input v-model="msg.TCID" placeholder="请输入内容"></el-input>
</span>
</li>
<li>
<span>
<em>团号</em>
<el-input v-model="msg.TCNUM" placeholder="请输入内容"></el-input>
</span>
</li>
<li>
<button class="hollowFixedBtn" @click="getList">{{$t('pub.searchBtn')}}</button>
</li>
</ul>
</div>
<div class="cm_content _scrollbar">
<table class="po_content singeRowTable" style="border:1px solid #E6E6E6;" cellspacing="0" cellpadding="0" v-loading="loading">
<tr>
<th>公司</th>
<th>部门</th>
<th>姓名</th>
<th>团号</th>
<th>提成金额</th>
<th>收客人数</th>
<th>期数</th>
<th>操作</th>
</tr>
<tr v-for="(item,index) in DataList" :key="index">
<td>{{item.BName}}</td>
<td>{{item.DepartmentName}}</td>
<td>{{item.CreateByStr}}</td>
<td>{{item.TCNUM}}</td>
<td>{{item.CommissionMoney}}</td>
<td>{{item.PeopleCount}}</td>
<td>{{item.Periods}}</td>
<td>
<el-tooltip class="item" effect="dark" content="查看" placement="top-start">
<el-button type="primary" size='mini' circle icon="el-icon-view" @click="goUrl(item)"></el-button>
</el-tooltip>
</td>
<!-- <td>
<el-button-group size='mini'>
<el-tooltip class="item" effect="dark" :content="$t('system.table_edit')" placement="top-start">
<el-button type="primary" class="iconfont icon-bianji-smal" @click="editCurency(item.ID),text=$t('system.table_edit')"></el-button>
</el-tooltip>
<el-tooltip class="item" effect="dark" :content="$t('system.table_delete')" placement="top-start">
<el-button type="danger" class="iconfont icon-img_delete_small" @click="financeinfoRemove(item.ID,item.Name)"></el-button>
</el-tooltip>
<el-tooltip class="item" effect="dark" :content="$t('fnc.szbweibi')" placement="top-start">
<el-button type="warning" class="iconfont" v-if="item.IsStandardCurrency!=1" @click="setStandardTips(item.ID,item.Name)">{{$t('Airticket.Air_ben')}}</el-button>
</el-tooltip>
</el-button-group>
</td> -->
</tr>
</table>
<div class="noData" v-if="DataList.length==0">
{{$t('system.content_noData')}}
</div>
<div>
<el-pagination
background
@current-change="handleCurrentChange"
:current-page.sync="currentPage"
layout="total,prev, pager, next, jumper"
:page-size=msg.pageSize
:total=total>
</el-pagination>
</div>
</div>
</div>
</template>
<script>
export default {
data() {
return {
msg:{
pageIndex:1,
pageSize:14,
EmployeeId:0,
PeriodsId:"",
TCID:"",
TCNUM:"",
},
DataList:[],
loading:false,
currentPage:1,
total:0,
EmployeeList:[],
}
},created(){
this.msg.PeriodsId=this.$route.query.PeriodsId?this.$route.query.PeriodsId:this.msg.PeriodsId;
this.msg.EmployeeId=this.$route.query.EmployeeId?Number(this.$route.query.EmployeeId):this.msg.EmployeeId;
},
mounted(){
this.getEmployeeList();
this.getList();
},
methods: {
goUrl(item){
this.$router.push({
path: "productQuery",
query: {
id: item.TCID,
blank:'y'
}
});
},
resetPageIndex(){ // 重置页码
this.msg.pageIndex=1;
this.currentPage = 1;
},
handleCurrentChange(val) { //翻页
this.msg.pageIndex = val;
this.getList();
},
getList(){
this.loading=true;
this.apipost('sellcommission_GetOPCommissionSingleDetailsList', this.msg, res => {
this.loading=false;
// console.log("res",res)
if(res.data.resultCode == 1) {
this.DataList = res.data.data.pageData;
this.total=res.data.data.count;
} else {
this.Error(res.data.message);
}
}, err => {})
},
getEmployeeList () {
let userInfo = this.getLocalStorage()
let msg = {
GroupId: userInfo.RB_Group_id,
BranchId: '-1',
DepartmentId: '-1',
PostId: '-1',
IsLeave: '0'
}
this.apipost(
'admin_get_EmployeeGetList', {},
res => {
if (res.data.resultCode == 1) {
this.EmployeeList = res.data.data
}
},
err => {
}
)
},
},
}
</script>
......@@ -60,6 +60,18 @@
</el-select>
</el-form-item>
</el-col> -->
<el-col :span="4" :gutter="35">
<el-form-item label="所属公司">
<el-select filterable v-model='msg.RB_Branch_Id' >
<el-option :value="-1" label="不限"></el-option>
<el-option v-for='item in CompanyList'
:label='item.BName'
:value='item.Id'
:key='item.Id'>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="4" :gutter="35">
<el-form-item label="领队导游">
<el-select filterable v-model='msg.ClientID' >
......@@ -113,18 +125,7 @@
</el-select>
</el-form-item>
</el-col> -->
<!-- <el-col :span="4" :gutter="35">
<el-form-item label="所属公司">
<el-select filterable v-model='msg.RB_Branch_Id' >
<el-option :value="-1" label="不限"></el-option>
<el-option v-for='item in CompanyList'
:label='item.BName'
:value='item.Id'
:key='item.Id'>
</el-option>
</el-select>
</el-form-item>
</el-col> -->
</el-row>
</el-form>
<ul>
......@@ -157,6 +158,12 @@
<td></td>
<td>{{moneyFormat(dataJson.Balance)}}</td>
</tr> -->
<tr v-show="DataList.length>5">
<td :colspan="9">{{$t('fnc.a_heji')}}{{$t('hotel.hotel_totalRoom')}}{{ DataList.length }} {{$t('hotel.hotel_item')}}</td>
<td>{{ dataJson.Income }}</td>
<td>{{ dataJson.Refund }}</td>
<td>{{ dataJson.Balance}}</td>
</tr>
<tr v-for="(item,index) in DataList" :key="index">
<!-- <td>
<input type="checkbox" :disabled="item.disabled" v-model="item.check" @change="addCheckbox(item,index)">
......@@ -581,7 +588,6 @@ export default {
this.dataJson=data;
this.DataList = data.Rlist;
// console.log("this.DataList",this.DataList)
if( this.msg.ClientID == 0 ){
......@@ -654,7 +660,6 @@ export default {
this.accountList.forEach(x=>{
if(x.ID===i){
this.payMsg.Account = x.allName;
console.log(x);
this.payMsg.CurrenName =x.CurrencyName;
this.payMsg.Rate = x.CurrencyRate?x.CurrencyRate:x.CurrentRate;
this.payMsg.CurrencyId = x.CurrencyId;
......@@ -666,7 +671,6 @@ export default {
this.accountList.forEach(x=>{
if(x.ID===i){
this.payMsgList[index].Account = x.allName;
console.log(x);
this.payMsgList[index].CurrenName =x.CurrencyName;
this.payMsgList[index].Rate = x.CurrencyRate?x.CurrencyRate:x.CurrentRate;
this.payMsgList[index].CurrencyId = x.CurrencyId;
......@@ -775,7 +779,6 @@ export default {
this.allLoading = true
this.apipost('Financial_post_MergeFinance',this.addMsg,r=>{
if(r.data.resultCode === 1) {
console.log(r)
this.addChuNa = false
this.getList()
}else{
......@@ -906,6 +909,10 @@ export default {
},
},mounted(){
let userInfo=this.getLocalStorage();
let ClientID = this.$route.query.ClientID;
if(ClientID){
this.msg.ClientID = Number(ClientID);
}
this.getAccountTypeList();
this.AccountType_post_GetList();
this.BankAccount_post_GetAccountType();
......
......@@ -100,6 +100,13 @@
</el-option>
</el-select>
</el-form-item>
<el-form-item label="是否有手配费">
<el-switch v-model="addMsg.IsHaveShouPeiFee" :active-value="inActive" :inactive-value="notInActive">
</el-switch>
</el-form-item>
<el-form-item v-if="addMsg.IsHaveShouPeiFee==1" label="手配费金额">
<el-input type="text" class="w300" maxlength="10" @keyup.native="checkPrice(addMsg,'ShouPeiMoney')" v-model="addMsg.ShouPeiMoney"></el-input>
</el-form-item>
<el-form-item :label="$t('hotel.table_tel')" prop="Tel">
<el-input type="text" class="w300" maxlength="20" v-model="addMsg.Tel"></el-input>
</el-form-item>
......@@ -172,6 +179,9 @@ export default {
deleteID: "",
typeList: "",
TypeOne: "",
inActive: 1, //有手配费
notInActive: 0, //无手配费
msg: {
pageIndex: 1,
pageSize: 18,
......@@ -196,7 +206,11 @@ export default {
Fax: "",
Remark: "",
Type: "1",
PayType:""
PayType:'',
//是否有手配费
IsHaveShouPeiFee:0,
//手配费金额
ShouPeiMoney:0
},
//付款方式
PayTypeList:[{
......@@ -278,6 +292,9 @@ export default {
);
},
saveInfo() {
if(this.addMsg.ShouPeiMoney==''){
this.addMsg.ShouPeiMoney=0;
}
this.apipost(
"supplier_post_Set",
this.addMsg,
......@@ -306,7 +323,9 @@ export default {
Fax: "",
Remark: "",
Type: 1,
PayType:""
PayType:'',
IsHaveShouPeiFee:0,
ShouPeiMoney:0
}),
(this.provinceList = "");
this.cityList = "";
......
......@@ -23,7 +23,7 @@
<li>
<input v-if="IsOperation!=1" type="button" class="fr normalBtn mb30" value="保存" @click="saveList(1)" />
<input style="display:none;" type="button" class="fr normalBtn mb30" value="保存" @click="saveList(1)" />
<span v-if="IsOperation==1" style="color:red;font-size:14px;">已制单,不能修改!</span>
<span v-if="IsOperation==1" style="color:red;font-size:14px;">已制单,不能修改!</span>
</li>
</ul>
税别计算: 单价 * (预订人数-免减人数) * (1 + 0.08 - 返佣比例 / 100) <br />
......@@ -47,7 +47,7 @@
<th width="100">房间类型</th>
<th width="80">房间<br />预定数</th>
<th width="80">预定人数</th>
<th width="80">尚差<br />房间数</th>
<!-- <th width="80">尚差<br />房间数</th> -->
<th width="80">单价/每人</th>
<th width="80">免减人数</th>
<th width="80">金额小计</th>
......@@ -143,7 +143,7 @@
供应商
</td>
<td>
<el-select class='w120 sel' v-model='subItem.SupplierId' filterable placeholder="请选择供应商">
<el-select class='w120 sel' v-model='subItem.SupplierId' @change="getSupplierShoupei(subItem)" filterable placeholder="请选择供应商">
<el-option :label="$t('pub.unlimitedSel')" :value='0'></el-option>
<el-option v-for="(SupplierItem,Supplierindex) in SupplierList" :key="Supplierindex"
:label="SupplierItem.Name" :value="SupplierItem.ID">
......@@ -156,13 +156,8 @@
</tr>
<tr>
<td colspan="2">
<p style="padding-top: 5px;">
<a v-if="subItem.ContractUrl" target="_blank" :href="subItem.ContractUrl">手配书</a>
</p>
<el-upload :http-request="uploadFileBtnS" :multiple="false" :show-file-list="false" action=''>
<el-button size="small" type="danger" @click='getItem(index, subIndex)'>
{{!subItem.ContractUrl ? '上传手配书' : '重新上传手配书'}}</el-button>
</el-upload>
<span v-if="subItem.IsHaveShouPeiFee==0" style="color:red;">暂无手配费</span>
<span v-if="subItem.IsHaveShouPeiFee==1" style="color:red;">手配费:{{subItem.ShouPeiMoney}}</span>
</td>
</tr>
</table>
......@@ -194,12 +189,12 @@
</el-input>
</td>
<!-- 尚差房间数 -->
<td>
<!-- <td>
<p class="pHouseStyle"
:class="{colorRed:childItem.HouseTypeCount-subItem.HouseStatistics.HouseTypeList[childIndex].HouseTypeCount<0}">
{{childItem.HouseTypeCount-subItem.HouseStatistics.HouseTypeList[childIndex].HouseTypeCount}}
</p>
</td>
</td> -->
<!-- 单价/每人 -->
<td>
<el-input @keyup.native="checkInteger(childItem,'UnitPrice')" class='w60 tcenter'
......@@ -447,6 +442,10 @@
</template>
</template>
</table>
<div class="noDataNotice" v-if="list.length<1">
<i class="iconfont icon-kong"></i>
<p>{{$t('active.ld_noData')}}</p>
</div>
</div>
</div>
</template>
......@@ -477,8 +476,6 @@
ClickItem: {},
offsetwidth: 0,
parentEle: '',
checkedIndex: '',
checkedsubIndex: '',
loading: false,
boxHeight: 0,
//合团的团期编号
......@@ -594,25 +591,6 @@
var day = Math.abs(parseInt(days / (1000 * 60 * 60 * 24)));
return day;
},
getItem(index, subIndex) {
this.checkedIndex = index
this.checkedsubIndex = subIndex
},
uploadFileBtnS(file) { //手配书上传
let that = this
let newArr = []
newArr.push(file.file)
let path = '/Upload/Temporary/'
this.$message.info('上传中...')
this.UploadSelfFileT(path, newArr, x => {
this.list[this.checkedIndex].HotelOrderList[this.checkedsubIndex].ContractUrl = this.domainManager()
.ViittoFileUrl + x.data.FilePath
this.$message.success(x.data.Message)
let newlist = JSON.parse(JSON.stringify(this.list))
this.list = newlist
this.$forceUpdate()
})
},
//添加酒店
AddHotel(item, subIndex) {
var subItem = JSON.parse(JSON.stringify(item.HotelOrderList[subIndex]));
......@@ -740,14 +718,20 @@
}
subItem.isShowPop = false;
subItem.ckedHotelName = "";
//遍历手配
this.SupplierList.forEach(x=>{
if(x.ID==subItem.SupplierId){
subItem.IsHaveShouPeiFee = x.IsHaveShouPeiFee;
subItem.ShouPeiMoney = x.ShouPeiMoney;
}
})
})
});
this.list = list;
this.$forceUpdate();
}
} else {
this.$message.error(res.data.message);
this.Error(res.data.message);
}
this.loading = false
}, err => {})
......@@ -929,6 +913,15 @@
}
}, err => {});
},
//改变id获取手配价格
getSupplierShoupei(SubItem){
this.SupplierList.forEach(x=>{
if(x.ID==SubItem.SupplierId){
SubItem.IsHaveShouPeiFee=x.IsHaveShouPeiFee;
SubItem.ShouPeiMoney=x.ShouPeiMoney;
}
})
}
},
mounted() {
let userInfo = this.getLocalStorage()
......
......@@ -304,6 +304,10 @@
<td v-if="childIndex==0" :rowspan="6">
<span>{{subItem.SupplierName}} <span v-if="subItem.SupplierPayType !== 0"
:style="{'color': subItem.SupplierPayType == 2 ? '#E95252': '#111111'}">{{subItem.SupplierPayType == 2 ? '签单' : '现付'}}</span></span>
<div v-if="subItem.IsHaveShouPeiFee==0" style="color:red;">暂无手配费</div>
<div v-if="subItem.IsHaveShouPeiFee==1" style="color:red;">手配费:{{subItem.ShouPeiMoney}}</div>
</td>
<td v-if="childIndex==0" :rowspan="6">
<template v-if="subItem.DMCState==1">
......@@ -895,9 +899,8 @@
x.CostProject = x.CostProject.toString();
});
}
} else {
this.$message.error(res.data.message);
this.Error(res.data.message);
}
}, err => {})
},
......
......@@ -268,6 +268,23 @@
</el-option>
</el-select>
</el-form-item>
<div class="cn_name clearfix">
<el-form-item :label="$t('admin.admin_Surname')" prop="Surname" class="name_input">
<el-input v-model="addMsg.Surname" :placeholder="$t('admin.admin_xing')" v-on:input="setEngName(1,addMsg.Surname)"></el-input>
</el-form-item>
<el-form-item prop="Name" class="name_input">
<el-input v-model="addMsg.Name" :placeholder="$t('admin.admin_ming')" v-on:input="setEngName(2,addMsg.Name)"></el-input>
</el-form-item>
</div>
<div class="cn_name clearfix">
<el-form-item :label="$t('admin.admin_EnSurname')" prop="EnSurname" class="name_input">
<el-input v-model="addMsg.EnSurname" :placeholder="$t('admin.admin_xing')"></el-input>
</el-form-item>
<el-form-item prop="EnName" class="name_input">
<el-input v-model="addMsg.EnName" :placeholder="$t('admin.admin_ming')"></el-input>
</el-form-item>
</div>
<el-form-item :label="$t('admin.admin_language')" class='multiple_input LanguageList' v-if="addMsg.Type==3">
<el-select v-model="LanguageIdS" multiple :placeholder="$t('admin.admin_phlanguage')" class="w210">
<el-option v-for='item in LanguageList' :key="item.ID" :label="item.Name" :value="item.ID">
......@@ -292,28 +309,12 @@
</el-option>
</el-select>
</el-form-item>
<el-form-item :label="$t('system.table_acc')" prop="EmployeeId">
<!-- <el-form-item :label="$t('system.table_acc')" prop="EmployeeId">
<el-select v-model="addMsg.EmployeeId" filterable :placeholder="$t('admin.admin_choAcc')" class="w210">
<el-option v-for='item in EmployeeList' :key="item.EmployeeId" :label="item.EmName" :value="item.EmployeeId">
</el-option>
</el-select>
</el-form-item>
<div class="cn_name clearfix">
<el-form-item :label="$t('admin.admin_Surname')" prop="Surname" class="name_input">
<el-input v-model="addMsg.Surname" :placeholder="$t('admin.admin_xing')" v-on:input="setEngName(1,addMsg.Surname)"></el-input>
</el-form-item>
<el-form-item prop="Name" class="name_input">
<el-input v-model="addMsg.Name" :placeholder="$t('admin.admin_ming')" v-on:input="setEngName(2,addMsg.Name)"></el-input>
</el-form-item>
</div>
<div class="cn_name clearfix">
<el-form-item :label="$t('admin.admin_EnSurname')" prop="EnSurname" class="name_input">
<el-input v-model="addMsg.EnSurname" :placeholder="$t('admin.admin_xing')"></el-input>
</el-form-item>
<el-form-item prop="EnName" class="name_input">
<el-input v-model="addMsg.EnName" :placeholder="$t('admin.admin_ming')"></el-input>
</el-form-item>
</div>
</el-form-item> -->
<el-form-item :label="$t('admin.admin_IDcard')" prop="IdCard" class="other_input">
<el-input type="text" v-model="addMsg.IdCard" :placeholder="$t('admin.admin_phIDcard')" class="w210"></el-input>
</el-form-item>
......@@ -337,6 +338,9 @@
<el-form-item :label="$t('pub.mbPhoneNum')" prop="MobilePhone" class="other_input">
<el-input type="text" v-model="addMsg.MobilePhone" :placeholder="$t('admin.admin_phPhone')" class="w210"></el-input>
</el-form-item>
<el-form-item label="境外电话" class="other_input">
<el-input type="text" v-model="addMsg.SpareTel" :placeholder="$t('admin.admin_SpareTel')" class="w210"></el-input>
</el-form-item>
<el-form-item :label="$t('system.table_Passport')" prop="Passport" class="other_input">
<el-input type="text" v-model="addMsg.Passport" :placeholder="$t('system.ph_Passport')" maxlength="9" class="w210"></el-input>
</el-form-item>
......@@ -412,6 +416,7 @@ export default {
BirthPlace: "",
Sex: "",
MobilePhone: "",
SpareTel:'',
Passport: "",
IssuePlace: "",
IssueDate: "",
......
......@@ -899,7 +899,7 @@
</div>
<div style="text-align:center">
<p style="font-size:26px;color:#111111;margin:40px 0">第{{tsNumber}}期投诉案例分享已经发布</p>
<a @click="CloseTs" target="_blank" href="http://we.oytour.com:8110/?/article/10" style="font-size:18px;color:#E95252;cursor:pointer;text-decoration:underline">点击查看</a>
<a @click="CloseTs" target="_blank" href="http://we.oytour.com:8110/?/article/11" style="font-size:18px;color:#E95252;cursor:pointer;text-decoration:underline">点击查看</a>
</div>
</div>
</div>
......@@ -930,7 +930,7 @@ export default {
data() {
return {
tsState:false,
tsNumber:2,
tsNumber:3,
saleRnkShow: false,
dialogTitleNot: '',
outerVisibleNot: false,
......
......@@ -3467,7 +3467,7 @@ export default {
name: 'OPcommissionPeriods',
component: resolve => require(['@/components/FinancialModule/OPcommissionPeriods'], resolve),
meta: {
title: 'op提成期数'
title: 'op提成'
}
},
{
......@@ -3475,7 +3475,15 @@ export default {
name: 'OPCommissionDetail',
component: resolve => require(['@/components/FinancialModule/OPCommissionDetail'], resolve),
meta: {
title: 'op提成期数详情'
title: 'op提成详情'
}
},
{
path: '/OpComPersonDetails',
name: 'OpComPersonDetails',
component: resolve => require(['@/components/FinancialModule/OpComPersonDetails'], resolve),
meta: {
title: 'op提成明细'
}
},
{
......
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