canyin-project/ybcy/miniApp/yb_shd/dp/storeset/components/Distribution.js

1 line
2.4 KiB
JavaScript
Raw Permalink Normal View History

2024-11-01 16:07:54 +08:00
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["yb_shd/dp/storeset/components/Distribution"],{"1ab6":function(n,t,e){"use strict";(function(n){e("29af");o(e("66fd"));var t=o(e("afb1"));function o(n){return n&&n.__esModule?n:{default:n}}n(t.default)}).call(this,e("543d")["createPage"])},"23ce":function(n,t,e){"use strict";e.r(t);var o=e("eb27"),u=e.n(o);for(var a in o)"default"!==a&&function(n){e.d(t,n,(function(){return o[n]}))}(a);t["default"]=u.a},"5deb":function(n,t,e){"use strict";var o=e("8204"),u=e.n(o);u.a},8204:function(n,t,e){},afb1:function(n,t,e){"use strict";e.r(t);var o=e("e566"),u=e("23ce");for(var a in u)"default"!==a&&function(n){e.d(t,n,(function(){return u[n]}))}(a);e("5deb");var i,c=e("f0c5"),r=Object(c["a"])(u["default"],o["b"],o["c"],!1,null,"bfd22b5a",null,!1,o["a"],i);t["default"]=r.exports},e566:function(n,t,e){"use strict";e.d(t,"b",(function(){return u})),e.d(t,"c",(function(){return a})),e.d(t,"a",(function(){return o}));var o={uCheckboxGroup:function(){return Promise.all([e.e("common/vendor"),e.e("uview-ui/components/u-checkbox-group/u-checkbox-group")]).then(e.bind(null,"b315"))},uCheckbox:function(){return e.e("uview-ui/components/u-checkbox/u-checkbox").then(e.bind(null,"1a10"))},uniIcons:function(){return Promise.all([e.e("common/vendor"),e.e("components/uni-icons/uni-icons")]).then(e.bind(null,"d842"))}},u=function(){var n=this,t=n.$createElement;n._self._c},a=[]},eb27:function(n,t,e){"use strict";(function(n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var e={data:function(){return{list:[{label:"外卖配送",value:!1,name:1},{label:"到店自提",value:!1,name:2}],listTwo:[{label:"店内就餐",value:!1,name:1},{label:"打包带走",value:!1,name:2}],fromData:{ident:"takeOutSet",distributionSupport:[],diningType:[],address:"",lat:"",lng:""}}},onLoad:function(){n.$on("getAddressInfo",this.address)},onUnload:function(){n.$off("getAddressInfo")},methods:{address:function(n){this.fromData.address=n.city+n.address+n.name,this.fromData.lat=n.point.latitude,this.fromData.lng=n.point.longitude},checkBoxOne:function(n,t){this.fromData[t]=n},submit:function(){var t=this;this.util.request({url:this.api.strogConfig,method:"POST",ct:!0,data:this.fromData}).then((function(e){1==e.code?(t.util.message("保存成功!",3),setTimeout((function(){n.navigateBack({delta:1})}),1e3)):t.util.message(e.msg,3)}))}}};t.default=e}).call(this,e("543d")["default"])}},[["1ab6","common/runtime","common/vendor"]]]);