Commit b587434e by wangjian

1

parent 00152c32
......@@ -93,6 +93,17 @@
this.errorAlertText = res.message
this.errorAlert = true
}
if (res.code === 1001) {
this.getDetail()
}
})
},
getDetail() {
let params = {'skuNo': this.goods.skuNo, 'spuNo': this.goods.spuNo}
this.$net.get('/goods/sku/detail', params).then(res => {
if (res.code === 200) {
this.goods.sellingPrice = res.data.skuDetail.sellingPrice
}
})
},
clickAlert() {
......
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