Commit 73b9171b by 谢中龙

库存相关

parent 3e610c92
......@@ -199,6 +199,12 @@ Component({
skuId: this.data.skuId,
count: this.data.proNum,
})
this.setData({
curSpec: [], // 当前选中的规格值
curSku: {}, // 当前选中的sku信息
skuStock : 0,
});
// this.triggerEvent('skuselect', {
// selectSku: this.data.curSku,
// counts: this.data.proNum,
......@@ -254,8 +260,7 @@ Component({
proNum ++
this.setData({
proNum
})
});
},
hidePopup: function () { // 隐藏弹出框
this.setData({
......
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