|
|
@@ -917,6 +917,7 @@ export default {
|
|
|
let data = {
|
|
|
goodsId: item.goodsId
|
|
|
}
|
|
|
+ console.log(data)
|
|
|
this.$Request.get('/app/goods/selectGoodsById', data).then((res) => {
|
|
|
uni.hideLoading()
|
|
|
if (res.code == 0) {
|
|
|
@@ -983,9 +984,11 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
})
|
|
|
+ console.log(this.checkString)
|
|
|
+ console.log(this.skuList)
|
|
|
for (var i = 0; i < this.skuList.length; i++) {
|
|
|
let d = this.skuList[i]
|
|
|
- console.log(this.skuList[i], 'l')
|
|
|
+ // console.log(this.skuList[i], 'l')
|
|
|
if (d.detailJson == this.checkString) {
|
|
|
console.log(d.detailJson, this.checkString)
|
|
|
// if (d.stock > 0) {
|
|
|
@@ -1017,9 +1020,7 @@ export default {
|
|
|
}
|
|
|
|
|
|
if (this.attrList.length) {
|
|
|
- console.log(this.checkString, this.CheckattrValue, '规格')
|
|
|
if (this.checkString == '' || !this.CheckattrValue) {
|
|
|
- console.log(this.checkString, this.CheckattrValue, '规格')
|
|
|
this.$queue.showToast('请选择正确的商品规格')
|
|
|
return
|
|
|
}
|