Commit eedcf604 authored by 黄奎's avatar 黄奎

页面修改

parent 2cee3819
...@@ -4154,12 +4154,7 @@ export default { ...@@ -4154,12 +4154,7 @@ export default {
this.getPlatformAccount(obj.PlatformAccountTypeId); this.getPlatformAccount(obj.PlatformAccountTypeId);
this.getPlatformAccountNew(); this.getPlatformAccountNew();
this.clearMsg(); this.clearMsg();
// let str = ''
// if (obj.OtherPrice > 0 ) {
// str += '杂费' + obj.OtherPrice + '/人;'
// }
// this.addMsg.Remarks = str
// this.otherRemark = str;
this.SingleDMCPrice = obj.SingleDMCPrice; this.SingleDMCPrice = obj.SingleDMCPrice;
this.SingleDMCPricex = obj.SingleDMCPrice; this.SingleDMCPricex = obj.SingleDMCPrice;
}, },
......
...@@ -446,7 +446,7 @@ ...@@ -446,7 +446,7 @@
layout="total,prev, pager, next, jumper" :page-size="msg.pageSize" :total="total"> layout="total,prev, pager, next, jumper" :page-size="msg.pageSize" :total="total">
</el-pagination> </el-pagination>
<!-- 产品列表 --> <!-- 产品列表 -->
<productOrderList :loading="loading" :list="list" @success="reSearchPage" :pagesTitle="pagesTitle"></productOrderList> <productOrderList :loading="loading" :list="list" @success="reSearchPage" :pagesTitle="pagesTitle" :PBranchId="msg.BranchId"></productOrderList>
<el-pagination background @current-change="handleCurrentChange" :current-page.sync="currentPage" <el-pagination background @current-change="handleCurrentChange" :current-page.sync="currentPage"
layout="total,prev, pager, next, jumper" :page-size="msg.pageSize" :total="total"> layout="total,prev, pager, next, jumper" :page-size="msg.pageSize" :total="total">
</el-pagination> </el-pagination>
......
...@@ -137,12 +137,13 @@ ...@@ -137,12 +137,13 @@
</el-col> </el-col>
<template v-if="showCity && pagesTitle == '跟团游产品'"> <template v-if="showCity && pagesTitle == '跟团游产品'">
<el-col :span="4"> <el-col :span="4">
<!--出发城市--> <!--出发城市 :disabled="
<el-form-item :label="$t('system.table_goCity')" prop="DepartureCityId">
<el-select v-model="addMsg.DepartureCityId" :disabled="
priceObj.SonControlID !== -1 && priceObj.SonControlID !== -1 &&
priceObj.OutBranchId !== priceObj.SonControlID priceObj.OutBranchId !== priceObj.SonControlID
" filterable :placeholder="$t('pub.pleaseSel')" @change="addMsg.IsIntermodal = 2"> " HK 2023-05-25去掉联运限制 -->
<el-form-item :label="$t('system.table_goCity')" prop="DepartureCityId">
<el-select v-model="addMsg.DepartureCityId" filterable :placeholder="$t('pub.pleaseSel')"
@change="addMsg.IsIntermodal = 2">
<el-option v-for="item in startCityList" :label="item.Name" :value="item.ID" :key="item.ID"> <el-option v-for="item in startCityList" :label="item.Name" :value="item.ID" :key="item.ID">
</el-option> </el-option>
</el-select> </el-select>
...@@ -150,53 +151,54 @@ ...@@ -150,53 +151,54 @@
</el-col> </el-col>
<el-col :span="4"> <el-col :span="4">
<!--出发是否联运--> <!--出发是否联运 v-show="
<el-form-item :label="$t('salesModule.IsLianYn')" prop="IsIntermodal" v-show="
addMsg.DepartureCityId != priceObj.StartCityID && addMsg.DepartureCityId != priceObj.StartCityID &&
addMsg.DepartureCityId != '' addMsg.DepartureCityId != ''
"> " -->
<el-form-item :label="$t('salesModule.IsLianYn')" prop="IsIntermodal">
<el-switch v-model="addMsg.IsIntermodal" active-value="1" inactive-value="2" <el-switch v-model="addMsg.IsIntermodal" active-value="1" inactive-value="2"
@change="getUnionTravelPrice(priceObj, 1)"></el-switch> @change="getUnionTravelPrice(priceObj, 1)"></el-switch>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="4"> <el-col :span="4">
<!--联运时间--> <!--联运时间 &&
addMsg.DepartureCityId != priceObj.StartCityID-->
<el-form-item :label="$t('salesModule.LYtime')" prop="GoCityTime" v-show=" <el-form-item :label="$t('salesModule.LYtime')" prop="GoCityTime" v-show="
addMsg.IsIntermodal == 1 && addMsg.IsIntermodal == 1
addMsg.DepartureCityId != priceObj.StartCityID
"> ">
<el-date-picker :picker-options="pickerOptions0" v-model="addMsg.GoCityTime" value-format="yyyy-MM-dd" <el-date-picker :picker-options="pickerOptions0" v-model="addMsg.GoCityTime" value-format="yyyy-MM-dd"
type="date" @change="getUnionTravelPrice(priceObj, 1)"></el-date-picker> type="date" @change="getUnionTravelPrice(priceObj, 1)"></el-date-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="4"> <el-col :span="4">
<!--返回城市--> <!--返回城市 :disabled="
<el-form-item :label="$t('salesModule.BackCity')" prop="ReturnArriveCityId">
<el-select v-model="addMsg.ReturnArriveCityId" :disabled="
priceObj.SonControlID !== -1 && priceObj.SonControlID !== -1 &&
priceObj.OutBranchId !== priceObj.SonControlID priceObj.OutBranchId !== priceObj.SonControlID
" filterable :placeholder="$t('pub.pleaseSel')" @change="addMsg.IsReturnIntermodal = 2"> "-->
<el-form-item :label="$t('salesModule.BackCity')" prop="ReturnArriveCityId">
<el-select v-model="addMsg.ReturnArriveCityId" filterable :placeholder="$t('pub.pleaseSel')"
@change="addMsg.IsReturnIntermodal = 2">
<el-option v-for="item in startCityList" :label="item.Name" :value="item.ID" :key="item.ID"> <el-option v-for="item in startCityList" :label="item.Name" :value="item.ID" :key="item.ID">
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="4"> <el-col :span="4">
<!--返程是否联运--> <!--返程是否联运 v-show="
<el-form-item :label="$t('salesModule.IsLianYn')" prop="IsReturnIntermodal" v-show="
addMsg.ReturnArriveCityId != priceObj.ReturnArriveCityId && addMsg.ReturnArriveCityId != priceObj.ReturnArriveCityId &&
addMsg.ReturnArriveCityId != '' addMsg.ReturnArriveCityId != ''
"> "-->
<el-form-item :label="$t('salesModule.IsLianYn')" prop="IsReturnIntermodal">
<el-switch v-model="addMsg.IsReturnIntermodal" active-value="1" inactive-value="2" <el-switch v-model="addMsg.IsReturnIntermodal" active-value="1" inactive-value="2"
@change="getUnionTravelPrice(priceObj, 2)"></el-switch> @change="getUnionTravelPrice(priceObj, 2)"></el-switch>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="4"> <el-col :span="4">
<!--返程联运时间--> <!--返程联运时间 &&
addMsg.ReturnArriveCityId != priceObj.ReturnArriveCityId-->
<el-form-item :label="$t('salesModule.LYtime')" prop="IsReturnIntermodal" v-show=" <el-form-item :label="$t('salesModule.LYtime')" prop="IsReturnIntermodal" v-show="
addMsg.IsReturnIntermodal == 1 && addMsg.IsReturnIntermodal == 1
addMsg.ReturnArriveCityId != priceObj.ReturnArriveCityId
"> ">
<el-date-picker :picker-options="pickerOptions1" v-model="addMsg.BackCityTime" value-format="yyyy-MM-dd" <el-date-picker :picker-options="pickerOptions1" v-model="addMsg.BackCityTime" value-format="yyyy-MM-dd"
type="date" @change="getUnionTravelPrice(priceObj, 2)"></el-date-picker> type="date" @change="getUnionTravelPrice(priceObj, 2)"></el-date-picker>
...@@ -211,18 +213,20 @@ ...@@ -211,18 +213,20 @@
<el-input v-else v-model="SingleDMCPricex" :disabled="true" @input="getTotalPrice()"></el-input> <el-input v-else v-model="SingleDMCPricex" :disabled="true" @input="getTotalPrice()"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<!--&&
addMsg.DepartureCityId != priceObj.StartCityID-->
<el-col :span="4" v-show=" <el-col :span="4" v-show="
addMsg.IsIntermodal == 1 && addMsg.IsIntermodal == 1
addMsg.DepartureCityId != priceObj.StartCityID
"> ">
<el-form-item :label="$t('salesModule.StartLY')"> <el-form-item :label="$t('salesModule.StartLY')">
<el-input v-model="stratPrice" v-show="stratPriceShow" :disabled="true"></el-input> <el-input v-model="stratPrice" v-show="stratPriceShow" :disabled="true"></el-input>
<span class="colorE95252" v-show="!stratPriceShow">{{ $t("pub.NoPrice") }}!</span> <span class="colorE95252" v-show="!stratPriceShow">{{ $t("pub.NoPrice") }}!</span>
</el-form-item> </el-form-item>
</el-col> </el-col>
<!--&&
addMsg.ReturnArriveCityId != priceObj.ReturnArriveCityId-->
<el-col :span="4" v-show=" <el-col :span="4" v-show="
addMsg.IsReturnIntermodal == 1 && addMsg.IsReturnIntermodal == 1
addMsg.ReturnArriveCityId != priceObj.ReturnArriveCityId
"> ">
<el-form-item :label="$t('salesModule.BackLY')"> <el-form-item :label="$t('salesModule.BackLY')">
<el-input v-model="returnPrice" v-show="returnPriceShow" :disabled="true"></el-input> <el-input v-model="returnPrice" v-show="returnPriceShow" :disabled="true"></el-input>
...@@ -633,10 +637,11 @@ ...@@ -633,10 +637,11 @@
</el-col> </el-col>
</el-row> </el-row>
<!--v-if="addMsg.IsIntermodal == 1 || addMsg.IsReturnIntermodal == 1"--> <!--v-if="addMsg.IsIntermodal == 1 || addMsg.IsReturnIntermodal == 1"-->
<el-row :gutter="20" > <el-row :gutter="20">
<el-col :span="24"> <el-col :span="24">
<el-form-item label="联运备注" prop="UnionRemark"> <el-form-item label="联运备注" prop="UnionRemark">
<el-input v-model="addMsg.UnionRemark" type="textarea" maxlength="500" placeholder="去程 成都到北京,提前一天,需要住宿;回程 北京到成都 晚一天,需要住宿"></el-input> <el-input v-model="addMsg.UnionRemark" type="textarea" maxlength="500"
placeholder="去程 成都到北京,提前一天,需要住宿;回程 北京到成都 晚一天,需要住宿"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
...@@ -1449,7 +1454,6 @@ ...@@ -1449,7 +1454,6 @@
this.addMsg.ContactName = ""; this.addMsg.ContactName = "";
this.addMsg.ContactMobile = ""; this.addMsg.ContactMobile = "";
} }
if (this.addMsg.CustomerType == 1) { if (this.addMsg.CustomerType == 1) {
this.addMsg.TC_Price = this.priceObj.B2BMemberPrice; this.addMsg.TC_Price = this.priceObj.B2BMemberPrice;
this.addMsg.Unit_Price = this.priceObj.B2BMemberPrice; this.addMsg.Unit_Price = this.priceObj.B2BMemberPrice;
...@@ -1760,7 +1764,6 @@ ...@@ -1760,7 +1764,6 @@
this.getTypePrice(); this.getTypePrice();
} }
}, },
//提交表单验证 //提交表单验证
submitForm(addMsg) { submitForm(addMsg) {
if (this.TotalNumber == 0) { if (this.TotalNumber == 0) {
...@@ -2236,6 +2239,16 @@ ...@@ -2236,6 +2239,16 @@
}); });
}, },
}, },
created() {
this.CurrentUserInfo = this.getLocalStorage();
this.getCustomerType(); //获取客户类型
this.getPlatformAccountNew();
this.getJoinType(); //参团类型
this.getEmployee(); //获取员工列表
this.getCityList(); //获取出发、返回城市
this.getTradeWay(); //获取交易方式
this.getCountry(); //获取国家
},
mounted() { mounted() {
const that = this; const that = this;
window.onresize = () => { window.onresize = () => {
...@@ -2249,18 +2262,10 @@ ...@@ -2249,18 +2262,10 @@
} else { } else {
this.ScreenHeight = "300px"; this.ScreenHeight = "300px";
} }
this.CurrentUserInfo = this.getLocalStorage();
this.getCustomerType(); //获取客户类型
this.getMinPrice(this.productObj.LineID); // 当前线路报价 this.getMinPrice(this.productObj.LineID); // 当前线路报价
this.getScenicRefund(this.PTCID); // 可退景点 this.getScenicRefund(this.PTCID); // 可退景点
//获取所有账户列表 //获取所有账户列表
this.getPlatformAccount(this.productObj.PlatformAccountTypeId); this.getPlatformAccount(this.productObj.PlatformAccountTypeId);
this.getPlatformAccountNew();
this.getJoinType(); //参团类型
this.getEmployee(); //获取员工列表
this.getCityList(); //获取出发、返回城市
this.getTradeWay(); //获取交易方式
this.getCountry(); //获取国家
}, },
watch: { watch: {
fullHeight(val) { fullHeight(val) {
...@@ -2286,6 +2291,8 @@ ...@@ -2286,6 +2291,8 @@
this.addMsg.ReturnArriveCityId = oldValue.ReturnArriveCityId; this.addMsg.ReturnArriveCityId = oldValue.ReturnArriveCityId;
this.addMsg.GoCityTime = this.starTime = oldValue.StartCityTime; this.addMsg.GoCityTime = this.starTime = oldValue.StartCityTime;
this.addMsg.BackCityTime = this.endTime = oldValue.BackCityTime; this.addMsg.BackCityTime = this.endTime = oldValue.BackCityTime;
this.addMsg.SonControlID = oldValue.SonControlID;
console.log("this.addMsg.SonControlID ", this.addMsg.SonControlID);
this.priceObj = JSON.parse(JSON.stringify(oldValue)); this.priceObj = JSON.parse(JSON.stringify(oldValue));
if (this.pagesTitle == "当地游产品") { if (this.pagesTitle == "当地游产品") {
let str = ""; let str = "";
...@@ -2308,10 +2315,7 @@ ...@@ -2308,10 +2315,7 @@
}, },
//监听TCID变化 //监听TCID变化
PTCID: function (oldValue, newVal) { PTCID: function (oldValue, newVal) {
// if (oldValue != newVal) {
// this.clearMsg();
// this.getTravelPirceInfo()
// }
}, },
}, },
}; };
......
...@@ -974,7 +974,7 @@ ...@@ -974,7 +974,7 @@
</el-dialog> </el-dialog>
<!-- 下单 --> <!-- 下单 -->
<div class="buy-box" v-show="isShowTeamOrder"> <div class="buy-box" v-show="isShowTeamOrder">
<orderForm @success="reSearchPage" @close="closeForm" :PTCID="teamInfo.TCID" :POrderId="0" :PBranchId="0" <orderForm @success="reSearchPage" @close="closeForm" :PTCID="teamInfo.TCID" :POrderId="0" :PBranchId="PBranchId"
:PProductType="1" :showCity="true" :productObj="teamInfo" :pagesTitle="pagesTitle"> :PProductType="1" :showCity="true" :productObj="teamInfo" :pagesTitle="pagesTitle">
</orderForm> </orderForm>
</div> </div>
...@@ -986,7 +986,7 @@ ...@@ -986,7 +986,7 @@
import commonHotelInfo from "../commonPage/commonHotelInfo.vue"; import commonHotelInfo from "../commonPage/commonHotelInfo.vue";
import orderForm from "./order-form2.vue"; import orderForm from "./order-form2.vue";
export default { export default {
props: ['loading', 'list', 'pagesTitle'], props: ['loading', 'list', 'pagesTitle','PBranchId'],
data() { data() {
return { return {
//当前登录用户信息 //当前登录用户信息
......
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