提交 48418630 authored 作者: 陆's avatar

评论详情

上级 0fb3e64a
...@@ -197,7 +197,7 @@ ...@@ -197,7 +197,7 @@
<!-- 选择商品属性--> <!-- 选择商品属性-->
<Form-item label="商品属性" prop="type" style="width: 500px" v-show="tbCfItemComment.itemId"> <Form-item label="商品属性" prop="type" style="width: 500px" v-show="tbCfItemComment.itemId">
<i-select v-model="tbCfItemComment.attributs" placeholder="请选择"/> <i-select v-model="tbCfItemComment.attributs" placeholder="请选择"/>
<i-option v-for="v in goodslist" :value="v">{{v}}</i-option> <i-option v-for="v in goodslist" :value="v.label">{{v.label}}</i-option>
</i-select> </i-select>
</Form-item> </Form-item>
......
...@@ -83,18 +83,7 @@ let vm = new Vue({ ...@@ -83,18 +83,7 @@ let vm = new Vue({
} }
], ],
goodslist:[ goodslist:[],//商品属性
{
label: '我不是',
value: 0
}, {
label: '你不是',
value: 1
}, {
label: '他不是',
value: 2
}
],//商品属性
showList: true, showList: true,
title: null, title: null,
tbCfItemComment: {}, tbCfItemComment: {},
...@@ -262,6 +251,9 @@ let vm = new Vue({ ...@@ -262,6 +251,9 @@ let vm = new Vue({
async: true, async: true,
successCallback: function (r) { successCallback: function (r) {
vm.tbCfItemComment = r.tbCfItemComment; vm.tbCfItemComment = r.tbCfItemComment;
if (r.tbCfItemComment.itemId){
vm.getgoodslist()
}
vm.uploadList = vm.tbCfItemComment.urls.split(";"); vm.uploadList = vm.tbCfItemComment.urls.split(";");
if (vm.tbCfItemComment.urls == ''){ if (vm.tbCfItemComment.urls == ''){
vm.uploadList = null vm.uploadList = null
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论