|
|
@@ -508,7 +508,7 @@ export default {
|
|
|
if(info.stock <= 0){
|
|
|
uni.showToast({title:"没有库存",icon:"none"})
|
|
|
}else{
|
|
|
- this.$util.pageTo({url: "/pagesPurchase/xj",query: {stock:info.stock,price: info.price,ghsId:this.option.id,ptItemId:info.itemId}})
|
|
|
+ this.$util.pageTo({url: "/pagesPurchase/xj",query: {stock:info.stock,price: info.price,ghsId:this.ghsId,ptItemId:info.itemId}})
|
|
|
}
|
|
|
},
|
|
|
showPopup() {
|
|
|
@@ -518,7 +518,7 @@ export default {
|
|
|
this.popupShow = false;
|
|
|
},
|
|
|
showBigCover(item){
|
|
|
- this.$util.pageTo({url: "/admin/ghsProduct/detail",query: {id: item.id, ghsId:this.option.id, shopId:this.shopId}})
|
|
|
+ this.$util.pageTo({url: "/admin/ghsProduct/detail",query: {id: item.id, ghsId:this.ghsId, shopId:this.shopId}})
|
|
|
},
|
|
|
toRefresh(){
|
|
|
// #ifdef APP-PLUS
|
|
|
@@ -609,6 +609,7 @@ export default {
|
|
|
this.telephone = res.data.telephone ? res.data.telephone : ''
|
|
|
let id = res.data.id
|
|
|
this.ghsId = id
|
|
|
+ this.shopId = this.option.shopId
|
|
|
this.buyNotice = res.data.buyNotice
|
|
|
//只有注册了和没有列入黑名单才判断他是不是花店身份
|
|
|
if(this.buyNotice == 1){
|