(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pagesOrder/shipInfo"],{5617:function(e,t,n){},"7ee4":function(e,t,n){"use strict";var r=n("5617"),o=n.n(r);o.a},9096:function(e,t,n){"use strict";n.r(t);var r=n("f18c"),o=n("f44d");for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n("7ee4");var c,u=n("41a2"),s=Object(u["a"])(o["default"],r["b"],r["c"],!1,null,"722a3405",null,!1,r["a"],c);t["default"]=s.exports},9121:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=c(n("644f")),o=n("3a10"),i=n("7736");function c(e){return e&&e.__esModule?e:{default:e}}function u(e,t,n,r,o,i,c){try{var u=e[i](c),s=u.value}catch(a){return void n(a)}u.done?t(s):Promise.resolve(s).then(r,o)}function s(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function c(e){u(i,r,o,c,s,"next",e)}function s(e){u(i,r,o,c,s,"throw",e)}c(void 0)}))}}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var l=function(){n.e("components/plugin/list-cell").then(function(){return resolve(n("1861"))}.bind(null,n)).catch(n.oe)},m=function(){n.e("components/app-form-send1").then(function(){return resolve(n("a1b0"))}.bind(null,n)).catch(n.oe)},h=n("90f4"),p={name:"BillingAffirm",components:{TuiListCell:l,appFormSend:m},data:function(){return{customId:"",orderId:"",autoLoad:!1,form:{shopId:"",shopName:"",receiveProvince:"",receiveCity:"",receiveFloor:"",receiveAddress:"",receiveLong:"",receiveLat:"",sendType:"3",sendSide:"2",sendDate:"",sendTime:"",sendCost:"",customId:"",product:""},showCustomer:!1}},onLoad:function(t){this.customId=t.id,this.orderId=t.orderId,this.getMerchantInfo||"0"==this.customId?e.setNavigationBarTitle({title:"确认客户地址"}):this.initMerchantInfo().then((function(t){e.setNavigationBarTitle({title:"确认客户地址"})}))},computed:f({},(0,i.mapGetters)(["getMerchantInfo","getLoginInfo"])),methods:f(f({},(0,i.mapActions)(["initMerchantInfo"])),{},{init:function(){this._getDet()},_getDet:function(){var t=this,n=e.getStorageSync("modifyShopB");this.$util.isEmpty(n)||Object.keys(this.form).forEach((function(e,r){t.form[e]=n[e]}))},changeCustomerFn:function(e){console.log("changeCustomerFn",e),this.form.customId=e.id,this.form.customName=e.name},confirmFn:function(t){console.log(t),(0,o.sendExpressage)({id:this.orderId,sendCost:t.sendCost,expressId:t.sendSide,sendTime:t.sendTime}).then((function(t){e.navigateBack({delta:1})}))},formSubmit:function(){var e=s(r.default.mark((function e(t){var n,o,i,c,u;return r.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(e.prev=0,n=[],o=this.form,"1"==o.sendType||(i=[{name:"receiveProvince",rule:["required"],msg:["请选择地址"]},{name:"receiveAddress",rule:["required"],msg:["请填写详细地址"]}],n=n.concat(i)),c=this.selectList.map((function(e){return{productId:e.id,bigNum:e.bigCount,smallNum:e.smallCount}})),o.product=JSON.stringify(c),this.getMerchantInfo){e.next=9;break}return e.next=9,this.initMerchantInfo();case 9:o.shopId=this.getMerchantInfo.id,1==this.waySele&&(o.sendCost="免运费"),console.log(9999,o),u=h.validation(o,n),u?this.$msg(u):this.confirmFn(o),e.next=19;break;case 16:e.prev=16,e.t0=e["catch"](0),console.log(999999,e.t0);case 19:case"end":return e.stop()}}),e,this,[[0,16]])})));function t(t){return e.apply(this,arguments)}return t}(),gobackEvent:function(){e.navigateBack({delta:1})}})};t.default=p}).call(this,n("1480")["default"])},e289:function(e,t,n){"use strict";(function(e){n("6cdc");r(n("e3ac"));var t=r(n("9096"));function r(e){return e&&e.__esModule?e:{default:e}}e(t.default)}).call(this,n("1480")["createPage"])},f18c:function(e,t,n){"use strict";var r;n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return r}));var o=function(){var e=this,t=e.$createElement;e._self._c},i=[]},f44d:function(e,t,n){"use strict";n.r(t);var r=n("9121"),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t["default"]=o.a}},[["e289","common/runtime","common/vendor"]]]);