|
@@ -10,7 +10,7 @@
|
|
|
<el-dialog title="商品详情" :visible.sync="isShowDetail" width="90%" :close-on-click-modal="false" :modal-append-to-body="false" :append-to-body="true">
|
|
|
<div style="max-height: 600px;overflow-y: auto;">
|
|
|
<el-form ref="formRef" :rules="rules" :model="formData" label-width="110px" size="small" label-position="left">
|
|
|
- <el-card class="box-card">
|
|
|
+ <el-card class="box-card" id="box">
|
|
|
<div slot="header" class="clearfix">
|
|
|
<span>基础信息</span>
|
|
|
</div>
|
|
@@ -270,7 +270,7 @@
|
|
|
getList(p, cb) {
|
|
|
try {
|
|
|
var pam = JSON.parse(JSON.stringify(p))
|
|
|
- pam.params.push({ 'param': 'a.status', "compare": "=", "value": this.status })
|
|
|
+ pam.params.push({ 'param': 'a.status', "compare": "=", "value": true })
|
|
|
cb && cb(pam)
|
|
|
return listPageV2(pam)
|
|
|
} catch (error) {
|
|
@@ -330,7 +330,11 @@
|
|
|
vedio: res.data.vedio?[{url: res.data.vedio}]:[],
|
|
|
goodsLibrarySpecList
|
|
|
})
|
|
|
- console.log(this.formData,imgs)
|
|
|
+ this.$nextTick(()=>{
|
|
|
+ document.querySelector('#box').scrollIntoView({
|
|
|
+ behavior: "smooth"
|
|
|
+ });
|
|
|
+ })
|
|
|
})
|
|
|
}}>查看详情</el-button>
|
|
|
</div>
|