12 |
- require('./common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pageA/counter"],{249:function(n,t,e){"use strict";(function(n,t){var o=e(4);e(26);o(e(25));var i=o(e(250));n.__webpack_require_UNI_MP_PLUGIN__=e,t(i.default)}).call(this,e(1)["default"],e(2)["createPage"])},250:function(n,t,e){"use strict";e.r(t);var o=e(251),i=e(253);for(var c in i)["default"].indexOf(c)<0&&function(n){e.d(t,n,(function(){return i[n]}))}(c);e(255);var u,r=e(37),s=Object(r["default"])(i["default"],o["render"],o["staticRenderFns"],!1,null,"20a96b3e",null,!1,o["components"],u);s.options.__file="pageA/counter.vue",t["default"]=s.exports},251:function(n,t,e){"use strict";e.r(t);var o=e(252);e.d(t,"render",(function(){return o["render"]})),e.d(t,"staticRenderFns",(function(){return o["staticRenderFns"]})),e.d(t,"recyclableRender",(function(){return o["recyclableRender"]})),e.d(t,"components",(function(){return o["components"]}))},252:function(n,t,e){"use strict";var o;e.r(t),e.d(t,"render",(function(){return i})),e.d(t,"staticRenderFns",(function(){return u})),e.d(t,"recyclableRender",(function(){return c})),e.d(t,"components",(function(){return o}));try{o={uIcon:function(){return Promise.all([e.e("common/vendor"),e.e("uview-ui/components/u-icon/u-icon")]).then(e.bind(null,868))},uNumberBox:function(){return Promise.all([e.e("common/vendor"),e.e("uview-ui/components/u-number-box/u-number-box")]).then(e.bind(null,986))},uPicker:function(){return Promise.all([e.e("common/vendor"),e.e("uview-ui/components/u-picker/u-picker")]).then(e.bind(null,1049))},uPopup:function(){return Promise.all([e.e("common/vendor"),e.e("uview-ui/components/u-popup/u-popup")]).then(e.bind(null,893))},kjFlow:function(){return e.e("components/kj-flow/kj-flow").then(e.bind(null,945))}}}catch(r){if(-1===r.message.indexOf("Cannot find module")||-1===r.message.indexOf(".vue"))throw r;console.error(r.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 n=this,t=n.$createElement,e=(n._self._c,n.i18n.length);n._isMounted||(n.e0=function(t){n.logshow=!1}),n.$mp.data=Object.assign({},{$root:{g0:e}})},c=!1,u=[];i._withStripped=!0},253:function(n,t,e){"use strict";e.r(t);var o=e(254),i=e.n(o);for(var c in o)["default"].indexOf(c)<0&&function(n){e.d(t,n,(function(){return o[n]}))}(c);t["default"]=i.a},254:function(n,t,e){"use strict";(function(n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var e={data:function(){return{logshow:!1,value:1,show:!1,original:"",bourn:"",type:0,gat:0,gatShow:!1,columns:[],columnData:[],goods:[],index:0,domestic:1,province_id:"",goodstype:"normal",container_id:"",leftname:"",rightname:"",money:"",length:"",width:"",height:""}},onLoad:function(){},onShow:function(){n.setNavigationBarTitle({title:this.i18n.compute}),this.goodtype()},computed:{i18n:function(){return this.$t("index")}},methods:{goodtype:function(){var t=this;n.$u.http.get("/api/express-goods-type").then((function(n){t.goods=n})).catch((function(){}))},changewu:function(){var n=this;this.province_id?(this.logshow=!0,setTimeout((function(){n.$refs.child.transport()}),800)):this.$u.toast(this.i18n.selectcity)},calculate:function(){var t=this;""!=this.container_id?n.$u.http.get("/api/express-order/calculate",{params:{container_id:this.container_id,weight:this.value,length:this.length,width:this.width,height:this.height,type:this.goodstype}}).then((function(n){t.money=n})).catch((function(){})):this.$u.toast(this.i18n.container)},getarea:function(){var t=this;this.columns=[],this.columnData=[],n.$u.http.get("/api/area/tree",{params:{is_domestic:this.domestic,pid:0}}).then((function(n){console.log(n),t.columns=[n],t.columns[1]=n[0].children,n.forEach((function(n){t.columnData.push(n.children)}))})).catch((function(){}))},success:function(n){this.logshow=!1,console.log(n),this.leftname=n.leftname,this.container_id=n.dateid,this.rightname=n.rightname},close:function(){this.logshow=!1},good:function(n,t){this.goodstype=n.value,this.index=t},logistics:function(){n.navigateTo({url:"/pageA/logisticsinfo?weight="+this.value+"&money="+this.money})},gain:function(){""==this.container_id?this.$u.toast(this.i18n.container):(this.gat=1,this.gatShow=!0,this.calculate())},change:function(n){this.type=n,this.show=!0,0==n?(this.domestic=1,this.getarea()):(this.domestic=0,this.getarea())},changeHandler:function(n){var t=n.columnIndex,e=(n.value,n.values,n.index),o=n.picker,i=void 0===o?this.$refs.uPicker:o;0===t&&i.setColumnValues(1,this.columnData[e])},confirm:function(n){console.log("confirm",n),this.show=!1,0==this.type?this.original=n.value[0].name+"-"+n.value[1].name:(this.bourn=n.value[0].name+"-"+n.value[1].name,this.province_id=n.value[1].id)}}};t.default=e}).call(this,e(2)["default"])},255:function(n,t,e){"use strict";e.r(t);var o=e(256),i=e.n(o);for(var c in o)["default"].indexOf(c)<0&&function(n){e.d(t,n,(function(){return o[n]}))}(c);t["default"]=i.a},256:function(n,t,e){}},[[249,"common/runtime","common/vendor"]]]);
|