Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-services
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 82ad33b1
authored
Aug 11, 2023
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
商品添加默认图片
1 parent
427c905c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
src/assets/default.png
src/views/inSale/purchase.vue
src/assets/default.png
0 → 100644
View file @
82ad33b
114 KB
src/views/inSale/purchase.vue
View file @
82ad33b
...
...
@@ -42,7 +42,7 @@
<div
class=
"goodsItemCon"
v-for=
"(item, index) in purchaseList"
:class=
"[
{ active: item.active }, { last: index === purchaseList.length - 1 }]" :key="index">
<!-- 图片
{{
item
.
thumbUrl
}}
-->
<img
:src=
"item.goodsInfo.thumbUrl"
class=
"img"
alt=
""
/>
<img
:src=
"item.goodsInfo.thumbUrl
?item.goodsInfo.thumbUrl:defaultImg
"
class=
"img"
alt=
""
/>
<span
class=
"goodsName one-line-ellipsis"
>
{{
item
.
upgradeGoods
.
upgradeGoodsName
}}
</span>
<!-- 名称
{{
item
.
goodsName
}}
-->
<span
class=
"purchaseOrderCount"
>
编码:
{{
item
.
upgradeGoods
.
type
}}
</span>
...
...
@@ -131,6 +131,7 @@ export default {
data
()
{
return
{
emptyImgUrl
:
require
(
'@/assets/empty.png'
),
defaultImg
:
require
(
'@/assets/default.png'
),
addressComVisible
:
false
,
addressInfo
:
{
}
,
purchaseList
:
[],
...
...
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