新书推荐
This commit is contained in:
@@ -134,6 +134,12 @@
|
||||
<el-radio :label="'1'">否</el-radio>
|
||||
</el-radio-group>
|
||||
</el-form-item>
|
||||
<el-form-item label="是否为新书上市" prop="isNew" label-width="200">
|
||||
<el-radio-group v-model="dataForm.isNew">
|
||||
<el-radio :label="1">是</el-radio>
|
||||
<el-radio :label="0">否</el-radio>
|
||||
</el-radio-group>
|
||||
</el-form-item>
|
||||
</div>
|
||||
<el-form-item label="商品详情" prop="productDetails">
|
||||
<el-upload class="avatar-uploader" :action="baseUrl + '/oss/fileoss'" accept=".jpeg,.jpg,.gif,.png" :show-file-list="false" :on-success="contentUploadSuccess" >
|
||||
@@ -213,9 +219,10 @@
|
||||
weight: '',
|
||||
pubDate: '',
|
||||
// format: '', // 开本
|
||||
isFreeMail: '', // 是否包邮
|
||||
isFreeMail: '1', // 是否包邮
|
||||
// pageNum: '',
|
||||
// quality: '', // 内文用纸
|
||||
isNew:0,
|
||||
sumSales: null, // 总销量
|
||||
publishStatus: '',
|
||||
productPid: '',
|
||||
@@ -392,6 +399,7 @@
|
||||
// this.dataForm.quality = data.shopProduct.quality
|
||||
// this.dataForm.format = data.shopProduct.format
|
||||
this.dataForm.isFreeMail = data.shopProduct.isFreeMail
|
||||
this.dataForm.isNew = data.shopProduct.isNew
|
||||
this.dataForm.productDetails = data.shopProduct.productDetails
|
||||
this.dataForm.poids = data.shopProduct.poids
|
||||
this.dataForm.productStock = data.shopProduct.productStock
|
||||
@@ -498,6 +506,7 @@
|
||||
'shoproudLabels': this.dataForm.tags,
|
||||
// 'format': this.dataForm.format, // 开本
|
||||
'isFreeMail': this.dataForm.isFreeMail,
|
||||
'isNew' : this.dataForm.isNew,
|
||||
// 'pageNum': this.dataForm.pageNum,
|
||||
// 'quality': this.dataForm.quality, // 内文用纸
|
||||
'productStock': this.dataForm.productStock, // 库存
|
||||
|
||||
Reference in New Issue
Block a user