end.js 4.8 KB

12
  1. (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pageB/end"],{450:function(e,n,o){"use strict";(function(e,n){var t=o(4);o(26);t(o(25));var i=t(o(451));e.__webpack_require_UNI_MP_PLUGIN__=o,n(i.default)}).call(this,o(1)["default"],o(2)["createPage"])},451:function(e,n,o){"use strict";o.r(n);var t=o(452),i=o(454);for(var r in i)["default"].indexOf(r)<0&&function(e){o.d(n,e,(function(){return i[e]}))}(r);o(456);var a,d=o(45),c=Object(d["default"])(i["default"],t["render"],t["staticRenderFns"],!1,null,"5b1d597e",null,!1,t["components"],a);c.options.__file="pageB/end.vue",n["default"]=c.exports},452:function(e,n,o){"use strict";o.r(n);var t=o(453);o.d(n,"render",(function(){return t["render"]})),o.d(n,"staticRenderFns",(function(){return t["staticRenderFns"]})),o.d(n,"recyclableRender",(function(){return t["recyclableRender"]})),o.d(n,"components",(function(){return t["components"]}))},453:function(e,n,o){"use strict";var t;o.r(n),o.d(n,"render",(function(){return i})),o.d(n,"staticRenderFns",(function(){return a})),o.d(n,"recyclableRender",(function(){return r})),o.d(n,"components",(function(){return t}));try{t={uNavbar:function(){return Promise.all([o.e("common/vendor"),o.e("uview-ui/components/u-navbar/u-navbar")]).then(o.bind(null,856))},uIcon:function(){return Promise.all([o.e("common/vendor"),o.e("uview-ui/components/u-icon/u-icon")]).then(o.bind(null,980))}}}catch(d){if(-1===d.message.indexOf("Cannot find module")||-1===d.message.indexOf(".vue"))throw d;console.error(d.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var i=function(){var e=this,n=e.$createElement,o=(e._self._c,JSON.stringify(e.topadd)),t="{}"!==o?e.replacePhoneToStar(e.topadd.mobile):null,i=JSON.stringify(e.bottomadd),r="{}"!==i?e.replacePhoneToStar(e.bottomadd.mobile):null;e._isMounted||(e.e0=function(n){return e.uni.navigateBack()}),e.$mp.data=Object.assign({},{$root:{g0:o,m0:t,g1:i,m1:r}})},r=!1,a=[];i._withStripped=!0},454:function(e,n,o){"use strict";o.r(n);var t=o(455),i=o.n(t);for(var r in t)["default"].indexOf(r)<0&&function(e){o.d(n,e,(function(){return t[e]}))}(r);n["default"]=i.a},455:function(e,n,o){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o={data:function(){return{deal:-1,checkboxValue1:[],expname:"",language:"zh-CN",goodinfo:{},topadd:{},bottomadd:{},leftname:"",rightname:"",container_id:"",unit_price:"",number:"",sum:"",code:""}},onLoad:function(e){this.goodinfo=JSON.parse(decodeURIComponent(e.goodinfo)),this.topadd=JSON.parse(decodeURIComponent(e.topadd)),this.bottomadd=JSON.parse(decodeURIComponent(e.bottom)),this.leftname=e.leftname,this.rightname=e.rightname,this.container_id=e.container_id,this.unit_price=e.unit_price,this.number=e.number},onShow:function(){""!=e.getStorageSync("language")&&(this.language=e.getStorageSync("language"))},computed:{i18n:function(){return this.$t("index")}},methods:{payorder:function(){var n=this;e.$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.length),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(o){console.log(o),n.$u.toast(n.i18n.successful),setTimeout((function(){e.navigateTo({url:"/pageB/orderinfo?orderinfo="+encodeURIComponent(JSON.stringify(o))})}))})).catch((function(){}))},toexpress:function(){var n=this;e.navigateTo({url:"/pageB/expresstype",events:{todcp:function(e){console.log(e),n.expname=e.concant,n.code=e.code}}})},replacePhoneToStar:function(e){if(e)return e.replace(/(\d{3})\d{4}(\d{4})/,"$1****$2")},addbook:function(n){var o=this;e.navigateTo({url:"/pageC/addressManagement/addressManagement?tabs="+n,events:{getadd:function(e){1==n?(o.topadd=e,console.log("topadd",o.topadd)):(o.bottomadd=e,console.log("bottom",o.bottomadd),o.province_id=o.bottomadd.province_id)}}})},send:function(){e.navigateTo({url:"/pageB/Senderinfor"})},recipe:function(){e.navigateTo({url:"/pageB/recipientinfo"})},checkboxChange:function(e){console.log("change",e)}}};n.default=o}).call(this,o(2)["default"])},456:function(e,n,o){"use strict";o.r(n);var t=o(457),i=o.n(t);for(var r in t)["default"].indexOf(r)<0&&function(e){o.d(n,e,(function(){return t[e]}))}(r);n["default"]=i.a},457:function(e,n,o){}},[[450,"common/runtime","common/vendor"]]]);
  2. //# sourceMappingURL=../../.sourcemap/mp-weixin/pageB/end.js.map