text: (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/billdetail/billdetail"],{1798:function(t,e,n){"use strict";n.r(e);var a=n("30c9"),u=n("c8e6");for(var r in u)"default"!==r&&function(t){n.d(e,t,function(){return u[t]})}(r);n("61e2");var c,i=n("f0c5"),o=Object(i["a"])(u["default"],a["b"],a["c"],!1,null,"e4f0aa8c",null,!1,a["a"],c);e["default"]=o.exports},"19ac":function(t,e,n){"use strict";(function(t){n("7b44"),n("921b");a(n("66fd"));var e=a(n("1798"));function a(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("543d")["createPage"])},"30c9":function(t,e,n){"use strict";var a,u=function(){var t=this,e=t.$createElement;t._self._c},r=[];n.d(e,"b",function(){return u}),n.d(e,"c",function(){return r}),n.d(e,"a",function(){return a})},"61e2":function(t,e,n){"use strict";var a=n("6f24"),u=n.n(a);u.a},"6f24":function(t,e,n){},a841:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=c(n("a34a")),u=n("2a31"),r=n("7471");function c(t){return t&&t.__esModule?t:{default:t}}function i(t,e,n,a,u,r,c){try{var i=t[r](c),o=i.value}catch(l){return void n(l)}i.done?e(o):Promise.resolve(o).then(a,u)}function o(t){return function(){var e=this,n=arguments;return new Promise(function(a,u){var r=t.apply(e,n);function c(t){i(r,a,u,c,o,"next",t)}function o(t){i(r,a,u,c,o,"throw",t)}c(void 0)})}}var l={data:function(){return{billDetail:{}}},onLoad:function(t){console.log(t),this.getBillDetail(t.id)},methods:{getBillDetail:function(){var e=o(a.default.mark(function e(n){var c;return a.default.wrap(function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,(0,u.request)({url:r.url+"?op=getdetail&id="+n});case 2:c=e.sent,console.log(c),0==c.data.code?this.billDetail=c.data.info[0]:t.showToast({title:c.data.msg,success:function(){t.navigateBack({})}});case 5:case"end":return e.stop()}},e,this)}));function n(t){return e.apply(this,arguments)}return n}(),deleteBill:function(e){t.showModal({title:"是否删除该订单？",success:function(){var n=o(a.default.mark(function n(){var c;return a.default.wrap(function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,(0,u.request)({url:r.url+"?op=deteleBill&id="+e});case 2:c=n.sent,console.log(c),0===c.data.code?t.showToast({title:c.data.msg,icon:"success",success:function(){t.navigateBack({})}}):t.showToast({title:c.data.msg});case 5:case"end":return n.stop()}},n,this)}));function c(){return n.apply(this,arguments)}return c}()})}}};e.default=l}).call(this,n("543d")["default"])},c8e6:function(t,e,n){"use strict";n.r(e);var a=n("a841"),u=n.n(a);for(var r in a)"default"!==r&&function(t){n.d(e,t,function(){return a[t]})}(r);e["default"]=u.a}},[["19ac","common/runtime","common/vendor"]]]);