(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["plugins/mch/mch/add-goods/add-goods"],{

/***/ 1317:
/*!************************************************************************************************!*\
  !*** C:/Users/Admin/Desktop/商城/main.js?{"page":"plugins%2Fmch%2Fmch%2Fadd-goods%2Fadd-goods"} ***!
  \************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
/* WEBPACK VAR INJECTION */(function(createPage) {__webpack_require__(/*! uni-pages */ 4);
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 2));
var _addGoods = _interopRequireDefault(__webpack_require__(/*! ./plugins/mch/mch/add-goods/add-goods.vue */ 1318));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}
createPage(_addGoods.default);
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["createPage"]))

/***/ }),

/***/ 1318:
/*!*************************************************************************!*\
  !*** C:/Users/Admin/Desktop/商城/plugins/mch/mch/add-goods/add-goods.vue ***!
  \*************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _add_goods_vue_vue_type_template_id_7384e6ee_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./add-goods.vue?vue&type=template&id=7384e6ee&scoped=true& */ 1319);
/* harmony import */ var _add_goods_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./add-goods.vue?vue&type=script&lang=js& */ 1321);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _add_goods_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _add_goods_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
/* harmony import */ var _add_goods_vue_vue_type_style_index_0_id_7384e6ee_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./add-goods.vue?vue&type=style&index=0&id=7384e6ee&scoped=true&lang=scss& */ 1323);
/* harmony import */ var _D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 10);

var renderjs





/* normalize component */

var component = Object(_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])(
  _add_goods_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
  _add_goods_vue_vue_type_template_id_7384e6ee_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
  _add_goods_vue_vue_type_template_id_7384e6ee_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
  false,
  null,
  "7384e6ee",
  null,
  false,
  _add_goods_vue_vue_type_template_id_7384e6ee_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"],
  renderjs
)

component.options.__file = "C:/Users/Admin/Desktop/商城/plugins/mch/mch/add-goods/add-goods.vue"
/* harmony default export */ __webpack_exports__["default"] = (component.exports);

/***/ }),

/***/ 1319:
/*!********************************************************************************************************************!*\
  !*** C:/Users/Admin/Desktop/商城/plugins/mch/mch/add-goods/add-goods.vue?vue&type=template&id=7384e6ee&scoped=true& ***!
  \********************************************************************************************************************/
/*! exports provided: render, staticRenderFns, recyclableRender, components */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_add_goods_vue_vue_type_template_id_7384e6ee_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./add-goods.vue?vue&type=template&id=7384e6ee&scoped=true& */ 1320);
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_add_goods_vue_vue_type_template_id_7384e6ee_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; });

/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_add_goods_vue_vue_type_template_id_7384e6ee_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });

/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_add_goods_vue_vue_type_template_id_7384e6ee_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; });

/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_add_goods_vue_vue_type_template_id_7384e6ee_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; });



/***/ }),

/***/ 1320:
/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!C:/Users/Admin/Desktop/商城/plugins/mch/mch/add-goods/add-goods.vue?vue&type=template&id=7384e6ee&scoped=true& ***!
  \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! exports provided: render, staticRenderFns, recyclableRender, components */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; });
var components
var render = function() {
  var _vm = this
  var _h = _vm.$createElement
  var _c = _vm._self._c || _h
  if (!_vm._isMounted) {
    _vm.e0 = function($event) {
      _vm.confine = !_vm.confine
    }
  }
}
var recyclableRender = false
var staticRenderFns = []
render._withStripped = true



/***/ }),

/***/ 1321:
/*!**************************************************************************************************!*\
  !*** C:/Users/Admin/Desktop/商城/plugins/mch/mch/add-goods/add-goods.vue?vue&type=script&lang=js& ***!
  \**************************************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _D_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_add_goods_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./add-goods.vue?vue&type=script&lang=js& */ 1322);
/* harmony import */ var _D_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_add_goods_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_D_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_add_goods_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _D_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_add_goods_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _D_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_add_goods_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
 /* harmony default export */ __webpack_exports__["default"] = (_D_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_add_goods_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); 

/***/ }),

/***/ 1322:
/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!C:/Users/Admin/Desktop/商城/plugins/mch/mch/add-goods/add-goods.vue?vue&type=script&lang=js& ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;



















































































































































































































































































var _vuex = __webpack_require__(/*! vuex */ 12);function ownKeys(object, enumerableOnly) {var keys = Object.keys(object);if (Object.getOwnPropertySymbols) {var symbols = Object.getOwnPropertySymbols(object);if (enumerableOnly) symbols = symbols.filter(function (sym) {return Object.getOwnPropertyDescriptor(object, sym).enumerable;});keys.push.apply(keys, symbols);}return keys;}function _objectSpread(target) {for (var i = 1; i < arguments.length; i++) {var source = arguments[i] != null ? arguments[i] : {};if (i % 2) {ownKeys(Object(source), true).forEach(function (key) {_defineProperty(target, key, source[key]);});} else if (Object.getOwnPropertyDescriptors) {Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));} else {ownKeys(Object(source)).forEach(function (key) {Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));});}}return target;}function _defineProperty(obj, key, value) {if (key in obj) {Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true });} else {obj[key] = value;}return obj;}var _default =

{
  data: function data() {
    return {
      postageIndex: -1,
      height: 0,
      beSubmit: false,
      form: {},
      forehead: -1,
      unit: '件',
      iphone_x: false,
      modal: false,
      error: false,
      set_cat: false,
      set_mch_cat: false,
      set_postage: false,
      set_service: false,
      confine: false,
      is_service: false,
      img: [],
      cat: [],
      mch: 0,
      mch_cat: [],
      goods_detail: [],
      beMove: false,
      service: [],
      postage: [],
      beCat: [{
        label: '未选择' }],

      beMchCat: [{
        label: '未选择' }],

      isChooseCat: ['未选择'],
      bePostage: '',
      beService: [],
      in_cat: '',
      in_mch_cat: '',
      newIndex: '0',
      index: '0',
      attr: [],
      have_children: false,
      disabled: true,
      imgHidden: true,
      flag: false,
      x: 0,
      y: 0,
      first_service: true,
      choose_list: [],
      elements: [],
      img_src: '',
      dialog: false,
      loading: false };

  },

  computed: _objectSpread({},
  (0, _vuex.mapState)({
    theme: function theme(state) {return state.mallConfig.theme;},
    userInfo: function userInfo(state) {return state.user.info;} })),


  methods: {
    toSubmit: function toSubmit() {
      var that = this;
      if (that.loading) {
        return false;
      }
      uni.showLoading({
        title: '提交中...' });

      that.beSubmit = false;
      that.loading = true;
      that.$request({
        url: that.$api.mch.edit,
        data: {
          form: JSON.stringify(that.form),
          mch_id: that.mch_id },

        method: 'post' }).
      then(function (response) {
        that.loading = false;
        that.$hideLoading();
        if (response.code == 0) {
          that.$hideLoading();
          uni.hideLoading();
          if (response.code == 0) {
            uni.showToast({
              title: response.msg,
              duration: 1000 });

            uni.setStorage({
              key: "goods_status",
              data: '保存成功' });

            setTimeout(function () {
              uni.navigateBack();
            }, 500);
          } else {
            uni.showToast({
              title: response.msg,
              icon: 'none',
              duration: 1000 });

          }
        } else {
          uni.showToast({
            title: response.msg,
            icon: 'none',
            duration: 1000 });

        }
      }).catch(function () {
        that.loading = false;
        that.$hideLoading();
        uni.hideLoading();
      });
    },

    submit: function submit() {
      var pass = false;
      var that = this;
      var form = that.form;
      if (that.img.length > 0) {
        form.pic_url = that.img;
      } else {
        that.error = '请上传商品图片';
        return false;
      }
      if (!form.name) {
        that.error = '请设置商品名称';
        return false;
      }
      form.cats = [];
      if (that.beCat[0].label == '未选择') {
        that.error = '请设置商品分类';
        return false;
      } else {
        that.beCat.forEach(function (row) {
          form.cats.push(row.value);
        });
      }
      if (that.beMchCat[0].label == '未选择') {
        that.error = '请设置多商户分类';
        return false;
      } else {
        that.beMchCat.forEach(function (row) {
          form.cats.push(row.value);
        });
      }
      if (!that.unit) {
        that.error = '请设置商品单位';
        return false;
      } else {
        if (!form.unit) {
          form.unit = that.unit;
        }
      }
      if (!form.cost_price) {
        that.error = '请设置商品成本价';
        return false;
      }
      if (form.cost_price < 0) {
        that.error = '成本价不得小于零';
        return false;
      }
      if (!form.original_price) {
        that.error = '请设置商品原价';
        return false;
      }
      if (form.original_price < 0) {
        that.error = '商品原价不得小于零';
        return false;
      }
      if (that.attr.length > 0) {
        form.use_attr = 1;
        form.goods_num = 0;
        that.attr.forEach(function (row, index) {
          if (!that.attr[index].attr_list[0].attr_name) {
            that.error = '请输入规格名';
            return false;
          } else if (!that.attr[index].price) {
            that.error = '请输入规格售价';
            return false;
          } else if (!that.attr[index].stock) {
            that.error = '请输入规格库存';
            return false;
          } else {
            if (index == that.attr.length - 1) {
              pass = true;
            }
          }
        });
        form.attr = that.attr;
      } else {
        form.use_attr = 0;
        form.attr = [];
        if (!form.price) {
          that.error = '请设置商品售价';
          return false;
        } else if (!form.goods_num) {
          that.error = '商品库存不得为空';
          return false;
        } else if (form.goods_num < 0) {
          that.error = '商品库存不得小于零';
          return false;
        } else if (form.price < 0.01) {
          that.error = '商品售价不得小于零';
          return false;
        } else {
          pass = true;
        }
      }
      form.services = [];
      if (that.beService.length > 0) {
        form.services = that.beService;
      }
      form.status = 0;
      form.virtual_sales = 0;
      form.cover_pic = '';
      form.sort = 100;
      form.accumulative = 1;
      form.member_price = {};
      form.mchCats = [];
      if (that.goods_detail.length > 0) {
        form.detail = '';
        that.goods_detail.forEach(function (row) {
          form.detail += '<p><img src=' + row.pic_url + '></p>';
        });
      } else {
        that.error = '请设置图文描述';
        return false;
      }
      if (form.forehead_integral) {
        if (form.forehead_integral > 0) {
          form.forehead_integral_type == 1;
        } else {
          form.forehead_integral_type == 2;
          form.forehead_integral = form.forehead_integral.replace('%', '');
        }
      }
      if (form.give_integral) {
        if (form.give_integral > 0) {
          form.give_integral_type == 1;
        } else {
          form.give_integral_type == 2;
          form.give_integral = form.give_integral.replace('%', '');
        }
      }
      form.freight_id = that.bePostage.id;
      form.freight = that.bePostage;
      form.individual_share = 0;
      form.is_level = 0;
      form.individual_share = 0;
      form.mch_id = that.mch_id;
      form.sign = 'mch';
      form.video_url = '';
      if (pass) {
        that.form = form;
        that.beSubmit = true;
      }
    },

    close: function close() {
      this.error = null;
      this.set_cat = false;
      this.set_mch_cat = false;
      this.set_postage = false;
      this.set_service = false;
      this.modal = false;
    },

    inputAttr: function inputAttr(index) {
      this.attr[index].attr_list[0].attr_id = (+index + 2).toString();
    },

    _longtap: function _longtap(img_src, index, e) {
      var that = this;
      var query = uni.createSelectorQuery();
      var nodesRef = query.selectAll(".move-img");
      nodesRef.fields({
        dataset: true,
        rect: true },

      function (result) {
        that.elements = result;
      }).exec();
      // const detail = e.detail;
      that.img[index].pic_url = '';
      that.x = e.currentTarget.offsetLeft;
      that.y = e.currentTarget.offsetTop;
      that.imgHidden = false;
      that.flag = true;
      that.beMove = true;
      that.img_src = img_src;
      that.beginIndex = index;
    },
    //触摸结束
    touchend: function touchend(e) {
      var that = this;
      if (!that.flag) {
        return;
      }
      var x = e.changedTouches[0].pageX;
      var y = e.changedTouches[0].pageY;
      var list = that.elements;
      var data = that.img;
      var beginIndex = that.beginIndex;
      for (var j = 0; j < list.length; j++) {
        var item = list[j];
        if (x > item.left && x < item.right && y > item.top && y < item.bottom) {
          var endIndex = item.dataset.index;
          //向后移动
          if (beginIndex < endIndex) {
            var tem = data[beginIndex];
            for (var i = beginIndex; i < endIndex; i++) {
              data[i] = data[i + 1];
            }
            data[endIndex] = tem;
          }
          //向前移动
          if (beginIndex > endIndex) {
            var _tem = data[beginIndex];
            for (var _i = beginIndex; _i > endIndex; _i--) {
              data[_i] = data[_i - 1];
            }
            data[endIndex] = _tem;
          }
          data[endIndex].pic_url = that.img_src;
          that.img = data;
        }
      }
      if (!that.img[beginIndex].pic_url) {
        that.img[beginIndex].pic_url = that.img_src;
      }
      that.imgHidden = true;
      that.flag = false;
      that.beMove = false;
      that.beginIndex = null;
    },
    //滑动
    touchm: function touchm(e) {
      if (this.flag) {
        var x = e.touches[0].pageX;
        var y = e.touches[0].pageY;
        this.x = x - 60;
        this.y = y - 129;
      }
    },
    cancelService: function cancelService() {
      var beService = this.beService;
      var service = this.service;
      if (beService.length > 0) {
        service.forEach(function (res) {
          res.isChoose = false;
          beService.forEach(function (row) {
            if (row.id == res.id) {
              res.isChoose = true;
            }
          });
        });
      } else {
        service.forEach(function (res) {
          res.isChoose = false;
        });
      }
      this.beService = beService;
      this.service = service;
      this.set_service = false;
      this.is_service = false;
    },

    submitService: function submitService() {
      var beService = [];
      this.service.forEach(function (row) {
        if (row.isChoose) {
          beService.push(row);
        }
      });
      this.beService = beService;
      this.set_service = false;
      this.is_service = false;
    },
    choose: function choose(item) {
      var that = this;
      that.service.forEach(function (row) {
        if (row.id == item.id) {
          row.isChoose = !row.isChoose;
          that.$forceUpdate();
        }
      });
    },
    toGoodsDetail: function toGoodsDetail() {
      uni.navigateTo({
        url: '/plugins/mch/mch/goods-detail/goods-detail' });

    },
    add_img: function add_img() {
      var that = this;
      var num = 9 - that.img.length;
      uni.chooseImage({
        count: num,
        sizeType: ['original', 'compressed'],
        sourceType: ['album', 'camera'],
        success: function success(res) {
          // tempFilePath可以作为img标签的src属性显示图片
          var tempFilePaths = res.tempFilePaths;
          var img = that.img;
          tempFilePaths.forEach(function (row, index) {
            uni.showLoading({
              title: '上传中...' });

            var fileName = '';




            uni.uploadFile({
              url: that.$api.upload.file,
              filePath: row,
              name: 'file',
              fileType: 'image',
              formData: {
                file: row,
                file_name: fileName },

              success: function success(res) {

                var imgInfo = JSON.parse(res.data);




                var para = {
                  pic_url: imgInfo.data.url,
                  id: imgInfo.data.id };

                if (imgInfo.code == 0) {
                  img.push(para);
                }
                that.img = img;
                if (index == tempFilePaths.length - 1) {
                  uni.hideLoading();
                }
              },
              fail: function fail(res) {
                uni.showToast({
                  title: res.msg,
                  icon: 'none',
                  duration: 1000 });

              } });

          });
        } });

    },
    del_img: function del_img(index) {
      this.img.splice(index, 1);
    },
    chooseCat: function chooseCat() {
      this.set_cat = true;
      if (this.cat.length == 0) {
        this.modal = true;
      } else {
        this.dialog = true;
        this.in_cat = null;
        this.index = 0;
        this.have_children = false;
        this.beCat = [{ label: '未选择' }];
        this.isChooseCat = ['未选择'];
        this.choose_list = this.cat;
        this.$forceUpdate();
      }
    },
    chooseMchCat: function chooseMchCat() {
      this.set_mch_cat = true;
      if (this.mch_cat.length == 0) {
        this.modal = true;
      } else {
        this.dialog = true;
        this.in_mch_cat = null;
        this.index = 0;
        this.have_children = false;
        this.beMchCat = [{ label: '未选择' }];
        this.isChooseCat = ['未选择'];
        this.choose_list = this.mch_cat;
        this.$forceUpdate();
      }
    },
    bindChange: function bindChange(e) {
      this.newIndex = e.detail.value[0];
    },
    choose_cat: function choose_cat() {
      var that = this;
      var beCat = that.beCat;
      // let isChooseCat = [];
      var have_children = false;
      var arr = that.cat[that.newIndex];
      var index = that.index;
      if (that.have_children) {
        arr = beCat[index - 1].children[that.newIndex - 1];
      }
      beCat[index] = arr;
      index++;
      if (arr) {
        var isChooseCat = [];
        beCat.forEach(function (row) {
          isChooseCat.push(row.label);
        });
        isChooseCat.push('未选择');
        that.isChooseCat = isChooseCat;
        if (arr.children) {
          that.choose_list = [{ label: '不选择' }];
          setTimeout(function () {
            arr.children.forEach(function (row) {
              that.choose_list.push(row);
            });
          }, 0);
          have_children = true;
        } else {
          var in_cat;
          beCat.forEach(function (row, index) {
            if (row.label.length > 5) {
              row.label = row.label.slice(0, 4) + '...';
            }
            if (index == 0) {
              in_cat = row.label;
            } else {
              in_cat += '/' + row.label;
            }
          });
          that.in_cat = in_cat;
          that.dialog = false;
          that.set_cat = false;
        }
      } else {
        beCat.pop();
        var _in_cat;
        beCat.forEach(function (row, index) {
          if (index == 0) {
            _in_cat = row.label;
          } else {
            _in_cat += '/' + row.label;
          }
        });
        that.in_cat = _in_cat;
        that.dialog = false;
        that.set_cat = false;
      }
      that.newIndex = '0';
      that.beCat = beCat;
      that.index = index;
      that.have_children = have_children;
    },
    choose_mch_cat: function choose_mch_cat() {
      var that = this;
      var beMchCat = that.beMchCat;
      // let isChooseCat = [];
      var have_children = false;
      var arr = that.mch_cat[that.newIndex];
      var index = that.index;
      if (that.have_children) {
        arr = beMchCat[index - 1].children[that.newIndex - 1];
      }
      beMchCat[index] = arr;
      index++;
      if (arr) {
        var isChooseCat = [];
        beMchCat.forEach(function (row) {
          isChooseCat.push(row.label);
        });
        isChooseCat.push('未选择');
        that.isChooseCat = isChooseCat;
        if (arr.children) {
          that.choose_list = [{ label: '不选择' }];
          setTimeout(function () {
            arr.children.forEach(function (row) {
              that.choose_list.push(row);
            });
          }, 0);
          have_children = true;
        } else {
          var in_mch_cat;
          beMchCat.forEach(function (row, index) {
            if (row.label.length > 5) {
              row.label = row.label.slice(0, 4) + '...';
            }
            if (index == 0) {
              in_mch_cat = row.label;
            } else {
              in_mch_cat += '/' + row.label;
            }
          });
          that.in_mch_cat = in_mch_cat;
          that.dialog = false;
          that.set_mch_cat = false;
        }
      } else {
        beMchCat.pop();
        var _in_mch_cat;
        beMchCat.forEach(function (row, index) {
          if (index == 0) {
            _in_mch_cat = row.label;
          } else {
            _in_mch_cat += '/' + row.label;
          }
        });
        that.in_mch_cat = _in_mch_cat;
        that.dialog = false;
        that.set_cat = false;
      }
      that.newIndex = '0';
      that.beMchCat = beMchCat;
      that.index = index;
      that.have_children = have_children;
    },
    toggle: function toggle(status) {
      this.choose_list = [];
      this.dialog = false;
      this.set_cat = false;
      this.set_mch_cat = false;
      if (status == 1) {
        if (this.set_postage) {
          this.bePostage = this.postage[this.newIndex];
        }
      } else {
        this.set_postage = false;
      }
    },
    add_attr: function add_attr() {
      var attr_content = {
        attr_list: [{
          attr_group_id: '1',
          attr_group_name: '规格',
          attr_id: 0,
          attr_name: "" }],

        stock: "",
        price: "",
        no: "",
        weight: "",
        pic_url: "",
        share_commission_first: 0,
        share_commission_second: 0,
        share_commission_third: 0,
        member_price: {} };

      this.attr.push(attr_content);
    },
    pop: function pop(index) {
      this.attr.splice(index, 1);
    },
    chooseService: function chooseService() {
      var that = this;
      if (that.first_service) {
        that.$request({
          url: that.$api.mch.service,
          data: {
            mch_id: that.mch_id } }).

        then(function (response) {
          that.$hideLoading();
          if (response.code == 0) {
            that.service = response.data.list;
            if (response.data.list.length == 0) {
              that.modal = true;
            } else {
              that.is_service = true;
            }
            var beService = [];
            response.data.list.forEach(function (row) {
              row.isChoose = false;
              if (row.is_default == 1) {
                beService.push(row);
                row.isChoose = true;
              }
            });
            that.set_service = true;
            that.beService = beService;
            that.first_service = false;
          } else {
            uni.showToast({
              title: response.msg,
              icon: 'none',
              duration: 1000 });

          }
        }).catch(function () {
          that.$hideLoading();
        });
      } else {
        if (that.service.length == 0) {
          that.modal = true;
        } else {
          that.is_service = true;
        }
      }
    },
    chooseExpress: function chooseExpress() {
      var that = this;
      that.$request({
        url: that.$api.mch.postage,
        data: {
          mch_id: that.mch_id } }).

      then(function (response) {
        that.$hideLoading();
        if (response.code == 0) {
          if (response.data.list.length == 0) {
            that.set_postage = true;
            that.modal = true;
            that.postage = response.data.list;
          } else {
            var arr = [];
            response.data.list.forEach(function (row, index) {
              arr.push(response.data.list[index].id);
            });
            var index = arr.indexOf(that.bePostage.id);
            if (index > -1) {
              that.postageIndex = index;
              that.newIndex = index;
            } else {
              that.bePostage = '';
            }
            that.set_postage = true;
            that.dialog = true;
            that.postage = response.data.list;
          }
        } else {
          uni.showToast({
            title: response.msg,
            icon: 'none',
            duration: 1000 });

        }
      }).catch(function () {
        that.$hideLoading();
      });
    },
    getCat: function getCat() {
      var that = this;
      that.$request({
        url: that.$api.mch.cat,
        data: {
          mch_id: that.mch_id } }).

      then(function (response) {
        that.$hideLoading();
        if (response.code == 0) {
          that.cat = response.data.list;
        } else {
          uni.showToast({
            title: response.msg,
            icon: 'none',
            duration: 1000 });

        }
      }).catch(function () {
        that.$hideLoading();
      });
    },
    getMchCat: function getMchCat() {
      var that = this;
      that.$request({
        url: that.$api.mch.mch_cat,
        data: {
          mch_id: that.mch_id } }).

      then(function (response) {
        that.$hideLoading();
        if (response.code == 0) {
          that.mch_cat = response.data.list;
        } else {
          uni.showToast({
            title: response.msg,
            icon: 'none',
            duration: 1000 });

        }
      }).catch(function () {
        that.$hideLoading();
      });
    },
    getService: function getService() {
      var that = this;
      that.$request({
        url: that.$api.mch.service,
        data: {
          mch_id: that.mch_id } }).

      then(function (response) {
        that.$hideLoading();
        if (response.code == 0) {
          that.service = response.data.list;
          that.beService = [];
          response.data.list.forEach(function (row) {
            row.isChoose = false;
            if (row.is_default == 1) {
              that.beService.push(row);
              row.isChoose = true;
            }
          });
        } else {
          uni.showToast({
            title: response.msg,
            icon: 'none',
            duration: 1000 });

        }
      }).catch(function () {
        that.$hideLoading();
      });
    },
    getPostage: function getPostage() {
      var that = this;
      that.$request({
        url: that.$api.mch.postage,
        data: {
          mch_id: that.mch_id } }).

      then(function (response) {
        that.$hideLoading();
        if (response.code == 0) {
          that.postage = response.data.list;
          that.bePostage = '';
          response.data.list.forEach(function (row) {
            if (row.status == 1) {
              that.bePostage = row;
            }
          });
        } else {
          uni.showToast({
            title: response.msg,
            icon: 'none',
            duration: 1000 });

        }
      }).catch(function () {
        that.$hideLoading();
      });
    } },


  onLoad: function onLoad(options) {
    var that = this;
    uni.getSystemInfo({
      success: function success(res) {
        if (res.model.indexOf('iPhone X') > -1 || res.model.indexOf('iPhone 11') > -1 || res.model.indexOf('iPhone11') > -1 || res.model.indexOf('iPhone12') > -1 || res.model.indexOf('Unknown Device') > -1) {
          that.iphone_x = true;
        }
      } });

    that.mch_id = options.mch_id;
    uni.getSystemInfo({
      success: function success(res) {
        var clientHeight = res.windowHeight;
        var clientWidth = res.windowWidth;
        var ratio = 750 / clientWidth;
        that.height = clientHeight * ratio;
      } });

    that.getCat();
    that.getService();
    that.getPostage();
    that.getMchCat();
    uni.removeStorage({
      key: 'goods_mch_detail',
      success: function success() {
        that.goods_detail = [];
      } });

  },
  onShow: function onShow() {
    var that = this;
    uni.getStorage({
      key: 'goods_mch_detail',
      success: function success(res) {
        that.goods_detail = res.data;
      } });

  } };exports.default = _default;
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"]))

/***/ }),

/***/ 1323:
/*!***********************************************************************************************************************************!*\
  !*** C:/Users/Admin/Desktop/商城/plugins/mch/mch/add-goods/add-goods.vue?vue&type=style&index=0&id=7384e6ee&scoped=true&lang=scss& ***!
  \***********************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _D_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_D_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_D_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_D_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_add_goods_vue_vue_type_style_index_0_id_7384e6ee_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./add-goods.vue?vue&type=style&index=0&id=7384e6ee&scoped=true&lang=scss& */ 1324);
/* harmony import */ var _D_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_D_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_D_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_D_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_add_goods_vue_vue_type_style_index_0_id_7384e6ee_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_D_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_D_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_D_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_D_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_add_goods_vue_vue_type_style_index_0_id_7384e6ee_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _D_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_D_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_D_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_D_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_add_goods_vue_vue_type_style_index_0_id_7384e6ee_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _D_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_D_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_D_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_D_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_add_goods_vue_vue_type_style_index_0_id_7384e6ee_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
 /* harmony default export */ __webpack_exports__["default"] = (_D_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_D_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_D_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_D_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_add_goods_vue_vue_type_style_index_0_id_7384e6ee_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default.a); 

/***/ }),

/***/ 1324:
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!C:/Users/Admin/Desktop/商城/plugins/mch/mch/add-goods/add-goods.vue?vue&type=style&index=0&id=7384e6ee&scoped=true&lang=scss& ***!
  \*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

// extracted by mini-css-extract-plugin
    if(false) { var cssReload; }
  

/***/ })

},[[1317,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/plugins/mch/mch/add-goods/add-goods.js.map