Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Fedex
/
EcomWeb
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
zhanbo.xu
2025-06-17 16:30:31 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
cb1db4313934b31c1a4923a550e67ba53af48e43
cb1db431
1 parent
c1c7a963
feat: 优化取值
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
src/views/editReportingData/index.vue
src/views/editReportingData/index.vue
View file @
cb1db43
...
...
@@ -998,9 +998,10 @@ export default {
}
},
mapCurrencyDatas(dicArr, code) {
if (code != "") {
return dicArr.filter((item) => item.itemValue == code)[0]
.itemChineseName;
// console.log(dicArr, code);
if (code != "" && code) {
const ojb = dicArr.find((item) => item.itemValue == code);
return ojb ? ojb.itemChineseName : "";
} else {
return "";
}
...
...
Please
register
or
login
to post a comment