1 |
- (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["plugins/book/orderDetails/orderDetails"],{"3c21":function(e,t,n){"use strict";n.r(t);var o=n("713a"),i=n("d0a7");for(var a in i)"default"!==a&&function(e){n.d(t,e,(function(){return i[e]}))}(a);n("be36");var u,r=n("f0c5"),c=Object(r["a"])(i["default"],o["b"],o["c"],!1,null,"c9e0305a",null,!1,o["a"],u);t["default"]=c.exports},"60e7":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(){n.e("plugins/book/components/app-store").then(function(){return resolve(n("bd2f"))}.bind(null,n)).catch(n.oe)},i=function(){n.e("components/basic-component/app-prompt-box/app-prompt-box").then(function(){return resolve(n("da1e"))}.bind(null,n)).catch(n.oe)},a=function(){n.e("plugins/book/components/app-write-off-code").then(function(){return resolve(n("ea90"))}.bind(null,n)).catch(n.oe)},u={name:"orderDetails",components:{"app-store":o,"app-prompt-box":i,"app-write-off-code":a},data:function(){return{item:null,file_path:"",hidden:!1,refundBoolean:!1,payBoolean:!1,cancelBoolean:!1}},onLoad:function(e){this.request(e)},methods:{request:function(e){var t=this;this.$request({url:this.$api.book.order_detail,data:{id:e.id}}).then((function(e){t.item=e.data.detail}))},useImmediately:function(){this.hidden=!0},close:function(e){var t=this;e?this.$request({url:this.$api.order.cancel,data:{id:this.item.id}}).then((function(e){0===e.code&&(t.refundBoolean=!1,t.request({id:t.item.id}))})):this.refundBoolean=!1},goPay:function(e){var t=this;this.payBoolean=!1,e?this.$request({url:this.$api.order.list_pay_data,data:{id:this.item.id}}).then((function(e){0===e.code&&t.$payment.pay(e.data.id).then((function(e){t.item.is_pay=1})).catch((function(e){}))})):this.payBoolean=!1},evaluation:function(){e.navigateTo({url:"/pages/order/appraise/appraise?id=".concat(this.item.id)})}}};t.default=u}).call(this,n("543d")["default"])},"713a":function(e,t,n){"use strict";var o,i=function(){var e=this,t=e.$createElement;e._self._c;e._isMounted||(e.e0=function(t){e.hidden=!1},e.e1=function(t){e.payBoolean=!0},e.e2=function(t){e.refundBoolean=!0})},a=[];n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return o}))},8924:function(e,t,n){},be36:function(e,t,n){"use strict";var o=n("8924"),i=n.n(o);i.a},d0a7:function(e,t,n){"use strict";n.r(t);var o=n("60e7"),i=n.n(o);for(var a in o)"default"!==a&&function(e){n.d(t,e,(function(){return o[e]}))}(a);t["default"]=i.a},d8fe:function(e,t,n){"use strict";(function(e){n("8748");o(n("66fd"));var t=o(n("3c21"));function o(e){return e&&e.__esModule?e:{default:e}}e(t.default)}).call(this,n("543d")["createPage"])}},[["d8fe","common/runtime","common/vendor"]]]);
|