1 |
- (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pageB/end"],{2189:function(o,e,n){"use strict";(function(o,e){var t=n("47a9");n("abeb");t(n("3240"));var i=t(n("cc90"));o.__webpack_require_UNI_MP_PLUGIN__=n,e(i.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},2475:function(o,e,n){"use strict";(function(o){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{deal:-1,checkboxValue1:[],expname:"",language:"zh-CN",goodinfo:{},topadd:{},bottomadd:{},leftname:"",rightname:"",container_id:"",unit_price:"",number:"",sum:"",code:""}},onLoad:function(o){this.goodinfo=JSON.parse(decodeURIComponent(o.goodinfo)),this.topadd=JSON.parse(decodeURIComponent(o.topadd)),this.bottomadd=JSON.parse(decodeURIComponent(o.bottom)),this.leftname=o.leftname,this.rightname=o.rightname,this.container_id=o.container_id,this.unit_price=o.unit_price,this.number=o.number},onShow:function(){""!=o.getStorageSync("language")&&(this.language=o.getStorageSync("language"))},computed:{i18n:function(){return this.$t("index")}},methods:{payorder:function(){var e=this;o.$u.http.post("/api/express-order/common-create",{from_address_id:this.topadd.id,to_address_id:this.bottomadd.id,container_id:this.container_id,goods_name:this.goodinfo.goodname,goods_num:this.goodinfo.number,goods_weight:this.goodinfo.weight,goods_length:Number(this.goodinfo.height),goods_width:Number(this.goodinfo.width),goods_height:Number(this.goodinfo.height),goods_type:this.goodinfo.goodtype,domestic_logistics_company_code:this.code}).then((function(n){console.log(n),e.$u.toast("下单成功"),setTimeout((function(){o.navigateTo({url:"/pageB/orderinfo?orderinfo="+encodeURIComponent(JSON.stringify(n))})}))})).catch((function(){}))},toexpress:function(){var e=this;o.navigateTo({url:"/pageB/expresstype",events:{todcp:function(o){console.log(o),e.expname=o.concant,e.code=o.code}}})},replacePhoneToStar:function(o){if(o)return o.replace(/(\d{3})\d{4}(\d{4})/,"$1****$2")},addbook:function(e){var n=this;o.navigateTo({url:"/pageC/addressManagement/addressManagement?index="+e,events:{getadd:function(o){0==e?(n.topadd=o,console.log("topadd",n.topadd)):(n.bottomadd=o,console.log("bottom",n.bottomadd),n.province_id=n.bottomadd.province_id)}}})},send:function(){o.navigateTo({url:"/pageB/Senderinfor"})},recipe:function(){o.navigateTo({url:"/pageB/recipientinfo"})},checkboxChange:function(o){console.log("change",o)}}};e.default=n}).call(this,n("df3c")["default"])},"294e":function(o,e,n){"use strict";var t=n("954d"),i=n.n(t);i.a},"3e22":function(o,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return t}));var t={uNavbar:function(){return Promise.all([n.e("common/vendor"),n.e("uview-ui/components/u-navbar/u-navbar")]).then(n.bind(null,"f3ae"))},uIcon:function(){return Promise.all([n.e("common/vendor"),n.e("uview-ui/components/u-icon/u-icon")]).then(n.bind(null,"b73a"))}},i=function(){var o=this,e=o.$createElement,n=(o._self._c,JSON.stringify(o.topadd)),t="{}"!==n?o.replacePhoneToStar(o.topadd.mobile):null,i=JSON.stringify(o.bottomadd),a="{}"!==i?o.replacePhoneToStar(o.bottomadd.mobile):null;o._isMounted||(o.e0=function(e){return o.uni.navigateBack()}),o.$mp.data=Object.assign({},{$root:{g0:n,m0:t,g1:i,m1:a}})},a=[]},"954d":function(o,e,n){},c4a9:function(o,e,n){"use strict";n.r(e);var t=n("2475"),i=n.n(t);for(var a in t)["default"].indexOf(a)<0&&function(o){n.d(e,o,(function(){return t[o]}))}(a);e["default"]=i.a},cc90:function(o,e,n){"use strict";n.r(e);var t=n("3e22"),i=n("c4a9");for(var a in i)["default"].indexOf(a)<0&&function(o){n.d(e,o,(function(){return i[o]}))}(a);n("294e");var d=n("828b"),r=Object(d["a"])(i["default"],t["b"],t["c"],!1,null,"549a8552",null,!1,t["a"],void 0);e["default"]=r.exports}},[["2189","common/runtime","common/vendor"]]]);
|