Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
linshenxs-shop
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
陈超
linshenxs-shop
Commits
6948d8d8
Commit
6948d8d8
authored
Jul 26, 2022
by
fuqiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【商家端】商品管理-商品详情
parent
47988886
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
src/views/businessGoods/details.vue
+9
-6
No files found.
src/views/businessGoods/details.vue
View file @
6948d8d8
...
...
@@ -77,6 +77,7 @@
<div
class=
"layout_h"
style=
"margin-top: 16px;"
v-if=
"goodsVideo"
>
<div
class=
"zm_info_row"
>
<div
class=
"zm_label"
>
商品视频
</div>
<video
:src=
"goodsVideo"
width=
"320"
height=
"240"
prop=
"video"
controls=
"controls"
>
</video>
</div>
...
...
@@ -84,6 +85,7 @@
<div
class=
"layout_h"
style=
"margin-top: 16px;"
v-if=
"authVideo"
>
<div
class=
"zm_info_row"
>
<div
class=
"zm_label"
>
商品审核视频
</div>
<video
:src=
"authVideo"
width=
"320"
height=
"240"
prop=
"video"
controls=
"controls"
>
</video>
</div>
...
...
@@ -94,18 +96,18 @@
<div
class=
"zm_label"
>
累计剩余库存
</div>
<div>
{{info ? info.stock : ''}}
</div>
</div>
<div
class=
"zm_info_row"
>
<
!-- <
div class="zm_info_row">
<div class="zm_label">状态</div>
<div>{{info ? info.stateName : ''}}</div>
</div>
</div>
-->
</div>
<div
class=
"layout_h"
style=
"margin-top: 16px;"
>
<
!-- <
div class="layout_h" style="margin-top: 16px;">
<div class="zm_info_row">
<div class="zm_label">审核状态</div>
<div>{{info ? info.auditStateName : ''}}</div>
</div>
</div>
</div>
-->
<div
class=
"layout_h"
style=
"margin-top: 16px;"
>
<div
class=
"zm_info_row"
>
...
...
@@ -188,7 +190,7 @@
return
(
spec
,
row
)
=>
{
for
(
let
s
of
row
.
specs
)
{
if
(
s
.
specId
==
spec
.
specId
)
{
return
s
.
n
ame
return
s
.
specN
ame
}
}
return
"未知"
...
...
@@ -227,7 +229,7 @@
let
specs
=
skus
[
0
].
specs
.
map
(
r
=>
{
return
{
specId
:
r
.
specId
,
specName
:
r
.
specN
ame
specName
:
r
.
n
ame
}
})
this
.
specs
=
specs
...
...
@@ -241,6 +243,7 @@
if
(
this
.
zmRes
(
r
).
skus
){
this
.
form
=
this
.
zmRes
(
r
)
}
this
.
refill
(
this
.
zmRes
(
r
))
}).
catch
(
r
=>
{
this
.
loading
=
false
this
.
error
(
'加载信息失败'
)
...
...
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