shish před 3 roky
rodič
revize
9d6a133222
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2 1
      hdApp/src/admin/ghsProduct/detail.vue

+ 2 - 1
hdApp/src/admin/ghsProduct/detail.vue

@@ -156,7 +156,8 @@ export default {
     },
     },
     productDetail(id,shopId){
     productDetail(id,shopId){
       let that = this
       let that = this
-      getGhsProductDetail({ id: id}).then(res => {
+      let ghsId = this.option.ghsId ? this.option.ghsId : 0
+      getGhsProductDetail({ id: id,ghsId:ghsId}).then(res => {
         if (!this.$util.isEmpty(res.data)){
         if (!this.$util.isEmpty(res.data)){
 
 
           this.productInfo = res.data
           this.productInfo = res.data