Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-operator-master
Commits
aec7d0bc
Commit
aec7d0bc
authored
Apr 15, 2023
by
我在何方
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
报价单详情国际化
parent
31ead725
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
detail.vue
src/views/ecw/offer/detail.vue
+6
-6
No files found.
src/views/ecw/offer/detail.vue
View file @
aec7d0bc
...
...
@@ -434,14 +434,14 @@
currentcyMap
(){
let
map
=
{}
this
.
currencyList
.
forEach
(
item
=>
{
map
[
item
.
id
]
=
item
.
titleZh
map
[
item
.
id
]
=
this
.
$i18n
.
locale
==
'
zh_CN
'
?
item
.
titleZh
:
item
.
titleEn
})
return
map
},
unitMap
(){
let
map
=
{}
this
.
unitList
.
forEach
(
item
=>
{
map
[
item
.
id
]
=
item
.
titleZh
map
[
item
.
id
]
=
this
.
$i18n
.
locale
==
'
zh_CN
'
?
item
.
titleZh
:
item
.
titleEn
})
return
map
},
...
...
@@ -591,7 +591,7 @@
sourceLabel
(
data
){
let
label
=
''
var
source
=
this
.
customerSource
.
find
(
item
=>
item
.
value
==
data
)
if
(
source
)
label
=
source
.
label
if
(
source
)
label
=
this
.
$i18n
.
locale
==
'
zh_CN
'
?
source
.
label
:
source
.
labelEn
return
label
},
checkCode
(
data
){
...
...
@@ -690,7 +690,7 @@
arr
.
forEach
((
itemValue
)
=>
{
var
prodAttrCenter
=
this
.
productAttrList
.
filter
(
items
=>
items
.
id
==
itemValue
)
if
(
prodAttrCenter
.
length
>
0
){
prodAttrName
.
push
(
prodAttrCenter
[
0
].
attrName
)
prodAttrName
.
push
(
this
.
$i18n
.
locale
==
'
zh_CN
'
?
prodAttrCenter
[
0
].
attrName
:
prodAttrCenter
[
0
].
attrNameEn
)
}
})
if
(
prodAttrName
.
length
>
1
){
...
...
@@ -711,7 +711,7 @@
var
city
=
''
this
.
tradeCityList
.
forEach
((
item
)
=>
{
if
(
item
.
id
==
id
){
city
=
item
.
titleZh
city
=
this
.
$i18n
.
locale
==
'
zh_CN
'
?
item
.
titleZh
:
item
.
titleEn
}
})
return
city
...
...
@@ -736,7 +736,7 @@
getRouterNameById
(
routerId
){
let
router
=
this
.
routerList
.
find
(
item
=>
item
.
id
==
routerId
)
if
(
router
){
return
router
.
startTitleZh
+
'
>>>
'
+
router
.
destTitleZh
return
this
.
$i18n
.
locale
==
'
zh_CN
'
?
router
.
startTitleZh
:
router
.
startTitleEn
+
'
>>>
'
+
this
.
$i18n
.
locale
==
'
zh_CN
'
?
router
.
destTitleZh
:
router
.
destTitleEn
}
return
'
-
'
},
...
...
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