shish 6 mesiacov pred
rodič
commit
eef30730cf
1 zmenil súbory, kde vykonal 3 pridanie a 2 odobranie
  1. 3 2
      hdApp/src/pagesPurchase/ghsProduct.vue

+ 3 - 2
hdApp/src/pagesPurchase/ghsProduct.vue

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