57564db.js.map 6.7 KB

1
  1. {"version":3,"sources":["webpack:///./components/product-builder/DialogSelectAddr.vue?ae2a","webpack:///./components/product-builder/DialogSelectAddr.vue?90a6","webpack:///./components/product-builder/DialogSelectAddr.vue","webpack:///./components/product-builder/DialogSelectAddr.vue?2f99","webpack:///./components/product-builder/DialogSelectAddr.vue?a728"],"names":["module","exports","name","components","filters","props","addressDetail","type","Object","default","visible","Boolean","addressList","Array","data","show","selectedId","computedList","computed","watch","this","generateAddressList","mounted","methods","map","item","_objectSpread","selected","submit","$emit","close","$message","error","newAddr","handleCurrentChange","value","row","p3","id","$refs","table","setCurrentRow","component","_vm","_c","_self","attrs","on","$event","ref","staticStyle","scopedSlots","_u","key","fn","scope","_v","_s","address","city","post_code","country","phone"],"mappings":"8EACAA,EAAOC,QAAU,CAAC,C,mCCDlB,M,qrBCCe,ICDuP,EDCvP,CACbC,KAAM,mBACNC,WAAY,CAAC,EACbC,QAAS,CAAC,EACVC,MAAO,CACLC,cAAe,CACbC,KAAMC,OACNC,QAAS,WACP,MAAO,CAAC,CACV,GAEFC,QAAS,CACPH,KAAMI,QACNF,SAAS,GAEXG,YAAa,CACXL,KAAMM,MACNJ,QAAS,WACP,MAAO,EACT,IAGJK,KAAI,WACF,MAAO,CACLC,MAAM,EACNC,YAAa,EACbC,aAAc,GAElB,EACAC,SAAU,CAAC,EACXC,MAAO,CACLT,QAAO,WACLU,KAAKL,KAAOK,KAAKV,QACbU,KAAKV,SACPU,KAAKC,qBAET,EACAT,YAAW,WACTQ,KAAKC,qBACP,GAEFC,QAAO,WAAI,EACXC,QAAS,CACPF,oBAAmB,WACjBD,KAAKH,aAAeG,KAAKR,YAAYY,KAAI,SAAAC,GACvC,OAAAC,IAAA,GACKD,GAAI,IACPE,UAAU,GAEd,GACF,EACAC,OAAM,YACqB,IAArBR,KAAKJ,YAITI,KAAKS,MAAM,cAAeT,KAAKJ,YAE/BI,KAAKU,SALHV,KAAKW,SAASC,MAAM,gDAMxB,EACAF,MA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GAAO,MAAO,CAACZ,EAAIa,GAAG,eAAeb,EAAIc,GAAGF,EAAMnB,IAAIlC,MAAM,IAAIyC,EAAIc,GAAGF,EAAMnB,IAAIsB,SAAS,KAAKf,EAAIc,GAAGF,EAAMnB,IAAIuB,MAAM,KAAKhB,EAAIc,GAAGF,EAAMnB,IAAIwB,WAAW,KAAKjB,EAAIc,GAAGF,EAAMnB,IAAIyB,SAAS,mBAAmBlB,EAAIc,GAAGF,EAAMnB,IAAI0B,OAAO,cAAc,QAAQ,GAAGnB,EAAIa,GAAG,KAAKZ,EAAG,MAAMD,EAAIa,GAAG,KAAKZ,EAAG,MAAM,CAACA,EAAG,YAAY,CAACE,MAAM,CAAC,KAAO,OAAO,KAAO,OAAO,MAAQ,IAAIC,GAAG,CAAC,MAAQJ,EAAIV,UAAU,CAACU,EAAIa,GAAG,2BAA2B,GAAGb,EAAIa,GAAG,KAAKZ,EAAG,MAAMD,EAAIa,GAAG,KAAKZ,EAAG,YAAY,CAACE,MAAM,CAAC,KAAO,QAAQ,KAAO,WAAWC,GAAG,CAAC,MAAQJ,EAAIf,SAAS,CAACe,EAAIa,GAAG,8BAA8B,IAAI,EAC/4C,GACsB,IEUpB,EACA,KACA,WACA,MAIa,UAAAd,U","file":"57564db.js","sourcesContent":["// extracted by extract-css-chunks-webpack-plugin\nmodule.exports = {};","export * from \"-!../../node_modules/extract-css-chunks-webpack-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/dist/cjs.js??ref--7-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DialogSelectAddr.vue?vue&type=style&index=0&id=69716650&prod&lang=scss&scoped=true\"","\nexport default {\n name: 'DialogSelectAddr',\n components: {},\n filters: {},\n props: {\n addressDetail: {\n type: Object,\n default: function () {\n return {}\n },\n },\n visible: {\n type: Boolean,\n default: false,\n },\n addressList: {\n type: Array,\n default: function () {\n return []\n },\n },\n },\n data() {\n return {\n show: false,\n selectedId: -1,\n computedList: [],\n }\n },\n computed: {},\n watch: {\n visible() {\n this.show = this.visible\n if (this.visible) {\n this.generateAddressList()\n }\n },\n addressList() {\n this.generateAddressList()\n },\n },\n mounted() {},\n methods: {\n generateAddressList() {\n this.computedList = this.addressList.map(item => {\n return {\n ...item,\n selected: false,\n }\n })\n },\n submit() {\n if (this.selectedId === -1) {\n this.$message.error('Please check address before click this button')\n return\n }\n this.$emit('select-addr', this.selectedId)\n\n this.close()\n },\n close() {\n this.selectedId = -1\n this.computedList = []\n this.$emit('close', false)\n },\n newAddr() {\n this.$emit('add-new-addr')\n this.close()\n },\n handleCurrentChange(value, row, p3) {\n this.selectedId = value.id || -1\n this.$refs.table.setCurrentRow(value)\n this.computedList = this.addressList.map(item => {\n return {\n ...item,\n selected: item.id === value.id,\n }\n })\n },\n },\n}\n","import mod from \"-!../../node_modules/babel-loader/lib/index.js??ref--2-0!../../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DialogSelectAddr.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/babel-loader/lib/index.js??ref--2-0!../../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DialogSelectAddr.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./DialogSelectAddr.vue?vue&type=template&id=69716650&scoped=true\"\nimport script from \"./DialogSelectAddr.vue?vue&type=script&lang=js\"\nexport * from \"./DialogSelectAddr.vue?vue&type=script&lang=js\"\nimport style0 from \"./DialogSelectAddr.vue?vue&type=style&index=0&id=69716650&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"69716650\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}