(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-c6bf0d6a"],{"2f2c":function(t,e,r){"use strict";r.d(e,"b",(function(){return d})),r.d(e,"c",(function(){return l})),r.d(e,"p",(function(){return f})),r.d(e,"d",(function(){return p})),r.d(e,"a",(function(){return m})),r.d(e,"g",(function(){return h})),r.d(e,"h",(function(){return v})),r.d(e,"j",(function(){return y})),r.d(e,"i",(function(){return g})),r.d(e,"e",(function(){return b})),r.d(e,"m",(function(){return w})),r.d(e,"o",(function(){return x})),r.d(e,"l",(function(){return O})),r.d(e,"n",(function(){return j})),r.d(e,"k",(function(){return _})),r.d(e,"f",(function(){return N}));var n=r("b775");function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function i(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function a(t){for(var e=1;e=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var s=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(s&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),S(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;S(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:I(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function l(t,e,r,n,o,i,a){try{var u=t[i](a),s=u.value}catch(c){return void r(c)}u.done?e(s):Promise.resolve(s).then(n,o)}function f(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){l(i,n,o,a,u,"next",t)}function u(t){l(i,n,o,a,u,"throw",t)}a(void 0)}))}}var p={name:"GoodsDeliver",components:{},props:{},data:function(){return{types:[{type:"1",title:"发货"},{type:"2",title:"送货"},{type:"3",title:"无需发货"}],active:0,orderId:"",delivery:{},express:[],type:"1",deliveryName:"",expressCode:"",expressNumber:"",deliveryTel:""}},watch:{"$route.params.oid":function(t){var e=this;void 0!=t&&(e.orderId=t,e.getIndex())}},created:function(){r.e("chunk-2d0d6f43").then(r.t.bind(null,"756e",7))},mounted:function(){this.orderId=this.$route.params.oid,this.getIndex(),this.getLogistics()},methods:{changeType:function(t,e){this.active=e,this.type=t.type,this.deliveryName="",this.deliveryTel="",this.expressCode="",this.expressNumber=""},getIndex:function(){var t=this;Object(i["e"])({orderNo:this.orderId}).then((function(e){t.delivery=e})).catch((function(e){t.$dialog.error(e.message)}))},getLogistics:function(){var t=this;Object(a["g"])({page:1,limit:999,isShow:1}).then(function(){var e=f(d().mark((function e(r){return d().wrap((function(e){while(1)switch(e.prev=e.next){case 0:t.express=r.list;case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},saveInfo:function(){var t=f(d().mark((function t(){var e,r,n,o;return d().wrap((function(t){while(1)switch(t.prev=t.next){case 0:e=this,r=e.deliveryName,n=e.deliveryTel,o={},o.type=e.type,o.orderNo=e.orderId,t.t0=e.type,t.next="1"===t.t0?6:"2"===t.t0?15:"3"===t.t0?27:29;break;case 6:if(e.expressCode){t.next=8;break}return t.abrupt("return",e.$dialog.error("请输入快递公司"));case 8:if(e.expressNumber){t.next=10;break}return t.abrupt("return",e.$dialog.error("请输入快递单号"));case 10:return o.expressNumber=e.expressNumber,o.expressRecordType=1,o.expressCode=e.expressCode,e.setInfo(o),t.abrupt("break",29);case 15:return t.prev=15,t.next=18,this.$validator({deliveryName:[Object(u["f"])(u["f"].message("发货人姓名"))],deliveryTel:[Object(u["f"])(u["f"].message("发货人电话"))]}).validate({deliveryName:r,deliveryTel:n});case 18:t.next=23;break;case 20:return t.prev=20,t.t1=t["catch"](15),t.abrupt("return",Object(s["b"])(t.t1));case 23:return o.deliveryName=r,o.deliveryTel=n,e.setInfo(o),t.abrupt("break",29);case 27:return e.setInfo(o),t.abrupt("break",29);case 29:case"end":return t.stop()}}),t,this,[[15,20]])})));function e(){return t.apply(this,arguments)}return e}(),setInfo:function(t){var e=this;Object(i["m"])(t).then((function(t){e.$dialog.success("发送货成功"),e.$router.go(-1)}),(function(t){e.$dialog.error(t.message)}))}}},m=p,h=(r("92cc"),r("2877")),v=Object(h["a"])(m,n,o,!1,null,"429d2275",null);e["default"]=v.exports},"754f":function(t,e,r){t.exports=r.p+"static/img/line.05bf1c84.jpg"},"92cc":function(t,e,r){"use strict";r("c82f")},c82f:function(t,e,r){},f8b7:function(t,e,r){"use strict";r.d(e,"f",(function(){return o})),r.d(e,"o",(function(){return i})),r.d(e,"g",(function(){return a})),r.d(e,"d",(function(){return u})),r.d(e,"h",(function(){return s})),r.d(e,"e",(function(){return c})),r.d(e,"i",(function(){return d})),r.d(e,"m",(function(){return l})),r.d(e,"l",(function(){return f})),r.d(e,"k",(function(){return p})),r.d(e,"w",(function(){return m})),r.d(e,"v",(function(){return h})),r.d(e,"n",(function(){return v})),r.d(e,"r",(function(){return y})),r.d(e,"s",(function(){return g})),r.d(e,"p",(function(){return b})),r.d(e,"q",(function(){return w})),r.d(e,"c",(function(){return x})),r.d(e,"a",(function(){return O})),r.d(e,"u",(function(){return j})),r.d(e,"j",(function(){return _})),r.d(e,"t",(function(){return N}));var n=r("b775");function o(t){return Object(n["a"])({url:"/admin/store/order/list",method:"get",params:t})}function i(t){return Object(n["a"])({url:"/admin/store/order/status/num",method:"get",params:t})}function a(t){return Object(n["a"])({url:"/admin/store/order/list/data",method:"get",params:t})}function u(t){return Object(n["a"])({url:"/admin/store/order/delete",method:"get",params:t})}function s(t){return Object(n["a"])({url:"/admin/store/order/status/list",method:"get",params:t})}function c(t){return Object(n["a"])({url:"/admin/store/order/info",method:"get",params:t})}function d(t){return Object(n["a"])({url:"/admin/store/order/mark",method:"post",params:t})}function l(t){return Object(n["a"])({url:"/admin/store/order/send",method:"post",data:t})}function f(t){return Object(n["a"])({url:"/admin/store/order/refund/refuse",method:"get",params:t})}function p(t){return Object(n["a"])({url:"/admin/store/order/refund",method:"get",params:t})}function m(t){return Object(n["a"])({url:"/admin/store/order/writeUpdate/".concat(t),method:"get"})}function h(t){return Object(n["a"])({url:"/admin/store/order/writeConfirm/".concat(t),method:"get"})}function v(){return Object(n["a"])({url:"/admin/store/order/statistics",method:"get"})}function y(t){return Object(n["a"])({url:"/admin/store/order/statisticsData",method:"get",params:t})}function g(t){return Object(n["a"])({url:"admin/store/order/update/price",method:"post",data:t})}function b(t){return Object(n["a"])({url:"/admin/store/order/time",method:"get",params:t})}function w(){return Object(n["a"])({url:"/admin/store/order/sheet/info",method:"get"})}function x(t){return Object(n["a"])({url:"/admin/store/order/getLogisticsInfo",method:"get",params:t})}function O(){return Object(n["a"])({url:"/admin/pay/component/delivery/company/get/list",method:"get"})}function j(t){return Object(n["a"])({url:"/admin/store/order/video/send",method:"post",data:t})}function _(t){return Object(n["a"])({url:"/admin/yly/print/".concat(t),method:"get"})}function N(t){return Object(n["a"])({url:"/admin/store/order/update/tracking/number",method:"post",data:t})}}}]);