Commit 6948d8d8 by fuqiang

【商家端】商品管理-商品详情

parent 47988886
......@@ -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.name
return s.specName
}
}
return "未知"
......@@ -227,7 +229,7 @@
let specs = skus[0].specs.map(r => {
return {
specId: r.specId,
specName: r.specName
specName: r.name
}
})
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('加载信息失败')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment