1 |
- (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pageD/supplyChainGoods/supplyChainGoods"],{2861:function(t,n,o){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e=function(){o.e("pageD/components/goodsInformation").then(function(){return resolve(o("4d5d"))}.bind(null,o)).catch(o.oe)},i={components:{GoodsInformation:e},data:function(){return{follow:"null",status:"null",page:1,goodsList:[],reviewStatus:"",productStatus:"",searchValue:""}},computed:{i18n:function(){return this.$t("index")}},methods:{tabSwitch:function(t){this.follow=t,"number"==typeof t?(this.reviewStatus=t,this.productStatus=""):(this.productStatus=t,this.reviewStatus=""),this.getinfoList()},toDetail:function(n){t.navigateTo({url:"/pageD/productDetails/productDetails?goodsId=".concat(n.id,"&pageStatus=supply")})},search:function(t){this.getinfoList()},getinfoList:function(){var n,o=this;n=this.productStatus?"/api/goods/catena_goods?page=".concat(this.page,"&limit=10&status=").concat(this.productStatus):this.reviewStatus?"/api/goods/catena_goods?page=".concat(this.page,"&limit=10&review_status=").concat(7==this.reviewStatus?"0":this.reviewStatus):"/api/goods/catena_goods?page=".concat(this.page,"&limit=10"),n+="&keyword=".concat(this.searchValue),t.$u.http.get(n).then((function(t){o.goodsList=t.data}))},goodsUpDown:function(n,o){var e=this;t.$u.http.post("/api/goods/supply_status",{goods_id:o.id,status:n}).then((function(o){e.getinfoList(),t.showToast({title:"down"==n?"下架成功":"上架成功",icon:"none"})}))}},mounted:function(){this.getinfoList(),t.setNavigationBarTitle({title:"我的供应链商品"})}};n.default=i}).call(this,o("543d")["default"])},"66bb":function(t,n,o){"use strict";o.d(n,"b",(function(){return i})),o.d(n,"c",(function(){return a})),o.d(n,"a",(function(){return e}));var e={"u-Input":function(){return Promise.all([o.e("common/vendor"),o.e("uview-ui/components/u--input/u--input")]).then(o.bind(null,"bead"))}},i=function(){var t=this,n=t.$createElement;t._self._c},a=[]},"7cec":function(t,n,o){"use strict";o.r(n);var e=o("66bb"),i=o("8f0d");for(var a in i)["default"].indexOf(a)<0&&function(t){o.d(n,t,(function(){return i[t]}))}(a);o("b52b");var u,s=o("f0c5"),c=Object(s["a"])(i["default"],e["b"],e["c"],!1,null,"6d148af0",null,!1,e["a"],u);n["default"]=c.exports},"8f0d":function(t,n,o){"use strict";o.r(n);var e=o("2861"),i=o.n(e);for(var a in e)["default"].indexOf(a)<0&&function(t){o.d(n,t,(function(){return e[t]}))}(a);n["default"]=i.a},b52b:function(t,n,o){"use strict";var e=o("bd34"),i=o.n(e);i.a},bae3:function(t,n,o){"use strict";(function(t,n){var e=o("4ea4");o("f93b");e(o("66fd"));var i=e(o("7cec"));t.__webpack_require_UNI_MP_PLUGIN__=o,n(i.default)}).call(this,o("bc2e")["default"],o("543d")["createPage"])},bd34:function(t,n,o){}},[["bae3","common/runtime","common/vendor"]]]);
|