storeOrder.js 3.0 KB

1
  1. require('./common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages_company/storeOrder"],{"130a":function(t,e,n){"use strict";var a=n("a533"),o=n.n(a);o.a},"5a46":function(t,e,n){"use strict";(function(t,e){var a=n("47a9");n("2438");a(n("3240"));var o=a(n("d27c"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(o.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},6272:function(t,e,n){"use strict";n.r(e);var a=n("ca39"),o=n.n(a);for(var r in a)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(r);e["default"]=o.a},"88ae":function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return a}));var a={mescrollBody:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/mescroll-uni/components/mescroll-body/mescroll-body")]).then(n.bind(null,"0d89"))}},o=function(){var t=this,e=t.$createElement,n=(t._self._c,t.__map(t.dataList,(function(e,n){var a=t.__get_orig(e),o=t.utils.getDictLabelName("storeOrderStatus",e.status),r=t.__map(e.items,(function(e,n){var a=t.__get_orig(e),o=JSON.parse(e.jsonInfo),r=JSON.parse(e.jsonInfo),i=JSON.parse(e.jsonInfo),c=JSON.parse(e.jsonInfo),s=null!=c.price?JSON.parse(e.jsonInfo).price.toFixed(2):null,l=JSON.parse(e.jsonInfo);return{$orig:a,g1:o,g2:r,g3:i,g4:c,g5:s,g6:l}})),i=e.payPrice.toFixed(2);return{$orig:a,g0:o,l0:r,g7:i}})));t.$mp.data=Object.assign({},{$root:{l1:n}})},r=[]},a533:function(t,e,n){},ca39:function(t,e,n){"use strict";(function(t){var a=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n("c449"),r=a(n("2eb2")),i={mixins:[r.default],data:function(){return{searchKey:"",mescroll:null,upOption:{onScroll:!0,use:!0,page:{num:0,size:10},noMoreSize:10,empty:{icon:"/static/images/no_data.png",tip:"暂无数据"}},dataList:[]}},onLoad:function(e){var n=this;t.$on("refreshOrder",(function(){n.mescroll.resetUpScroll()})),this.companyId=e.companyId,this.companyUserId=e.companyUserId},methods:{goSearch:function(t){this.searchKey=t.detail.value,this.mescroll.resetUpScroll()},mescrollInit:function(t){this.mescroll=t},downCallback:function(t){t.resetUpScroll()},upCallback:function(e){var n=this,a={keyword:this.searchKey,companyId:this.companyId,companyUserId:this.companyUserId,page:e.num,pageSize:e.size};(0,o.getCompanyStoreOrderList)(a).then((function(a){200==a.code?(1==e.num?n.dataList=a.data.list:n.dataList=n.dataList.concat(a.data.list),n.mescroll.endBySize(a.data.list.length,a.data.total)):(t.showToast({icon:"none",title:"请求失败"}),n.dataList=null,n.mescroll.endErr())}))},showDetail:function(e){t.navigateTo({url:"./storeOrderDetail?id="+e.id})}}};e.default=i}).call(this,n("df3c")["default"])},d27c:function(t,e,n){"use strict";n.r(e);var a=n("88ae"),o=n("6272");for(var r in o)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(r);n("130a");var i=n("828b"),c=Object(i["a"])(o["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],void 0);e["default"]=c.exports}},[["5a46","common/runtime","common/vendor"]]]);