|
|
@@ -22,7 +22,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <goodsCommodityStyle v-if="isGoodsStyle" :bigCount="bigCount" :info="info" @cancel="isGoodsStyle=false" @ok="ok"></goodsCommodityStyle>
|
|
|
+ <goodsCommodityStyle v-if="isGoodsStyle" :bigCount="bigCount" :goodsStyleSelect="goodsStyleSelect" :info="info" @cancel="isGoodsStyle=false" @ok="ok"></goodsCommodityStyle>
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
|
@@ -66,12 +66,13 @@ export default {
|
|
|
isShowSucceed:false,
|
|
|
changeAutoPrice:'',
|
|
|
showPrice:0.00,
|
|
|
- ifFocus:false
|
|
|
+ ifFocus:false,
|
|
|
+ goodsStyleSelect:0,
|
|
|
};
|
|
|
},
|
|
|
created() {},
|
|
|
mounted() {
|
|
|
- // console.log(this.info,'this.info')
|
|
|
+
|
|
|
// if(this.info.priceLabel == 2){
|
|
|
// this.changeAutoPrice = this.info.price
|
|
|
// }
|
|
|
@@ -87,8 +88,9 @@ export default {
|
|
|
goodsStyleSelectIndex: index,
|
|
|
bigCount: bigCount
|
|
|
};
|
|
|
+ this.goodsStyleSelect = index
|
|
|
+ this.info.goodsStyleSelectIndex = index;
|
|
|
this.$emit("addGoodsEvent",params);
|
|
|
- console.log(params,'console.log(this.bigCountNum)');
|
|
|
this.isGoodsStyle = false;
|
|
|
},
|
|
|
addEvents() {
|