|
|
@@ -373,7 +373,7 @@ export default {
|
|
|
this.currentImgData.push(res.data.cover)
|
|
|
this.form.cover = [res.data.shortCover]
|
|
|
|
|
|
- this.form.stock = ''
|
|
|
+ this.form.stock = 0
|
|
|
this.form.itemId = ptItemId
|
|
|
this.form.classId = ''
|
|
|
this.form.status = 1
|
|
|
@@ -384,6 +384,8 @@ export default {
|
|
|
this.form.addPrice = 3
|
|
|
this.form.discountPrice = 0
|
|
|
this.form.skMore = 3
|
|
|
+ this.form.smallShow = 0
|
|
|
+ this.form.smallRatio = 1
|
|
|
this.cost = res.data && res.data.cost ? parseFloat(res.data.cost) : 0
|
|
|
})
|
|
|
},
|