Commit 7341ea4b authored by youjie's avatar youjie

no message

parent b2064a67
......@@ -628,7 +628,7 @@
</td>
</tr>
<tr v-if="addMsg.GuestList.length==0">
<td colspan="5">暂无房客信息</td>
<td colspan="6">暂无房客信息</td>
</tr>
</tbody>
</table>
......
......@@ -10,11 +10,9 @@
border-top: 3px solid #38425d;
background-color: #ffffff;
padding: 10px 10px 0;
width: 100%;
padding: 20px 20px 10px 80px;
width: 100%;padding:20px 20px 10px 80px;
}
.title {
.title {
border-left: 3px solid #e95252;
text-indent: 15px;
height: 16px;
......@@ -23,8 +21,7 @@
margin-bottom: 20px;
line-height: 14px;
color: #000;
}
}
</style>
<template>
<div class="commonOrderForm">
......@@ -135,6 +132,11 @@
type="date" @change="getUnionTravelPrice(priceObj, 1)"></el-date-picker>
</el-form-item>
</el-col>
<template>
</template>
<el-col :span="4" v-if="showCity&&pagesTitle=='跟团游产品'">
<!--返回城市-->
<el-form-item :label="$t('salesModule.BackCity')" prop="ReturnArriveCityId">
......@@ -163,7 +165,8 @@
</el-col>
<el-col :span="4">
<el-form-item :label="$t('salesModule.TeamPrice')" prop="TC_Price">
<el-input v-if="addMsg.GroupType != 4" v-model="addMsg.TC_Price" :disabled="pagesTitle=='跟团游产品'?false:true"
<el-input v-if="addMsg.GroupType != 4" v-model="addMsg.TC_Price"
:disabled="pagesTitle=='跟团游产品'?false:true"
@input="getTotalPrice()">
</el-input>
<el-input v-else v-model="SingleDMCPricex" :disabled="true" @input="getTotalPrice()"></el-input>
......@@ -264,15 +267,10 @@
</template>
<template v-if="pagesTitle=='当地游产品'">
<el-col :span="4">
<p v-if='priceObj.IsSupportChildren==2'
style="color: #E95252; font-size: 12px; line-height: 40px; text-align: center;">
{{$t('salesModule.NoSupplier')}}!</p>
<el-form-item v-if='priceObj.IsSupportChildren==1' v-show="addMsg.GroupType !== '4'"
:label="$t('salesModule.ChildNum')" prop="ChirdNoNeedBedNum">
<el-input v-model='addMsg.ChirdNum' :disabled="addMsg.GroupType==='4'"
@keyup.native="checkInteger(addMsg,'ChirdNoNeedBedNum')"
@input='getNumber();getHouseNo();getTotalPrice();autoRemarks("ChirdNoNeedBedNum","儿童人数");'
@change="getNumGuest"></el-input>
<p v-if='priceObj.IsSupportChildren==2' style="color: #E95252; font-size: 12px; line-height: 40px; text-align: center;">{{$t('salesModule.NoSupplier')}}!</p>
<el-form-item v-if='priceObj.IsSupportChildren==1' v-show="addMsg.GroupType !== '4'" :label="$t('salesModule.ChildNum')" prop="ChirdNoNeedBedNum">
<el-input v-model='addMsg.ChirdNum' :disabled="addMsg.GroupType==='4'" @keyup.native="checkInteger(addMsg,'ChirdNoNeedBedNum')"
@input='getNumber();getHouseNo();getTotalPrice();autoRemarks("ChirdNoNeedBedNum","儿童人数");' @change="getNumGuest"></el-input>
</el-form-item>
</el-col>
</template>
......@@ -414,8 +412,7 @@
<el-form-item :label="$t('salesModule.ScenicRefund')">
<el-select filterable multiple class="multiple_input" v-model="addMsg.ScenicRefundArr"
:placeholder="$t('pub.pleaseSel')" @change="ScenicRefundMethods">
<el-option v-for="(item,index) in ScenicRefundList" :label="item.ScenicName" :value="item.Id"
:key="index">
<el-option v-for="(item,index) in ScenicRefundList" :label="item.ScenicName" :value="item.Id" :key="index">
</el-option>
</el-select>
</el-form-item>
......@@ -504,8 +501,8 @@
//团期编号,订单编号(新增传0),下单人选择的公司
props: [
'showCity',
'PTCID', //团期编号(必须传),
'POrderId', //订单编号(新增传0)
'PTCID',//团期编号(必须传),
'POrderId',//订单编号(新增传0)
'PBranchId', //销售公司/联运公司
'PProductType', //产品类型(1-常规团,2-包机团)
'productObj',
......@@ -1056,7 +1053,7 @@
},
(res) => {
if (res.data.resultCode == 1) {
this.minPrice = res.data.data && res.data.data.LowDeposit;
this.minPrice = res.data.data&&res.data.data.LowDeposit;
}
},
);
......@@ -1076,7 +1073,7 @@
},
//计算少价金额
getTypePrice() {
if (this.pagesTitle == '当地游产品') {
if(this.pagesTitle=='当地游产品'){
this.addMsg.ContactName = ''
this.addMsg.ContactMobile = ''
}
......@@ -1413,7 +1410,7 @@
qz: "",
qzf: "",
}
if (this.pagesTitle == '当地游产品') {
if(this.pagesTitle=='当地游产品'){
this.addMsg.GroupType = "1"
}
this.clientSourceList = [];
......@@ -1526,9 +1523,9 @@
this.addMsg.IsChildrenTour = this.priceObj.IsSupportChildren;
this.addMsg.IsBirdDiscount = this.priceObj.IsBirdDiscount;
let url
if (this.PProductType == 1) {
if(this.PProductType==1){
url = 'sellorder_post_SetOrderInfo_02'
} else if (this.PProductType == 2) {
}else if(this.PProductType==2){
url = 'sellorder_post_SetTravelTeamOrderForB2B' //团下单接口sellorder_post_SetOrderInfoForB2B
}
this.apipost(url,
......@@ -1683,10 +1680,11 @@
"sellorder_get_GetSellClientTypeEnumList", {},
(res) => {
if (res.data.resultCode == 1) {
if (this.showCity) {
if(this.showCity) {
this.customerTypeList = res.data.data;
} else {
this.customerTypeList = res.data.data.filter(item => item.Id < 3);
console.log('this.customerTypeList', this.customerTypeList)
}
}
},
......@@ -1814,8 +1812,8 @@
this.getTradeWay();
},
watch: {
productObj: {
handler(oldValue, newVal) {
productObj:{
handler(oldValue, newVal){
this.clearMsg();
this.getTravelPirceInfo()
this.addMsg.DepartureCityId = oldValue.StartCityID
......@@ -1823,7 +1821,7 @@
this.addMsg.GoCityTime = this.starTime = oldValue.StartCityTime;
this.addMsg.BackCityTime = this.endTime = oldValue.BackCityTime;
this.priceObj = JSON.parse(JSON.stringify(oldValue))
if (this.pagesTitle == '当地游产品') {
if(this.pagesTitle=='当地游产品'){
let str = ''
if (oldValue.OtherPrice > 0) {
str += '杂费' + oldValue.OtherPrice + '/人;'
......@@ -1851,5 +1849,4 @@
}
}
};
</script>
\ No newline at end of file
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