diff --git a/pages/nongKe/gather/select_warehouse.vue b/pages/nongKe/gather/select_warehouse.vue index c401025..ae0c049 100644 --- a/pages/nongKe/gather/select_warehouse.vue +++ b/pages/nongKe/gather/select_warehouse.vue @@ -320,12 +320,10 @@ url: '/pages/product/list/index' }) }, - addGoods(item = {}) { - item = (JSON.stringify(item)); + addGoods(item) { uni.navigateTo({ - url: `/pages/product/addGoodDetail/addGoodDetail?mer_id=${this.mer_id}&&goodsInfo=${item}` + url: `/pages/product/addGoodDetail/addGoodDetail?mer_id=${this.mer_id}&&goodsInfoId=${item.id}&&name=${this.searchGoodsName}` }) - return }, initShop(item) { if (item.spec == '' || item.spec == undefined || item.spec == null) { diff --git a/pages/product/addGoodDetail/addGoodDetail.vue b/pages/product/addGoodDetail/addGoodDetail.vue index ce30ca9..6222e70 100644 --- a/pages/product/addGoodDetail/addGoodDetail.vue +++ b/pages/product/addGoodDetail/addGoodDetail.vue @@ -271,6 +271,9 @@