Commit 0a83fa59 authored by 华国豪's avatar 华国豪 🙄
parents 11878386 b505a8bd
...@@ -2209,7 +2209,8 @@ ...@@ -2209,7 +2209,8 @@
FlyState: "0", FlyState: "0",
LineId: 0, //线路编号 LineId: 0, //线路编号
ID: 0, ID: 0,
TicketType: 0 //定金类型(1定,2定等) TicketType: 0, //定金类型(1定,2定等)
IsLimit:1
}, },
addMsg: { addMsg: {
ID: "0", ID: "0",
...@@ -2610,7 +2611,6 @@ ...@@ -2610,7 +2611,6 @@
this.total = res.data.data.count; this.total = res.data.data.count;
this.dataList = res.data.data.pageData; this.dataList = res.data.data.pageData;
this.noData = !this.total > 0; this.noData = !this.total > 0;
console.log(this.dataList,'datalist');
} }
if (this.msg.ID == 0) { if (this.msg.ID == 0) {
this.msg.ID = ""; this.msg.ID = "";
......
...@@ -1062,6 +1062,7 @@ ...@@ -1062,6 +1062,7 @@
</el-input> </el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<!-- <el-col :span="4" v-show="addMsg.TradeWay==1&&addMsg.PlatformOrder!='' && isAllowUpdate!==0"> <!-- <el-col :span="4" v-show="addMsg.TradeWay==1&&addMsg.PlatformOrder!='' && isAllowUpdate!==0">
<el-form-item label="定金" prop="MinOrderPrice"> <el-form-item label="定金" prop="MinOrderPrice">
<el-input v-model='addMsg.MinOrderPrice' @keyup.native="checkPrice(addMsg,'MinOrderPrice')"></el-input> <el-input v-model='addMsg.MinOrderPrice' @keyup.native="checkPrice(addMsg,'MinOrderPrice')"></el-input>
...@@ -1243,14 +1244,14 @@ ...@@ -1243,14 +1244,14 @@
@input='getNumber();getHouseNo();getTotalPrice()'></el-input> @input='getNumber();getHouseNo();getTotalPrice()'></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="4"> <el-col :span="4">
<el-form-item label="单地接数量" prop="AirticketNum"> <el-form-item label="单地接数量" prop="AirticketNum">
<el-input v-model='addMsg.AirticketNum' @keyup.native="checkInteger(addMsg,'AirticketNum')" <el-input v-model='addMsg.AirticketNum' @keyup.native="checkInteger(addMsg,'AirticketNum')"
@input='getNumber();getTotalPrice();getHouseNo()'></el-input> @input='getNumber();getTotalPrice();getHouseNo()'></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="4"> <el-col :span="4">
<el-form-item label="单房数量" prop="SingleRoomNum"> <el-form-item label="单房数量" prop="SingleRoomNum">
<el-input v-model='addMsg.SingleRoomNum' @keyup.native="checkInteger(addMsg,'SingleRoomNum')" <el-input v-model='addMsg.SingleRoomNum' @keyup.native="checkInteger(addMsg,'SingleRoomNum')"
...@@ -1274,12 +1275,6 @@ ...@@ -1274,12 +1275,6 @@
<el-input v-model='addMsg.VisaNum' @keyup.native="checkInteger(addMsg,'VisaNum')" <el-input v-model='addMsg.VisaNum' @keyup.native="checkInteger(addMsg,'VisaNum')"
@input='getTotalPrice()'></el-input> @input='getTotalPrice()'></el-input>
</el-form-item> </el-form-item>
</el-col>
<el-col :span="4">
<el-form-item label="保险数量" prop="SaleNum">
<el-input v-model='addMsg.SafeNum' @keyup.native="checkInteger(addMsg,'SafeNum')"
@input='getTotalPrice()'></el-input>
</el-form-item>
</el-col> </el-col>
<el-col :span="4"> <el-col :span="4">
<el-form-item label="拒签人数" prop="RefuseVisaNum" style="display:none;"> <el-form-item label="拒签人数" prop="RefuseVisaNum" style="display:none;">
...@@ -1287,11 +1282,14 @@ ...@@ -1287,11 +1282,14 @@
@input='getTotalPrice()'></el-input> @input='getTotalPrice()'></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="4">
&nbsp;
</el-col>
</el-row> </el-row>
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="4">
<el-form-item label="保险数量" prop="SaleNum">
<el-input v-model='addMsg.SafeNum' @keyup.native="checkInteger(addMsg,'SafeNum')"
@input='getTotalPrice()'></el-input>
</el-form-item>
</el-col>
<el-col :span="4"> <el-col :span="4">
<el-form-item label="预计用房" prop="PredictRoomNum"> <el-form-item label="预计用房" prop="PredictRoomNum">
<el-input v-model='addMsg.PredictRoomNum' :disabled="true"></el-input> <el-input v-model='addMsg.PredictRoomNum' :disabled="true"></el-input>
...@@ -1402,8 +1400,13 @@ ...@@ -1402,8 +1400,13 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="4"> <el-col :span="4" style="display:none;">
&nbsp; <el-form-item label="是否可清位">
<el-select v-model='addMsg.IsCanClear' :placeholder="$t('pub.pleaseSel')">
<el-option label='可以清位' :value='0' :key='0'></el-option>
<el-option label='不可以清位' :value='1' :key='1'></el-option>
</el-select>
</el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row :gutter="20"> <el-row :gutter="20">
...@@ -1445,6 +1448,7 @@ ...@@ -1445,6 +1448,7 @@
</el-input> </el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<!-- <el-col :span="4" v-show="addMsg.TradeWay==1&&addMsg.PlatformOrder!='' && isAllowUpdate!==0"> <!-- <el-col :span="4" v-show="addMsg.TradeWay==1&&addMsg.PlatformOrder!='' && isAllowUpdate!==0">
<el-form-item label="定金" prop="MinOrderPrice"> <el-form-item label="定金" prop="MinOrderPrice">
<el-input v-model='addMsg.MinOrderPrice' @keyup.native="checkPrice(addMsg,'MinOrderPrice')"></el-input> <el-input v-model='addMsg.MinOrderPrice' @keyup.native="checkPrice(addMsg,'MinOrderPrice')"></el-input>
...@@ -2768,6 +2772,7 @@ ...@@ -2768,6 +2772,7 @@
//订单归属【HK新加,报名清单页面修改使用】 //订单归属【HK新加,报名清单页面修改使用】
CreateBy: 0, CreateBy: 0,
RefuseVisaNum:0,//拒签人数 RefuseVisaNum:0,//拒签人数
IsCanClear:0 //是否可清位
}, },
//行程下载使用 //行程下载使用
travelControlTripLayerShow: false, travelControlTripLayerShow: false,
...@@ -3082,6 +3087,7 @@ ...@@ -3082,6 +3087,7 @@
}, },
res => { res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
console.log(res,'data');
this.IsUnion = res.data.data.IsUnion this.IsUnion = res.data.data.IsUnion
this.isAllowUpdate = res.data.data.IsUpdatePlatOrder; this.isAllowUpdate = res.data.data.IsUpdatePlatOrder;
this.addObj = res.data.data.modelPrice; this.addObj = res.data.data.modelPrice;
...@@ -3108,6 +3114,8 @@ ...@@ -3108,6 +3114,8 @@
this.addMsg.ChirdNoNeedBedNum = (x.ChirdNum - x.ChirdNeedBedNum).toString(); this.addMsg.ChirdNoNeedBedNum = (x.ChirdNum - x.ChirdNeedBedNum).toString();
this.addMsg.BabyNum = x.BabyNum.toString(); this.addMsg.BabyNum = x.BabyNum.toString();
this.addMsg.RefuseVisaNum=x.RefuseVisaNum.toString(); this.addMsg.RefuseVisaNum=x.RefuseVisaNum.toString();
this.addMsg.IsCanClear=x.IsCanClear;
this.IsChildrenTour = x.IsChildrenTour; this.IsChildrenTour = x.IsChildrenTour;
this.IsBirdDiscount = x.IsBirdDiscount; this.IsBirdDiscount = x.IsBirdDiscount;
this.OpSetLossPeople = x.OpSetLossPeople; this.OpSetLossPeople = x.OpSetLossPeople;
......
...@@ -1306,7 +1306,7 @@ ...@@ -1306,7 +1306,7 @@
TCNUM: '', TCNUM: '',
FrIds: '', FrIds: '',
}, },
IsHaveAuth:false,//权限判断按钮是否显示 IsHaveAuth: false, //权限判断按钮是否显示
zhuanLoading: false, zhuanLoading: false,
moneyAll: { moneyAll: {
Moneyall: 0, Moneyall: 0,
...@@ -1724,27 +1724,32 @@ ...@@ -1724,27 +1724,32 @@
}, },
//权限验证 //权限验证
checkHasAuth() { checkHasAuth() {
this.apipost( // this.apipost(
'travel_get_CheckBalancePaymentAuth', { // 'travel_get_CheckBalancePaymentAuth', {
TCID: this.TCID // TCID: this.TCID
}, // },
res => { // res => {
if (res.data.resultCode == 1) { // if (res.data.resultCode == 1) {
this.IsHaveAuth=true; // this.IsHaveAuth=true;
} // }
else // else
{ // {
this.IsHaveAuth=false; // this.IsHaveAuth=false;
} // }
}, // },
err => {} // err => {}
) // )
} }
}, },
mounted() { mounted() {
this.TCID = this.$route.query.id; this.TCID = this.$route.query.id;
this.OutBranchId = this.$route.query.OutBranchId; this.OutBranchId = this.$route.query.OutBranchId;
this.CloseIncomeBtn = this.$route.query.CloseIncomeBtn; this.CloseIncomeBtn = this.$route.query.CloseIncomeBtn;
if (this.$route.query.IsHaveAuth) {
this.IsHaveAuth = true;
} else {
this.IsHaveAuth = false;
}
this.checkHasAuth(); this.checkHasAuth();
this.getList(); this.getList();
this.getAllCont(); this.getAllCont();
......
...@@ -1473,7 +1473,8 @@ ...@@ -1473,7 +1473,8 @@
name: 'TeamBalancePayment', name: 'TeamBalancePayment',
query: { query: {
id: id, id: id,
OutBranchId: OutBranchId, OutBranchId:OutBranchId,
IsHaveAuth:true,
blank: 'y', blank: 'y',
tab: '团队收支明细' tab: '团队收支明细'
} }
......
...@@ -82,6 +82,20 @@ ...@@ -82,6 +82,20 @@
</el-select> </el-select>
</span> </span>
</li> </li>
<li>
<span>
<em>使用范围</em>
<el-select filterable v-model="msg.couponsUseScope">
<el-option :label="$t('active.cl_tongyong')" :value="1"></el-option>
<el-option :label="$t('active.cl_team')" :value="2"></el-option>
<el-option :label="$t('active.cl_qianzheng')" :value="3"></el-option>
<el-option :label="$t('active.cl_jipiao')" :value="4"></el-option>
<el-option label="门票" :value="5"></el-option>
<el-option label="车辆" :value="6"></el-option>
</el-select>
</span>
</li>
<li> <li>
<input <input
type="button" type="button"
...@@ -116,6 +130,7 @@ ...@@ -116,6 +130,7 @@
<th>{{$t('active.cl_sxriqi')}}</th> <th>{{$t('active.cl_sxriqi')}}</th>
<th>{{$t('active.cl_sxzhuangtai')}}</th> <th>{{$t('active.cl_sxzhuangtai')}}</th>
<th>{{$t('active.cl_gqriqi')}}</th> <th>{{$t('active.cl_gqriqi')}}</th>
<th>使用范围</th>
<th>{{$t('admin.admin_status')}}</th> <th>{{$t('admin.admin_status')}}</th>
<th>{{$t('active.cl_addPp')}}</th> <th>{{$t('active.cl_addPp')}}</th>
<th>{{$t('system.table_operation')}}</th> <th>{{$t('system.table_operation')}}</th>
...@@ -141,7 +156,16 @@ ...@@ -141,7 +156,16 @@
<span v-if="item.couponEffectStatus === 2" style="color: gray">{{$t('active.cl_wsxiao')}}</span> <span v-if="item.couponEffectStatus === 2" style="color: gray">{{$t('active.cl_wsxiao')}}</span>
<span v-if="item.couponEffectStatus === 3" style="color: red">{{$t('active.cl_ygqi')}}</span> <span v-if="item.couponEffectStatus === 3" style="color: red">{{$t('active.cl_ygqi')}}</span>
</td> </td>
<td>{{item.expirationDate}}</td> <td>{{item.expirationDate}}</td>
<td>
<span v-if="item.couponsUseScope == 1">全场通用</span>
<span v-if="item.couponsUseScope == 2">团队</span>
<span v-if="item.couponsUseScope == 3">签证</span>
<span v-if="item.couponsUseScope == 4">机票</span>
<span v-if="item.couponsUseScope == 5">门票</span>
<span v-if="item.couponsUseScope == 6">车辆</span>
</td>
<td> <td>
<span v-if="item.couponStatus == 1" style="color: green">{{$t('pub.normalSel')}}</span> <span v-if="item.couponStatus == 1" style="color: green">{{$t('pub.normalSel')}}</span>
<span v-if="item.couponStatus == 2" style="color: gray">{{$t('active.ld_jinyong')}}</span> <span v-if="item.couponStatus == 2" style="color: gray">{{$t('active.ld_jinyong')}}</span>
...@@ -343,6 +367,8 @@ ...@@ -343,6 +367,8 @@
<el-option :label="$t('active.cl_team')" :value="2"></el-option> <el-option :label="$t('active.cl_team')" :value="2"></el-option>
<el-option :label="$t('active.cl_qianzheng')" :value="3"></el-option> <el-option :label="$t('active.cl_qianzheng')" :value="3"></el-option>
<el-option :label="$t('active.cl_jipiao')" :value="4"></el-option> <el-option :label="$t('active.cl_jipiao')" :value="4"></el-option>
<el-option label="门票" :value="5"></el-option>
<el-option label="车辆" :value="6"></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
</td> </td>
...@@ -384,6 +410,7 @@ export default { ...@@ -384,6 +410,7 @@ export default {
couponStatus: -1, couponStatus: -1,
groupId: '', groupId: '',
branchId: '', branchId: '',
couponsUseScope:"",
}, },
rules: { rules: {
branchId: [{ required: true, message: this.$t('rule.company'), trigger: "change" }], branchId: [{ required: true, message: this.$t('rule.company'), trigger: "change" }],
...@@ -471,7 +498,8 @@ export default { ...@@ -471,7 +498,8 @@ export default {
if (res.data.resultCode === 1) { if (res.data.resultCode === 1) {
// this.currentPage = res.data.data.pageCount // this.currentPage = res.data.data.pageCount
this.total = res.data.data.count this.total = res.data.data.count
this.DataList = res.data.data.pageData this.DataList = res.data.data.pageData;
console.log("DataList",this.DataList);
} else { } else {
this.$message.error(res.data.message) this.$message.error(res.data.message)
} }
......
...@@ -9,7 +9,9 @@ ...@@ -9,7 +9,9 @@
text-align: center; text-align: center;
height: 40px; height: 40px;
} }
.busManagerTalbe tr td{
padding:0 5px;
}
.commonBackColor { .commonBackColor {
background-color: #E6E6E6; background-color: #E6E6E6;
color: #333; color: #333;
...@@ -25,7 +27,15 @@ ...@@ -25,7 +27,15 @@
color: #fff; color: #fff;
border: 1px solid #d1d1d1; border: 1px solid #d1d1d1;
} }
.addHandBook{
margin-right: 5px;
color: seagreen;
cursor: pointer;
visibility: hidden;
}
.addHandBookDIS{
visibility: visible!important;
}
</style> </style>
<template> <template>
<div> <div>
...@@ -73,9 +83,10 @@ ...@@ -73,9 +83,10 @@
<td class="commonBackColor">ホテル</td> <td class="commonBackColor">ホテル</td>
<td class="commonBackColor">ホテルTEL</td> <td class="commonBackColor">ホテルTEL</td>
</tr> </tr>
<tr v-for="subItem in DataObj.Details_Extends"> <tr v-for="(subItem,index) in DataObj.Details_Extends">
<td> <td>
{{subItem.UseDate}} <i class="iconfont icon-bumenguanli-tianjia addHandBook" :class="{'addHandBookDIS':index==0||index==DataObj.Details_Extends.length-1}" @click="addHand(index)"></i>
<el-date-picker v-model='subItem.UseDate' class='w135' value-format="yyyy-MM-dd" type="date"></el-date-picker>
</td> </td>
<td> <td>
<el-input type="text" v-model="subItem.BusType" /> <el-input type="text" v-model="subItem.BusType" />
...@@ -163,6 +174,7 @@ ...@@ -163,6 +174,7 @@
this.loading = false; this.loading = false;
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.DataObj = res.data.data; this.DataObj = res.data.data;
console.log(this.DataObj,'dataObj');
} else { } else {
this.Error(res.data.message); this.Error(res.data.message);
} }
...@@ -182,6 +194,30 @@ ...@@ -182,6 +194,30 @@
this.isSave = false; this.isSave = false;
}, err => {}) }, err => {})
} }
},
//添加
addHand(index){
var obj = {
BusContent:'',
BusType:'',
FlightNum:'',
HotelName:'',
HotelTel:'',
Id:0,
MainId:0,
UseDate:''
}
var date = new Date();
var year = date.getFullYear();
var month = date.getMonth() + 1;
var day = date.getDate();
var UseDate = year+'-'+month+"-"+day;
obj.UseDate = UseDate
if(index==0){
this.DataObj.Details_Extends.unshift(obj)
}else{
this.DataObj.Details_Extends.push(obj);
}
} }
}, },
mounted() { mounted() {
......
...@@ -93,10 +93,10 @@ ...@@ -93,10 +93,10 @@
{{outItem.NewCombinationNum}} {{outItem.NewCombinationNum}}
</td> </td>
<td> <td>
{{item.StartCityNames}} {{item.OutBranchName}}
</td> </td>
<td> <td>
{{item.OutBranchName}} {{item.StartCityNames}}
</td> </td>
<td> <td>
<div class="w120"> <div class="w120">
......
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