Commit 0c687dfc authored by 罗超's avatar 罗超

Merge branch 'master' of http://gitlab.oytour.com/luochao/superman into master

parents b5380156 c6924936
...@@ -108,6 +108,8 @@ ...@@ -108,6 +108,8 @@
width: 216px; width: 216px;
} }
._icon_btn i.icon-tiaozheng{background-color: #1296db;font-size: 16px;} ._icon_btn i.icon-tiaozheng{background-color: #1296db;font-size: 16px;}
._icon_btn i.icon-zhifupeizhiguanli{background-color: #1296db;font-size: 16px;}
.boss_btn_tips,.boss_btn{ .boss_btn_tips,.boss_btn{
text-align: center; text-align: center;
} }
...@@ -642,7 +644,10 @@ ...@@ -642,7 +644,10 @@
<el-tooltip v-if="ActionMenuCode.indexOf('F_Update_TradeDate')!=-1" class="item" :content="$t('fnc.tzjyriqi')" placement="top"> <el-tooltip v-if="ActionMenuCode.indexOf('F_Update_TradeDate')!=-1" class="item" :content="$t('fnc.tzjyriqi')" placement="top">
<i v-if="msg.Conditon==2 && item.TradeDate" class="iconfont icon-tiaozheng" @click="dialogFormVisible=true,updateMsg.FrID=item.FrID,updateMsg.OTradeDate=item.TradeDate" ></i> <i v-if="msg.Conditon==2 && item.TradeDate" class="iconfont icon-tiaozheng" @click="dialogFormVisible=true,updateMsg.FrID=item.FrID,updateMsg.OTradeDate=item.TradeDate" ></i>
</el-tooltip> </el-tooltip>
<el-tooltip class="item" content="交易方式" placement="top" v-if="active==2 && istransaction == true">
<i v-if="active==2" class="iconfont icon-zhifupeizhiguanli"
@click="showjiaoyi(item.FrID)"></i>
</el-tooltip>
</td> </td>
</tr> </tr>
...@@ -723,6 +728,32 @@ ...@@ -723,6 +728,32 @@
<el-button class="hollowFixedBtn" @click="dialogFormVisible=false">{{$t('pub.cancelBtn')}}</el-button> <el-button class="hollowFixedBtn" @click="dialogFormVisible=false">{{$t('pub.cancelBtn')}}</el-button>
<el-button class="normalBtn" type="primary" @click="UpdateTradeDate()">{{$t('pub.sureBtn')}}</el-button> <el-button class="normalBtn" type="primary" @click="UpdateTradeDate()">{{$t('pub.sureBtn')}}</el-button>
</div> </div>
</el-dialog>
<!-- 修改交易方式 -->
<el-dialog title="修改交易方式" width="600px"
:visible.sync="transactionmode" center :before-close="closeChangeMachie">
<el-form label-width="110px">
<div class="rb_top_row _r_mb5" v-for='(x,y) in trabeList' :key='y'>
<p>收款账户:
<el-select filterable v-model='x.AccountTypeId' placeholder="" @change="getAccountList2(x.AccountTypeId,y)"
class="w150 _border_b_1">
<el-option v-for='item in AccList' :label='item.Name' :value='item.ID' :key='item.ID'>
</el-option>
</el-select>
<el-select filterable v-model='x.AccountId' placeholder="" @change="getAccountList3(x,y)"
class="w250 _border_b_1" >
<el-option v-for='item in x.list' :label='item.Name' :value='item.ID' :key='item.ID'>
</el-option>
</el-select>
</p>
</div>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button class="hollowFixedBtn" @click="transactionmode=false">{{$t('pub.cancelBtn')}}</el-button>
<el-button class="normalBtn" type="primary" @click="preservetransaction()">{{$t('pub.sureBtn')}}</el-button>
</div>
</el-dialog> </el-dialog>
<el-dialog title="一键审批" width="400px" :visible.sync="BOSSDialog" center :close-on-press-escape="false" :close-on-click-modal="false" > <el-dialog title="一键审批" width="400px" :visible.sync="BOSSDialog" center :close-on-press-escape="false" :close-on-click-modal="false" >
<template v-if="!BOSSDialogText"> <template v-if="!BOSSDialogText">
...@@ -1043,6 +1074,11 @@ export default { ...@@ -1043,6 +1074,11 @@ export default {
IsAdvanceFinance:1, IsAdvanceFinance:1,
}, },
costList:[], costList:[],
transactionmode:false,
accountList2:[],
trabeList:[],//获取的交易方式列表
alltransaction:[],
istransaction:false,
...@@ -1058,6 +1094,9 @@ export default { ...@@ -1058,6 +1094,9 @@ export default {
if(ActionMenuCode.indexOf('F_HandWithFee')!=-1){ if(ActionMenuCode.indexOf('F_HandWithFee')!=-1){
this.HandShow=true; this.HandShow=true;
} }
if(ActionMenuCode.indexOf('F_Trademodify')!=-1){
this.istransaction=true;
}
if(this.$route.query.returnCode){ if(this.$route.query.returnCode){
this.active = this.$route.query.returnCode; this.active = this.$route.query.returnCode;
this.msg.Conditon = this.$route.query.returnCode; this.msg.Conditon = this.$route.query.returnCode;
...@@ -1471,6 +1510,27 @@ export default { ...@@ -1471,6 +1510,27 @@ export default {
this.apipost('AccountType_post_GetList',this.queryAccMsg,res=>{ this.apipost('AccountType_post_GetList',this.queryAccMsg,res=>{
if(res.data.resultCode==1){ if(res.data.resultCode==1){
this.AccList = res.data.data; this.AccList = res.data.data;
let alltransaction = []
this.AccList.forEach(x=>{
let obj = {
Id:x.ID,
list:[]
}
this.apipost('FinancialInstitutions_post_GetALLAccountList', {
TypeId: x.ID
}, res => {
if (res.data.resultCode == 1) {
let data = res.data.data;
data.forEach(x => {
x.allName = x.BackNo + "(" + x.Alias + ")";
x.Name = x.Alias;
})
obj.list = data
}
}, err => {})
this.alltransaction.push(obj)
})
}else{ }else{
this.$message.error(res.data.message); this.$message.error(res.data.message);
} }
...@@ -1902,8 +1962,67 @@ export default { ...@@ -1902,8 +1962,67 @@ export default {
path = 'addFinancialGZDocuments' path = 'addFinancialGZDocuments'
this.$router.push({ name: path,query:{"FrID":id,"edit":1,blank:'y',tab:'修改财务单据'} }) this.$router.push({ name: path,query:{"FrID":id,"edit":1,blank:'y',tab:'修改财务单据'} })
} }
// this.$router.push({ name: path,query:{"type":type,"FrID":id,"edit":edit,"Conditon":Conditon,"pageIndex":pageIndex,blank:'y',tab:'修改财务单据'} }) },
} showjiaoyi(FrId){//弹出交易方式修改
this.apipost('Financial_get_GetFinanceTrabeList', {FrId:FrId}, res => {
if (res.data.resultCode == 1) {
this.trabeList = res.data.data
this.trabeList.forEach(x=>{
this.alltransaction.map(j=>{
if(x.AccountTypeId == j.Id){
x.list = j.list
return
}
})
})
this.transactionmode = true
}
}, err => {})
},
getAccountList2(AccountTypeId,y){//获取账户类型对应下的账户列表
this.alltransaction.map(x=>{
if(x.Id == AccountTypeId){
this.trabeList[y].list = x.list;
return
}
})
},
getAccountList3(x,y){
x.list.map(item=>{
if(x.AccountId == item.ID){
this.trabeList[y].Type = item.BankType;
return
}
})
},
getAccountListtype(AccountId){
this.accountList2.map(x=>{
if(x.ID == AccountId){
this.FinanceTrabeMsg.Type = x.BankType
return
}
})
},
preservetransaction(){//保存交易方式
let msg = []
this.trabeList.forEach(x=>{
let obj ={
ID:x.ID,
Type:x.Type,
AccountId:x.AccountId,
}
msg.push(obj)
})
this.apipost('Financial_get_SetFinanceTrabeInfo', msg, res => {
if (res.data.resultCode == 1) {
this.$message.success(res.data.message);
this.transactionmode = false
this.getPageList()
}else{
this.Error(res.data.message);
}
}, err => {})
}
}, },
watch:{ watch:{
} }
......
...@@ -375,6 +375,26 @@ ...@@ -375,6 +375,26 @@
</div> </div>
</template> </template>
</el-dialog> </el-dialog>
<!-- 修改费用类型 -->
<el-dialog title="修改费用类型" width="400px"
:visible.sync="costmode" center >
<el-form label-width="110px">
<div class="rb_top_row _r_mb5" v-for='(x,y) in trabeList' :key='y'>
<p>费用类型:
<el-select filterable v-model='x.CostTypeId' placeholder="" @change="getAccountList2(x.CostTypeId,y)"
class="w250 _border_b_1">
<el-option v-for='item in GetCostTypeList' :label='item.Name' :value='item.ID' :key='item.ID' >
</el-option>
</el-select>
</p>
</div>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button class="hollowFixedBtn" @click="costmode=false">{{$t('pub.cancelBtn')}}</el-button>
<el-button class="normalBtn" type="primary" @click="preservetransaction()">{{$t('pub.sureBtn')}}</el-button>
</div>
</el-dialog>
</div> </div>
</template> </template>
<script> <script>
...@@ -455,8 +475,23 @@ Vue.component('table-operation',{ //查看操作按钮 ...@@ -455,8 +475,23 @@ Vue.component('table-operation',{ //查看操作按钮
class="iconfont icon-zhuanhuan1" @click="getExchange(rowData,index)"> class="iconfont icon-zhuanhuan1" @click="getExchange(rowData,index)">
</i> </i>
</el-tooltip> </el-tooltip>
<el-tooltip class="item" effect="dark" content="费用类型" placement="top">
<i style="width: 30px;
height: 30px;
display: inline-block;
color: white !important;
border-radius: 50%;
text-align: center;
line-height: 30px;
margin-right: 10px;
cursor: pointer;
background-color: #47BF8C;
outline: none;" class="iconfont icon-feiyongleixing" v-if="Finance_ExpenseType==true && (rowData.Type==2 || rowData.Type==1)" @click="showfeiy(rowData)">
</i>
</el-tooltip>
</span>`, </span>`,
props:{ props:{
rowData:{ rowData:{
type:Object type:Object
}, },
...@@ -467,6 +502,19 @@ Vue.component('table-operation',{ //查看操作按钮 ...@@ -467,6 +502,19 @@ Vue.component('table-operation',{ //查看操作按钮
type:Number type:Number
} }
}, },
data(){
return{
Finance_ExpenseType:false
}
},
created(){
let userinfo = this.getLocalStorage();
let ActionMenuCode=userinfo.ActionMenuCode;
if(ActionMenuCode.indexOf('Finance_ExpenseType')!=-1){
this.Finance_ExpenseType=true;
}
},
methods:{ methods:{
goUrl(path){ goUrl(path){
// let routeData = this.$router.resolve({ // let routeData = this.$router.resolve({
...@@ -482,6 +530,9 @@ Vue.component('table-operation',{ //查看操作按钮 ...@@ -482,6 +530,9 @@ Vue.component('table-operation',{ //查看操作按钮
getExchange(rowData,index){ getExchange(rowData,index){
this.MsgBus.$emit('getRecQuery',rowData.FrID); this.MsgBus.$emit('getRecQuery',rowData.FrID);
}, },
showfeiy(rowData){
this.MsgBus.$emit('showfeiyong',rowData);
}
} }
}) })
Vue.component('table-RecPay',{ //收支样式 Vue.component('table-RecPay',{ //收支样式
...@@ -921,7 +972,9 @@ export default { ...@@ -921,7 +972,9 @@ export default {
], ],
pageSize:5, pageSize:5,
pageIndex:1, pageIndex:1,
heightQueryBox:false heightQueryBox:false,
costmode:false,//费用类型的修改弹窗
trabeList:[],//修改费用类型的下啦数据
} }
},created(){ },created(){
if(this.$route.query.returnCode){ if(this.$route.query.returnCode){
...@@ -993,6 +1046,9 @@ export default { ...@@ -993,6 +1046,9 @@ export default {
that.zhuanjiaoMsg.FrIDList.push(FrID); that.zhuanjiaoMsg.FrIDList.push(FrID);
that.zhuanjiaoBox = true; that.zhuanjiaoBox = true;
}); });
that.MsgBus.$on('showfeiyong',function(row){
that.showfeiyong(row)
})
},methods:{ },methods:{
customCompFunc(params){ customCompFunc(params){
}, },
...@@ -1420,6 +1476,43 @@ export default { ...@@ -1420,6 +1476,43 @@ export default {
}, },
goEit(path,type,id,edit,Conditon,pageIndex){ goEit(path,type,id,edit,Conditon,pageIndex){
this.$router.push({ name: path,query:{"type":type,"FrID":id,"edit":edit,"Conditon":Conditon,"pageIndex":pageIndex} }) this.$router.push({ name: path,query:{"type":type,"FrID":id,"edit":edit,"Conditon":Conditon,"pageIndex":pageIndex} })
},
showfeiyong(row){
this.apipost('Financial_get_GetFinanceCostTypeList', {FrId:row.FrID}, res => {
if (res.data.resultCode == 1) {
this.trabeList = res.data.data
this.costmode = true
}
}, err => {})
},
getAccountList2(val,index){
this.GetCostTypeList.map((x)=>{
if(x.ID == val){
this.trabeList[index].CostTypeName = x.Name;
return
}
})
},
preservetransaction(){//保存费用类型的修改
let msg = []
this.trabeList.forEach(x=>{
let obj ={
ID:x.ID,
FinanceId:x.FinanceId,
CostTypeId:x.CostTypeId,
CostTypeName:x.CostTypeName,
}
msg.push(obj)
})
this.apipost('Financial_get_SetFinanceCostTypeInfo', msg, res => {
if (res.data.resultCode == 1) {
this.$message.success(res.data.message);
this.costmode = false
this.getPageList()
}else{
this.Error(res.data.message);
}
}, err => {})
} }
} }
......
...@@ -689,10 +689,10 @@ Vue.component("TCIDJump", { ...@@ -689,10 +689,10 @@ Vue.component("TCIDJump", {
// 团队跳转 // 团队跳转
template: ` template: `
<div> <div>
<span style="cursor: pointer" v-if="rowData.DataType===1" @click="goUrl('TeamBalancePayment',rowData.TCID)">{{rowData.TCID}}</span> <span style="cursor: pointer" v-if="rowData.DataType===1" @click="goUrl('TeamBalancePayment',rowData.TCID,rowData)">{{rowData.TCID}}</span>
<span style="cursor: pointer" v-if="rowData.DataType===2" @click="goUrl('individualTicket',rowData.TCID)">{{rowData.TCID}}</span> <span style="cursor: pointer" v-if="rowData.DataType===2" @click="goUrl('individualTicket',rowData.TCID,rowData)">{{rowData.TCID}}</span>
<span style="cursor: pointer" v-if="rowData.DataType===3" @click="goUrlVisa('VisaProductOrder',rowData.TCID)">{{rowData.TCID}}</span> <span style="cursor: pointer" v-if="rowData.DataType===3" @click="goUrlVisa('VisaProductOrder',rowData.TCID)">{{rowData.TCID}}</span>
<span style="cursor: pointer" v-if="rowData.DataType===4" @click="goUrl('SettlementOrder',rowData.TCID)">{{rowData.TCID}}</span> <span style="cursor: pointer" v-if="rowData.DataType===4" @click="goUrl('SettlementOrder',rowData.TCID,rowData)">{{rowData.TCID}}</span>
<span style="cursor: pointer" v-if="rowData.DataType===6||rowData.DataType===7||rowData.DataType===12||rowData.DataType===13">{{rowData.TCID}}</span> <span style="cursor: pointer" v-if="rowData.DataType===6||rowData.DataType===7||rowData.DataType===12||rowData.DataType===13">{{rowData.TCID}}</span>
<span style="cursor: pointer" v-if="rowData.DataType===8">{{rowData.TCID}}</span> <span style="cursor: pointer" v-if="rowData.DataType===8">{{rowData.TCID}}</span>
<span style="cursor: pointer" v-if="rowData.DataType===9">{{rowData.TCID}}</span> <span style="cursor: pointer" v-if="rowData.DataType===9">{{rowData.TCID}}</span>
...@@ -715,11 +715,19 @@ Vue.component("TCIDJump", { ...@@ -715,11 +715,19 @@ Vue.component("TCIDJump", {
} }
}, },
methods: { methods: {
goUrl(path, id) { goUrl(path, id ,row) {
this.$router.push({ if(row.TeamType==2){//为一日游的时候跳转到一日游团控列表
path: "/" + path, this.$router.push({
query: { id: id, blank: "y" } path: "/oneDayTrip" ,
}); query: { id: id, blank: "y" }
});
}else{
this.$router.push({
path: "/" + path,
query: { id: id, blank: "y" }
});
}
}, },
goUrlVisa(path, id) { goUrlVisa(path, id) {
this.$router.push({ this.$router.push({
...@@ -732,7 +740,7 @@ Vue.component("TCIDJump", { ...@@ -732,7 +740,7 @@ Vue.component("TCIDJump", {
Vue.component("TCNUMJump", { Vue.component("TCNUMJump", {
// 团队跳转 // 团队跳转
template: `<div> template: `<div>
<span style="cursor: pointer;text-decoration:underline" v-if="rowData.DataType===1" @click="goUrl('TravelControlList',rowData.TCNUM)">{{rowData.TCNUM}}</span> <span style="cursor: pointer;text-decoration:underline" v-if="rowData.DataType===1" @click="goUrl('TravelControlList',rowData.TCNUM,rowData)">{{rowData.TCNUM}}</span>
<span style="cursor: pointer;text-decoration:underline" v-if="rowData.DataType===2" @click="goUrlExtend('SettlementOrder',rowData.TCID)">{{rowData.TCNUM}}</span> <span style="cursor: pointer;text-decoration:underline" v-if="rowData.DataType===2" @click="goUrlExtend('SettlementOrder',rowData.TCID)">{{rowData.TCNUM}}</span>
<span style="cursor: pointer;text-decoration:underline" v-if="rowData.DataType===3" @click="goUrlVisa('VisaProductOrder',rowData.TCID)">{{rowData.TCNUM}}</span> <span style="cursor: pointer;text-decoration:underline" v-if="rowData.DataType===3" @click="goUrlVisa('VisaProductOrder',rowData.TCID)">{{rowData.TCNUM}}</span>
<span style="cursor: pointer;text-decoration:underline" v-if="rowData.DataType===4" @click="goUrlExtend('SettlementOrder',rowData.TCID)">{{rowData.TCNUM}}</span> <span style="cursor: pointer;text-decoration:underline" v-if="rowData.DataType===4" @click="goUrlExtend('SettlementOrder',rowData.TCID)">{{rowData.TCNUM}}</span>
...@@ -820,11 +828,19 @@ Vue.component("TCNUMJump", { ...@@ -820,11 +828,19 @@ Vue.component("TCNUMJump", {
}); });
}, },
goUrl(path, id) { goUrl(path, id,row) {
this.$router.push({ if(row.TeamType==2){//为一日游的时候跳转到一日游团控列表
this.$router.push({
path: "/oneDayTrip" ,
query: { id: row.TCID, blank: "y" }
});
}else{
this.$router.push({
path: "/" + path, path: "/" + path,
query: { tcmun: id, blank: "y" } query: { tcmun: id, blank: "y" }
}); });
}
}, },
goUrlExtend(path, id) { goUrlExtend(path, id) {
this.$router.push({ this.$router.push({
......
...@@ -216,7 +216,7 @@ ...@@ -216,7 +216,7 @@
<span style="color:green">{{subItem.NewHotelName}}</span> <span style="color:green">{{subItem.NewHotelName}}</span>
<el-popover placement="right" width="540" trigger="click" v-model="subItem.isShowPop"> <el-popover placement="right" width="540" trigger="click" v-model="subItem.isShowPop">
<comCheckHotel :ref="'comCheckHotel'+index+subIndex+''" v-on:childHotel="childHotelList" <comCheckHotel :ref="'comCheckHotel'+index+subIndex+''" v-on:childHotel="childHotelList"
:UseDate="item.UseTimeStr" :Country="651"> :UseDate="item.UseTimeStr" :Country="ChooseCountry">
</comCheckHotel> </comCheckHotel>
<el-button size="small" type="danger" :data-index="'comCheckHotel'+index+subIndex+''" <el-button size="small" type="danger" :data-index="'comCheckHotel'+index+subIndex+''"
slot="reference" style="cursor:pointer;" slot="reference" style="cursor:pointer;"
...@@ -683,7 +683,8 @@ ...@@ -683,7 +683,8 @@
HouseNum: 0, HouseNum: 0,
BookNum: 0 BookNum: 0
}, },
] ],
ChooseCountry:"651"
} }
}, },
components: { components: {
...@@ -1206,6 +1207,14 @@ ...@@ -1206,6 +1207,14 @@
if (this.$route.query.LineId) { if (this.$route.query.LineId) {
this.LineId = this.$route.query.LineId; this.LineId = this.$route.query.LineId;
} }
if(this.LineId==90)
{
this.ChooseCountry=2;
}
else if(this.LineId==14)
{
this.ChooseCountry=651;
}
this.GetAuth(); this.GetAuth();
this.getAllCurrency(); this.getAllCurrency();
this.LeaderName = this.$route.query.LeaderName; this.LeaderName = this.$route.query.LeaderName;
......
...@@ -153,7 +153,7 @@ ...@@ -153,7 +153,7 @@
<span v-else-if="item.HighSpeedPayType === 7">自由活动-无用车</span> <span v-else-if="item.HighSpeedPayType === 7">自由活动-无用车</span>
<span v-else-if="item.HighSpeedPayType === 8">酒店接送</span> <span v-else-if="item.HighSpeedPayType === 8">酒店接送</span>
<span v-else></span> <span v-else></span>
</br> <br/>
<span v-show="item.HighSpeedPayType==6">付款团号:{{item.PayTypeTCNUM}}</span> <span v-show="item.HighSpeedPayType==6">付款团号:{{item.PayTypeTCNUM}}</span>
</td> </td>
<td> <td>
...@@ -498,7 +498,7 @@ ...@@ -498,7 +498,7 @@
</td> </td>
<td v-if="childIndex==0" :rowspan="3"> <td v-if="childIndex==0" :rowspan="3">
<span v-if="subItem.PayStyle === 1">现付</span> <span v-if="subItem.PayStyle === 1">现付</span>
<span v-else-if="subItem.PayStyle === 2">公司结算</span> <span v-else-if="subItem.PayStyle === 2">签单</span>
<span v-else-if="subItem.PayStyle === 3">预付</span> <span v-else-if="subItem.PayStyle === 3">预付</span>
<span v-else-if="subItem.PayStyle === 6">公司合团支付</span> <span v-else-if="subItem.PayStyle === 6">公司合团支付</span>
<span v-else-if="subItem.PayStyle === 11">刷卡</span> <span v-else-if="subItem.PayStyle === 11">刷卡</span>
...@@ -594,8 +594,9 @@ ...@@ -594,8 +594,9 @@
<span v-else-if="subItem.PayStyle === 4">预付</span> <span v-else-if="subItem.PayStyle === 4">预付</span>
<span v-else-if="subItem.PayStyle === 5">实物抵扣</span> <span v-else-if="subItem.PayStyle === 5">实物抵扣</span>
<span v-else-if="subItem.PayStyle === 6">公司合团支付</span> <span v-else-if="subItem.PayStyle === 6">公司合团支付</span>
<span v-else-if="subItem.PayStyle === 12">网订</span>
<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>
<td v-if="childIndex==0" :rowspan="3"> <td v-if="childIndex==0" :rowspan="3">
......
...@@ -172,8 +172,8 @@ ...@@ -172,8 +172,8 @@
<td style="text-align:left;"> <td style="text-align:left;">
<el-select class='w135 sel' v-model='subItem.PayStyle' :placeholder="$t('pub.pleaseSel')"> <el-select class='w135 sel' v-model='subItem.PayStyle' :placeholder="$t('pub.pleaseSel')">
<el-option :label="$t('pub.pleaseSel')" :value='0'></el-option> <el-option :label="$t('pub.pleaseSel')" :value='0'></el-option>
<el-option :label='$t("ground.xianfu")' :value='1' v-if="subItem.PayStyleExt==1"></el-option> <el-option :label='$t("ground.xianfu")' :value='1' v-if="subItem.PayStyleExt==1||LineId==90"></el-option>
<el-option :label='$t("ground.qiandan")' :value='2' v-if="subItem.PayStyleExt==2"></el-option> <el-option :label='$t("ground.qiandan")' :value='2' v-if="subItem.PayStyleExt==2||LineId==90"></el-option>
<el-option :label='$t("ground.shiwudk")' :value='3' v-if="subItem.PayStyleExt==3"></el-option> <el-option :label='$t("ground.shiwudk")' :value='3' v-if="subItem.PayStyleExt==3"></el-option>
<el-option :label='$t("ground.yufu")' :value='4' v-if="subItem.PayStyleExt==4"></el-option> <el-option :label='$t("ground.yufu")' :value='4' v-if="subItem.PayStyleExt==4"></el-option>
<el-option :label='$t("ground.yufukuandk")' :value='5' v-if="subItem.PayStyleExt==5"> <el-option :label='$t("ground.yufukuandk")' :value='5' v-if="subItem.PayStyleExt==5">
......
...@@ -1078,23 +1078,7 @@ ...@@ -1078,23 +1078,7 @@
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="美食分类" prop="FoodType"> <!-- <el-form-item label="美食分类" prop="FoodType">
<!-- <el-select
v-model="addMsg.FoodType"
class="multiple_input w300"
:placeholder="$t('pub.pleaseSel')"
@change="getFoodTypeList(addMsg.FoodType)"
>
<el-option label="不限" :value="0"></el-option>
<el-option
v-for="item in FoodTypeList"
:key="item.ID"
:label="item.Name"
:value="item.ID"
>
</el-option>
</el-select> -->
<el-cascader <el-cascader
style="width:300px" style="width:300px"
v-model="addMsg.FoodType" v-model="addMsg.FoodType"
...@@ -1109,6 +1093,13 @@ ...@@ -1109,6 +1093,13 @@
}" }"
clearable> clearable>
</el-cascader> </el-cascader>
</el-form-item> -->
<el-form-item label="美食分类" prop="FoodType">
<el-select v-model="addMsg.FoodType" class='w300' :placeholder="$t('pub.pleaseSel')">
<el-option v-for="item in FoodTypeList" :key="item.ID" :label="item.Name" :value="item.ID">
</el-option>
</el-select>
</el-form-item> </el-form-item>
<el-form-item :label="$t('Operation.Op_price')"> <el-form-item :label="$t('Operation.Op_price')">
<el-select <el-select
......
...@@ -546,7 +546,7 @@ ...@@ -546,7 +546,7 @@
<span>{{$t('salesModule.XSQW')}}</span> <span>{{$t('salesModule.XSQW')}}</span>
<span class="TCL-greenType">{{item.SaleClearOrderHour}}{{$t('salesModule.Hour')}}</span> <span class="TCL-greenType">{{item.SaleClearOrderHour}}{{$t('salesModule.Hour')}}</span>
</p> </p>
<p v-if="item.LineID==14 && item.HotelOrderListReports && item.HotelOrderListReports.length>0 "> <p v-if="(item.LineID==14 || item.LineID==90) && item.HotelOrderListReports && item.HotelOrderListReports.length>0 ">
<el-popover width="980" trigger="click" popper-class="TC_HotelPop"> <el-popover width="980" trigger="click" popper-class="TC_HotelPop">
<commonHotelInfo :HotelObj="item.HotelOrderListReports" :showHotelObj="showHotelObj" <commonHotelInfo :HotelObj="item.HotelOrderListReports" :showHotelObj="showHotelObj"
:TCID="item.TCID" :DMCNum="item.DMCNum" :TCNUM="item.TCNUM" :TCID="item.TCID" :DMCNum="item.DMCNum" :TCNUM="item.TCNUM"
......
...@@ -1615,6 +1615,9 @@ ...@@ -1615,6 +1615,9 @@
this.queryMsg = this.$store.state.pageCondition this.queryMsg = this.$store.state.pageCondition
} }
} }
if(this.$route.query.id){
this.queryMsg.TCID = this.$route.query.id
}
var myDate = new Date() var myDate = new Date()
var nowDate = var nowDate =
myDate.getFullYear() + myDate.getFullYear() +
......
...@@ -410,6 +410,16 @@ ...@@ -410,6 +410,16 @@
<div class="TC_Content TravelControlList"> <div class="TC_Content TravelControlList">
<div class="query-box"> <div class="query-box">
<ul> <ul>
<li>
<span>
<em>线路</em>
<el-select v-model="queryMsg.LineId" class="w150" :placeholder="$t('pub.pleaseSel')"
@change="getLineTeamList(queryMsg.LineId,true)" filterable>
<el-option v-for="item in queryCommonData.LineList" :label="item.LineName" :value="item.LineID" :key="item.LineID">
</el-option>
</el-select>
</span>
</li>
<li> <li>
<span> <span>
<em>{{$t('active.ad_xlmc')}}</em> <em>{{$t('active.ad_xlmc')}}</em>
...@@ -617,7 +627,7 @@ ...@@ -617,7 +627,7 @@
</template> </template>
</tbody> </tbody>
<tr v-show="queryMsg.noData"> <tr v-show="queryMsg.noData">
<td colspan="6">{{$t('system.content_noData')}}</td> <td colspan="6" style="text-align:center;height:40px;">{{$t('system.content_noData')}}</td>
</tr> </tr>
</table> </table>
<el-pagination background @current-change="handleCurrentChange" :current-page.sync="queryMsg.currentPage" <el-pagination background @current-change="handleCurrentChange" :current-page.sync="queryMsg.currentPage"
...@@ -650,7 +660,7 @@ ...@@ -650,7 +660,7 @@
queryMsg: { queryMsg: {
pageIndex: 1, pageIndex: 1,
pageSize: 5, pageSize: 5,
LineId: 14, LineId: 0,
LineteamId: 0, LineteamId: 0,
TCNUM: "", TCNUM: "",
StartGroupDate: "", StartGroupDate: "",
...@@ -755,23 +765,58 @@ ...@@ -755,23 +765,58 @@
getLineList() { getLineList() {
this.apipost("line_post_GetList", {}, res => { this.apipost("line_post_GetList", {}, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.queryCommonData.LineList = res.data.data; let lineArr = res.data.data;
this.queryCommonData.LineList=[];
lineArr.forEach(x=>{
if(x.LineID==14||x.LineID==90){
this.queryCommonData.LineList.push(x);
}
})
let obj = {
LineName:'不限',
LineID:0
}
this.queryCommonData.LineList.unshift(obj);
} }
}); });
}, },
//获取系列列表 //获取系列列表
getLineTeamList() { getLineTeamList(lineId, isDefault) {
this.queryMsg.LineteamId = 0; //查询线路名
if (isDefault) {
this.queryMsg.LineteamId = 0;
}
let msg = { let msg = {
lineID: this.queryMsg.LineId, lineID: lineId,
isTOOP: 1 isTOOP: 1
}; };
var that = this;
//获取当前选中的对象
let obj = {};
obj = that.queryCommonData.LineList.find(item => {
return item.LineID === lineId;
});
this.apipost("team_post_GetList", msg, res => { this.apipost("team_post_GetList", msg, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.queryCommonData.LineTeamList = res.data.data; this.queryCommonData.LineTeamList = res.data.data;
} }
}); });
}, },
// //获取系列列表
// getLineTeamList() {
// this.queryMsg.LineteamId = 0;
// let msg = {
// lineID: this.queryMsg.LineId,
// isTOOP: 1
// };
// this.apipost("team_post_GetList", msg, res => {
// if (res.data.resultCode == 1) {
// this.queryCommonData.LineTeamList = res.data.data;
// }
// });
// },
//新获取列表数据 //新获取列表数据
getControlList() { getControlList() {
this.loading = true; this.loading = true;
...@@ -812,8 +857,9 @@ ...@@ -812,8 +857,9 @@
}, },
}, },
mounted() { mounted() {
this.getLineList();
this.getCompanyList(); this.getCompanyList();
this.getLineTeamList(); this.getLineTeamList(0,true);
}, },
created() { created() {
var myDate = new Date(); var myDate = new Date();
......
...@@ -1851,15 +1851,10 @@ ...@@ -1851,15 +1851,10 @@
testApi() { testApi() {
this.apipost( this.apipost(
"sellorder_post_GetMiniAppTravelOrderList", { "sellorder_post_GetMiniAppTravelOrderList", {
"MiniAppUserId": 113859,
pageIndex:1,
pageSize:5,
}, },
res => { res => {
console.log("res",res.data);
if (res.data.resultCode == 1) {
}
} }
); );
}, },
......
...@@ -422,8 +422,9 @@ ...@@ -422,8 +422,9 @@
<span v-else-if="subItem.PayStyle === 2">公司结算</span> <span v-else-if="subItem.PayStyle === 2">公司结算</span>
<span v-else-if="subItem.PayStyle === 3">预付</span> <span v-else-if="subItem.PayStyle === 3">预付</span>
<span v-else-if="subItem.PayStyle === 6">公司合团支付</span> <span v-else-if="subItem.PayStyle === 6">公司合团支付</span>
<span v-else-if="subItem.PayStyle === 12">网订</span>
<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>
...@@ -520,12 +521,12 @@ ...@@ -520,12 +521,12 @@
</td> </td>
<td v-if="childIndex==0" :rowspan="subItem.DiningPriceList.length"> <td v-if="childIndex==0" :rowspan="subItem.DiningPriceList.length">
<span v-if="subItem.PayStyle === 1">现付</span> <span v-if="subItem.PayStyle === 1">现付</span>
<span v-else-if="subItem.PayStyle === 2">公司结算</span> <span v-else-if="subItem.PayStyle === 2">签单</span>
<span v-else-if="subItem.PayStyle === 3">预付</span> <span v-else-if="subItem.PayStyle === 3">预付</span>
<span v-else-if="subItem.PayStyle === 6">公司合团支付</span> <span v-else-if="subItem.PayStyle === 6">公司合团支付</span>
<span v-else-if="subItem.PayStyle === 11">刷卡</span> <span v-else-if="subItem.PayStyle === 11">刷卡</span>
<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>
......
...@@ -9,8 +9,7 @@ ...@@ -9,8 +9,7 @@
</template> </template>
<template v-else> <template v-else>
<span style="color:red;font-size:14px;">已制单,不能在修改!</span> <span style="color:red;font-size:14px;">已制单,不能在修改!</span>
<input v-if="EditBtn" type="button" class="fr normalBtn mb30" value="保存" <input v-if="EditBtn" type="button" class="fr normalBtn mb30" value="保存" @click="saveList(1)" />
@click="saveList(1)" />
</template> </template>
</li> </li>
</ul> </ul>
...@@ -133,8 +132,8 @@ ...@@ -133,8 +132,8 @@
<el-option label='签单' value='2'></el-option> <el-option label='签单' value='2'></el-option>
<el-option label='实物抵扣' value='5'></el-option> <el-option label='实物抵扣' value='5'></el-option>
<el-option label='预付' value='4'></el-option> <el-option label='预付' value='4'></el-option>
<el-option label='网订' value='12'></el-option>
</el-select> </el-select>
</td> </td>
</tr> </tr>
<tr> <tr>
...@@ -161,7 +160,7 @@ ...@@ -161,7 +160,7 @@
export default { export default {
data() { data() {
return { return {
EditBtn:false,//房餐景点修改权限 EditBtn: false, //房餐景点修改权限
defaultSelectValue: 0, defaultSelectValue: 0,
DataList: [], DataList: [],
roomList: [], roomList: [],
...@@ -172,7 +171,7 @@ ...@@ -172,7 +171,7 @@
IsOperation: '', IsOperation: '',
//是否禁用按钮 //是否禁用按钮
IsDisabled: false, IsDisabled: false,
LineId:0,//线路编号 LineId: 0, //线路编号
} }
}, },
methods: { methods: {
...@@ -268,7 +267,7 @@ ...@@ -268,7 +267,7 @@
}, err => {}) }, err => {})
}, },
CheckAuth() { CheckAuth() {
var actionCode = this.$AuthCode.EditRoomDinnerTIcket; var actionCode = this.$AuthCode.EditRoomDinnerTIcket;
this.CheckUserAuth(actionCode, res => { this.CheckUserAuth(actionCode, res => {
if (res.data.resultCode == 1 && res.data.data == 1) { if (res.data.resultCode == 1 && res.data.data == 1) {
...@@ -281,9 +280,8 @@ ...@@ -281,9 +280,8 @@
this.CheckAuth(); this.CheckAuth();
this.TCNUM = this.$route.query.TCNUM; this.TCNUM = this.$route.query.TCNUM;
this.flightTotal = this.$route.query.flightTotal; this.flightTotal = this.$route.query.flightTotal;
if(this.$route.query.LineId) if (this.$route.query.LineId) {
{ this.LineId = this.$route.query.LineId;
this.LineId=this.$route.query.LineId;
} }
this.GuestNum = this.$route.query.GuestNum; this.GuestNum = this.$route.query.GuestNum;
this.getList(); this.getList();
......
...@@ -721,7 +721,7 @@ ...@@ -721,7 +721,7 @@
<el-form-item :label="$t('scen.sc_resName')" prop="Name"> <el-form-item :label="$t('scen.sc_resName')" prop="Name">
<el-input type="text" v-model="addMsg.Name" maxlength="100" class="w300"></el-input> <el-input type="text" v-model="addMsg.Name" maxlength="100" class="w300"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="景区分类" prop="FoodType"> <!-- <el-form-item label="景区分类" prop="FoodType">
<el-cascader <el-cascader
style="width:300px" style="width:300px"
@change="handleChange" @change="handleChange"
...@@ -737,6 +737,12 @@ ...@@ -737,6 +737,12 @@
}" }"
clearable> clearable>
</el-cascader> </el-cascader>
</el-form-item> -->
<el-form-item label="景区分类" prop="FoodType">
<el-select v-model="addMsg.FoodType" class='w300' :placeholder="$t('pub.pleaseSel')">
<el-option v-for="item in scenicList" :key="item.ID" :label="item.Name" :value="item.ID">
</el-option>
</el-select>
</el-form-item> </el-form-item>
<el-form-item label="是否上架" prop="IsShelves"> <el-form-item label="是否上架" prop="IsShelves">
<el-radio v-model="addMsg.IsShelves" :label="0">上架</el-radio> <el-radio v-model="addMsg.IsShelves" :label="0">上架</el-radio>
...@@ -945,6 +951,12 @@ ...@@ -945,6 +951,12 @@
placeholder="选择时间"> placeholder="选择时间">
</el-time-select> </el-time-select>
</el-form-item> </el-form-item>
<el-form-item label="免费">
<el-select v-model="addMsg.IsFree" class='multiple_input' :placeholder="$t('pub.pleaseSel')">
<el-option v-for="item in IsFreeList" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</el-select>
</el-form-item>
</template> </template>
</div> </div>
...@@ -1249,7 +1261,6 @@ ...@@ -1249,7 +1261,6 @@
StopTime:"", StopTime:"",
} }
], ],
FoodType:0,
IsShelves:0, IsShelves:0,
}, },
......
...@@ -797,7 +797,7 @@ ...@@ -797,7 +797,7 @@
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="是否免费"> <el-form-item label="免费">
<el-select v-model="addMsg.IsFree" class='multiple_input w300' :placeholder="$t('pub.pleaseSel')"> <el-select v-model="addMsg.IsFree" class='multiple_input w300' :placeholder="$t('pub.pleaseSel')">
<el-option v-for="item in IsFreeList" :key="item.value" :label="item.label" :value="item.value"> <el-option v-for="item in IsFreeList" :key="item.value" :label="item.label" :value="item.value">
</el-option> </el-option>
......
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