ship.js 3.5 KB

1
  1. (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["admin/order/ship"],{"627c":function(n,e,t){"use strict";var o;t.d(e,"b",(function(){return i})),t.d(e,"c",(function(){return r})),t.d(e,"a",(function(){return o}));var i=function(){var n=this,e=n.$createElement,t=(n._self._c,n.$util.isEmpty(n.data)),o=t?null:n.$util.isEmpty(n.data.goodsInfoList),i=t?null:n.$util.isEmpty(n.data.goodsInfoList);n.$mp.data=Object.assign({},{$root:{g0:t,g1:o,g2:i}})},r=[]},6872:function(n,e,t){"use strict";t.r(e);var o=t("627c"),i=t("b540");for(var r in i)["default"].indexOf(r)<0&&function(n){t.d(e,n,(function(){return i[n]}))}(r);t("c222");var a,c=t("8261"),s=Object(c["a"])(i["default"],o["b"],o["c"],!1,null,"8b804b34",null,!1,o["a"],a);e["default"]=s.exports},"6a83":function(n,e,t){"use strict";(function(n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=t("3a10"),i=function(){t.e("admin/order/components/sel-order").then(function(){return resolve(t("ecde"))}.bind(null,t)).catch(t.oe)},r=function(){t.e("admin/order/components/sel-ship").then(function(){return resolve(t("ab9e"))}.bind(null,t)).catch(t.oe)},a=function(){t.e("admin/order/components/sel-mention").then(function(){return resolve(t("e82d"))}.bind(null,t)).catch(t.oe)},c=function(){t.e("admin/order/components/sel-pending-order").then(function(){return resolve(t("4ce4"))}.bind(null,t)).catch(t.oe)},s=function(){t.e("admin/order/components/sel-express-confirm").then(function(){return resolve(t("0a1e"))}.bind(null,t)).catch(t.oe)},u=function(){Promise.all([t.e("common/vendor"),t.e("admin/order/components/sel-confirm")]).then(function(){return resolve(t("098d"))}.bind(null,t)).catch(t.oe)},d=function(){Promise.all([t.e("common/vendor"),t.e("admin/order/components/sel-ship-confirm")]).then(function(){return resolve(t("3e77"))}.bind(null,t)).catch(t.oe)},l=function(){t.e("admin/order/components/sel-ship-manage").then(function(){return resolve(t("c107"))}.bind(null,t)).catch(t.oe)},f={name:"admin-ship",components:{SelOrder:i,SelShip:r,SelMention:a,SelPendingOrder:c,SelExpressConfirm:s,SelConfirm:u,SelShipConfirm:d,SelShipManage:l},data:function(){return{showIndex:null,data:{},orderComData:[]}},onLoad:function(){n.showLoading({title:"加载中...",mask:!0})},onShow:function(){this.init()},methods:{nextPageSuccess:function(n){this.option.pageStatus=n.pageStatus,this.option.id=n.id,this.init()},init:function(){this._getDet(),this._orderComDet()},_getDet:function(){var n=this;return(0,o.getDetB)({id:this.option.id}).then((function(e){n.data=e.data}))},_orderComDet:function(){var n=this;(0,o.orderSendDet)({id:this.option.id}).then((function(e){n.orderComData=e.data,n.getPageStatus()}))},getPageStatus:function(){if(n.hideLoading(),this.$util.isEmpty(this.orderComData))return!1;var e=this.orderComData[0].actionSign;if("printOrder"==e){var t=this.orderComData[0].receive;this.$util.isEmpty(t)?this.showIndex=0:this.showIndex=1}else"deliver"==e?this.showIndex=7:"reach"==e&&(0==this.orderComData[0].finishTime?this.showIndex=4:this.showIndex=6)}}};e.default=f}).call(this,t("934e")["default"])},"87f7":function(n,e,t){"use strict";(function(n){t("6cdc");o(t("b5e3"));var e=o(t("6872"));function o(n){return n&&n.__esModule?n:{default:n}}n(e.default)}).call(this,t("934e")["createPage"])},b540:function(n,e,t){"use strict";t.r(e);var o=t("6a83"),i=t.n(o);for(var r in o)["default"].indexOf(r)<0&&function(n){t.d(e,n,(function(){return o[n]}))}(r);e["default"]=i.a},c222:function(n,e,t){"use strict";var o=t("cb24"),i=t.n(o);i.a},cb24:function(n,e,t){}},[["87f7","common/runtime","common/vendor"]]]);