Commit 081b494e authored by 黄奎's avatar 黄奎

页面修改

parent dd7c6d18
<style>
@import "../../../assets/css/newTravelManager.css";
.choosed span {
background-color: #1bc594 !important;
}
......@@ -468,8 +469,8 @@
:false-label="UnCheckedLessPrice" label="公司车辆">
</el-checkbox>
</div>
<template v-if="priceData.IsUseCompanyBus==1">
<el-select v-model="priceData.BusPriceId">
<template v-if="priceData.IsUseCompanyBus==1">
<el-select v-model="priceData.BusPriceId">
<el-option v-for="item in busPriceList" :key="item.Id" :label="item.BusNumber" :value="item.Id">
<span style="float: left">{{ item.AreaTypeName }} ({{item.BusTypeStr}})</span>
<span style="float: right; color: #8492a6; font-size: 13px">{{ item.BusNumber }}</span>
......@@ -654,8 +655,8 @@
<el-option v-for="item in companyList" :key="item.id" :label="item.bName" :value="item.id">
</el-option>
</el-select>
<span class="TC_neibu" style="float: inherit;margin-left: 5px;margin-right: 5px;" v-if="standardCurrencyName"
:class="{'TCneibu':standardCurrencyName=='人民币','TCb2b':standardCurrencyName=='日元',
<span class="TC_neibu" style="float: inherit;margin-left: 5px;margin-right: 5px;"
v-if="standardCurrencyName" :class="{'TCneibu':standardCurrencyName=='人民币','TCb2b':standardCurrencyName=='日元',
'TCb2c':standardCurrencyName=='新台币','AppPlat':standardCurrencyName=='',
'otherPlat':standardCurrencyName=='',}">{{standardCurrencyName}}结算</span>
</el-form-item>
......@@ -861,8 +862,11 @@
<el-form-item prop="OutBranchId" style="margin-top:1px;">
<span class="TP_Sendprepend" style="margin:3px -1px 0 0">团队类型</span>
<el-select class="w180" v-model="priceData.PriceTeamType">
<el-option v-for="item in TeamListArr" :key="item.Id" :label="item.Name" :value="item.Id">
</el-option>
<template v-for="item in TeamListArr">
<!--去掉小包团2023-04-19-->
<el-option v-if="item.Id!=4" :key="item.Id" :label="item.Name" :value="item.Id">
</el-option>
</template>
</el-select>
</el-form-item>
<el-form-item style="margin-top:1px;">
......@@ -1120,9 +1124,14 @@
SaleBranchIdArray: [],
OutGroupType: 0
},
OutGroupTypeList: [
{Name: '常规', Id: 0},
{Name: '落地团', Id: 1},
OutGroupTypeList: [{
Name: '常规',
Id: 0
},
{
Name: '落地团',
Id: 1
},
],
returnPriceList: this.priceList,
//酒店列表
......@@ -1673,15 +1682,15 @@
});
return isExit;
},
getstandardCurrencyName(){
getstandardCurrencyName() {
let isShow = true
this.companyList.forEach(x=>{
if(x.id==this.priceData.OutBranchId&&x.standardCurrencyId>0){
this.companyList.forEach(x => {
if (x.id == this.priceData.OutBranchId && x.standardCurrencyId > 0) {
this.standardCurrencyName = x.standardCurrencyName
isShow = false
}
})
if(isShow){
if (isShow) {
this.standardCurrencyName = ''
}
},
......@@ -1978,8 +1987,8 @@
//获取车辆列表
getBusList() {
this.apipost("bus_get_GetBusTypePriceList", {
IsHaveBusNum:1
}, res => {
IsHaveBusNum: 1
}, res => {
if (res.data.resultCode == 1) {
this.busPriceList = res.data.data;
} else {
......@@ -2040,7 +2049,7 @@
//深度监听,可监听到对象、数组的变化
handler: function (val, oldVal) {
this.initShowPriceList();
this.$emit("headCallBack", this.returnPriceList,this.priceData.OutGroupType);
this.$emit("headCallBack", this.returnPriceList, this.priceData.OutGroupType);
},
deep: true
},
......@@ -2048,7 +2057,7 @@
//深度监听,可监听到对象的变化
handler: function (val, oldVal) {
this.initShowPriceList();
this.$emit("headCallBack", this.returnPriceList,this.priceData.OutGroupType);
this.$emit("headCallBack", this.returnPriceList, this.priceData.OutGroupType);
},
deep: true
},
......
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