|
@@ -30,8 +30,7 @@
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="原价:" prop="price">
|
|
|
- <el-input-number v-model="form.price" :min="0" :max="500" :controls="false" :precision="2"
|
|
|
- placeholder="请输入原价" />
|
|
|
+ <el-input-number v-model="form.price" :min="0" :max="500" :controls="false" :precision="2" placeholder="请输入原价" />
|
|
|
</el-form-item>
|
|
|
<el-form-item label="活动价:" prop="discount">
|
|
|
<el-input-number v-model="form.discount" :min="0" :max="500" :controls="false" :precision="2"
|
|
@@ -126,7 +125,10 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
mounted() {
|
|
|
- this.typeList[0] === '12' ? this.getGoodSList() : this.getSceneList()
|
|
|
+ this.typeList[0] === '12' ? [
|
|
|
+ this.getGoodSList(),
|
|
|
+ this.form.type = 12
|
|
|
+ ] : this.getSceneList()
|
|
|
if (this.$route.query.id) {
|
|
|
this.form.id = this.$route.query.id
|
|
|
this.getList()
|