Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-ordermanage
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 2a7e25eb
authored
Jul 28, 2023
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
商品字段问题修复
1 parent
ac957dc7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
src/utils/chaining.js
src/views/orderManage/carDamageDetail.vue
src/utils/chaining.js
View file @
2a7e25e
export
const
optionalChaining
=
(
obj
,
...
rest
)
=>
{
return
rest
.
reduce
((
newObj
,
key
)
=>
newObj
?.[
key
],
obj
)
return
rest
.
reduce
((
newObj
,
key
)
=>
newObj
?.[
key
],
obj
)
||
''
// let tmp = obj
// for (const key in rest) {
// const name = rest[key]
...
...
src/views/orderManage/carDamageDetail.vue
View file @
2a7e25e
...
...
@@ -93,7 +93,7 @@
<el-form-item
label=
"商品:"
class=
"goods"
>
<img
v-if=
"$$(detail, 'quotationGoodsInfo', 'titlePictureUrl')"
class=
"order-img"
:src=
"$$(detail, 'quotationGoodsInfo', 'titlePictureUrl')"
@
click=
"handleEnlargeImg"
/>
{{ $$(detail, '
quotationGoodsInfo', '
goodsName') }}
{{ $$(detail, 'goodsName') }}
</el-form-item>
<el-form-item
label=
"增值权益价格/元:"
style=
"width:450px"
>
{{ detail.quotedPriceUpdate / 100 }}
...
...
@@ -243,6 +243,11 @@ export default {
.goods
{
height
:
100px
;
::v-deep
.el-form-item__content
{
max-width
:
240px
;
word-break
:
break-all
;
}
//
display
:
flex
;
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment