|
@@ -332,8 +332,8 @@ export default {
|
|
|
},
|
|
|
close () {
|
|
|
this.addGoodPopupShow = false
|
|
|
- this.grouponReqData.goodsIds =this.$refs.publish_good_list.returnVGoodIds();
|
|
|
- console.log('close',this.grouponReqData.goodsIds);
|
|
|
+ this.selectGoodList =this.$refs.publish_good_list.returnVGoods();
|
|
|
+ console.log('close',this.selectGoodList);
|
|
|
},
|
|
|
addGood () {
|
|
|
this.addGoodPopupShow = true
|
|
@@ -407,16 +407,16 @@ export default {
|
|
|
title: that.$t(`请选择自提点`)
|
|
|
});
|
|
|
}
|
|
|
- if (this.grouponReqData.goodsIds.length < 1) {
|
|
|
+ if (this.selectGoodList.length < 1) {
|
|
|
return that.$util.Tips({
|
|
|
title: that.$t(`请添加商品`)
|
|
|
});
|
|
|
}
|
|
|
- // let goodsIds = [];
|
|
|
- // this.selectGoodList.forEach(e => {
|
|
|
- // goodsIds.push(e.id);
|
|
|
- // that.grouponReqData.goodsIds = goodsIds;
|
|
|
- // })
|
|
|
+ let goodsIds = [];
|
|
|
+ this.selectGoodList.forEach(e => {
|
|
|
+ goodsIds.push(e.id);
|
|
|
+ that.grouponReqData.goodsIds = goodsIds;
|
|
|
+ })
|
|
|
uni.showLoading({
|
|
|
title: that.$t(`发布中`),
|
|
|
mask: true
|
|
@@ -445,13 +445,15 @@ export default {
|
|
|
padding: 20rpx 0;
|
|
|
}
|
|
|
.image-box{
|
|
|
- width: 32rpx;
|
|
|
- height: 32rpx;
|
|
|
+ width: 34rpx;
|
|
|
+ height: 34rpx;
|
|
|
+ margin-right: 30rpx;
|
|
|
+
|
|
|
}
|
|
|
.image-box image{
|
|
|
- width: 32rpx;
|
|
|
- height: 32rpx;
|
|
|
- margin-right: 30rpx;
|
|
|
+ width: 34rpx;
|
|
|
+ height: 34rpx;
|
|
|
+
|
|
|
}
|
|
|
|
|
|
.fontcolor {
|