Commit 90da70f1 authored by 罗超's avatar 罗超

2

parent 2356cfde
...@@ -25,10 +25,10 @@ ...@@ -25,10 +25,10 @@
<el-row> <el-row>
<el-col :span="12" > <el-col :span="12" >
<el-form-item label="上架版面"> <el-form-item label="上架版面">
<el-radio-group v-model="addMsg.GoodsEduType" :disabled="addMsg.Id>0" @change=""> <el-radio-group v-model="addMsg.GoodsEduType" :disabled="addMsg.Id>0">
<el-radio :label="0">正常商品</el-radio> <!-- <el-radio :label="0">正常商品</el-radio> -->
<el-radio :label="1">咖啡劵</el-radio> <el-radio :label="1">咖啡劵</el-radio>
<el-radio :label="3">教室类</el-radio> <!-- <el-radio :label="3">教室类</el-radio> -->
</el-radio-group> </el-radio-group>
</el-form-item> </el-form-item>
</el-col> </el-col>
...@@ -1216,7 +1216,7 @@ ...@@ -1216,7 +1216,7 @@
GoodsUrl: "", //简介 GoodsUrl: "", //简介
goodsLogo: "", //商品Logo goodsLogo: "", //商品Logo
IsKorea: 0, //是否为韩国馆 IsKorea: 0, //是否为韩国馆
GoodsEduType:0, GoodsEduType:1,
}, },
predefineColors: [ predefineColors: [
'#000000', '#000000',
...@@ -1846,10 +1846,10 @@ ...@@ -1846,10 +1846,10 @@
if (valid) { if (valid) {
let content = this.$refs.ue.getUEContent(); let content = this.$refs.ue.getUEContent();
this.addMsg.GoodsDetails = content; this.addMsg.GoodsDetails = content;
if (this.addMsg.CategoryList.length == 0) { // if (this.addMsg.CategoryList.length == 0) {
this.Error('请选择商品分类'); // this.Error('请选择商品分类');
return false // return false
} // }
if (this.SpecificationList.length > 0) { if (this.SpecificationList.length > 0) {
this.addMsg.IsCustomSpecification = 1; this.addMsg.IsCustomSpecification = 1;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment