(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/views/order/location/location"],{"6ebe":function(t,n,e){"use strict";var o=e("b159"),a=e.n(o);a.a},"98e5":function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e("c041"),a=getApp(),s=function(){Promise.all([e.e("common/vendor"),e.e("pages/commponent/public/setCity/nyz_area_picker")]).then(function(){return resolve(e("bdc8"))}.bind(null,e)).catch(e.oe)},i=function(){e.e("pages/commponent/public/loading").then(function(){return resolve(e("7c23"))}.bind(null,e)).catch(e.oe)},c={data:function(){return{colors:"",status:"",show:!1,checked:!1,isShow:!0,addressData:{}}},components:{setcity:s,loading:i},props:{},onLoad:function(n){var e=this;this.setData({colors:a.globalData.newColor,status:n.status,addressData:JSON.parse(n.address)}),t.setNavigationBarTitle({title:0==n.status?"编辑取件地址":"编辑收件地址"}),setTimeout((function(){e.setData({isShow:!1})}),500)},onReady:function(){},onShow:function(){},onHide:function(){},onUnload:function(){},onPullDownRefresh:function(){},onReachBottom:function(){},onShareAppMessage:function(){},methods:{openPicker:function(){this.show=!0},onhideShow:function(){this.show=!1},onsetCity:function(t){var n=t.detail.target.dataset,e=n.province+n.city+n.area;this.show=!1,this.addressData.address=e},saveAddress:function(){var n=this;""!=this.addressData.name?""!=this.addressData.phone?""!=this.addressData.address?""!=this.addressData.moreAddres?(t.showToast({title:"保存成功"}),setTimeout((function(){0==n.status?(0,o.setPickaddress)(n.addressData):(0,o.setToaddress)(n.addressData),t.navigateBack(-1)}),1500)):t.showToast({title:"详细地址不能为空",icon:"none"}):t.showToast({title:"所在地区不能为空",icon:"none"}):t.showToast({title:"手机号不能为空",icon:"none"}):t.showToast({title:"姓名不能为空",icon:"none"})}}};n.default=c}).call(this,e("543d")["default"])},"9c74":function(t,n,e){"use strict";var o;e.d(n,"b",(function(){return a})),e.d(n,"c",(function(){return s})),e.d(n,"a",(function(){return o}));var a=function(){var t=this,n=t.$createElement;t._self._c},s=[]},"9cbd":function(t,n,e){"use strict";e.r(n);var o=e("9c74"),a=e("d2ae");for(var s in a)"default"!==s&&function(t){e.d(n,t,(function(){return a[t]}))}(s);e("6ebe");var i,c=e("f0c5"),r=Object(c["a"])(a["default"],o["b"],o["c"],!1,null,"bcaca784",null,!1,o["a"],i);n["default"]=r.exports},b159:function(t,n,e){},d2ae:function(t,n,e){"use strict";e.r(n);var o=e("98e5"),a=e.n(o);for(var s in o)"default"!==s&&function(t){e.d(n,t,(function(){return o[t]}))}(s);n["default"]=a.a},f5aa:function(t,n,e){"use strict";(function(t){e("2804");o(e("66fd"));var n=o(e("9cbd"));function o(t){return t&&t.__esModule?t:{default:t}}t(n.default)}).call(this,e("543d")["createPage"])}},[["f5aa","common/runtime","common/vendor"]]]);