Commit befd54a6 authored by 吴春's avatar 吴春
parents cd732c85 5708332b
...@@ -576,12 +576,12 @@ ...@@ -576,12 +576,12 @@
<tr> <tr>
<td> <td>
<div style="margin:20px 0 10px 50px"> <div style="margin:20px 0 10px 50px">
<el-form-item style="display:inline-block;" label="费用总额(小写)人民币" prop="C_TotalPrice"> <el-form-item style="display:inline-block;" label="费用总额(小写)" prop="C_TotalPrice">
<el-input type="text" class="w300" v-model="CtObj.C_TotalPrice" <el-input type="text" class="w300" v-model="CtObj.C_TotalPrice"
@keyup.native="checkPrice(CtObj,'C_TotalPrice'),number_chinese(CtObj.C_TotalPrice)" @keyup.native="checkPrice(CtObj,'C_TotalPrice'),number_chinese(CtObj.C_TotalPrice)"
maxlength="10"></el-input>&nbsp;{{getCurrencyStr()}} maxlength="10"></el-input>&nbsp;{{getCurrencyStr()}}
</el-form-item> </el-form-item>
<el-form-item style="display:inline-block;" label="(大写)人民币" label-width="120px"> <el-form-item style="display:inline-block;" label="(大写)" label-width="120px">
<el-input type="text" class="w300" maxlength="50" v-model="AmountMoney"></el-input> <el-input type="text" class="w300" maxlength="50" v-model="AmountMoney"></el-input>
&nbsp;{{getCurrencyStr()}} &nbsp;{{getCurrencyStr()}}
</el-form-item> </el-form-item>
......
<style> <style>
@import "../../../assets/css/newTravelManager.css"; @import "../../../assets/css/newTravelManager.css";
</style> </style>
<template> <template>
<div> <div>
...@@ -9,9 +10,11 @@ ...@@ -9,9 +10,11 @@
<li> <li>
<span> <span>
<em>{{$t('system.table_ssLine')}}</em> <em>{{$t('system.table_ssLine')}}</em>
<el-select class='w150' v-model="queryMsg.LineId" filterable :placeholder="$t('pub.pleaseSel')" @change="getLineTeamList()"> <el-select class='w150' v-model="queryMsg.LineId" filterable :placeholder="$t('pub.pleaseSel')"
@change="getLineTeamList()">
<el-option :label="$t('pub.unlimitedSel')" :value='queryCommonData.SelectDefaultValue'></el-option> <el-option :label="$t('pub.unlimitedSel')" :value='queryCommonData.SelectDefaultValue'></el-option>
<el-option v-for="item in queryCommonData.LineList" :label='item.LineName' :value='item.LineID' :key='item.LineID'> <el-option v-for="item in queryCommonData.LineList" :label='item.LineName' :value='item.LineID'
:key='item.LineID'>
</el-option> </el-option>
</el-select> </el-select>
</span> </span>
...@@ -21,7 +24,8 @@ ...@@ -21,7 +24,8 @@
<em>{{$t('active.ad_xlmc')}}</em> <em>{{$t('active.ad_xlmc')}}</em>
<el-select class='w150' v-model="queryMsg.LineteamId" filterable :placeholder="$t('pub.pleaseSel')"> <el-select class='w150' v-model="queryMsg.LineteamId" filterable :placeholder="$t('pub.pleaseSel')">
<el-option :label="$t('pub.unlimitedSel')" :value='queryCommonData.SelectDefaultValue'></el-option> <el-option :label="$t('pub.unlimitedSel')" :value='queryCommonData.SelectDefaultValue'></el-option>
<el-option v-for="item in queryCommonData.LineTeamList" :label='item.LtName' :value='item.LtID' :key='item.LtID'> <el-option v-for="item in queryCommonData.LineTeamList" :label='item.LtName' :value='item.LtID'
:key='item.LtID'>
</el-option> </el-option>
</el-select> </el-select>
</span> </span>
...@@ -29,7 +33,7 @@ ...@@ -29,7 +33,7 @@
<li> <li>
<span> <span>
<em>{{$t('visa.v_tuanhao')}}</em> <em>{{$t('visa.v_tuanhao')}}</em>
<el-input maxlength="50" v-model="queryMsg.TCNUMS" class="permiss-input w150" <el-input maxlength="50" v-model="queryMsg.TCNUMS" class="permiss-input w150"
:placeholder="$t('pub.pleaseImport')"></el-input> :placeholder="$t('pub.pleaseImport')"></el-input>
</span> </span>
</li> </li>
...@@ -44,7 +48,7 @@ ...@@ -44,7 +48,7 @@
</el-select> </el-select>
</span> </span>
</li> </li>
<li> <li>
<span> <span>
<em>关键字</em> <em>关键字</em>
<el-input maxlength="50" v-model="queryMsg.KeyWords" class="permiss-input w150" <el-input maxlength="50" v-model="queryMsg.KeyWords" class="permiss-input w150"
...@@ -56,12 +60,14 @@ ...@@ -56,12 +60,14 @@
</li> </li>
</ul> </ul>
</div> </div>
<div class="TravelTclList" v-loading="queryCommonData.loading" :element-loading-text="queryCommonData.loadingText"> <div class="TravelTclList" v-loading="queryCommonData.loading"
:element-loading-text="queryCommonData.loadingText">
<ul> <ul>
<el-pagination background @current-change="handleCurrentChange" :current-page.sync="queryMsg.currentPage" <el-pagination background @current-change="handleCurrentChange" :current-page.sync="queryMsg.currentPage"
layout="total,prev, pager, next, jumper" :page-size='queryMsg.pageSize' :total='queryMsg.total'> layout="total,prev, pager, next, jumper" :page-size='queryMsg.pageSize' :total='queryMsg.total'>
</el-pagination> </el-pagination>
<li v-for="(item,index) in queryCommonData.dataList" :key="index" :class="{'TC_hasContent':item.OPInnerRemark==''&&item.OPRemark==''}"> <li v-for="(item,index) in queryCommonData.dataList" :key="index"
:class="{'TC_hasContent':item.OPInnerRemark==''&&item.OPRemark==''}">
<div :data-id="item.ID"> <div :data-id="item.ID">
<div class="el-col" style="position:relative;width:200px"> <div class="el-col" style="position:relative;width:200px">
<div v-if="item.IsWarning===1" class="travel_warning"></div> <div v-if="item.IsWarning===1" class="travel_warning"></div>
...@@ -100,9 +106,12 @@ ...@@ -100,9 +106,12 @@
</div> </div>
<div class="el-col"> <div class="el-col">
<div class="d7"> <div class="d7">
<el-button v-if="item.CreateBy==CurrentUserId && item.ShareTeamType<0" @click="goToOpenTravel('TravelManager3',item.ID)" type="primary">{{$t('Operation.Op_tripUpdate')}}</el-button> <el-button v-if="item.CreateBy==CurrentUserId"
@click="goToOpenTravel('TravelManager',item.ID)" type="primary">{{$t('Operation.Op_tripUpdate')}}
</el-button>
<el-button @click="copyTravelInfo(item.ID)" type="primary">{{$t('Operation.Op_tripCopy')}}</el-button> <el-button @click="copyTravelInfo(item.ID)" type="primary">{{$t('Operation.Op_tripCopy')}}</el-button>
<el-button v-if="item.TCNUMS==''&&item.CreateBy==CurrentUserId" @click="delConfig(item.ID)" type="primary">{{$t('system.table_delete')}}</el-button> <el-button v-if="item.TCNUMS==''&&item.CreateBy==CurrentUserId" @click="delConfig(item.ID)"
type="primary">{{$t('system.table_delete')}}</el-button>
<el-button @click="goUrlR(item)" type="primary"> <el-button @click="goUrlR(item)" type="primary">
{{$t('Operation.Op_tripDownLoad')}}</el-button> {{$t('Operation.Op_tripDownLoad')}}</el-button>
</div> </div>
...@@ -153,8 +162,8 @@ ...@@ -153,8 +162,8 @@
LineteamId: 0, LineteamId: 0,
CreateBy: 0, CreateBy: 0,
TeamType: 1, TeamType: 1,
TCNUMS:"", TCNUMS: "",
KeyWords:"",//关键字 KeyWords: "", //关键字
}, },
//当前用户id //当前用户id
CurrentUserId: 0, CurrentUserId: 0,
...@@ -201,7 +210,7 @@ ...@@ -201,7 +210,7 @@
this.queryMsg.pageIndex = 1; this.queryMsg.pageIndex = 1;
this.queryMsg.currentPage = 1; this.queryMsg.currentPage = 1;
}, },
//删除行程 //删除行程
delConfig(ID) { delConfig(ID) {
var that = this; var that = this;
this.Confirm(that.$t('sm.schbnhfjscz'), function () { this.Confirm(that.$t('sm.schbnhfjscz'), function () {
...@@ -329,17 +338,17 @@ ...@@ -329,17 +338,17 @@
); );
}, },
//跳转至下载 //跳转至下载
goUrlR(item){ goUrlR(item) {
let routeData = this.$router.resolve({ let routeData = this.$router.resolve({
name: 'confirmationOrderDownLoadNew', name: 'confirmationOrderDownLoadNew',
query: { query: {
configId:item.ID, configId: item.ID,
cityId: 0, cityId: 0,
tcid: item.TCID, tcid: item.TCID,
orderId:0, orderId: 0,
vshowL:false, vshowL: false,
vshowM:false, vshowM: false,
vshowTCNUM:true, vshowTCNUM: true,
} }
}) })
window.open(routeData.href, '_blank') window.open(routeData.href, '_blank')
......
...@@ -364,7 +364,6 @@ ...@@ -364,7 +364,6 @@
</li> </li>
<li> <li>
<button class="hollowFixedBtn" @click="resetPageIndex(),getControlList()">{{$t('pub.searchBtn')}}</button> <button class="hollowFixedBtn" @click="resetPageIndex(),getControlList()">{{$t('pub.searchBtn')}}</button>
<!-- <button class="hollowFixedBtn" @click='goToOpenTravel("TravelManager5")'>{{$t('sm.kaituan')}}</button> -->
</li> </li>
</ul> </ul>
</div> </div>
......
<style> <style>
@import "../../../assets/css/newTravelManager.css"; @import "../../../assets/css/newTravelManager.css";
</style> </style>
<template> <template>
<div> <div>
...@@ -9,9 +10,11 @@ ...@@ -9,9 +10,11 @@
<li> <li>
<span> <span>
<em>{{$t('system.table_ssLine')}}</em> <em>{{$t('system.table_ssLine')}}</em>
<el-select class='w150' v-model="queryMsg.LineId" filterable :placeholder="$t('pub.pleaseSel')" @change="getLineTeamList()"> <el-select class='w150' v-model="queryMsg.LineId" filterable :placeholder="$t('pub.pleaseSel')"
@change="getLineTeamList()" clearable>
<el-option :label="$t('pub.unlimitedSel')" :value='queryCommonData.SelectDefaultValue'></el-option> <el-option :label="$t('pub.unlimitedSel')" :value='queryCommonData.SelectDefaultValue'></el-option>
<el-option v-for="item in queryCommonData.LineList" :label='item.LineName' :value='item.LineID' :key='item.LineID'> <el-option v-for="item in queryCommonData.LineList" :label='item.LineName' :value='item.LineID'
:key='item.LineID'>
</el-option> </el-option>
</el-select> </el-select>
</span> </span>
...@@ -19,9 +22,10 @@ ...@@ -19,9 +22,10 @@
<li> <li>
<span> <span>
<em>{{$t('active.ad_xlmc')}}</em> <em>{{$t('active.ad_xlmc')}}</em>
<el-select class='w150' v-model="queryMsg.LineteamId" filterable :placeholder="$t('pub.pleaseSel')"> <el-select class='w150' v-model="queryMsg.LineteamId" filterable :placeholder="$t('pub.pleaseSel')" clearable>
<el-option :label="$t('pub.unlimitedSel')" :value='queryCommonData.SelectDefaultValue'></el-option> <el-option :label="$t('pub.unlimitedSel')" :value='queryCommonData.SelectDefaultValue'></el-option>
<el-option v-for="item in queryCommonData.LineTeamList" :label='item.LtName' :value='item.LtID' :key='item.LtID'> <el-option v-for="item in queryCommonData.LineTeamList" :label='item.LtName' :value='item.LtID'
:key='item.LtID'>
</el-option> </el-option>
</el-select> </el-select>
</span> </span>
...@@ -29,8 +33,15 @@ ...@@ -29,8 +33,15 @@
<li> <li>
<span> <span>
<em>{{$t('visa.v_tuanhao')}}</em> <em>{{$t('visa.v_tuanhao')}}</em>
<el-input maxlength="50" v-model="queryMsg.TCNUMS" class="permiss-input w150" <el-input maxlength="50" v-model="queryMsg.TCNUMS" class="permiss-input w150"
:placeholder="$t('pub.pleaseImport')"></el-input> :placeholder="$t('pub.pleaseImport')" clearable></el-input>
</span>
</li>
<li>
<span>
<em>团名</em>
<el-input v-model="queryMsg.KeyWords" class="permiss-input w150" :placeholder="$t('pub.pleaseImport')"
maxlength="50" clearable></el-input>
</span> </span>
</li> </li>
<li> <li>
...@@ -47,10 +58,10 @@ ...@@ -47,10 +58,10 @@
<li> <li>
<span> <span>
<em>{{$t('scen.sc_ftTime')}}</em> <em>{{$t('scen.sc_ftTime')}}</em>
<el-date-picker class="w150" type="date" v-model="queryMsg.StartGroupDate" :picker-options="pickerBeginDateBefore" <el-date-picker class="w150" type="date" v-model="queryMsg.StartGroupDate"
value-format="yyyy-MM-dd" placeholder></el-date-picker> :picker-options="pickerBeginDateBefore" value-format="yyyy-MM-dd" placeholder></el-date-picker>
<el-date-picker class="w150" type="date" v-model="queryMsg.EndGroupDate" :picker-options="pickerBeginDateAfter" <el-date-picker class="w150" type="date" v-model="queryMsg.EndGroupDate"
value-format="yyyy-MM-dd" placeholder></el-date-picker> :picker-options="pickerBeginDateAfter" value-format="yyyy-MM-dd" placeholder></el-date-picker>
</span> </span>
</li> </li>
<li> <li>
...@@ -58,12 +69,14 @@ ...@@ -58,12 +69,14 @@
</li> </li>
</ul> </ul>
</div> </div>
<div class="TravelTclList" v-loading="queryCommonData.loading" :element-loading-text="queryCommonData.loadingText"> <div class="TravelTclList" v-loading="queryCommonData.loading"
:element-loading-text="queryCommonData.loadingText">
<ul> <ul>
<el-pagination background @current-change="handleCurrentChange" :current-page.sync="queryMsg.currentPage" <el-pagination background @current-change="handleCurrentChange" :current-page.sync="queryMsg.currentPage"
layout="total,prev, pager, next, jumper" :page-size='queryMsg.pageSize' :total='queryMsg.total'> layout="total,prev, pager, next, jumper" :page-size='queryMsg.pageSize' :total='queryMsg.total'>
</el-pagination> </el-pagination>
<li v-for="(item,index) in queryCommonData.dataList" :key="index" :class="{'TC_hasContent':item.OPInnerRemark==''&&item.OPRemark==''}"> <li v-for="(item,index) in queryCommonData.dataList" :key="index"
:class="{'TC_hasContent':item.OPInnerRemark==''&&item.OPRemark==''}">
<div :data-id="item.ID"> <div :data-id="item.ID">
<div class="el-col" style="position:relative;width:200px"> <div class="el-col" style="position:relative;width:200px">
<div v-if="item.IsWarning===1" class="travel_warning"></div> <div v-if="item.IsWarning===1" class="travel_warning"></div>
...@@ -101,9 +114,11 @@ ...@@ -101,9 +114,11 @@
</div> </div>
<div class="el-col"> <div class="el-col">
<div class="d7"> <div class="d7">
<el-button @click="goToOpenTravel('TravelManager5',item.ID)" type="primary">{{$t('Operation.Op_tripUpdate')}}</el-button> <el-button @click="goToOpenTravel('TravelManager',item.ID)" type="primary">
{{$t('Operation.Op_tripUpdate')}}</el-button>
<el-button @click="copyTravelInfo(item.ID)" type="primary">{{$t('Operation.Op_tripCopy')}}</el-button> <el-button @click="copyTravelInfo(item.ID)" type="primary">{{$t('Operation.Op_tripCopy')}}</el-button>
<el-button v-if="item.TCNUMS==''" @click="delConfig(item.ID)" type="primary">{{$t('system.ph_shanchu')}}</el-button> <el-button v-if="item.TCNUMS==''" @click="delConfig(item.ID)" type="primary">
{{$t('system.ph_shanchu')}}</el-button>
</div> </div>
</div> </div>
</div> </div>
...@@ -152,10 +167,11 @@ ...@@ -152,10 +167,11 @@
LineId: 0, LineId: 0,
LineteamId: 0, LineteamId: 0,
CreateBy: 0, CreateBy: 0,
TeamType:2, TeamType: 2,
TCNUMS:"", TCNUMS: "",
StartGroupDate: "", StartGroupDate: "",
EndGroupDate: "", EndGroupDate: "",
KeyWords: "", //团名
}, },
remarkMsg: { remarkMsg: {
TCID: 0, TCID: 0,
...@@ -224,7 +240,9 @@ ...@@ -224,7 +240,9 @@
}, },
//获取线路列表 //获取线路列表
getLineList() { getLineList() {
this.apipost("line_post_GetList", {"LineDirection":3}, res => { this.apipost("line_post_GetList", {
"LineDirection": 3
}, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.queryCommonData.LineList = res.data.data; this.queryCommonData.LineList = res.data.data;
} }
...@@ -303,7 +321,6 @@ ...@@ -303,7 +321,6 @@
err => {} err => {}
); );
}); });
} }
}, },
//根据当前员工所在部门获取该部门及子部门员工信息 //根据当前员工所在部门获取该部门及子部门员工信息
......
...@@ -1729,10 +1729,10 @@ ...@@ -1729,10 +1729,10 @@
}, },
//选中航班选择框 //选中航班选择框
getSelect(item) { getSelect(item) {
if (this.PostConfig.LineId == 14 && item.DayNum != this.PostConfig.DayNum) { // if (this.PostConfig.LineId == 14 && item.DayNum != this.PostConfig.DayNum) {
this.Error("团期行程天数和机票的行程天数不一致!请重新选择!"); // this.Error("团期行程天数和机票的行程天数不一致!请重新选择!");
return; // return;
} // }
item.IsSelected = !item.IsSelected; item.IsSelected = !item.IsSelected;
this.FinfoList = []; this.FinfoList = [];
this.selectFilghtList.forEach(x => { this.selectFilghtList.forEach(x => {
......
...@@ -1739,10 +1739,10 @@ ...@@ -1739,10 +1739,10 @@
}, },
//选中航班选择框 //选中航班选择框
getSelect(item) { getSelect(item) {
if (this.PostConfig.LineId == 14 && item.DayNum != this.PostConfig.DayNum) { // if (this.PostConfig.LineId == 14 && item.DayNum != this.PostConfig.DayNum) {
this.Error("团期行程天数和机票的行程天数不一致!请重新选择!"); // this.Error("团期行程天数和机票的行程天数不一致!请重新选择!");
return; // return;
} // }
item.IsSelected = !item.IsSelected; item.IsSelected = !item.IsSelected;
this.FinfoList = []; this.FinfoList = [];
this.selectFilghtList.forEach(x => { this.selectFilghtList.forEach(x => {
......
...@@ -1606,10 +1606,10 @@ ...@@ -1606,10 +1606,10 @@
}, },
//选中航班选择框 //选中航班选择框
getSelect(item) { getSelect(item) {
if (this.PostConfig.LineId == 14 && item.DayNum != this.PostConfig.DayNum) { // if (this.PostConfig.LineId == 14 && item.DayNum != this.PostConfig.DayNum) {
this.Error("团期行程天数和机票的行程天数不一致!请重新选择!"); // this.Error("团期行程天数和机票的行程天数不一致!请重新选择!");
return; // return;
} // }
item.IsSelected = !item.IsSelected; item.IsSelected = !item.IsSelected;
this.FinfoList = []; this.FinfoList = [];
this.selectFilghtList.forEach(x => { this.selectFilghtList.forEach(x => {
......
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