{"version":3,"sources":["webpack:///./components/product-builder/stepMixin.vue","webpack:///./components/product-builder/stepMixin.vue?a5af","webpack:///./components/product-builder/stepMixin.vue?be74"],"names":["name","components","props","loading","type","Boolean","default","priceData","Object","priceList","attributeList","additionList","detail","info","images","preData","data","computed","watch","form","deep","handler","this","loaded","$_emitFormData","mounted","methods","$emit","JSON","parse","stringify","component","_c","_self"],"mappings":"wGAAA,ICA+P,EDEhP,CACbA,KAAM,YACNC,WAAY,CAAC,EACbC,MAAO,CACLC,QAAS,CAAEC,KAAMC,QAASC,SAAS,GACnCC,UAAW,CACTH,KAAMI,OACNF,QAAS,WACP,MAAO,CAAEG,UAAW,GAAIC,cAAe,CAAC,EAAGC,aAAc,CAAC,EAC5D,GAEFC,OAAQ,CACNR,KAAMI,OACNF,QAAS,WACP,MAAO,CAAEO,KAAM,CAAEC,OAAQ,IAC3B,GAEFC,QAAS,CACPX,KAAMI,OACNF,QAAS,WACP,MAAO,CAAC,CACV,IAIJU,KAAI,WACF,MAAO,CAAC,CACV,EACAC,SAAU,CAAC,EACXC,MAAO,CACLC,KAAM,CACJC,MAAM,EACNC,QAAS,WACHC,KAAKC,QACPD,KAAKE,gBAET,IAGJC,QAAO,WAAI,EACXC,QAAS,CAEPF,eAAc,WACZF,KAAKK,MAAM,cAAeC,KAAKC,MAAMD,KAAKE,UAAUR,KAAKH,OAC3D,I,QEvCAY,UAAY,YACd,GFRW,WAA+C,OAAOC,EAA5B,KAAYC,MAAMD,IAAa,MAAM,CAAC,EAC7E,GACsB,IESpB,EACA,KACA,WACA,MAIa,UAAAD,U","file":"f244863.js","sourcesContent":["\n/* 仅用于本目录3个step表单组件的共享逻辑 */\nexport default {\n  name: 'StepMixin',\n  components: {},\n  props: {\n    loading: { type: Boolean, default: false },\n    priceData: {\n      type: Object,\n      default: function () {\n        return { priceList: [], attributeList: {}, additionList: {} }\n      },\n    },\n    detail: {\n      type: Object,\n      default: function () {\n        return { info: { images: [] } }\n      },\n    },\n    preData: {\n      type: Object,\n      default: function () {\n        return {}\n      },\n    },\n  },\n\n  data() {\n    return {}\n  },\n  computed: {},\n  watch: {\n    form: {\n      deep: true,\n      handler: function () {\n        if (this.loaded) {\n          this.$_emitFormData()\n        }\n      },\n    },\n  },\n  mounted() {},\n  methods: {\n    // 将this.form 自动传递给父组件\n    $_emitFormData() {\n      this.$emit('update-form', JSON.parse(JSON.stringify(this.form)))\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!./stepMixin.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!./stepMixin.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./stepMixin.vue?vue&type=template&id=bbcc9c86&scoped=true\"\nimport script from \"./stepMixin.vue?vue&type=script&lang=js\"\nexport * from \"./stepMixin.vue?vue&type=script&lang=js\"\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  \"bbcc9c86\",\n  null\n  \n)\n\nexport default component.exports"],"sourceRoot":""}