|
@@ -139,7 +139,7 @@
|
|
|
</view>
|
|
|
|
|
|
<view class="u-number-box" v-if="!storeInfo.isEnd">
|
|
|
- <u-number-box :disabled="!isShowBottom" :min=0 :max="10" v-model="storeInfo.goodsList[index].num" @change="addGoodsNum"></u-number-box>
|
|
|
+ <u-number-box :name="index" :disabled="!isShowBottom" :min=0 :max="10" v-model="storeInfo.goodsList[index].num" @change="addGoodsNum"></u-number-box>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -1232,8 +1232,9 @@ export default {
|
|
|
// this.$set(this, "attrValue", productSelect.suk);
|
|
|
// }
|
|
|
// },
|
|
|
- addGoodsNum(item) {
|
|
|
-
|
|
|
+ addGoodsNum(e) {
|
|
|
+ console.log(e)
|
|
|
+ this.storeInfo.goodsList[e.name].num = e.value
|
|
|
}
|
|
|
},
|
|
|
};
|