{"version":3,"sources":["webpack:///./src/views/order/ReturnList.vue?85c0","webpack:///src/views/order/ReturnList.vue","webpack:///./src/views/order/ReturnList.vue?a140","webpack:///./src/views/order/ReturnList.vue","webpack:///./src/assets/images/noOrder.png","webpack:///./src/api/order.js"],"names":["render","_vm","this","_h","$createElement","_c","_self","ref","staticClass","_l","order","key","order_id","_status","_type","_e","_v","_s","cart","id","on","click","$event","$router","push","path","attrs","src","productInfo","image","stopPropagation","store_name","cart_num","attrInfo","suk","price","cartInfo","length","pay_price","orderList","page","_m","loaded","loading","staticRenderFns","__webpack_require__","ReturnListvue_type_script_lang_js_","name","components","Loading","data","limit","methods","getOrderList","_this","Object","type","then","res","concat","mounted","_this2","$scroll","$refs","container","order_ReturnListvue_type_script_lang_js_","component","componentNormalizer","__webpack_exports__","module","exports","p","d","postOrderConfirm","postOrderComputed","getOrderCoupon","createOrder","getOrderData","cancelOrder","orderDetail","getRefundReason","postOrderRefund","takeOrder","delOrder","express","payOrder","_utils_request__WEBPACK_IMPORTED_MODULE_0__","cartId","request","post","get","parseFloat","uni","paytype","from"],"mappings":"yHAAA,IAAAA,EAAA,WAA0B,IAAAC,EAAAC,KAAaC,EAAAF,EAAAG,eAA0BC,EAAAJ,EAAAK,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,IAAA,YAAAC,YAAA,eAA0C,CAAAP,EAAAQ,GAAAR,EAAA,mBAAAS,GAAyC,OAAAL,EAAA,OAAiBM,IAAAD,EAAAE,SAAAJ,YAAA,eAA6C,MAAAE,EAAAG,QAAAC,MAAAT,EAAA,OAAyCG,YAAA,sCAAgDP,EAAAc,MAAA,IAAAL,EAAAG,QAAAC,MAAAT,EAAA,OAAkDG,YAAA,4BAAsCP,EAAAc,KAAAV,EAAA,OAAqBG,YAAA,YAAuB,CAAAP,EAAAe,GAAA,OAAAf,EAAAgB,GAAAP,EAAAE,aAAAX,EAAAQ,GAAAC,EAAA,kBAAAQ,GAAiF,OAAAb,EAAA,OAAiBM,I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GAOjC,SAASP,EAASO,EAAKC,EAASC,GACrC,OAAON,OAAQC,KAAK,YAAa,CAAEG,MAAKC,UAASC","file":"h5/js/chunk-677b8e48.699b07c2.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:\"container\",staticClass:\"return-list\"},[_vm._l((_vm.orderList),function(order){return _c('div',{key:order.order_id,staticClass:\"goodWrapper\"},[(order._status._type === -1)?_c('div',{staticClass:\"iconfont icon-tuikuanzhong powder\"}):_vm._e(),(order._status._type === -2)?_c('div',{staticClass:\"iconfont icon-yituikuan\"}):_vm._e(),_c('div',{staticClass:\"orderNum\"},[_vm._v(\"订单号:\"+_vm._s(order.order_id))]),_vm._l((order.cartInfo),function(cart){return _c('div',{key:cart.id,staticClass:\"item acea-row row-between-wrapper\",on:{\"click\":function($event){return _vm.$router.push({ path: '/order/detail/' + order.order_id })}}},[_c('div',{staticClass:\"pictrue\"},[_c('img',{staticClass:\"image\",attrs:{\"src\":cart.productInfo.image},on:{\"click\":function($event){$event.stopPropagation();return _vm.$router.push({ path: '/detail/' + cart.productInfo.id })}}})]),_c('div',{staticClass:\"text\"},[_c('div',{staticClass:\"acea-row row-between-wrapper\"},[_c('div',{staticClass:\"name line1\"},[_vm._v(_vm._s(cart.productInfo.store_name))]),_c('div',{staticClass:\"num\"},[_vm._v(\"x \"+_vm._s(cart.cart_num))])]),(cart.productInfo.attrInfo)?_c('div',{staticClass:\"attr line1\"},[_vm._v(\"\\n \"+_vm._s(cart.productInfo.attrInfo.suk)+\"\\n \")]):_c('div',{staticClass:\"attr line1\"},[_vm._v(_vm._s(cart.productInfo.store_name))]),_c('div',{staticClass:\"money\"},[_vm._v(\"¥\"+_vm._s(cart.productInfo.price))])])])}),_c('div',{staticClass:\"totalSum\"},[_vm._v(\"\\n 共\"+_vm._s(order.cartInfo.length || 0)+\"件商品,总金额\\n \"),_c('span',{staticClass:\"font-color-orange price\"},[_vm._v(\"¥\"+_vm._s(order.pay_price))])])],2)}),(_vm.orderList.length === 0 && _vm.page > 1)?_c('div',{staticClass:\"noCart\"},[_vm._m(0)]):_vm._e(),_c('Loading',{attrs:{\"loaded\":_vm.loaded,\"loading\":_vm.loading}})],2)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"pictrue\"},[_c('img',{attrs:{\"src\":require(\"@assets/images/noOrder.png\")}})])}]\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReturnList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReturnList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ReturnList.vue?vue&type=template&id=2b22ea8c&\"\nimport script from \"./ReturnList.vue?vue&type=script&lang=js&\"\nexport * from \"./ReturnList.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","module.exports = __webpack_public_path__ + \"h5/img/noOrder.90017ce2.png\";","/*\r\n * 订单确认\r\n * */\r\nimport request from \"@utils/request\";\r\n\r\n/**\r\n * 通过购物车 id 获取订单信息\r\n * @param cartId\r\n * @returns {*}\r\n */\r\nexport function postOrderConfirm(cartId) {\r\n return request.post(\"/order/confirm\", { cartId });\r\n}\r\n\r\n/**\r\n * 计算订单金额\r\n * @param key\r\n * @param data\r\n * @returns {*}\r\n */\r\nexport function postOrderComputed(key, data) {\r\n return request.post(\"/order/computed/\" + key, data);\r\n}\r\n\r\n/**\r\n * 获取指定金额可用优惠券\r\n * @param price\r\n * @returns {*}\r\n */\r\nexport function getOrderCoupon(price) {\r\n return request.get(\"/coupons/order/\" + (parseFloat(price) || 0));\r\n}\r\n\r\n/**\r\n * 生成订单\r\n * @param key\r\n * @param data\r\n * @returns {*}\r\n */\r\nexport function createOrder(key, data) {\r\n return request.post(\"/order/create/\" + key, data || {});\r\n}\r\n\r\n/**\r\n * 订单统计数据\r\n * @returns {*}\r\n */\r\nexport function getOrderData() {\r\n return request.get(\"/order/data\");\r\n}\r\n\r\n/**\r\n * 订单列表\r\n * @returns {*}\r\n */\r\nexport function getOrderList(data) {\r\n return request.get(\"/order/list\", data);\r\n}\r\n\r\n/**\r\n * 取消订单\r\n * @returns {*}\r\n */\r\nexport function cancelOrder(id) {\r\n return request.post(\"/order/cancel\", { id });\r\n}\r\n\r\n/**\r\n * 订单详情\r\n * @returns {*}\r\n */\r\nexport function orderDetail(id) {\r\n return request.get(\"/order/detail/\" + id);\r\n}\r\n\r\n/**\r\n * 退款理由\r\n * @returns {*}\r\n */\r\nexport function getRefundReason() {\r\n return request.get(\"/order/refund/reason\");\r\n}\r\n\r\n/**\r\n * 提交退款\r\n * @returns {*}\r\n */\r\nexport function postOrderRefund(data) {\r\n return request.post(\"/order/refund/verify\", data);\r\n}\r\n\r\n/**\r\n * 确认收货\r\n * @returns {*}\r\n */\r\nexport function takeOrder(uni) {\r\n return request.post(\"/order/take\", { uni });\r\n}\r\n\r\n/**\r\n * 删除订单\r\n * @returns {*}\r\n */\r\nexport function delOrder(uni) {\r\n return request.post(\"/order/del\", { uni });\r\n}\r\n\r\n/**\r\n * 订单查询物流信息\r\n * @returns {*}\r\n */\r\nexport function express(uni) {\r\n return request.get(\"order/express/\" + uni);\r\n}\r\n\r\n/**\r\n * 订单查询物流信息\r\n * @returns {*}\r\n */\r\nexport function payOrder(uni, paytype, from) {\r\n return request.post(\"order/pay\", { uni, paytype, from });\r\n}\r\n"],"sourceRoot":""}