Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
SuperMan
Commits
f630cced
Commit
f630cced
authored
Dec 09, 2022
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
4cfda02a
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
81 additions
and
5 deletions
+81
-5
TravelPrice.vue
...nents/newTravelmanager/TravelGroupControl/TravelPrice.vue
+20
-1
TravelPrice2.vue
...ents/newTravelmanager/TravelGroupControl/TravelPrice2.vue
+20
-1
TravelPrice3.vue
...ents/newTravelmanager/TravelGroupControl/TravelPrice3.vue
+21
-2
TravelPrice4.vue
...ents/newTravelmanager/TravelGroupControl/TravelPrice4.vue
+20
-1
No files found.
src/components/newTravelmanager/TravelGroupControl/TravelPrice.vue
View file @
f630cced
<
style
>
@import
"../../../assets/css/newTravelManager.css"
;
.choosed
span
{
background-color
:
#1bc594
!important
;
}
...
...
@@ -648,11 +649,15 @@
</el-form-item>
<el-form-item
prop=
"OutBranchId"
style=
"margin-top:1px;"
>
<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
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=='日元',
'TCb2c':standardCurrencyName=='新台币','AppPlat':standardCurrencyName=='',
'otherPlat':standardCurrencyName=='',}"
>
{{standardCurrencyName}}结算
</span>
</el-form-item>
<el-form-item
style=
"margin-top:1px;"
>
...
...
@@ -1173,6 +1178,7 @@
SupplierList
:
[],
//供应商列表
TeamListArr
:
[],
busPriceList
:
[],
//车辆列表
standardCurrencyName
:
''
,
};
},
methods
:
{
...
...
@@ -1655,6 +1661,18 @@
});
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
()
{
//出团公司
this
.
apipost
(
...
...
@@ -1662,6 +1680,7 @@
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
companyList
=
res
.
data
.
data
;
this
.
getstandardCurrencyName
()
}
},
err
=>
{}
...
...
src/components/newTravelmanager/TravelGroupControl/TravelPrice2.vue
View file @
f630cced
<
style
>
@import
"../../../assets/css/newTravelManager.css"
;
.choosed
span
{
background-color
:
#1bc594
!important
;
}
...
...
@@ -586,11 +587,15 @@
</el-form-item>
<el-form-item
prop=
"OutBranchId"
style=
"margin-top:1px;"
>
<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
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=='日元',
'TCb2c':standardCurrencyName=='新台币','AppPlat':standardCurrencyName=='',
'otherPlat':standardCurrencyName=='',}"
>
{{standardCurrencyName}}结算
</span>
</el-form-item>
<el-form-item
style=
"margin-top:1px;"
v-if=
"TeamType==1"
>
...
...
@@ -814,6 +819,7 @@
getSelectdata
:
''
,
//团期标签
teamTips
:
[],
standardCurrencyName
:
''
};
},
methods
:
{
...
...
@@ -1297,6 +1303,18 @@
});
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
()
{
this
.
apipost
(
...
...
@@ -1304,6 +1322,7 @@
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
companyList
=
res
.
data
.
data
;
this
.
getstandardCurrencyName
()
this
.
$forceUpdate
()
}
},
...
...
src/components/newTravelmanager/TravelGroupControl/TravelPrice3.vue
View file @
f630cced
<
style
>
@import
"../../../assets/css/newTravelManager.css"
;
.choosed
span
{
background-color
:
#1bc594
!important
;
}
...
...
@@ -595,11 +596,15 @@
</el-form-item>
<el-form-item
prop=
"OutBranchId"
style=
"margin-top:1px;"
>
<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
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=='日元',
'TCb2c':standardCurrencyName=='新台币','AppPlat':standardCurrencyName=='',
'otherPlat':standardCurrencyName=='',}"
>
{{standardCurrencyName}}结算
</span>
</el-form-item>
</div>
<div
class=
"TPright clearfix"
>
...
...
@@ -920,7 +925,8 @@
let
startTime
=
new
Date
(
this
.
QFlightDateStart
);
return
startTime
.
getTime
()
>=
time
.
getTime
();
}
}
},
standardCurrencyName
:
''
};
},
methods
:
{
...
...
@@ -1421,6 +1427,18 @@
});
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
()
{
//出团公司
this
.
apipost
(
...
...
@@ -1428,6 +1446,7 @@
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
companyList
=
res
.
data
.
data
;
this
.
getstandardCurrencyName
()
}
},
err
=>
{}
...
...
src/components/newTravelmanager/TravelGroupControl/TravelPrice4.vue
View file @
f630cced
<
style
>
@import
"../../../assets/css/newTravelManager.css"
;
.choosed
span
{
background-color
:
#1bc594
!important
;
}
...
...
@@ -628,11 +629,15 @@
</el-form-item>
<el-form-item
prop=
"OutBranchId"
style=
"margin-top:1px;"
>
<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
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=='日元',
'TCb2c':standardCurrencyName=='新台币','AppPlat':standardCurrencyName=='',
'otherPlat':standardCurrencyName=='',}"
>
{{standardCurrencyName}}结算
</span>
</el-form-item>
</div>
<div
class=
"TPright clearfix"
>
...
...
@@ -1108,6 +1113,7 @@
//少价规则
lessPriceVisible
:
false
,
lessPriceData
:
[],
standardCurrencyName
:
''
};
},
methods
:
{
...
...
@@ -1559,6 +1565,18 @@
});
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
()
{
//出团公司
this
.
apipost
(
...
...
@@ -1566,6 +1584,7 @@
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
companyList
=
res
.
data
.
data
;
this
.
getstandardCurrencyName
()
}
},
err
=>
{}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment