Commit f630cced authored by youjie's avatar youjie

no message

parent 4cfda02a
<style> <style>
@import "../../../assets/css/newTravelManager.css";
.choosed span { .choosed span {
background-color: #1bc594 !important; background-color: #1bc594 !important;
} }
...@@ -648,11 +649,15 @@ ...@@ -648,11 +649,15 @@
</el-form-item> </el-form-item>
<el-form-item prop="OutBranchId" style="margin-top:1px;"> <el-form-item prop="OutBranchId" style="margin-top:1px;">
<span class="TP_Sendprepend" style="margin:3px -1px 0 0">{{$t('scen.sc_cp')}}</span> <span class="TP_Sendprepend" style="margin:3px -1px 0 0">{{$t('scen.sc_cp')}}</span>
<el-select class="w180" v-model="priceData.OutBranchId"> <el-select class="w180" v-model="priceData.OutBranchId" @change="getstandardCurrencyName">
<el-option :label="$t('pub.unlimitedSel')" :value="SelectOtherDefault"></el-option> <el-option :label="$t('pub.unlimitedSel')" :value="SelectOtherDefault"></el-option>
<el-option v-for="item in companyList" :key="item.id" :label="item.bName" :value="item.id"> <el-option v-for="item in companyList" :key="item.id" :label="item.bName" :value="item.id">
</el-option> </el-option>
</el-select> </el-select>
<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> </el-form-item>
<el-form-item style="margin-top:1px;"> <el-form-item style="margin-top:1px;">
...@@ -1173,6 +1178,7 @@ ...@@ -1173,6 +1178,7 @@
SupplierList: [], //供应商列表 SupplierList: [], //供应商列表
TeamListArr: [], TeamListArr: [],
busPriceList: [], //车辆列表 busPriceList: [], //车辆列表
standardCurrencyName: '',
}; };
}, },
methods: { methods: {
...@@ -1655,6 +1661,18 @@ ...@@ -1655,6 +1661,18 @@
}); });
return isExit; return isExit;
}, },
getstandardCurrencyName(){
let isShow = true
this.companyList.forEach(x=>{
if(x.id==this.priceData.OutBranchId&&x.standardCurrencyId>0){
this.standardCurrencyName = x.standardCurrencyName
isShow = false
}
})
if(isShow){
this.standardCurrencyName = ''
}
},
getCompanyList() { getCompanyList() {
//出团公司 //出团公司
this.apipost( this.apipost(
...@@ -1662,6 +1680,7 @@ ...@@ -1662,6 +1680,7 @@
res => { res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.companyList = res.data.data; this.companyList = res.data.data;
this.getstandardCurrencyName()
} }
}, },
err => {} err => {}
......
<style> <style>
@import "../../../assets/css/newTravelManager.css";
.choosed span { .choosed span {
background-color: #1bc594 !important; background-color: #1bc594 !important;
} }
...@@ -586,11 +587,15 @@ ...@@ -586,11 +587,15 @@
</el-form-item> </el-form-item>
<el-form-item prop="OutBranchId" style="margin-top:1px;"> <el-form-item prop="OutBranchId" style="margin-top:1px;">
<span class="TP_Sendprepend" style="margin:3px -1px 0 0">{{$t('scen.sc_cp')}}</span> <span class="TP_Sendprepend" style="margin:3px -1px 0 0">{{$t('scen.sc_cp')}}</span>
<el-select class="w180" v-model="priceData.OutBranchId" :disabled="TeamType==1"> <el-select class="w180" v-model="priceData.OutBranchId" :disabled="TeamType==1" @change="getstandardCurrencyName">
<el-option :label="$t('pub.unlimitedSel')" :value="SelectOtherDefault"></el-option> <el-option :label="$t('pub.unlimitedSel')" :value="SelectOtherDefault"></el-option>
<el-option v-for="item in companyList" :key="item.id" :label="item.bName" :value="item.id"> <el-option v-for="item in companyList" :key="item.id" :label="item.bName" :value="item.id">
</el-option> </el-option>
</el-select> </el-select>
<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> </el-form-item>
<el-form-item style="margin-top:1px;" v-if="TeamType==1"> <el-form-item style="margin-top:1px;" v-if="TeamType==1">
...@@ -814,6 +819,7 @@ ...@@ -814,6 +819,7 @@
getSelectdata: '', getSelectdata: '',
//团期标签 //团期标签
teamTips: [], teamTips: [],
standardCurrencyName: ''
}; };
}, },
methods: { methods: {
...@@ -1297,6 +1303,18 @@ ...@@ -1297,6 +1303,18 @@
}); });
return isExit; return isExit;
}, },
getstandardCurrencyName(){
let isShow = true
this.companyList.forEach(x=>{
if(x.id==this.priceData.OutBranchId&&x.standardCurrencyId>0){
this.standardCurrencyName = x.standardCurrencyName
isShow = false
}
})
if(isShow){
this.standardCurrencyName = ''
}
},
//出团公司 //出团公司
getCompanyList() { getCompanyList() {
this.apipost( this.apipost(
...@@ -1304,6 +1322,7 @@ ...@@ -1304,6 +1322,7 @@
res => { res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.companyList = res.data.data; this.companyList = res.data.data;
this.getstandardCurrencyName()
this.$forceUpdate() this.$forceUpdate()
} }
}, },
......
<style> <style>
@import "../../../assets/css/newTravelManager.css";
.choosed span { .choosed span {
background-color: #1bc594 !important; background-color: #1bc594 !important;
} }
...@@ -595,11 +596,15 @@ ...@@ -595,11 +596,15 @@
</el-form-item> </el-form-item>
<el-form-item prop="OutBranchId" style="margin-top:1px;"> <el-form-item prop="OutBranchId" style="margin-top:1px;">
<span class="TP_Sendprepend" style="margin:3px -1px 0 0">{{$t('scen.sc_cp')}}</span> <span class="TP_Sendprepend" style="margin:3px -1px 0 0">{{$t('scen.sc_cp')}}</span>
<el-select class="w180" v-model="priceData.OutBranchId"> <el-select class="w180" v-model="priceData.OutBranchId" @change="getstandardCurrencyName">
<el-option :label="$t('pub.unlimitedSel')" :value="SelectOtherDefault"></el-option> <el-option :label="$t('pub.unlimitedSel')" :value="SelectOtherDefault"></el-option>
<el-option v-for="item in companyList" :key="item.id" :label="item.bName" :value="item.id"> <el-option v-for="item in companyList" :key="item.id" :label="item.bName" :value="item.id">
</el-option> </el-option>
</el-select> </el-select>
<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> </el-form-item>
</div> </div>
<div class="TPright clearfix"> <div class="TPright clearfix">
...@@ -920,7 +925,8 @@ ...@@ -920,7 +925,8 @@
let startTime = new Date(this.QFlightDateStart); let startTime = new Date(this.QFlightDateStart);
return startTime.getTime() >= time.getTime(); return startTime.getTime() >= time.getTime();
} }
} },
standardCurrencyName: ''
}; };
}, },
methods: { methods: {
...@@ -1421,6 +1427,18 @@ ...@@ -1421,6 +1427,18 @@
}); });
return isExit; return isExit;
}, },
getstandardCurrencyName(){
let isShow = true
this.companyList.forEach(x=>{
if(x.id==this.priceData.OutBranchId&&x.standardCurrencyId>0){
this.standardCurrencyName = x.standardCurrencyName
isShow = false
}
})
if(isShow){
this.standardCurrencyName = ''
}
},
getCompanyList() { getCompanyList() {
//出团公司 //出团公司
this.apipost( this.apipost(
...@@ -1428,6 +1446,7 @@ ...@@ -1428,6 +1446,7 @@
res => { res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.companyList = res.data.data; this.companyList = res.data.data;
this.getstandardCurrencyName()
} }
}, },
err => {} err => {}
......
<style> <style>
@import "../../../assets/css/newTravelManager.css";
.choosed span { .choosed span {
background-color: #1bc594 !important; background-color: #1bc594 !important;
} }
...@@ -628,11 +629,15 @@ ...@@ -628,11 +629,15 @@
</el-form-item> </el-form-item>
<el-form-item prop="OutBranchId" style="margin-top:1px;"> <el-form-item prop="OutBranchId" style="margin-top:1px;">
<span class="TP_Sendprepend" style="margin:3px -1px 0 0">{{$t('scen.sc_cp')}}</span> <span class="TP_Sendprepend" style="margin:3px -1px 0 0">{{$t('scen.sc_cp')}}</span>
<el-select class="w180" v-model="priceData.OutBranchId"> <el-select class="w180" v-model="priceData.OutBranchId" @change="getstandardCurrencyName">
<el-option :label="$t('pub.unlimitedSel')" :value="SelectOtherDefault"></el-option> <el-option :label="$t('pub.unlimitedSel')" :value="SelectOtherDefault"></el-option>
<el-option v-for="item in companyList" :key="item.id" :label="item.bName" :value="item.id"> <el-option v-for="item in companyList" :key="item.id" :label="item.bName" :value="item.id">
</el-option> </el-option>
</el-select> </el-select>
<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> </el-form-item>
</div> </div>
<div class="TPright clearfix"> <div class="TPright clearfix">
...@@ -1108,6 +1113,7 @@ ...@@ -1108,6 +1113,7 @@
//少价规则 //少价规则
lessPriceVisible: false, lessPriceVisible: false,
lessPriceData: [], lessPriceData: [],
standardCurrencyName: ''
}; };
}, },
methods: { methods: {
...@@ -1559,6 +1565,18 @@ ...@@ -1559,6 +1565,18 @@
}); });
return isExit; return isExit;
}, },
getstandardCurrencyName(){
let isShow = true
this.companyList.forEach(x=>{
if(x.id==this.priceData.OutBranchId&&x.standardCurrencyId>0){
this.standardCurrencyName = x.standardCurrencyName
isShow = false
}
})
if(isShow){
this.standardCurrencyName = ''
}
},
getCompanyList() { getCompanyList() {
//出团公司 //出团公司
this.apipost( this.apipost(
...@@ -1566,6 +1584,7 @@ ...@@ -1566,6 +1584,7 @@
res => { res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.companyList = res.data.data; this.companyList = res.data.data;
this.getstandardCurrencyName()
} }
}, },
err => {} err => {}
......
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