12 |
- require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["packageA/pages/goods/index"],{138:function(n,e,t){"use strict";(function(n,e){var o=t(4);t(26);o(t(25));var r=o(t(139));n.__webpack_require_UNI_MP_PLUGIN__=t,e(r.default)}).call(this,t(1)["default"],t(2)["createPage"])},139:function(n,e,t){"use strict";t.r(e);var o=t(140),r=t(142);for(var c in r)["default"].indexOf(c)<0&&function(n){t.d(e,n,(function(){return r[n]}))}(c);t(144);var u,i=t(40),a=Object(i["default"])(r["default"],o["render"],o["staticRenderFns"],!1,null,"08809c70",null,!1,o["components"],u);a.options.__file="packageA/pages/goods/index.vue",e["default"]=a.exports},140:function(n,e,t){"use strict";t.r(e);var o=t(141);t.d(e,"render",(function(){return o["render"]})),t.d(e,"staticRenderFns",(function(){return o["staticRenderFns"]})),t.d(e,"recyclableRender",(function(){return o["recyclableRender"]})),t.d(e,"components",(function(){return o["components"]}))},141:function(n,e,t){"use strict";var o;t.r(e),t.d(e,"render",(function(){return r})),t.d(e,"staticRenderFns",(function(){return u})),t.d(e,"recyclableRender",(function(){return c})),t.d(e,"components",(function(){return o}));try{o={uniSegmentedControl:function(){return t.e("uni_modules/uni-segmented-control/components/uni-segmented-control/uni-segmented-control").then(t.bind(null,176))},uniSection:function(){return t.e("uni_modules/uni-section/components/uni-section/uni-section").then(t.bind(null,154))},uniCard:function(){return t.e("uni_modules/uni-card/components/uni-card/uni-card").then(t.bind(null,211))},uniTag:function(){return t.e("uni_modules/uni-tag/components/uni-tag/uni-tag").then(t.bind(null,169))}}}catch(i){if(-1===i.message.indexOf("Cannot find module")||-1===i.message.indexOf(".vue"))throw i;console.error(i.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var r=function(){var n=this,e=n.$createElement;n._self._c},c=!1,u=[];r._withStripped=!0},142:function(n,e,t){"use strict";t.r(e);var o=t(143),r=t.n(o);for(var c in o)["default"].indexOf(c)<0&&function(n){t.d(e,n,(function(){return o[n]}))}(c);e["default"]=r.a},143:function(n,e,t){"use strict";(function(n){var o=t(4);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=o(t(11)),c=o(t(57));function u(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,o)}return t}function i(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?u(Object(t),!0).forEach((function(e){(0,r.default)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):u(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}var a=function(){Promise.all([t.e("common/vendor"),t.e("packageA/pages/goods/components/CreateBound")]).then(function(){return resolve(t(397))}.bind(null,t)).catch(t.oe)},s={components:{CreateBound:a},computed:{goodsType:function(){return this.tabIdx+1}},data:function(){return{tabIdx:0,tabs:["行业物质","镇办物资"],items:[],keywords:""}},onShow:function(){this.getData(),this.init()},methods:{changeTab:function(n){var e=n.currentIndex;this.tabIdx!==e&&(this.tabIdx=e,this.getData())},init:function(){n.getStorageSync("goodsCats")||c.default.getCatByList().then((function(e){n.setStorageSync("goodsCats",e.data)}))},getData:function(){var n=this;c.default.counterByCat({goodsType:this.tabIdx+1}).then((function(e){n.items=e.data}))},onInbound:function(){this.$refs.bound.show({type:"in",item:{goodsType:this.tabIdx+1}})},onOutbound:function(n){this.$refs.bound.show({type:"out",item:i(i({},n),{},{goodsType:this.tabIdx+1})})},onBoundSuccess:function(e){n.navigateTo({url:"/packageA/pages/goods/record?type=".concat(e)})},linkToRecord:function(){n.navigateTo({url:"/packageA/pages/goods/record?type=".concat(this.tabIdx+1)})}}};e.default=s}).call(this,t(2)["default"])},144:function(n,e,t){"use strict";t.r(e);var o=t(145),r=t.n(o);for(var c in o)["default"].indexOf(c)<0&&function(n){t.d(e,n,(function(){return o[n]}))}(c);e["default"]=r.a},145:function(n,e,t){}},[[138,"common/runtime","common/vendor"]]]);
- //# sourceMappingURL=../../../../.sourcemap/mp-weixin/packageA/pages/goods/index.js.map
|