| 1 |
- (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["admin/order/detail"],{5446:function(t,n,e){"use strict";var i;e.d(n,"b",(function(){return o})),e.d(n,"c",(function(){return a})),e.d(n,"a",(function(){return i}));var o=function(){var t=this,n=t.$createElement,e=(t._self._c,t._f("constantfilter")(t.data.status,"ORDER_STATUS")),i=t.$util.isEmpty(t.data.goodsInfoList),o=null;t.$mp.data=Object.assign({},{$root:{f0:e,g0:i,m0:o}})},a=[]},"58f1":function(t,n,e){},"7cf2":function(t,n,e){"use strict";e.r(n);var i=e("5446"),o=e("be37");for(var a in o)["default"].indexOf(a)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(a);e("9151");var c,r=e("8261"),u=Object(r["a"])(o["default"],i["b"],i["c"],!1,null,"71006316",null,!1,i["a"],c);n["default"]=u.exports},9151:function(t,n,e){"use strict";var i=e("58f1"),o=e.n(i);o.a},"9f0c":function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=e("3a10"),o=function(){e.e("components/module/app-order-list").then(function(){return resolve(e("7d55"))}.bind(null,e)).catch(e.oe)},a=function(){Promise.all([e.e("common/vendor"),e.e("components/app-coupon-sel")]).then(function(){return resolve(e("3c3e"))}.bind(null,e)).catch(e.oe)},c=function(){e.e("components/plugin/modal").then(function(){return resolve(e("3a8f"))}.bind(null,e)).catch(e.oe)},r=function(){e.e("components/plugin/rate").then(function(){return resolve(e("34fc"))}.bind(null,e)).catch(e.oe)},u={name:"order-detail",components:{ListModule:o,AppCoupon:a,ModalModule:c,RateModule:r},data:function(){return{constant:this.$constant,waitPayImg:"".concat(this.$constant.imgUrl,"/retail/order/wait-pay.png"),waitDeliveryImg:"".concat(this.$constant.imgUrl,"/retail/order/wait-delivery.png"),data:{},updatePriceModal:!1,form:{price:""},freeShipModal:!1}},onLoad:function(){},methods:{init:function(){this._getDet()},_getDet:function(){var t=this;return(0,i.getDetB)({id:this.option.id}).then((function(n){t.data=n.data}))},freeShippingFn:function(){this.freeShipModal=!0},freeShipModalClick:function(t){var n=this;0===t.index?this.modalCancel():(this.data.status=4,this.data.sendType=1,(0,i.freeShipping)({id:this.data.id}).then((function(t){n.$msg("操作成功!"),n.modalCancel()})))},seeSendFn:function(){this.$util.pageTo({url:"/admin/order/ship",query:{id:this.data.id,pageStatus:5}})},updatePriceFn:function(){this.form.price=this.data.prePrice,this.updatePriceModal=!0},updateModalClick:function(t){var n=this;0===t.index?this.modalCancel():(0,i.orderUpdatePrice)({id:this.data.id,price:this.form.price}).then((function(t){n.modalCancel(),n.$msg("修改成功!"),setTimeout((function(){n._getDet()}),1e3)}))},modalCancel:function(){this.form.price="",this.freeShipModal=!1,this.updatePriceModal=!1}}};n.default=u},be37:function(t,n,e){"use strict";e.r(n);var i=e("9f0c"),o=e.n(i);for(var a in i)["default"].indexOf(a)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(a);n["default"]=o.a},fc32:function(t,n,e){"use strict";(function(t){e("6cdc");i(e("b5e3"));var n=i(e("7cf2"));function i(t){return t&&t.__esModule?t:{default:t}}t(n.default)}).call(this,e("934e")["createPage"])}},[["fc32","common/runtime","common/vendor"]]]);
|