|
|
|
@ -6,14 +6,17 @@
|
|
|
|
|
<cgood v-model="form1.good" :disabled="true" ></cgood> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
<el-form-item label="砍价名称"> |
|
|
|
|
<el-form-item label="砍价活动标题"> |
|
|
|
|
<el-input v-model="form.title" style="width: 500px;" /> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="商品名称"> |
|
|
|
|
<el-input v-model="form.storeName" style="width: 500px;" disabled="true"/> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="砍价简介"> |
|
|
|
|
<el-input v-model="form.info" style="width: 500px;" rows="5" type="textarea" /> |
|
|
|
|
<el-input v-model="form.info" disabled="true" style="width: 500px;" rows="5" type="textarea" /> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="单位"> |
|
|
|
|
<el-input v-model="form.unitName" style="width: 500px;" /> |
|
|
|
|
<el-input v-model="form.unitName" disabled="true" style="width: 500px;" /> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="活动开始时间"> |
|
|
|
|
<template> |
|
|
|
@ -34,7 +37,7 @@
|
|
|
|
|
</template> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="砍价产品主图片"> |
|
|
|
|
<single-pic v-model="form.image" style="width: 500px" type="image" :num="1" :width="150" :height="150" /> |
|
|
|
|
<single-pic v-model="form.image" style="width: 500px" type="image" :num="1" :width="150" :height="150" /> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="砍价产品轮播图"> |
|
|
|
|
<MaterialList v-model="form.sliderImageArr" style="width: 500px" type="image" :num="4" :width="150" :height="150" /> |
|
|
|
@ -208,9 +211,9 @@ export default {
|
|
|
|
|
Object.keys(that.form).forEach(key=>{ |
|
|
|
|
if(data[key]) that.form[key] = data[key]; |
|
|
|
|
}) |
|
|
|
|
that.form.productId = data.id |
|
|
|
|
that.form.productId = data.id; |
|
|
|
|
that.form.storeName = data.store_name; |
|
|
|
|
that.form.cate_id = cate_id; |
|
|
|
|
that.form.title = data.store_name |
|
|
|
|
that.form.info = data.store_info |
|
|
|
|
that.form.unitName = data.unit_name |
|
|
|
|
that.form.imageArr = data.image |
|
|
|
|