Commit 2e1672dd authored by 华国豪's avatar 华国豪 🙄
parents 55008db6 a8d74d6b
...@@ -42,7 +42,8 @@ ...@@ -42,7 +42,8 @@
</el-switch> </el-switch>
</el-form-item> </el-form-item>
<el-form-item label="支付方式"> <el-form-item label="支付方式">
<el-select v-model="addMsg.PayStyle" class='multiple_input w300' :placeholder="$t('pub.pleaseSel')" :disabled="IsHaveAuth==1?false:true"> <el-select v-model="addMsg.PayStyle" class='multiple_input w300' :placeholder="$t('pub.pleaseSel')"
:disabled="IsHaveAuth==1?false:true">
<el-option :label="$t('pub.unlimitedSel')" :value='SelectDefaultValue'></el-option> <el-option :label="$t('pub.unlimitedSel')" :value='SelectDefaultValue'></el-option>
<el-option v-for="item in PayList" :key="item.Id" :label="item.Name" :value="item.Id"> <el-option v-for="item in PayList" :key="item.Id" :label="item.Name" :value="item.Id">
</el-option> </el-option>
...@@ -73,7 +74,7 @@ ...@@ -73,7 +74,7 @@
</span> </span>
</div> </div>
<span class="resource-lititle sheshi">酒店优惠 <el-button icon="el-icon-plus" circle @click="addAir"></el-button> <span class="resource-lititle sheshi">酒店优惠 <el-button icon="el-icon-plus" circle @click="addAir"></el-button>
</span> </span>
<div class="jiudianyouhuiDiv"> <div class="jiudianyouhuiDiv">
<el-row v-for="(list,index) in addMsg.DiscountList" :key="index"> <el-row v-for="(list,index) in addMsg.DiscountList" :key="index">
...@@ -214,6 +215,29 @@ ...@@ -214,6 +215,29 @@
<el-form-item label="停车场"> <el-form-item label="停车场">
<el-switch v-model="addMsg.IsHavearking" :active-value="1" :inactive-value="0"></el-switch> <el-switch v-model="addMsg.IsHavearking" :active-value="1" :inactive-value="0"></el-switch>
</el-form-item> </el-form-item>
<el-form-item label="停车费" v-if="addMsg.IsHavearking==1">
<el-input type="text" v-model="addMsg.ParkFee" class="w300" maxlength="10" @keyup.native="checkPrice(addMsg,'ParkFee')"></el-input>
</el-form-item>
<el-form-item label="入汤税">
<el-input type="text" v-model="addMsg.InTangTax" class="w300" maxlength="10" @keyup.native="checkPrice(addMsg,'InTangTax')"></el-input>
</el-form-item>
<el-form-item label="城市税">
<el-input type="text" v-model="addMsg.CityTax" class="w300" maxlength="10" @keyup.native="checkPrice(addMsg,'CityTax')"></el-input>
</el-form-item>
<el-form-item label="返佣类型">
<el-select v-model="addMsg.RebateType" class='multiple_input w300' :placeholder="$t('pub.pleaseSel')">
<el-option :key="0" label="不限" :value="0"> </el-option>
<el-option :key="1" label="含税返佣" :value="1"> </el-option>
<el-option :key="2" label="不含税返佣" :value="2"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="司导房是否返佣">
<el-select v-model="addMsg.DriverGuideIsRebate" class='multiple_input w300'
:placeholder="$t('pub.pleaseSel')">
<el-option :key="0" label="不返佣" :value="0"> </el-option>
<el-option :key="1" label="返佣" :value="1"> </el-option>
</el-select>
</el-form-item>
</div> </div>
<span class="resource-lititle">{{$t('hotel.hotel_imgintroduce')}}</span> <span class="resource-lititle">{{$t('hotel.hotel_imgintroduce')}}</span>
<div class="resource-list"> <div class="resource-list">
...@@ -223,13 +247,6 @@ ...@@ -223,13 +247,6 @@
<div class="imgzhe"> <div class="imgzhe">
<div class="re-delte"><i @click.stop="showImg(item.ShowPath)" class="iconfont icon-img_cz"></i></div> <div class="re-delte"><i @click.stop="showImg(item.ShowPath)" class="iconfont icon-img_cz"></i></div>
<div class="re-delte" @click="delImg(index)"><i class="iconfont icon-xingzhuang"></i></div> <div class="re-delte" @click="delImg(index)"><i class="iconfont icon-xingzhuang"></i></div>
<!-- <div class="re-delte" @click.stop="ExchangeImg(index,0)" v-if="index!=0&&item.ShowPath">
<i class="iconfont icon-zuoyi"></i>
</div>
<div class="re-delte" @click.stop="ExchangeImg(index,1)" v-if="index!=HotelImageArray.length-1&&item.ShowPath">
<i class="iconfont icon-youyi"></i>
</div> -->
</div> </div>
</div> </div>
</div> </div>
...@@ -370,6 +387,16 @@ ...@@ -370,6 +387,16 @@
PayStyle: 0, PayStyle: 0,
//是否有停车场 //是否有停车场
IsHavearking: 0, IsHavearking: 0,
//入汤税
InTangTax: 0,
//城市税
CityTax: 0,
//停车费
ParkFee: 0,
//返佣类型:1-含税返佣,2-不含税返佣
RebateType: 0,
//司导房是否返佣:0-不返佣,1-返佣
DriverGuideIsRebate: 0,
}, },
DiscountList: { DiscountList: {
ID: 0, ID: 0,
...@@ -426,7 +453,6 @@ ...@@ -426,7 +453,6 @@
obj.Path = str; obj.Path = str;
obj.ShowPath = imgUrl; obj.ShowPath = imgUrl;
this.HotelImageArray.push(obj); this.HotelImageArray.push(obj);
//this.updatePic();
}); });
}, },
//更新酒店图片 //更新酒店图片
...@@ -455,7 +481,6 @@ ...@@ -455,7 +481,6 @@
var item = this.HotelImageArray[index]; var item = this.HotelImageArray[index];
this.DeleteImageArray.push(item); this.DeleteImageArray.push(item);
this.HotelImageArray.splice(index, 1); this.HotelImageArray.splice(index, 1);
//this.updatePic();
}, },
inited(viewer) { inited(viewer) {
this.$viewer = viewer this.$viewer = viewer
......
This diff is collapsed.
This diff is collapsed.
...@@ -137,8 +137,8 @@ ...@@ -137,8 +137,8 @@
<p v-for="(img, imgIndex) in subItem.dmcImageList" title="点击下载" @click="downLoadPZ(img)" <p v-for="(img, imgIndex) in subItem.dmcImageList" title="点击下载" @click="downLoadPZ(img)"
v-if="img !== ''" style="cursor: pointer;color:blue;">{{ '凭证' + (imgIndex + 1)}}</p> v-if="img !== ''" style="cursor: pointer;color:blue;">{{ '凭证' + (imgIndex + 1)}}</p>
</td> </td>
<td :rowspan="item.ShopDetailsList.length" v-if='subIndex==0'> <td :rowspan="item.ShopDetailsList.length" v-if='subIndex==0' style="">
<div> <div style="display:none;">
<p style="cursor: pointer;color:blue;" @click="CreateBill(item.ShopDetailsList)">生成单据</p> <p style="cursor: pointer;color:blue;" @click="CreateBill(item.ShopDetailsList)">生成单据</p>
<p style="cursor: pointer;color:blue;" @click="CreateHandBill(outItem)">手动生成单据</p> <p style="cursor: pointer;color:blue;" @click="CreateHandBill(outItem)">手动生成单据</p>
</div> </div>
...@@ -404,8 +404,6 @@ ...@@ -404,8 +404,6 @@
"-" + "-" +
myDate.getDate(); myDate.getDate();
this.msg.StartDate = nowDate; this.msg.StartDate = nowDate;
// this.msg.StartDate = '2019-01-01';
// this.msg.EndDate = '2019-02-01'
this.getLineList(); this.getLineList();
this.getList(); this.getList();
}, },
......
...@@ -195,13 +195,17 @@ ...@@ -195,13 +195,17 @@
<tfoot> <tfoot>
<tr> <tr>
<td>车辆类型</td> <td>车辆类型</td>
<td colspan="7" align="left" style="padding-left:5px;"> <td align="left" style="padding-left:5px;">
<el-select class="w150" placeholder="请选择" v-model="PostData.BusType"> <el-select class="w150" placeholder="请选择" v-model="PostData.BusType">
<el-option :key="0" :value="0" label="请选择"></el-option> <el-option :key="0" :value="0" label="请选择"></el-option>
<el-option v-for="item in BusTypeList" :key="item.Id" :label="item.newName" :value="item.Id"> <el-option v-for="item in BusTypeList" :key="item.Id" :label="item.newName" :value="item.Id">
</el-option> </el-option>
</el-select> </el-select>
</td> </td>
<td>回送费</td>
<td colspan="4" align="left" style="padding-left:5px;">
<el-input v-model="PostData.BackFee" @keyup.native="checkPrice(PostData,'BackFee')" placeholder="请输入回送费" maxlength="10" class='w135'></el-input>
</td>
</tr> </tr>
</tfoot> </tfoot>
</table> </table>
...@@ -432,7 +436,7 @@ ...@@ -432,7 +436,7 @@
DayNum: 0, DayNum: 0,
TotalNumber: 0 TotalNumber: 0
}, },
PostData: [], PostData: {},
//公用信息 //公用信息
CommonList: [], CommonList: [],
//禁用文本框 //禁用文本框
......
...@@ -51,6 +51,7 @@ ...@@ -51,6 +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="70" v-if="showHotelObj.showPrice"> <th width="70" v-if="showHotelObj.showPrice">
日志 日志
</th> </th>
...@@ -120,6 +121,9 @@ ...@@ -120,6 +121,9 @@
<td v-if="showHotelObj.showZhan"> <td v-if="showHotelObj.showZhan">
{{hotelSubItem.SureTimeStr}} {{hotelSubItem.SureTimeStr}}
</td> </td>
<td v-if="showHotelObj.showZhan">
{{hotelSubItem.SupplierName}}
</td>
<td v-if="showHotelObj.showPrice"> <td v-if="showHotelObj.showPrice">
<el-popover width="200" trigger="click" popper-class="Bus_HotelPop"> <el-popover width="200" trigger="click" popper-class="Bus_HotelPop">
<commonHotelLog :ref="'comHotelLog'+index+hotelSubIndex+''"> </commonHotelLog> <commonHotelLog :ref="'comHotelLog'+index+hotelSubIndex+''"> </commonHotelLog>
......
...@@ -942,6 +942,8 @@ ...@@ -942,6 +942,8 @@
isPc: 2, isPc: 2,
//模板参数 //模板参数
templateId: this.showType, templateId: this.showType,
//用户Id
UId:this.getLocalStorage().EmployeeId
}; };
this.$http({ this.$http({
headers: { headers: {
......
...@@ -1053,6 +1053,7 @@ ...@@ -1053,6 +1053,7 @@
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 = [];
......
...@@ -161,16 +161,9 @@ ...@@ -161,16 +161,9 @@
</template> </template>
<script> <script>
import trifficTrip from "../oldTravelGroupControl/trifficTrip"; import trifficTrip from "../oldTravelGroupControl/trifficTrip";
import scienTrip from "../oldTravelGroupControl/scienTrip_Direct"; import scienTrip from "../oldTravelGroupControl/scienTrip_Direct";
import hotelTrip from "../oldTravelGroupControl/hotelTrip_Direct"; import hotelTrip from "../oldTravelGroupControl/hotelTrip_Direct";
import dinnerTrip from "../oldTravelGroupControl/dinnerTrip_Direct"; import dinnerTrip from "../oldTravelGroupControl/dinnerTrip_Direct";
import freedomTrip from "../oldTravelGroupControl/freedomTrip"; import freedomTrip from "../oldTravelGroupControl/freedomTrip";
import warmtipTrip from "../oldTravelGroupControl/warmtipTrip"; import warmtipTrip from "../oldTravelGroupControl/warmtipTrip";
import titleTrip from "../oldTravelGroupControl/titleTrip"; import titleTrip from "../oldTravelGroupControl/titleTrip";
......
...@@ -392,8 +392,6 @@ ...@@ -392,8 +392,6 @@
TripFeature.ConfigId = res.data.data TripFeature.ConfigId = res.data.data
TripFeature.isfromManager = true TripFeature.isfromManager = true
this.$refs.TravelFeature.getHtml(TripFeature, SaveType, this.TeamType) this.$refs.TravelFeature.getHtml(TripFeature, SaveType, this.TeamType)
// this.$refs.TravelPrice.closeHotelDialog();
// this.$refs.TravelPrice.initStatus();
} else if (res.data.resultCode == 10009) { } else if (res.data.resultCode == 10009) {
this.FeatureData.IsSave = false this.FeatureData.IsSave = false
//表单重复提交 //表单重复提交
...@@ -487,7 +485,6 @@ ...@@ -487,7 +485,6 @@
if (uploadConfig != undefined) { if (uploadConfig != undefined) {
var configData = JSON.parse(uploadConfig) var configData = JSON.parse(uploadConfig)
//基础数据组装 //基础数据组装
//this.PostConfig.Title = "";
this.PostConfig.IsDirect = 0 this.PostConfig.IsDirect = 0
//线路行程组装 //线路行程组装
let dayList = [] let dayList = []
......
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
<div class="TDLeftPlan"> <div class="TDLeftPlan">
<span>入住酒店</span> <span>入住酒店</span>
<span> <span>
<el-form-item :prop="'DayList.'+index+'.dayArray.'+subIndex+'.childItem.HotelId'" :rules="hotelTripRules.HotelId"> <el-form-item :prop="'DayList.'+index+'.dayArray.'+subIndex+'.childItem.HotelId'" :rules="hotelTripRules.HotelId">
<el-select :disabled="isOpenGroup" class='w160' :placeholder="$t('pub.pleaseSel')" filterable v-model="subItemObj.childItem.HotelId" <el-select :disabled="isOpenGroup" class='w160' :placeholder="$t('pub.pleaseSel')" filterable v-model="subItemObj.childItem.HotelId"
@visible-change="getHotelList($event)" @change="changeHotelList()"> @visible-change="getHotelList($event)" @change="changeHotelList()">
......
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