You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1541 lines
71 KiB
1541 lines
71 KiB
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["package1/myCenter/addGoods"],{
|
|
|
|
/***/ 301:
|
|
/*!**************************************************************************!*\
|
|
!*** C:/文档/school_uni/main.js?{"page":"package1%2FmyCenter%2FaddGoods"} ***!
|
|
\**************************************************************************/
|
|
/*! no static exports found */
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
"use strict";
|
|
/* WEBPACK VAR INJECTION */(function(wx, createPage) {
|
|
|
|
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
|
|
__webpack_require__(/*! uni-pages */ 26);
|
|
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 25));
|
|
var _addGoods = _interopRequireDefault(__webpack_require__(/*! ./package1/myCenter/addGoods.vue */ 302));
|
|
// @ts-ignore
|
|
wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;
|
|
createPage(_addGoods.default);
|
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/wx.js */ 1)["default"], __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["createPage"]))
|
|
|
|
/***/ }),
|
|
|
|
/***/ 302:
|
|
/*!*******************************************************!*\
|
|
!*** C:/文档/school_uni/package1/myCenter/addGoods.vue ***!
|
|
\*******************************************************/
|
|
/*! no static exports found */
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
"use strict";
|
|
__webpack_require__.r(__webpack_exports__);
|
|
/* harmony import */ var _addGoods_vue_vue_type_template_id_459ea48d___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./addGoods.vue?vue&type=template&id=459ea48d& */ 303);
|
|
/* harmony import */ var _addGoods_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./addGoods.vue?vue&type=script&lang=js& */ 305);
|
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _addGoods_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _addGoods_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
|
/* harmony import */ var _addGoods_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./addGoods.vue?vue&type=style&index=0&lang=scss& */ 307);
|
|
/* harmony import */ var _HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../软件/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 38);
|
|
|
|
var renderjs
|
|
|
|
|
|
|
|
|
|
|
|
/* normalize component */
|
|
|
|
var component = Object(_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])(
|
|
_addGoods_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
_addGoods_vue_vue_type_template_id_459ea48d___WEBPACK_IMPORTED_MODULE_0__["render"],
|
|
_addGoods_vue_vue_type_template_id_459ea48d___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
|
false,
|
|
null,
|
|
null,
|
|
null,
|
|
false,
|
|
_addGoods_vue_vue_type_template_id_459ea48d___WEBPACK_IMPORTED_MODULE_0__["components"],
|
|
renderjs
|
|
)
|
|
|
|
component.options.__file = "package1/myCenter/addGoods.vue"
|
|
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
|
|
|
/***/ }),
|
|
|
|
/***/ 303:
|
|
/*!**************************************************************************************!*\
|
|
!*** C:/文档/school_uni/package1/myCenter/addGoods.vue?vue&type=template&id=459ea48d& ***!
|
|
\**************************************************************************************/
|
|
/*! exports provided: render, staticRenderFns, recyclableRender, components */
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
"use strict";
|
|
__webpack_require__.r(__webpack_exports__);
|
|
/* harmony import */ var _HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_addGoods_vue_vue_type_template_id_459ea48d___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../软件/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../软件/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--17-0!../../../../软件/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../软件/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../软件/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../软件/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./addGoods.vue?vue&type=template&id=459ea48d& */ 304);
|
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_addGoods_vue_vue_type_template_id_459ea48d___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
|
|
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_addGoods_vue_vue_type_template_id_459ea48d___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
|
|
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_addGoods_vue_vue_type_template_id_459ea48d___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; });
|
|
|
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_addGoods_vue_vue_type_template_id_459ea48d___WEBPACK_IMPORTED_MODULE_0__["components"]; });
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
/***/ 304:
|
|
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
!*** ./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--17-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:/文档/school_uni/package1/myCenter/addGoods.vue?vue&type=template&id=459ea48d& ***!
|
|
\**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
|
/*! 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
|
|
try {
|
|
components = {
|
|
uniForms: function () {
|
|
return Promise.all(/*! import() | uni_modules/uni-forms/components/uni-forms/uni-forms */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uni-forms/components/uni-forms/uni-forms")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uni-forms/components/uni-forms/uni-forms.vue */ 375))
|
|
},
|
|
uniFormsItem: function () {
|
|
return __webpack_require__.e(/*! import() | uni_modules/uni-forms/components/uni-forms-item/uni-forms-item */ "uni_modules/uni-forms/components/uni-forms-item/uni-forms-item").then(__webpack_require__.bind(null, /*! @/uni_modules/uni-forms/components/uni-forms-item/uni-forms-item.vue */ 388))
|
|
},
|
|
uniEasyinput: function () {
|
|
return __webpack_require__.e(/*! import() | uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput */ "uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput").then(__webpack_require__.bind(null, /*! @/uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.vue */ 395))
|
|
},
|
|
uUpload: function () {
|
|
return Promise.all(/*! import() | uni_modules/uview-ui/components/u-upload/u-upload */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uview-ui/components/u-upload/u-upload")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uview-ui/components/u-upload/u-upload.vue */ 402))
|
|
},
|
|
uniIcons: function () {
|
|
return Promise.all(/*! import() | uni_modules/uni-icons/components/uni-icons/uni-icons */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uni-icons/components/uni-icons/uni-icons")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uni-icons/components/uni-icons/uni-icons.vue */ 367))
|
|
},
|
|
uIcon: function () {
|
|
return Promise.all(/*! import() | uni_modules/uview-ui/components/u-icon/u-icon */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uview-ui/components/u-icon/u-icon")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uview-ui/components/u-icon/u-icon.vue */ 412))
|
|
},
|
|
uniDatetimePicker: function () {
|
|
return Promise.all(/*! import() | uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker.vue */ 421))
|
|
},
|
|
uniPopup: function () {
|
|
return __webpack_require__.e(/*! import() | uni_modules/uni-popup/components/uni-popup/uni-popup */ "uni_modules/uni-popup/components/uni-popup/uni-popup").then(__webpack_require__.bind(null, /*! @/uni_modules/uni-popup/components/uni-popup/uni-popup.vue */ 433))
|
|
},
|
|
uniPopupDialog: function () {
|
|
return Promise.all(/*! import() | uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue */ 440))
|
|
},
|
|
}
|
|
} catch (e) {
|
|
if (
|
|
e.message.indexOf("Cannot find module") !== -1 &&
|
|
e.message.indexOf(".vue") !== -1
|
|
) {
|
|
console.error(e.message)
|
|
console.error("1. 排查组件名称拼写是否正确")
|
|
console.error(
|
|
"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"
|
|
)
|
|
console.error(
|
|
"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件"
|
|
)
|
|
} else {
|
|
throw e
|
|
}
|
|
}
|
|
var render = function () {
|
|
var _vm = this
|
|
var _h = _vm.$createElement
|
|
var _c = _vm._self._c || _h
|
|
var l0 = _vm.__map(_vm.goodsList, function (item, index) {
|
|
var $orig = _vm.__get_orig(item)
|
|
var f0 = _vm._f("sliceMsg")(item.attributeList)
|
|
return {
|
|
$orig: $orig,
|
|
f0: f0,
|
|
}
|
|
})
|
|
if (!_vm._isMounted) {
|
|
_vm.e0 = function ($event) {
|
|
return _vm.$refs.addTypeDialog.close()
|
|
}
|
|
_vm.e1 = function ($event) {
|
|
return this.$refs.carPopup.close()
|
|
}
|
|
_vm.e2 = function ($event) {
|
|
return this.$refs.warnPopup.close()
|
|
}
|
|
}
|
|
_vm.$mp.data = Object.assign(
|
|
{},
|
|
{
|
|
$root: {
|
|
l0: l0,
|
|
},
|
|
}
|
|
)
|
|
}
|
|
var recyclableRender = false
|
|
var staticRenderFns = []
|
|
render._withStripped = true
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
/***/ 305:
|
|
/*!********************************************************************************!*\
|
|
!*** C:/文档/school_uni/package1/myCenter/addGoods.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 _HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_addGoods_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../软件/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../软件/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--13-1!../../../../软件/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../软件/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../软件/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./addGoods.vue?vue&type=script&lang=js& */ 306);
|
|
/* harmony import */ var _HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_addGoods_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_addGoods_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__);
|
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_addGoods_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_addGoods_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
|
/* harmony default export */ __webpack_exports__["default"] = (_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_addGoods_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
|
|
/***/ }),
|
|
|
|
/***/ 306:
|
|
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
!*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--13-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:/文档/school_uni/package1/myCenter/addGoods.vue?vue&type=script&lang=js& ***!
|
|
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
|
/*! no static exports found */
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
"use strict";
|
|
/* WEBPACK VAR INJECTION */(function(uni) {
|
|
|
|
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.default = void 0;
|
|
var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 28));
|
|
var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
|
|
var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 30));
|
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); 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 = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
var _default = {
|
|
data: function data() {
|
|
return {
|
|
single: '',
|
|
rechargeRemark: '',
|
|
fileList1: [],
|
|
oldMultipleList: [],
|
|
specVal: '',
|
|
snList: [],
|
|
prefixRule: '',
|
|
addIndex: 0,
|
|
numRule: '',
|
|
goodsList: [],
|
|
snName: '',
|
|
formData: {
|
|
productName: '',
|
|
price: 0,
|
|
productSn: '',
|
|
purchasePrice: 0,
|
|
wholesalePrice: 0,
|
|
commission: 0,
|
|
productPicture: '',
|
|
productIntro: '',
|
|
categoryId: '',
|
|
salesWeek: '',
|
|
tailWarn: '',
|
|
barcode: '',
|
|
productPictures: [],
|
|
productCategoryVo: {}
|
|
},
|
|
defaultList: [{
|
|
name: '颜色',
|
|
list: [{
|
|
value: '均色',
|
|
checked: false
|
|
}, {
|
|
value: '白色',
|
|
checked: false
|
|
}, {
|
|
value: '黑色',
|
|
checked: false
|
|
}, {
|
|
value: '浅蓝',
|
|
checked: false
|
|
}, {
|
|
value: '蓝色',
|
|
checked: false
|
|
}, {
|
|
value: '灰色',
|
|
checked: false
|
|
}, {
|
|
value: '咖色',
|
|
checked: false
|
|
}, {
|
|
value: '紫色',
|
|
checked: false
|
|
}, {
|
|
value: '红色',
|
|
checked: false
|
|
}, {
|
|
value: '米色',
|
|
checked: false
|
|
}]
|
|
}, {
|
|
name: '尺码',
|
|
list: [{
|
|
value: '均码',
|
|
checked: false
|
|
}, {
|
|
value: 'XS码',
|
|
checked: false
|
|
}, {
|
|
value: 'S码',
|
|
checked: false
|
|
}, {
|
|
value: 'M码',
|
|
checked: false
|
|
}, {
|
|
value: 'L码',
|
|
checked: false
|
|
}, {
|
|
value: 'XL码',
|
|
checked: false
|
|
}, {
|
|
value: '2XL码',
|
|
checked: false
|
|
}, {
|
|
value: '3XL码',
|
|
checked: false
|
|
}, {
|
|
value: '4XL码',
|
|
checked: false
|
|
}, {
|
|
value: '25码',
|
|
checked: false
|
|
}, {
|
|
value: '26码',
|
|
checked: false
|
|
}, {
|
|
value: '27码',
|
|
checked: false
|
|
}, {
|
|
value: '28码',
|
|
checked: false
|
|
}, {
|
|
value: '29码',
|
|
checked: false
|
|
}, {
|
|
value: '30码',
|
|
checked: false
|
|
}, {
|
|
value: '31码',
|
|
checked: false
|
|
}, {
|
|
value: '32码',
|
|
checked: false
|
|
}, {
|
|
value: '33码',
|
|
checked: false
|
|
}, {
|
|
value: '34码',
|
|
checked: false
|
|
}, {
|
|
value: '35码',
|
|
checked: false
|
|
}, {
|
|
value: '36码',
|
|
checked: false
|
|
}, {
|
|
value: '37码',
|
|
checked: false
|
|
}, {
|
|
value: '38码',
|
|
checked: false
|
|
}, {
|
|
value: '39码',
|
|
checked: false
|
|
}, {
|
|
value: '40码',
|
|
checked: false
|
|
}, {
|
|
value: '41码',
|
|
checked: false
|
|
}, {
|
|
value: '42码',
|
|
checked: false
|
|
}, {
|
|
value: '43码',
|
|
checked: false
|
|
}, {
|
|
value: '44码',
|
|
checked: false
|
|
}, {
|
|
value: '45码',
|
|
checked: false
|
|
}]
|
|
}],
|
|
categoryList: [],
|
|
cancelArr: [],
|
|
productId: '',
|
|
shopId: '',
|
|
arrtList: [],
|
|
guigeNum: 0,
|
|
//总共有多少件库存
|
|
differencePurchasePrice: 0,
|
|
//旧采购价和新维护采购价的差额差额
|
|
oldPurchasePrice: 0,
|
|
userType: '',
|
|
typeItem: {},
|
|
arrtChange: [],
|
|
categoryId: '',
|
|
dataList: {},
|
|
zPrice: 0,
|
|
type: 'add',
|
|
customerCategoryList: [],
|
|
multipleList: [],
|
|
rules: {
|
|
categoryId: {
|
|
rules: [{
|
|
required: true,
|
|
errorMessage: '请选择商品分类'
|
|
}]
|
|
},
|
|
productSn: {
|
|
rules: [{
|
|
required: true,
|
|
errorMessage: '请填写货号'
|
|
}]
|
|
},
|
|
productName: {
|
|
rules: [{
|
|
required: true,
|
|
errorMessage: '请填写商品名称'
|
|
}]
|
|
}
|
|
}
|
|
};
|
|
},
|
|
filters: {
|
|
sliceMsg: function sliceMsg(val) {
|
|
var name = '';
|
|
if (typeof val == 'string') {
|
|
var newObj = JSON.parse(val);
|
|
for (var as in newObj) {
|
|
name += newObj[as] + '/';
|
|
}
|
|
}
|
|
return name;
|
|
}
|
|
},
|
|
onShow: function onShow() {
|
|
var that = this;
|
|
uni.authorize({
|
|
scope: 'scope.writePhotosAlbum',
|
|
success: function success() {},
|
|
fail: function fail() {
|
|
this.tui.toast("您未授权,图片上传功能可能会出现错误");
|
|
}
|
|
});
|
|
this.shopId = uni.getStorageSync('shopId');
|
|
this.typeItem = JSON.parse(JSON.stringify(this.typeItem)) || '';
|
|
if (this.typeItem) {
|
|
this.formData.categoryId = this.typeItem.id;
|
|
}
|
|
},
|
|
onLoad: function onLoad(option) {
|
|
var _this = this;
|
|
this.getCustomerCategoryList();
|
|
if (option.dataList) {
|
|
this.dataList = JSON.parse(option.dataList);
|
|
this.tui.request("/app/product/getById/" + this.dataList.id, "POST", {}, false, true).then(function (res) {
|
|
if (res.code == 200) {
|
|
_this.type = 'edit';
|
|
_this.customerCategoryList = _this.checkPriceRule(res.result.customerCategoryRule != '' && res.result.customerCategoryRule != null ? JSON.parse(res.result.customerCategoryRule) : null);
|
|
_this.formData.attrId = res.result.attrId;
|
|
_this.formData.productName = res.result.productName;
|
|
_this.formData.barcode = res.result.barcode;
|
|
_this.formData.price = res.result.price;
|
|
_this.formData.productSn = res.result.productSn;
|
|
_this.formData.stockCount = _this.dataList.stockCount;
|
|
_this.formData.minusStockCount = _this.dataList.minusStockCount;
|
|
_this.formData.purchasePrice = res.result.purchasePrice;
|
|
_this.oldPurchasePrice = res.result.purchasePrice;
|
|
_this.formData.wholesalePrice = res.result.wholesalePrice;
|
|
_this.formData.commission = res.result.commission;
|
|
_this.formData.productPicture = res.result.productPicture;
|
|
_this.formData.productIntro = res.result.productIntro;
|
|
_this.formData.categoryId = res.result.categoryId;
|
|
_this.formData.salesWeek = res.result.salesWeek;
|
|
_this.formData.tailWarn = res.result.tailWarn;
|
|
_this.getChildrenPic();
|
|
_this.getGoodsSpec();
|
|
} else {
|
|
_this.tui.toast(res.message);
|
|
}
|
|
}).catch(function (res) {});
|
|
}
|
|
this.userType = uni.getStorageSync('type');
|
|
this.getGategoryList();
|
|
this.getSnList();
|
|
},
|
|
methods: {
|
|
//查询商品规格
|
|
getGoodsSpec: function getGoodsSpec() {
|
|
var _this2 = this;
|
|
this.tui.request("/app/productAttribute/selectAttributeAndValueByCategoryId", "POST", {
|
|
categoryId: this.formData.attrId
|
|
}, false, true).then(function (res) {
|
|
if (res.code == 200) {
|
|
if (typeof res.result.attributeAndValue == 'string') {
|
|
var newObj = JSON.parse(res.result.attributeAndValue);
|
|
var newArr = [];
|
|
for (var val in newObj) {
|
|
var valueObj = {};
|
|
valueObj.attributeName = val;
|
|
valueObj.productAttributeValueVoList = [];
|
|
for (var i = 0; i < newObj[val].length; i++) {
|
|
valueObj.productAttributeValueVoList.push({
|
|
value: newObj[val][i],
|
|
checked: true
|
|
});
|
|
}
|
|
_this2.multipleList.push(valueObj);
|
|
}
|
|
} else {
|
|
that.tui.toast('失败了');
|
|
}
|
|
} else {
|
|
_this2.tui.toast(res.message);
|
|
}
|
|
}).catch(function (res) {});
|
|
},
|
|
//获取子图
|
|
getChildrenPic: function getChildrenPic() {
|
|
var _this3 = this;
|
|
this.tui.request("/app/productPicture/getProductPictureByProductId", "POST", {
|
|
productId: this.dataList.id
|
|
}, false, true).then(function (res) {
|
|
if (res.code == 200) {
|
|
for (var i = 0; i < res.result.length; i++) {
|
|
var data = {
|
|
productPicture: res.result[i].productPicture
|
|
};
|
|
_this3.formData.productPictures.push(data);
|
|
}
|
|
} else {
|
|
_this3.tui.toast(res.message);
|
|
}
|
|
}).catch(function (res) {});
|
|
},
|
|
supplierCollection: function supplierCollection() {
|
|
var _this4 = this;
|
|
this.tui.request('/app/debt/recharge', "post", {
|
|
userId: this.dataList.supplierId,
|
|
amountOwed: this.zPrice,
|
|
dealingsTime: this.single,
|
|
remark: this.rechargeRemark,
|
|
userType: '1'
|
|
}, false, false).then(function (res) {
|
|
if (res.code == 200) {
|
|
_this4.tui.toast('回款成功');
|
|
_this4.$refs.warnPopup.close();
|
|
} else {
|
|
_this4.tui.toast(res.message);
|
|
_this4.$refs.warnPopup.close();
|
|
}
|
|
});
|
|
},
|
|
//获取客户分类
|
|
getCustomerCategoryList: function getCustomerCategoryList() {
|
|
var _this5 = this;
|
|
this.tui.request("/app/customerCategory/getCustomerCategoryListByShopId", "POST", {
|
|
shopId: uni.getStorageSync('shopId')
|
|
}, false, true).then(function (res) {
|
|
if (res.code == 200) {
|
|
if (res.result.length > 0) {
|
|
_this5.customerCategoryList = res.result;
|
|
for (var i = 0; i < _this5.customerCategoryList.length; i++) {
|
|
var data = {
|
|
categoryName: _this5.customerCategoryList[i].categoryName,
|
|
categoryId: _this5.customerCategoryList[i].id,
|
|
categoryPrice: ""
|
|
};
|
|
_this5.customerCategoryList[i] = data;
|
|
}
|
|
} else {
|
|
_this5.customerCategoryList = null;
|
|
}
|
|
} else {
|
|
_this5.tui.toast(res.message);
|
|
}
|
|
}).catch(function (res) {});
|
|
},
|
|
//进入页面,查询货号列表
|
|
getSnList: function getSnList() {
|
|
var _this6 = this;
|
|
this.snList = [];
|
|
this.snName = '';
|
|
this.tui.request("/app/productSn/getProductSnByShopId", "POST", {}, false, true).then(function (res1) {
|
|
if (res1.code == 200) {
|
|
if (res1.result != '') {
|
|
for (var i = 0; i < res1.result.length; i++) {
|
|
var data = {
|
|
text: '前缀:' + res1.result[i].snPre + ',位数:' + res1.result[i].snSufLength,
|
|
value: res1.result[i].snPre
|
|
};
|
|
_this6.snList.push(data);
|
|
}
|
|
_this6.snName = res1.result[0].snPre;
|
|
}
|
|
} else {
|
|
_this6.tui.toast(res.message);
|
|
}
|
|
_this6.$forceUpdate();
|
|
}).catch(function (res) {});
|
|
},
|
|
//初始化获取分类列表
|
|
getGategoryList: function getGategoryList() {
|
|
var _this7 = this;
|
|
this.tui.request("/app/productCategory/list", "get", {
|
|
// shopId: 1,
|
|
}, false, true).then(function (res) {
|
|
if (res.code == 200) {
|
|
if (res.result.length > 0) {
|
|
if (_this7.formData.categoryId != '' && _this7.formData.categoryId != undefined) {
|
|
for (var i = 0; i < res.result.length; i++) {
|
|
if (res.result[i].id == _this7.formData.categoryId) {
|
|
_this7.typeItem = res.result[i];
|
|
}
|
|
}
|
|
} else {
|
|
_this7.typeItem = res.result[0];
|
|
_this7.formData.categoryId = _this7.typeItem.id;
|
|
}
|
|
}
|
|
} else {
|
|
_this7.tui.toast(res.message);
|
|
}
|
|
}).catch(function (res) {});
|
|
},
|
|
// 删除图片
|
|
deletePic: function deletePic(event) {
|
|
this["fileList".concat(event.name)].splice(event.index, 1);
|
|
},
|
|
addSpec: function addSpec(e) {
|
|
var data = {
|
|
value: e,
|
|
checked: false
|
|
};
|
|
this.defaultList[this.addIndex].list.push(data);
|
|
this.$refs.addClose.val = '';
|
|
},
|
|
cancelCheck: function cancelCheck() {
|
|
var data = this.cancelArr;
|
|
this.addMultipleType(data[0], data[1], data[2]);
|
|
this.$refs.carPopup.close();
|
|
},
|
|
//点击取消按钮
|
|
dialogClose: function dialogClose() {
|
|
this.inputVal = '';
|
|
this.specVal = '';
|
|
this.$refs.inputClose.val = '';
|
|
this.$refs.addClose.val = '';
|
|
},
|
|
// 新增图片
|
|
afterRead: function afterRead(event) {
|
|
var _this8 = this;
|
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
|
|
var lists, fileListLen, i, result, item;
|
|
return _regenerator.default.wrap(function _callee$(_context) {
|
|
while (1) {
|
|
switch (_context.prev = _context.next) {
|
|
case 0:
|
|
lists = [].concat(event.file);
|
|
if (_this8.formData.productPicture == undefined) _this8.formData.productPicture = [];
|
|
fileListLen = _this8["fileList".concat(event.name)].length;
|
|
lists.map(function (item) {
|
|
_this8["fileList".concat(event.name)].push(_objectSpread(_objectSpread({}, item), {}, {
|
|
status: 'uploading',
|
|
message: '上传中'
|
|
}));
|
|
});
|
|
i = 0;
|
|
case 5:
|
|
if (!(i < lists.length)) {
|
|
_context.next = 15;
|
|
break;
|
|
}
|
|
_context.next = 8;
|
|
return _this8.uploadFilePromise(lists[i].url);
|
|
case 8:
|
|
result = _context.sent;
|
|
item = _this8["fileList".concat(event.name)][fileListLen];
|
|
_this8["fileList".concat(event.name)].splice(fileListLen, 1, Object.assign(item, {
|
|
status: 'success',
|
|
message: '',
|
|
url: result
|
|
}));
|
|
fileListLen++;
|
|
case 12:
|
|
i++;
|
|
_context.next = 5;
|
|
break;
|
|
case 15:
|
|
case "end":
|
|
return _context.stop();
|
|
}
|
|
}
|
|
}, _callee);
|
|
}))();
|
|
},
|
|
obtainPrice: function obtainPrice(e, type, num) {
|
|
this.linshiPrice = e.target.value;
|
|
if (type == 'price') {
|
|
this.formData.price = '';
|
|
} else if (type == 'wholesalePrice') {
|
|
this.formData.wholesalePrice = '';
|
|
} else if (type == 'commission') {
|
|
this.formData.commission = '';
|
|
} else if (type == 'purchasePrice') {
|
|
this.formData.purchasePrice = '';
|
|
}
|
|
},
|
|
generateSn: function generateSn(value) {
|
|
var _this9 = this;
|
|
this.tui.request("/app/productSn/getNewProductSn", "POST", {
|
|
snPre: value
|
|
}, false, true).then(function (res1) {
|
|
if (res1.code == 200) {
|
|
_this9.tui.request('/app/product/getByProductSn', "post", {
|
|
productSn: res1.result
|
|
}, false, true).then(function (res) {
|
|
if (res.code == 200) {
|
|
if (res.result != '') {
|
|
_this9.generateSn(value);
|
|
} else {
|
|
_this9.formData.productSn = res1.result;
|
|
_this9.$forceUpdate();
|
|
}
|
|
}
|
|
});
|
|
} else {
|
|
_this9.tui.toast(res.message);
|
|
}
|
|
}).catch(function (res) {});
|
|
},
|
|
updateCate: function updateCate() {
|
|
this.$refs.customPopup.close();
|
|
this.$forceUpdate();
|
|
},
|
|
checkPriceRule: function checkPriceRule(ruleArr) {
|
|
if (ruleArr != null && ruleArr != '') {
|
|
if (this.customerCategoryList != '' && this.customerCategoryList != null) {
|
|
var categorySon = [];
|
|
for (var i = 0; i < this.customerCategoryList.length; i++) {
|
|
var isHae = false;
|
|
for (var j = 0; j < ruleArr.length; j++) {
|
|
if (this.customerCategoryList[i].categoryId == ruleArr[j].categoryId) {
|
|
isHae = true;
|
|
}
|
|
}
|
|
if (isHae == false) {
|
|
ruleArr.push(this.customerCategoryList[i]);
|
|
}
|
|
}
|
|
} else {
|
|
ruleArr = this.customerCategoryList;
|
|
}
|
|
} else {
|
|
ruleArr = this.customerCategoryList;
|
|
}
|
|
return ruleArr;
|
|
},
|
|
startGetSn: function startGetSn() {
|
|
var _this10 = this;
|
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() {
|
|
var that;
|
|
return _regenerator.default.wrap(function _callee2$(_context2) {
|
|
while (1) {
|
|
switch (_context2.prev = _context2.next) {
|
|
case 0:
|
|
that = _this10;
|
|
if (!(_this10.prefixRule == '')) {
|
|
_context2.next = 4;
|
|
break;
|
|
}
|
|
_this10.tui.toast('请输入货号生成前缀规则');
|
|
return _context2.abrupt("return");
|
|
case 4:
|
|
if (!(_this10.numRule == '')) {
|
|
_context2.next = 7;
|
|
break;
|
|
}
|
|
_this10.tui.toast('请输入货号生成位数规则');
|
|
return _context2.abrupt("return");
|
|
case 7:
|
|
_context2.next = 9;
|
|
return _this10.tui.request("/app/productSn/addAndGetNewProductSn", "POST", {
|
|
snPre: _this10.prefixRule,
|
|
snSufLength: _this10.numRule
|
|
}, false, false).then(function (res1) {
|
|
if (res1.code == 200) {
|
|
if (res1.message == '货号前缀已存在!') {
|
|
//被删除,调启用方法
|
|
uni.showModal({
|
|
title: "提示",
|
|
content: "货号已经被删除,是否重新启用?",
|
|
success: function success(res) {
|
|
var _this11 = this;
|
|
if (res.confirm) {
|
|
that.tui.request("/app/productSn/useAgainProductSn", "POST", {
|
|
id: res1.result.id
|
|
}, false, true).then(function (res2) {
|
|
if (res2.code == 200) {
|
|
that.tui.toast('重新启用成功');
|
|
setTimeout(function (res) {
|
|
that.getSnList();
|
|
that.generateSn(_this11.prefixRule);
|
|
}, 1000);
|
|
} else {
|
|
that.tui.toast(res2.message);
|
|
}
|
|
that.$forceUpdate();
|
|
}).catch(function (res) {});
|
|
}
|
|
}
|
|
});
|
|
} else {
|
|
_this10.formData.productSn = res1.result;
|
|
}
|
|
} else {
|
|
_this10.tui.toast(res.message);
|
|
}
|
|
}).catch(function (res) {});
|
|
case 9:
|
|
case "end":
|
|
return _context2.stop();
|
|
}
|
|
}
|
|
}, _callee2);
|
|
}))();
|
|
},
|
|
changeAddType: function changeAddType(e) {
|
|
if (e.show == false && this.multipleList == '') {
|
|
this.multipleList = this.oldMultipleList;
|
|
}
|
|
},
|
|
dialogInputConfirm: function dialogInputConfirm(e) {
|
|
var _this12 = this;
|
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() {
|
|
var that;
|
|
return _regenerator.default.wrap(function _callee3$(_context3) {
|
|
while (1) {
|
|
switch (_context3.prev = _context3.next) {
|
|
case 0:
|
|
that = _this12;
|
|
if (that.multipleList == '') {
|
|
that.multipleList = [{
|
|
attributeName: '颜色',
|
|
productAttributeValueVoList: [{
|
|
checked: true,
|
|
value: "均色"
|
|
}]
|
|
}, {
|
|
attributeName: '尺码',
|
|
productAttributeValueVoList: [{
|
|
checked: true,
|
|
value: "均码"
|
|
}]
|
|
}];
|
|
} else {
|
|
if (that.multipleList[0].productAttributeValueVoList == '') {
|
|
that.multipleList[0].productAttributeValueVoList = [{
|
|
checked: true,
|
|
value: "均色"
|
|
}];
|
|
}
|
|
if (that.multipleList[1].productAttributeValueVoList == '') {
|
|
that.multipleList[1].productAttributeValueVoList = [{
|
|
checked: true,
|
|
value: "均码"
|
|
}];
|
|
}
|
|
}
|
|
that.$refs.addTypeDialog.close();
|
|
case 3:
|
|
case "end":
|
|
return _context3.stop();
|
|
}
|
|
}
|
|
}, _callee3);
|
|
}))();
|
|
},
|
|
changessPrice: function changessPrice(e, type) {
|
|
var _this13 = this;
|
|
if (type == 'price') {
|
|
if (this.linshiPrice == e.target.value) {
|
|
this.formData.price = e.target.value;
|
|
} else {
|
|
if (e.target.value == '') {
|
|
this.formData.price = this.linshiPrice;
|
|
} else {
|
|
this.formData.price = e.target.value;
|
|
}
|
|
}
|
|
} else if (type == 'wholesalePrice') {
|
|
if (this.linshiPrice == e.target.value) {
|
|
this.formData.wholesalePrice = e.target.value;
|
|
} else {
|
|
if (e.target.value == '') {
|
|
this.formData.wholesalePrice = this.linshiPrice;
|
|
} else {
|
|
this.formData.wholesalePrice = e.target.value;
|
|
}
|
|
}
|
|
} else if (type == 'commission') {
|
|
if (this.linshiPrice == e.target.value) {
|
|
this.formData.commission = e.target.value;
|
|
} else {
|
|
if (e.target.value == '') {
|
|
this.formData.commission = this.linshiPrice;
|
|
} else {
|
|
this.formData.commission = e.target.value;
|
|
}
|
|
}
|
|
} else if (type == 'purchasePrice') {
|
|
uni.showLoading({
|
|
title: '加载中...',
|
|
mask: true
|
|
});
|
|
if (this.linshiPrice == e.target.value) {
|
|
this.formData.purchasePrice = e.target.value;
|
|
} else {
|
|
if (e.target.value == '') {
|
|
this.formData.purchasePrice = this.linshiPrice;
|
|
} else {
|
|
this.formData.purchasePrice = e.target.value;
|
|
if (this.dataList.id == undefined) {
|
|
uni.hideLoading();
|
|
return;
|
|
}
|
|
this.differencePurchasePrice = Number(this.oldPurchasePrice) - Number(e.target.value);
|
|
this.tui.request("/app/purchase/getPurchaseListByProductId", "post", {
|
|
productId: this.dataList.id,
|
|
pageSize: 9999,
|
|
pageNum: this.pageNum
|
|
}, false, false).then(function (res) {
|
|
if (res.code == 200) {
|
|
_this13.guigeNum = 0;
|
|
for (var i = 0; i < res.result.records.length; i++) {
|
|
_this13.guigeNum += Number(res.result.records[i].purchase.totalAmount);
|
|
}
|
|
setTimeout(function (res) {
|
|
_this13.zPrice = _this13.guigeNum * _this13.differencePurchasePrice;
|
|
if (_this13.zPrice != 0) {
|
|
_this13.getMonth();
|
|
_this13.$refs.warnPopup.open();
|
|
}
|
|
uni.hideLoading();
|
|
}, 300);
|
|
} else {
|
|
_this13.tui.toast(res.message);
|
|
}
|
|
}).catch(function (res) {});
|
|
}
|
|
}
|
|
uni.hideLoading();
|
|
}
|
|
},
|
|
getMonth: function getMonth() {
|
|
this.single = Date.now();
|
|
},
|
|
toggle: function toggle(index) {
|
|
this.addIndex = index;
|
|
this.$refs.addDialog.open();
|
|
},
|
|
uploadFilePromise: function uploadFilePromise(url) {
|
|
var _this14 = this;
|
|
var that = this;
|
|
return new Promise(function (resolve, reject) {
|
|
uni.compressImage({
|
|
src: url,
|
|
quality: 50,
|
|
success: function success(res) {
|
|
var a = uni.uploadFile({
|
|
url: that.tui.interfaceUrl() + '/upload/file',
|
|
filePath: res.tempFilePath,
|
|
name: 'file',
|
|
header: {
|
|
"content-type": "multipart/form-data",
|
|
'accessToken': _this14.tui.getToken()
|
|
},
|
|
formData: {},
|
|
success: function success(uploadFileRes) {
|
|
var path = JSON.parse(uploadFileRes.data);
|
|
//后端返回的地址,存入图片地址
|
|
_this14.formData.productPicture = path.result;
|
|
}
|
|
});
|
|
}
|
|
});
|
|
});
|
|
},
|
|
categoryChange: function categoryChange(e) {
|
|
this.categoryId = e;
|
|
},
|
|
ejectRuleSelect: function ejectRuleSelect() {
|
|
var _this15 = this;
|
|
if (this.dataList.id) {
|
|
//颜色
|
|
for (var m = 0; m < this.multipleList[0].productAttributeValueVoList.length; m++) {
|
|
var isTrue = true;
|
|
for (var i = 0; i < this.defaultList[0].list.length; i++) {
|
|
if (this.defaultList[0].list[i].value == this.multipleList[0].productAttributeValueVoList[m].value) {
|
|
isTrue = false;
|
|
this.defaultList[0].list[i].checked = true;
|
|
} else {
|
|
if (this.defaultList[0].list.length == i + 1 && isTrue == true) {
|
|
this.multipleList[0].productAttributeValueVoList[m].checked = true;
|
|
this.defaultList[0].list.push(this.multipleList[0].productAttributeValueVoList[m]);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
//尺码
|
|
for (var _m = 0; _m < this.multipleList[1].productAttributeValueVoList.length; _m++) {
|
|
var _isTrue = true;
|
|
for (var _i = 0; _i < this.defaultList[1].list.length; _i++) {
|
|
if (this.defaultList[1].list[_i].value == this.multipleList[1].productAttributeValueVoList[_m].value) {
|
|
_isTrue = false;
|
|
this.defaultList[1].list[_i].checked = true;
|
|
} else {
|
|
if (this.defaultList[1].list.length == _i + 1 && _isTrue == true) {
|
|
this.multipleList[1].productAttributeValueVoList[_m].checked = true;
|
|
this.defaultList[1].list.push(this.multipleList[1].productAttributeValueVoList[_m]);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
this.$nextTick(function () {
|
|
_this15.oldMultipleList = _this15.multipleList;
|
|
if (_this15.dataList == '') {
|
|
_this15.multipleList = [];
|
|
}
|
|
_this15.$refs.addTypeDialog.open('bottom');
|
|
});
|
|
},
|
|
// 触发提交表单
|
|
submit: function submit() {
|
|
var _this16 = this;
|
|
var that = this;
|
|
var url = '';
|
|
this.$refs.form.validate().then(function (res) {
|
|
if (that.dataList.id) {
|
|
url = '/app/product/edit';
|
|
_this16.formData.id = that.dataList.id;
|
|
_this16.formData.stockCount = that.dataList.stockCount;
|
|
_this16.formData.supplierId = that.dataList.supplierId;
|
|
_this16.formData.supplierName = that.dataList.supplierName;
|
|
_this16.formData.delFlag = that.dataList.delFlag;
|
|
} else {
|
|
url = '/app/product/save';
|
|
if (_this16.userType == 1) {
|
|
_this16.formData.purchasePrice = '';
|
|
}
|
|
}
|
|
if (res.productPicture == '') {
|
|
res.productPicture = '';
|
|
}
|
|
if (_this16.customerCategoryList != null) {
|
|
_this16.formData.customerCategoryRule = JSON.stringify(_this16.customerCategoryList);
|
|
}
|
|
_this16.formData.productCategoryVo = {
|
|
productAttributeOfAddVos: _this16.multipleList.length > 0 ? _this16.multipleList : [{
|
|
attributeName: '颜色',
|
|
productAttributeValueVoList: [{
|
|
checked: true,
|
|
value: "均色"
|
|
}]
|
|
}, {
|
|
attributeName: '尺码',
|
|
productAttributeValueVoList: [{
|
|
checked: true,
|
|
value: "均码"
|
|
}]
|
|
}]
|
|
};
|
|
that.tui.request(url, "post", _this16.formData, false, false).then(function (res1) {
|
|
if (res1.code == 200) {
|
|
if (that.dataList.id) {
|
|
//编辑商品
|
|
var pages = getCurrentPages();
|
|
var prevPage = pages[pages.length - 3];
|
|
var shopList = prevPage.$vm.shopList;
|
|
for (var i = 0; i < shopList.length; i++) {
|
|
if (shopList[i].id == _this16.formData.id) {
|
|
//修改了分类,就直接删除列表中的商品
|
|
if (_this16.formData.categoryId != that.dataList.categoryId) {
|
|
shopList.splice(i, 1);
|
|
} else {
|
|
shopList[i] = _this16.formData;
|
|
}
|
|
}
|
|
}
|
|
uni.navigateBack({
|
|
delta: 2
|
|
});
|
|
} else {
|
|
//新增商品
|
|
uni.navigateBack({
|
|
delta: 1
|
|
});
|
|
}
|
|
} else {
|
|
uni.showToast({
|
|
title: "添加失败",
|
|
icon: 'none'
|
|
});
|
|
}
|
|
});
|
|
}).catch(function (err) {});
|
|
},
|
|
//跳转分类页
|
|
goGategoryLow: function goGategoryLow() {
|
|
uni.navigateTo({
|
|
url: '/package1/inventory/gategory'
|
|
});
|
|
},
|
|
pictureAdd: function pictureAdd(id, huan) {
|
|
var that = this;
|
|
uni.chooseMedia({
|
|
count: 9,
|
|
mediaType: ['image'],
|
|
sourceType: ['album'],
|
|
success: function success(res) {
|
|
uni.showLoading({
|
|
title: '加载中...',
|
|
mask: true
|
|
});
|
|
for (var i = 0; i < res.tempFiles.length; i++) {
|
|
that.upLoadFile(res.tempFiles[i].tempFilePath);
|
|
}
|
|
}
|
|
});
|
|
},
|
|
upLoadFile: function upLoadFile(path) {
|
|
var _this17 = this;
|
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4() {
|
|
var that, hiver_token;
|
|
return _regenerator.default.wrap(function _callee4$(_context4) {
|
|
while (1) {
|
|
switch (_context4.prev = _context4.next) {
|
|
case 0:
|
|
that = _this17;
|
|
hiver_token = uni.getStorageSync("hiver_token");
|
|
_context4.next = 4;
|
|
return uni.uploadFile({
|
|
url: that.tui.interfaceUrl() + '/upload/file',
|
|
filePath: path,
|
|
name: 'file',
|
|
header: {
|
|
"content-type": "multipart/form-data",
|
|
'accessToken': hiver_token
|
|
},
|
|
formData: {},
|
|
success: function success(uploadFileRes) {
|
|
var pathData = JSON.parse(uploadFileRes.data);
|
|
var data = {
|
|
productPicture: pathData.result
|
|
};
|
|
_this17.formData.productPictures.push(data);
|
|
that.$forceUpdate();
|
|
},
|
|
fail: function fail(err) {
|
|
uni.hideLoading();
|
|
uni.showToast({
|
|
title: JSON.stringify(err),
|
|
icon: 'none'
|
|
});
|
|
}
|
|
});
|
|
case 4:
|
|
_context4.next = 6;
|
|
return setTimeout(function (res) {
|
|
uni.hideLoading();
|
|
}, 1000);
|
|
case 6:
|
|
case "end":
|
|
return _context4.stop();
|
|
}
|
|
}
|
|
}, _callee4);
|
|
}))();
|
|
},
|
|
scanCodeAdd: function scanCodeAdd() {
|
|
var that = this;
|
|
uni.scanCode({
|
|
scanType: ['barCode'],
|
|
success: function success(res) {
|
|
that.tui.request('/app/product/getByBarcode', "post", {
|
|
barcode: res.result
|
|
}, false, true).then(function (res1) {
|
|
if (res1.code == 200) {
|
|
if (res1.result != '') {
|
|
that.tui.toast('当前条码已被商品:“' + res1.result[0].productName + '”占用,请重新输入');
|
|
} else {
|
|
that.formData.barcode = res.result;
|
|
}
|
|
}
|
|
});
|
|
},
|
|
fail: function fail(res) {
|
|
uni.showToast({
|
|
title: '扫描失败',
|
|
icon: 'none'
|
|
});
|
|
}
|
|
});
|
|
},
|
|
isCheckPrec: function isCheckPrec(item, item1, index) {
|
|
if (item.list[index].checked == true) {
|
|
this.getTypeToNum(item, item1, index);
|
|
} else {
|
|
this.addMultipleType(item, item1, index);
|
|
}
|
|
},
|
|
//选择多个规格保存
|
|
addMultipleType: function addMultipleType(item, item1, index) {
|
|
item.list[index].checked = !item.list[index].checked;
|
|
var list = [];
|
|
if (this.multipleList == '' && item.list[index].checked == true) {
|
|
if (item.name == '颜色') {
|
|
var data = {
|
|
attributeName: '尺码',
|
|
productAttributeValueVoList: []
|
|
};
|
|
this.multipleList.push(data);
|
|
}
|
|
if (item.name == '尺码') {
|
|
var data = {
|
|
attributeName: '颜色',
|
|
productAttributeValueVoList: []
|
|
};
|
|
this.multipleList.push(data);
|
|
}
|
|
list.push(item.list[index]);
|
|
var data = {
|
|
attributeName: item.name,
|
|
productAttributeValueVoList: list
|
|
};
|
|
this.multipleList.push(data);
|
|
} else {
|
|
if (this.multipleList[0].attributeName == item.name) {
|
|
//同种分类
|
|
if (this.multipleList[0].productAttributeValueVoList.length == 0) {
|
|
this.multipleList[0].productAttributeValueVoList.push(item.list[index]);
|
|
} else {
|
|
for (var m = 0; m < this.multipleList[0].productAttributeValueVoList.length; m++) {
|
|
if (this.multipleList[0].productAttributeValueVoList[m].value == item.list[index].value) {
|
|
//规格相同
|
|
this.multipleList[0].productAttributeValueVoList.splice(m, 1);
|
|
return;
|
|
} else {
|
|
//规格不同
|
|
if (m + 1 == this.multipleList[0].productAttributeValueVoList.length) {
|
|
this.multipleList[0].productAttributeValueVoList.push(item.list[index]);
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
if (this.multipleList[1].attributeName == item.name) {
|
|
//同种分类
|
|
if (this.multipleList[1].productAttributeValueVoList.length == 0) {
|
|
this.multipleList[1].productAttributeValueVoList.push(item.list[index]);
|
|
} else {
|
|
for (var m = 0; m < this.multipleList[1].productAttributeValueVoList.length; m++) {
|
|
if (this.multipleList[1].productAttributeValueVoList[m].value == item.list[index].value) {
|
|
//规格相同
|
|
this.multipleList[1].productAttributeValueVoList.splice(m, 1);
|
|
return;
|
|
} else {
|
|
//规格不同
|
|
if (m + 1 == this.multipleList[1].productAttributeValueVoList.length) {
|
|
this.multipleList[1].productAttributeValueVoList.push(item.list[index]);
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
//查询分类下有没有库存
|
|
getTypeToNum: function getTypeToNum(item, item1, index) {
|
|
var _this18 = this;
|
|
var that = this;
|
|
this.tui.request("/app/stock/getlistByAttributeList", "post", {
|
|
categoryId: this.formData.attrId,
|
|
attributeList: item.list[index].value
|
|
}, false, true).then(function (res) {
|
|
if (res.code == 200) {
|
|
if (res.result != '') {
|
|
//有库存
|
|
_this18.goodsList = res.result;
|
|
_this18.cancelArr = [item, item1, index];
|
|
_this18.$refs.carPopup.open('bottom');
|
|
} else {
|
|
_this18.addMultipleType(item, item1, index);
|
|
}
|
|
}
|
|
}).catch(function (res) {});
|
|
}
|
|
}
|
|
};
|
|
exports.default = _default;
|
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
|
|
|
|
/***/ }),
|
|
|
|
/***/ 307:
|
|
/*!*****************************************************************************************!*\
|
|
!*** C:/文档/school_uni/package1/myCenter/addGoods.vue?vue&type=style&index=0&lang=scss& ***!
|
|
\*****************************************************************************************/
|
|
/*! no static exports found */
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
"use strict";
|
|
__webpack_require__.r(__webpack_exports__);
|
|
/* harmony import */ var _HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_addGoods_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../软件/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../软件/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../软件/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../软件/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!../../../../软件/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--8-oneOf-1-3!../../../../软件/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../软件/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!../../../../软件/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../软件/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./addGoods.vue?vue&type=style&index=0&lang=scss& */ 308);
|
|
/* harmony import */ var _HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_addGoods_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_addGoods_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_addGoods_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_addGoods_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
|
/* harmony default export */ __webpack_exports__["default"] = (_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_addGoods_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
|
|
/***/ }),
|
|
|
|
/***/ 308:
|
|
/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
!*** ./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/@dcloudio/vue-cli-plugin-uni/packages/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:/文档/school_uni/package1/myCenter/addGoods.vue?vue&type=style&index=0&lang=scss& ***!
|
|
\*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
|
/*! no static exports found */
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
// extracted by mini-css-extract-plugin
|
|
if(false) { var cssReload; }
|
|
|
|
|
|
/***/ })
|
|
|
|
},[[301,"common/runtime","common/vendor"]]]);
|
|
//# sourceMappingURL=../../../.sourcemap/mp-weixin/package1/myCenter/addGoods.js.map
|