|
|
|
@ -251,6 +251,13 @@ Page({ |
|
|
|
}) |
|
|
|
}, |
|
|
|
order: function (e) { |
|
|
|
commonApi.user_post("/product/checkStock",{ |
|
|
|
sku_id: this.data.skuList[this.data.skuIndex].id, |
|
|
|
}).then(res => { |
|
|
|
console.log(res) |
|
|
|
if(res && res.code != 1){ |
|
|
|
return; |
|
|
|
}else{ |
|
|
|
// console.log(this.data.info,this.data.skuFlag)
|
|
|
|
app.globalData.postProduct = [] |
|
|
|
app.globalData.list = [] |
|
|
|
@ -310,6 +317,8 @@ Page({ |
|
|
|
} |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
pagePoint: function (e) { |
|
|
|
util.pagePoint({ |
|
|
|
|