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.
1970 lines
88 KiB
1970 lines
88 KiB
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["package1/AI/AIHangOrderList"],{
|
|
|
|
/***/ 613:
|
|
/*!*********************************************************************************!*\
|
|
!*** C:/文档/distribution-uni/main.js?{"page":"package1%2FAI%2FAIHangOrderList"} ***!
|
|
\*********************************************************************************/
|
|
/*! 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 _AIHangOrderList = _interopRequireDefault(__webpack_require__(/*! ./package1/AI/AIHangOrderList.vue */ 614));
|
|
// @ts-ignore
|
|
wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;
|
|
createPage(_AIHangOrderList.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"]))
|
|
|
|
/***/ }),
|
|
|
|
/***/ 614:
|
|
/*!**************************************************************!*\
|
|
!*** C:/文档/distribution-uni/package1/AI/AIHangOrderList.vue ***!
|
|
\**************************************************************/
|
|
/*! no static exports found */
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
"use strict";
|
|
__webpack_require__.r(__webpack_exports__);
|
|
/* harmony import */ var _AIHangOrderList_vue_vue_type_template_id_025d4c5e___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AIHangOrderList.vue?vue&type=template&id=025d4c5e& */ 615);
|
|
/* harmony import */ var _AIHangOrderList_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AIHangOrderList.vue?vue&type=script&lang=js& */ 617);
|
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _AIHangOrderList_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 _AIHangOrderList_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
|
/* harmony import */ var _AIHangOrderList_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./AIHangOrderList.vue?vue&type=style&index=0&lang=scss& */ 619);
|
|
/* 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"])(
|
|
_AIHangOrderList_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
_AIHangOrderList_vue_vue_type_template_id_025d4c5e___WEBPACK_IMPORTED_MODULE_0__["render"],
|
|
_AIHangOrderList_vue_vue_type_template_id_025d4c5e___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
|
false,
|
|
null,
|
|
null,
|
|
null,
|
|
false,
|
|
_AIHangOrderList_vue_vue_type_template_id_025d4c5e___WEBPACK_IMPORTED_MODULE_0__["components"],
|
|
renderjs
|
|
)
|
|
|
|
component.options.__file = "package1/AI/AIHangOrderList.vue"
|
|
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
|
|
|
/***/ }),
|
|
|
|
/***/ 615:
|
|
/*!*********************************************************************************************!*\
|
|
!*** C:/文档/distribution-uni/package1/AI/AIHangOrderList.vue?vue&type=template&id=025d4c5e& ***!
|
|
\*********************************************************************************************/
|
|
/*! 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_AIHangOrderList_vue_vue_type_template_id_025d4c5e___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!./AIHangOrderList.vue?vue&type=template&id=025d4c5e& */ 616);
|
|
/* 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_AIHangOrderList_vue_vue_type_template_id_025d4c5e___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_AIHangOrderList_vue_vue_type_template_id_025d4c5e___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_AIHangOrderList_vue_vue_type_template_id_025d4c5e___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_AIHangOrderList_vue_vue_type_template_id_025d4c5e___WEBPACK_IMPORTED_MODULE_0__["components"]; });
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
/***/ 616:
|
|
/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
!*** ./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:/文档/distribution-uni/package1/AI/AIHangOrderList.vue?vue&type=template&id=025d4c5e& ***!
|
|
\*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
|
/*! 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 = {
|
|
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 */ 1065))
|
|
},
|
|
uLoadmore: function () {
|
|
return Promise.all(/*! import() | uni_modules/uview-ui/components/u-loadmore/u-loadmore */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uview-ui/components/u-loadmore/u-loadmore")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uview-ui/components/u-loadmore/u-loadmore.vue */ 1132))
|
|
},
|
|
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 */ 1106))
|
|
},
|
|
uniDataCheckbox: function () {
|
|
return Promise.all(/*! import() | uni_modules/uni-data-checkbox/components/uni-data-checkbox/uni-data-checkbox */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uni-data-checkbox/components/uni-data-checkbox/uni-data-checkbox")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uni-data-checkbox/components/uni-data-checkbox/uni-data-checkbox.vue */ 1256))
|
|
},
|
|
}
|
|
} 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 l2 = _vm.__map(_vm.regList, function (item, index) {
|
|
var $orig = _vm.__get_orig(item)
|
|
var l1 = item.isCollapse
|
|
? _vm.__map(item.saleDetailDTOList, function (items, index1) {
|
|
var $orig = _vm.__get_orig(items)
|
|
var l0 = _vm.__map(items.stockLogList1, function (itemss, index2) {
|
|
var $orig = _vm.__get_orig(itemss)
|
|
var f0 = _vm._f("sliceMsg")(itemss.attributeList)
|
|
return {
|
|
$orig: $orig,
|
|
f0: f0,
|
|
}
|
|
})
|
|
return {
|
|
$orig: $orig,
|
|
l0: l0,
|
|
}
|
|
})
|
|
: null
|
|
return {
|
|
$orig: $orig,
|
|
l1: l1,
|
|
}
|
|
})
|
|
if (!_vm._isMounted) {
|
|
_vm.e0 = function ($event) {
|
|
return _vm.$refs.sharePopup.close()
|
|
}
|
|
}
|
|
_vm.$mp.data = Object.assign(
|
|
{},
|
|
{
|
|
$root: {
|
|
l2: l2,
|
|
},
|
|
}
|
|
)
|
|
}
|
|
var recyclableRender = false
|
|
var staticRenderFns = []
|
|
render._withStripped = true
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
/***/ 617:
|
|
/*!***************************************************************************************!*\
|
|
!*** C:/文档/distribution-uni/package1/AI/AIHangOrderList.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_AIHangOrderList_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!./AIHangOrderList.vue?vue&type=script&lang=js& */ 618);
|
|
/* 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_AIHangOrderList_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_AIHangOrderList_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_AIHangOrderList_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_AIHangOrderList_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_AIHangOrderList_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
|
|
/***/ }),
|
|
|
|
/***/ 618:
|
|
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
!*** ./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:/文档/distribution-uni/package1/AI/AIHangOrderList.vue?vue&type=script&lang=js& ***!
|
|
\**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
|
/*! no static exports found */
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
"use strict";
|
|
/* WEBPACK VAR INJECTION */(function(uni, wx) {
|
|
|
|
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 _toConsumableArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ 18));
|
|
var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 30));
|
|
var _base = _interopRequireDefault(__webpack_require__(/*! @/utils/ossUploadFile/base64.js */ 215));
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
|
|
var plugin = requirePlugin("WechatSI");
|
|
var manager = plugin.getRecordRecognitionManager();
|
|
var _default = {
|
|
components: {},
|
|
data: function data() {
|
|
return {
|
|
khName: [],
|
|
isVoice: false,
|
|
regList: [],
|
|
pageNumber: 1,
|
|
status: 'loadmore',
|
|
recordState: false,
|
|
voiceText: ' ',
|
|
list: [],
|
|
linshiPrice: 0,
|
|
value: '',
|
|
isInventory: false,
|
|
returnNum: 0,
|
|
returnPrice: 0,
|
|
temporaryNum: 0,
|
|
customPrice: 0,
|
|
//选择自定义金额
|
|
goodsDetail: [],
|
|
attrNameList: [],
|
|
temporaryList: [],
|
|
carList: [],
|
|
returnList: new Map(),
|
|
specsList: [],
|
|
evalue: [],
|
|
attributeList: [],
|
|
purchasePrice: 0,
|
|
zPrice: 0,
|
|
zNum: 0,
|
|
storageType: 0,
|
|
hangId: '',
|
|
bigImg: '',
|
|
productId: '',
|
|
productNum: null,
|
|
pageOldTemList: [],
|
|
oldTemList: [],
|
|
goodsList: [],
|
|
newTemList: [],
|
|
pecsList: [],
|
|
dataObj: new Map(),
|
|
yanseList: new Map(),
|
|
chimaList: new Map(),
|
|
allChangeNum: 0,
|
|
isPlusAndMinus: false,
|
|
shopName: '',
|
|
pages: 1,
|
|
sales: {}
|
|
};
|
|
},
|
|
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;
|
|
}
|
|
},
|
|
onPullDownRefresh: function onPullDownRefresh() {
|
|
this.pageNumber = 1;
|
|
this.regList = [];
|
|
this.getRegList();
|
|
},
|
|
onReachBottom: function onReachBottom() {
|
|
if (this.pageNumber >= this.pages) return;
|
|
this.status = 'loading';
|
|
this.pageNumber++;
|
|
this.getRegList();
|
|
},
|
|
onShareAppMessage: function onShareAppMessage() {
|
|
var _this = this;
|
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
|
|
var shopName, titleText, imageUrl;
|
|
return _regenerator.default.wrap(function _callee$(_context) {
|
|
while (1) {
|
|
switch (_context.prev = _context.next) {
|
|
case 0:
|
|
shopName = _this.sales.shopName == null ? uni.getStorageSync('shopName') : _this.sales.shopName;
|
|
titleText = shopName + ' ' + _this.sales.createTime.split(' ')[0] + '\n销售单';
|
|
_context.next = 4;
|
|
return _this.senrPath();
|
|
case 4:
|
|
imageUrl = _context.sent;
|
|
_this.$refs.sharePopup.close();
|
|
return _context.abrupt("return", {
|
|
title: titleText,
|
|
imageUrl: imageUrl,
|
|
path: '/package1/index/orderDetail?popleType=khName&id=' + _this.sales.id + '&shopId=' + uni.getStorageSync('shopId') + '&shopName=' + _this.sales.shopName + '&shopOwnerPhone=' + _this.shopOwnerPhone + '&mini_program_openid=' + _this.mini_program_openid + '&unionid=' + _this.unionid + '&official_account_openid=' + _this.official_account_openid + '&userId=' + _this.sales.userId
|
|
});
|
|
case 7:
|
|
case "end":
|
|
return _context.stop();
|
|
}
|
|
}
|
|
}, _callee);
|
|
}))();
|
|
},
|
|
onShow: function onShow() {
|
|
this.khName = JSON.parse(JSON.stringify(this.khName)) || '';
|
|
if (uni.getStorageSync('hangOrderType') == 'scanCode') {
|
|
if (this.khName != '') {
|
|
this.addReg();
|
|
}
|
|
uni.removeStorageSync('hangOrderType');
|
|
return;
|
|
} else if (uni.getStorageSync('hangOrderType') == 'changeGoods') {
|
|
uni.removeStorageSync('hangOrderType');
|
|
return;
|
|
}
|
|
if (this.khName != '') {
|
|
uni.navigateTo({
|
|
url: '/package1/AI/AiChat?khName=' + JSON.stringify(this.khName)
|
|
});
|
|
}
|
|
this.khName = [];
|
|
this.pageNumber = 1;
|
|
this.regList = [];
|
|
this.getRegList();
|
|
},
|
|
onLoad: function onLoad() {
|
|
this.shopName = uni.getStorageSync('shopName');
|
|
this.initRecord();
|
|
},
|
|
methods: {
|
|
goDetail: function goDetail(id, userId) {
|
|
uni.navigateTo({
|
|
url: '/package1/index/orderDetail?id=' + id + '&userId=' + userId
|
|
});
|
|
},
|
|
senrPath: function senrPath() {
|
|
var _this2 = this;
|
|
return new Promise( /*#__PURE__*/function () {
|
|
var _ref = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2(resolve, reject) {
|
|
var that, ctx, imgA;
|
|
return _regenerator.default.wrap(function _callee2$(_context2) {
|
|
while (1) {
|
|
switch (_context2.prev = _context2.next) {
|
|
case 0:
|
|
that = _this2;
|
|
uni.showLoading({
|
|
title: '生成中...'
|
|
});
|
|
ctx = uni.createCanvasContext('myCanvas1', _this2); //背景图
|
|
imgA = 'https://jewel-shop.oss-cn-beijing.aliyuncs.com/38568f1580bc423698d2a499197a5b44.png';
|
|
uni.downloadFile({
|
|
url: imgA,
|
|
success: function success(res2) {
|
|
if (res2.statusCode === 200) {
|
|
// // 绘制第一张图片
|
|
ctx.drawImage(res2.tempFilePath, 0, 0, 1515, 1210);
|
|
ctx.draw(true);
|
|
// 设置字体样式
|
|
ctx.font = 'bold 80px SimSun';
|
|
// 设置文字颜色
|
|
ctx.fillStyle = '#FF5809';
|
|
var beginHeight = 450;
|
|
if (that.sales.productCount != null && that.sales.productCount != '') {
|
|
var textWidth = 350;
|
|
// 计算居中位置
|
|
beginHeight += 100;
|
|
|
|
// 绘制文字
|
|
ctx.fillText('销售', textWidth, beginHeight);
|
|
ctx.draw(true);
|
|
// 设置字体样式
|
|
ctx.font = 'bold 60px SimSun';
|
|
// 设置文字颜色
|
|
ctx.fillStyle = '#FF5809';
|
|
beginHeight += 90;
|
|
var text = '总件数:' + that.sales.productCount + ' 总金额:' + that.sales.totalAmount;
|
|
// 绘制文字
|
|
ctx.fillText(text, textWidth, beginHeight);
|
|
ctx.draw(true);
|
|
}
|
|
if (that.returnNum != null && that.returnNum != '') {
|
|
beginHeight += 110;
|
|
var textWidth = 350;
|
|
// 绘制文字
|
|
// 设置字体样式
|
|
ctx.font = 'bold 80px SimSun';
|
|
// 设置文字颜色
|
|
ctx.fillStyle = '#FF5809';
|
|
ctx.fillText('退货', textWidth, beginHeight);
|
|
ctx.draw(true);
|
|
beginHeight += 90;
|
|
// 设置字体样式
|
|
ctx.font = 'bold 60px SimSun';
|
|
// 设置文字颜色
|
|
ctx.fillStyle = '#FF5809';
|
|
var text = '总件数:' + that.returnNum + ' 总金额:' + that.returnPrice;
|
|
// 绘制文字
|
|
ctx.fillText(text, textWidth, beginHeight);
|
|
ctx.draw(true);
|
|
}
|
|
if (that.sales.realAmount != null) {
|
|
var textWidth = 350;
|
|
beginHeight += 120;
|
|
// 绘制文字
|
|
// 设置字体样式
|
|
ctx.font = 'bold 80px SimSun';
|
|
// 设置文字颜色
|
|
ctx.fillStyle = 'black';
|
|
ctx.fillText('本单应收:' + that.sales.realAmount, textWidth, beginHeight);
|
|
ctx.draw(true);
|
|
}
|
|
if (that.sales.alreadyEarn != null) {
|
|
beginHeight += 100;
|
|
var textWidth = 350;
|
|
// 绘制文字
|
|
// 设置字体样式
|
|
ctx.font = 'bold 80px SimSun';
|
|
// 设置文字颜色
|
|
ctx.fillStyle = 'black';
|
|
ctx.fillText('本单实收:' + that.sales.alreadyEarn, textWidth, beginHeight);
|
|
ctx.draw(true);
|
|
beginHeight += 120;
|
|
}
|
|
setTimeout(function (ress) {
|
|
uni.canvasToTempFilePath({
|
|
x: 0,
|
|
y: 0,
|
|
width: 1515,
|
|
height: 1210,
|
|
destWidth: 1515,
|
|
destHeight: 1210,
|
|
canvasId: 'myCanvas1',
|
|
success: function success(res3) {
|
|
uni.hideLoading();
|
|
return resolve(res3.tempFilePath);
|
|
}
|
|
});
|
|
}, 500);
|
|
}
|
|
}
|
|
});
|
|
case 5:
|
|
case "end":
|
|
return _context2.stop();
|
|
}
|
|
}
|
|
}, _callee2);
|
|
}));
|
|
return function (_x, _x2) {
|
|
return _ref.apply(this, arguments);
|
|
};
|
|
}());
|
|
},
|
|
//挂单列表
|
|
getRegList: function getRegList() {
|
|
var _this3 = this;
|
|
var obj = {
|
|
status: "7",
|
|
pageVo: {
|
|
pageNumber: this.pageNumber,
|
|
pageSize: 10
|
|
},
|
|
fromWhere: 2,
|
|
shopId: uni.getStorageSync('shopId')
|
|
};
|
|
this.tui.request("/app/sale/listPages", "POST", obj, false, false).then(function (res) {
|
|
if (res.code == 200) {
|
|
_this3.status = 'nomore';
|
|
for (var i = 0; i < res.result.records.length; i++) {
|
|
res.result.records[i].isCollapse = false;
|
|
}
|
|
if (_this3.pages == 1) {
|
|
_this3.regList = res.result.records;
|
|
} else {
|
|
_this3.regList = [].concat((0, _toConsumableArray2.default)(_this3.regList), (0, _toConsumableArray2.default)(res.result.records));
|
|
}
|
|
_this3.pages = res.result.pages;
|
|
} else {
|
|
_this3.tui.toast(res.message);
|
|
}
|
|
}).catch(function (res) {
|
|
_this3.tui.toast(res);
|
|
});
|
|
uni.stopPullDownRefresh();
|
|
},
|
|
addReg: function addReg() {
|
|
var _this4 = this;
|
|
this.tui.request("/app/sale/saveOrder", "POST", {
|
|
userId: this.khName.id,
|
|
userName: this.khName.name,
|
|
aiFlag: 0,
|
|
status: 7,
|
|
area: this.khName.area,
|
|
city: this.khName.city,
|
|
province: this.khName.province,
|
|
receiveAddress: this.khName.address
|
|
}, false, false).then(function (res) {
|
|
if (res.code == 200) {
|
|
_this4.pageNumber = 1;
|
|
_this4.regList = [];
|
|
_this4.getRegList();
|
|
} else {
|
|
_this4.tui.toast(res.message);
|
|
}
|
|
}).catch(function (res) {
|
|
_this4.tui.toast(res);
|
|
});
|
|
},
|
|
//关闭弹出层
|
|
close: function close() {
|
|
this.$refs.popup.close();
|
|
},
|
|
//按住语音识别,开始
|
|
kaishi: function kaishi() {
|
|
if (this.isVoice == false) {
|
|
this.recordState = true;
|
|
uni.vibrateShort();
|
|
manager.start({
|
|
duration: 60000,
|
|
lang: "zh_CN"
|
|
});
|
|
}
|
|
},
|
|
//松开语音识别,结束
|
|
jieshu: function jieshu() {
|
|
this.recordState = false;
|
|
manager.stop();
|
|
},
|
|
replaceCharAfterNumber: function replaceCharAfterNumber(str, charToFind, charToReplace) {
|
|
var regex = new RegExp("\\d".concat(charToFind), 'g');
|
|
return str.replace(regex, function (match) {
|
|
return match.replace(charToFind, charToReplace);
|
|
});
|
|
},
|
|
//语音识别功能初始化
|
|
initRecord: function initRecord() {
|
|
var _this5 = this;
|
|
var that = this;
|
|
// 识别结束事件
|
|
manager.onStop = function (res) {
|
|
if (that.voiceText == '') {
|
|
that.voiceText = res.result;
|
|
} else if (that.voiceText == null) {
|
|
that.voiceText = res.result;
|
|
} else {
|
|
res.result = _this5.removeSpacesAndCommas(res.result);
|
|
res.result = ' ' + res.result;
|
|
that.voiceText += res.result;
|
|
}
|
|
};
|
|
|
|
// 识别错误事件
|
|
manager.onError = function (res) {
|
|
if (res.retcode == '-30011') {
|
|
that.isVoice = true;
|
|
}
|
|
if (res.retcode == '-30004') {
|
|
that.isVoice = false;
|
|
uni.hideToast();
|
|
uni.showToast({
|
|
title: "未识别到声音信息,请重新录入",
|
|
icon: 'none'
|
|
});
|
|
}
|
|
if (res.retcode == '-40001') {
|
|
uni.showToast({
|
|
title: '使用次数超限制,请联系管理员!',
|
|
icon: 'none'
|
|
});
|
|
}
|
|
};
|
|
},
|
|
//AI挂单,无库存不显示radio,所有颜色所有尺码,无库存太多删除麻烦
|
|
invenRadio: function invenRadio() {
|
|
this.isInventory = !this.isInventory;
|
|
},
|
|
//扫一扫功能
|
|
scanCodeAdd: function scanCodeAdd(item) {
|
|
var that = this;
|
|
uni.setStorageSync('hangOrderType', 'changeGoods');
|
|
uni.scanCode({
|
|
success: function success(res) {
|
|
that.hangId = item.id;
|
|
if (res.scanType == "QR_CODE") {
|
|
//二维码
|
|
var shopId = _base.default.decode(res.result.split(',')[1]);
|
|
if (shopId == uni.getStorageSync('shopId').substring('10', '12')) {
|
|
that.productId = _base.default.decode(res.result.split(',')[0]);
|
|
that.toggle('bottom', _base.default.decode(res.result.split(',')[0]));
|
|
if (item.saleDetailDTOList) {
|
|
for (var i = 0; i < item.saleDetailDTOList.length; i++) {
|
|
that.carList.push(item.saleDetailDTOList[i]);
|
|
}
|
|
}
|
|
} else {
|
|
setTimeout(function (res) {
|
|
that.tui.toast('您的店铺中暂无该商品!');
|
|
}, 1000);
|
|
}
|
|
} else {
|
|
that.tui.request("/app/product/getByBarcode", "POST", {
|
|
barcode: res.result
|
|
}, false, true).then(function (res1) {
|
|
if (res1.code == 200) {
|
|
that.productId = res1.result[0].id;
|
|
if (res1.result == '') {
|
|
that.tui.toast('您的店铺中暂无该商品!');
|
|
} else {
|
|
that.toggle('bottom', res1.result[0].id);
|
|
if (item.saleDetailDTOList) {
|
|
for (var _i = 0; _i < item.saleDetailDTOList.length; _i++) {
|
|
that.carList.push(item.saleDetailDTOList[_i]);
|
|
}
|
|
}
|
|
}
|
|
} else {
|
|
that.tui.toast(res.message);
|
|
}
|
|
}).catch(function (res) {
|
|
that.tui.toast(res);
|
|
});
|
|
}
|
|
},
|
|
fail: function fail(res) {
|
|
uni.showToast({
|
|
title: '扫描失败',
|
|
icon: 'none'
|
|
});
|
|
}
|
|
});
|
|
},
|
|
//点击规格选择后,下方出现所选规格和库存数
|
|
attrNameChange: function attrNameChange(index, data1, index1) {
|
|
var _this6 = this;
|
|
this.goodsDetail.attributeList[index].isChecked = !this.goodsDetail.attributeList[index].isChecked;
|
|
this.goodsDetail.attributeList[index].value[index1].isChecked = !this.goodsDetail.attributeList[index].value[index1].isChecked;
|
|
if (this.goodsList[index].specs.indexOf(data1) != -1) {
|
|
this.goodsList[index].specs.splice(this.goodsList[index].specs.indexOf(data1), 1);
|
|
} else {
|
|
this.goodsList[index].specs.push(data1);
|
|
}
|
|
var jishuqi = 0;
|
|
for (var i = 0; i < this.goodsList.length; i++) {
|
|
if (this.goodsList[i].specs.length > 0) {
|
|
jishuqi++;
|
|
}
|
|
}
|
|
var resultList = [];
|
|
if (jishuqi == this.goodsList.length) {
|
|
resultList = this.combination(this.goodsList);
|
|
}
|
|
this.evalue = [];
|
|
var value = [];
|
|
for (var m = 0; m < resultList.length; m++) {
|
|
var name = '';
|
|
var value1 = "{";
|
|
for (var j = 0; j < resultList[m].length; j++) {
|
|
if (j != resultList[m].length - 1) {
|
|
name += resultList[m][j] + '/';
|
|
value1 += '"' + this.dataObj.get(resultList[m][j]) + '":"' + resultList[m][j] + '",';
|
|
} else {
|
|
name += resultList[m][j];
|
|
value1 += '"' + this.dataObj.get(resultList[m][j]) + '":"' + resultList[m][j] + '"';
|
|
}
|
|
}
|
|
value1 += "}";
|
|
value.push(value1);
|
|
this.evalue.push(name);
|
|
}
|
|
if (jishuqi == this.goodsList.length) {
|
|
for (var i = 0; i < value.length; i++) {
|
|
var isTrue = false;
|
|
for (var m = 0; m < this.temporaryList.length; m++) {
|
|
if (this.temporaryList[m].attributeList == value[i]) {
|
|
isTrue = true;
|
|
}
|
|
}
|
|
if (isTrue == false) {
|
|
this.attributeList = {
|
|
attributeList: value[i],
|
|
productCount: this.temporaryNum,
|
|
productNum: null,
|
|
name: this.evalue[i],
|
|
price: this.purchasePrice
|
|
};
|
|
this.temporaryList.push(this.attributeList);
|
|
}
|
|
}
|
|
}
|
|
this.$forceUpdate();
|
|
this.$nextTick(function () {
|
|
for (var i = 0; i < _this6.temporaryList.length; i++) {
|
|
for (var m = 0; m < _this6.pecsList.length; m++) {
|
|
if (_this6.temporaryList[i].attributeList == _this6.pecsList[m].attributeList) {
|
|
_this6.temporaryList[i].productNum = _this6.pecsList[m].stockCount;
|
|
}
|
|
}
|
|
}
|
|
});
|
|
},
|
|
//输入商品自定义金额
|
|
changePay: function changePay(e) {
|
|
this.purchasePrice = e.detail.value;
|
|
},
|
|
temporaryChange: function temporaryChange(val) {
|
|
this.zNum = 0;
|
|
for (var i = 0; i < this.temporaryList.length; i++) {
|
|
this.zNum += this.temporaryList[i].productCount;
|
|
}
|
|
this.zPrice = this.zNum * this.purchasePrice;
|
|
},
|
|
shareHangOrder: function shareHangOrder(item) {
|
|
var _this7 = this;
|
|
this.tui.request("/app/sale/get/" + item.id, "GET", {
|
|
customerId: item.userId
|
|
}, false, false).then(function (res) {
|
|
if (res.code == 200 && res.result != null && res.result != undefined) {
|
|
_this7.sales = res.result.sale;
|
|
var customer = res.result.customer;
|
|
_this7.mini_program_openid = res.result.customer.miniProgramOpenid;
|
|
_this7.official_account_openid = res.result.customer.officialAccountOpenid;
|
|
_this7.unionid = res.result.customer.unionid;
|
|
//ai挂单,没有金额,需计算
|
|
if (_this7.sales.aiFlag == '2') {
|
|
_this7.sales.productCount = 0;
|
|
_this7.sales.totalAmount = 0;
|
|
var _loop = function _loop(i) {
|
|
if (res.result.saleDetailDTOList[i].discountAmount == null) {
|
|
if (customer.categoryId != '') {
|
|
//有客户价格
|
|
var customerCategoryRule = JSON.parse(res.result.saleDetailDTOList[i].customerCategoryRule);
|
|
for (var s = 0; s < customerCategoryRule.length; s++) {
|
|
var isCategoryPrice = false;
|
|
if (customer.categoryId == customerCategoryRule[s].categoryId) {
|
|
res.result.saleDetailDTOList[i].discountAmount = customerCategoryRule[s].categoryPrice;
|
|
isCategoryPrice = true;
|
|
}
|
|
if (s + 1 == customerCategoryRule.length && isCategoryPrice == false) {
|
|
res.result.saleDetailDTOList[i].discountAmount = res.result.saleDetailDTOList[i].wholesalePrice;
|
|
}
|
|
}
|
|
} else {
|
|
//没有客户价格
|
|
res.result.saleDetailDTOList[i].discountAmount = res.result.saleDetailDTOList[i].wholesalePrice;
|
|
}
|
|
}
|
|
res.result.saleDetailDTOList[i].productCount = 0;
|
|
for (var m = 0; m < res.result.saleDetailDTOList[i].stockLogList1.length; m++) {
|
|
res.result.saleDetailDTOList[i].productCount += res.result.saleDetailDTOList[i].stockLogList1[m].productCount;
|
|
}
|
|
setTimeout(function (res1) {
|
|
res.result.saleDetailDTOList[i].realPrice = res.result.saleDetailDTOList[i].productCount * res.result.saleDetailDTOList[i].discountAmount;
|
|
_this7.sales.totalAmount += res.result.saleDetailDTOList[i].realPrice;
|
|
_this7.sales.productCount += res.result.saleDetailDTOList[i].productCount;
|
|
}, 100);
|
|
};
|
|
for (var i = 0; i < res.result.saleDetailDTOList.length; i++) {
|
|
_loop(i);
|
|
}
|
|
}
|
|
_this7.getReturnOrder1(item.id);
|
|
}
|
|
}).catch(function (res) {});
|
|
this.$refs.sharePopup.open();
|
|
},
|
|
//退款接口
|
|
getReturnOrder1: function getReturnOrder1(id) {
|
|
var _this8 = 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 = _this8;
|
|
_context3.next = 3;
|
|
return _this8.tui.request("/app/return/list", "post", {
|
|
remark: 3,
|
|
saleId: id
|
|
}, false, false).then(function (res) {
|
|
if (res.code == 200 && res.result != null && res.result != undefined) {
|
|
if (res.result != '') {
|
|
_this8.returnPrice = 0;
|
|
_this8.returnNum = 0;
|
|
res.result.forEach(function (item) {
|
|
that.returnPrice += item.totalAmount;
|
|
that.returnNum += item.productCount;
|
|
});
|
|
}
|
|
} else {
|
|
_this8.tui.toast(res.message);
|
|
}
|
|
});
|
|
case 3:
|
|
case "end":
|
|
return _context3.stop();
|
|
}
|
|
}
|
|
}, _callee3);
|
|
}))();
|
|
},
|
|
clickClose: function clickClose() {
|
|
this.evalue = [];
|
|
this.allChangeNum = 0;
|
|
},
|
|
//弹窗选择规格后,点击弹窗中选好了按钮
|
|
temporaryCheck: function temporaryCheck() {
|
|
this.evalue = [];
|
|
if (this.storageType == 0 && this.purchasePrice == 0) {
|
|
uni.showToast({
|
|
title: "请输入实际价格!",
|
|
icon: 'none'
|
|
});
|
|
} else {
|
|
for (var i = 0; i < this.temporaryList.length; i++) {
|
|
if (this.temporaryList[i].productCount <= 0) {
|
|
this.tui.toast("商品数量不能为零!");
|
|
return;
|
|
}
|
|
}
|
|
var data = {
|
|
discount: 10,
|
|
productId: this.goodsDetail.id,
|
|
realPrice: this.zPrice,
|
|
productCount: this.zNum,
|
|
discountAmount: this.purchasePrice,
|
|
unitPrice: this.purchasePrice,
|
|
categoryId: this.goodsDetail.categoryId,
|
|
productName: this.goodsDetail.productName,
|
|
productSn: this.goodsDetail.productSn,
|
|
productPicture: this.goodsDetail.productPicture,
|
|
supplierName: this.goodsDetail.supplierName,
|
|
stockLogList1: this.temporaryList
|
|
};
|
|
this.carList.push(data);
|
|
this.purchasePrice = '';
|
|
this.temporaryList = [];
|
|
this.zPrice = '';
|
|
this.zNum = '';
|
|
for (var _i2 = 0; _i2 < this.goodsDetail.attributeList.length; _i2++) {
|
|
this.goodsDetail.attributeList[_i2].isChecked = false;
|
|
for (var m = 0; m < this.goodsDetail.attributeList[_i2].value.length; m++) {
|
|
this.goodsDetail.attributeList[_i2].value[m].isChecked = false;
|
|
}
|
|
}
|
|
this.setSaleDetail();
|
|
this.$refs.shopPopup.close();
|
|
}
|
|
},
|
|
//保存扫码选择的商品、删除整条商品数据都用这个方法
|
|
setSaleDetail: function setSaleDetail() {
|
|
var _this9 = this;
|
|
this.tui.request("/app/sale/setSaleDetail", "post", {
|
|
saleDetailList: this.carList,
|
|
saleId: this.hangId
|
|
}, false, false).then(function (res) {
|
|
if (res.code == 200) {
|
|
_this9.pageNumber = 1;
|
|
_this9.regList = [];
|
|
_this9.getRegList();
|
|
_this9.carList = [];
|
|
} else {
|
|
_this9.tui.toast(res.message);
|
|
}
|
|
}).catch(function (res) {});
|
|
},
|
|
//弹出商品规格选择
|
|
toggle: function toggle(type, id) {
|
|
this.type = type;
|
|
if (type == 'bottom') {
|
|
this.allChangeNum = 0;
|
|
this.getById(id);
|
|
} else {
|
|
wx.vibrateShort();
|
|
this.initRecord();
|
|
this.voiceText = id.remark;
|
|
this.list = id;
|
|
this.$refs.popup.open(type);
|
|
}
|
|
},
|
|
AiOpenOrder: function AiOpenOrder(type) {
|
|
if (type == 'AI') {
|
|
uni.navigateTo({
|
|
url: '/package1/index/peopleList?popleType=khName'
|
|
});
|
|
} else {
|
|
uni.setStorageSync('hangOrderType', 'scanCode');
|
|
uni.navigateTo({
|
|
url: '/package1/index/peopleList?popleType=khName'
|
|
});
|
|
}
|
|
},
|
|
backPage: function backPage() {
|
|
uni.navigateBack({
|
|
delta: 2
|
|
});
|
|
},
|
|
delItem: function delItem(id) {
|
|
var that = this;
|
|
uni.showModal({
|
|
title: "提示",
|
|
content: "确定删除此条挂单吗?",
|
|
success: function success(res) {
|
|
if (res.confirm) {
|
|
that.tui.request("/app/sale/delById", "post", {
|
|
id: id
|
|
}, false, true).then(function (res) {
|
|
if (res.code == 200) {
|
|
that.pageNumber = 1;
|
|
that.regList = [];
|
|
that.getRegList();
|
|
uni.showToast({
|
|
title: "删除成功",
|
|
icon: 'none'
|
|
});
|
|
} else {
|
|
uni.showToast({
|
|
title: "删除失败",
|
|
icon: 'none'
|
|
});
|
|
}
|
|
}).catch(function (res) {});
|
|
}
|
|
}
|
|
});
|
|
},
|
|
goGoods: function goGoods(item) {
|
|
var _this10 = this;
|
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4() {
|
|
var that;
|
|
return _regenerator.default.wrap(function _callee4$(_context4) {
|
|
while (1) {
|
|
switch (_context4.prev = _context4.next) {
|
|
case 0:
|
|
that = _this10;
|
|
if (!(item.aiNotRecognition != '' && item.aiNotRecognition != null)) {
|
|
_context4.next = 5;
|
|
break;
|
|
}
|
|
uni.showModal({
|
|
title: "提示",
|
|
content: item.aiNotRecognition + '确认去开单吗?',
|
|
success: function success(res) {
|
|
if (res.confirm) {
|
|
that.goSaleGoods(item);
|
|
}
|
|
}
|
|
});
|
|
_context4.next = 11;
|
|
break;
|
|
case 5:
|
|
if (!(item.aiNotRecognition == '' && item.saleDetailDTOList == null)) {
|
|
_context4.next = 9;
|
|
break;
|
|
}
|
|
uni.showModal({
|
|
title: "提示",
|
|
content: '未识别到商品,确认去开单吗?',
|
|
success: function success(res) {
|
|
if (res.confirm) {
|
|
that.goSaleGoods(item);
|
|
}
|
|
}
|
|
});
|
|
_context4.next = 11;
|
|
break;
|
|
case 9:
|
|
_context4.next = 11;
|
|
return _this10.getReturnOrder(item);
|
|
case 11:
|
|
case "end":
|
|
return _context4.stop();
|
|
}
|
|
}
|
|
}, _callee4);
|
|
}))();
|
|
},
|
|
getReturnOrder: function getReturnOrder(id) {
|
|
var _this11 = this;
|
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee5() {
|
|
var that;
|
|
return _regenerator.default.wrap(function _callee5$(_context5) {
|
|
while (1) {
|
|
switch (_context5.prev = _context5.next) {
|
|
case 0:
|
|
that = _this11;
|
|
_context5.next = 3;
|
|
return _this11.tui.request("/app/return/list", "post", {
|
|
remark: 3,
|
|
saleId: id.id
|
|
}, false, false).then(function (res) {
|
|
if (res.code == 200 && res.result != null && res.result != undefined) {
|
|
if (res.result != '') {
|
|
if (res.result == []) {
|
|
_this11.$nextTick(function () {
|
|
uni.showModal({
|
|
title: "提示",
|
|
content: '确认去开单吗?',
|
|
success: function success(res) {
|
|
if (res.confirm) {
|
|
that.goSaleGoods(id);
|
|
} else {
|
|
that.returnList = new Map();
|
|
}
|
|
}
|
|
});
|
|
});
|
|
} else {
|
|
res.result.forEach(function (item) {
|
|
_this11.tui.request("/app/return/get/" + item.id, "GET", null, false, false).then(function (res) {
|
|
if (res.code == 200 && res.result != null && res.result != undefined) {
|
|
for (var i = 0; i < res.result.saleDetailDTOList.length; i++) {
|
|
res.result.saleDetailDTOList[i].returnPrice = res.result.saleDetailDTOList[i].discountAmount;
|
|
res.result.saleDetailDTOList[i].stockLogList = new Map();
|
|
that.returnList.set(res.result.saleDetailDTOList[i].productId, res.result.saleDetailDTOList[i]);
|
|
for (var m = 0; m < res.result.saleDetailDTOList[i].stockLogList1.length; m++) {
|
|
res.result.saleDetailDTOList[i].stockLogList1[m].productCount = 0 - res.result.saleDetailDTOList[i].stockLogList1[m].productCount;
|
|
that.returnList.get(res.result.saleDetailDTOList[i].productId).stockLogList.set(res.result.saleDetailDTOList[i].stockLogList1[m].attributeList, res.result.saleDetailDTOList[i].stockLogList1[m]);
|
|
}
|
|
}
|
|
_this11.$nextTick(function () {
|
|
uni.showModal({
|
|
title: "提示",
|
|
content: '确认去开单吗?',
|
|
success: function success(res) {
|
|
if (res.confirm) {
|
|
that.goSaleGoods(id);
|
|
} else {
|
|
that.returnList = new Map();
|
|
}
|
|
}
|
|
});
|
|
});
|
|
}
|
|
}).catch(function (res) {});
|
|
});
|
|
}
|
|
} else {
|
|
_this11.$nextTick(function () {
|
|
uni.showModal({
|
|
title: "提示",
|
|
content: '确认去开单吗?',
|
|
success: function success(res) {
|
|
if (res.confirm) {
|
|
that.goSaleGoods(id);
|
|
} else {
|
|
that.returnList = new Map();
|
|
}
|
|
}
|
|
});
|
|
});
|
|
}
|
|
} else {
|
|
_this11.$nextTick(function () {
|
|
uni.showModal({
|
|
title: "提示",
|
|
content: '确认去开单吗?',
|
|
success: function success(res) {
|
|
if (res.confirm) {
|
|
that.goSaleGoods(id);
|
|
} else {
|
|
that.returnList = new Map();
|
|
}
|
|
}
|
|
});
|
|
});
|
|
_this11.tui.toast(res.message);
|
|
}
|
|
});
|
|
case 3:
|
|
case "end":
|
|
return _context5.stop();
|
|
}
|
|
}
|
|
}, _callee5);
|
|
}))();
|
|
},
|
|
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;
|
|
},
|
|
//把unitPrice变成折前价,用于去开单的时候切换折扣
|
|
getUnitPrice: function getUnitPrice(item, items) {
|
|
if (item.discount != 10) {
|
|
if (item.discount == null || item.discount == 0 || item.discount == undefined) {
|
|
return items.discountAmount;
|
|
} else {
|
|
return (items.discountAmount * 10000 / (item.discount * 100) / 10).toFixed(2);
|
|
}
|
|
} else if (items.discount != 10) {
|
|
if (items.discount == null || items.discount == 0 || items.discount == undefined) {
|
|
return items.discountAmount;
|
|
} else {
|
|
return (items.discountAmount * 10000 / (items.discount * 100) / 10).toFixed(2);
|
|
}
|
|
} else {
|
|
return items.discountAmount || items.wholesalePrice;
|
|
}
|
|
},
|
|
//带参数跳转到开单页
|
|
goSaleGoods: function goSaleGoods(item) {
|
|
var _this12 = this;
|
|
var dataList = [];
|
|
if (item.saleDetailDTOList == null || item.saleDetailDTOList == '') {
|
|
item.saleDetailDTOList = [];
|
|
}
|
|
this.returnList.forEach(function (value, key) {
|
|
item.saleDetailDTOList.push(value);
|
|
});
|
|
item.discount = item.discount == null ? 10 : item.discount;
|
|
if (item.saleDetailDTOList.length > 0) {
|
|
for (var i = 0; i < item.saleDetailDTOList.length; i++) {
|
|
var obj = {};
|
|
var attrMap = new Map();
|
|
var newSaleDetailDTOList = [];
|
|
var num = 0;
|
|
for (var m = 0; m < item.saleDetailDTOList[i].stockLogList1.length; m++) {
|
|
if (attrMap.has(item.saleDetailDTOList[i].stockLogList1[m].attributeList) == true) {
|
|
var hasCount = attrMap.get(item.saleDetailDTOList[i].stockLogList1[m].attributeList);
|
|
newSaleDetailDTOList[hasCount].productCount = Number(newSaleDetailDTOList[hasCount].productCount) + Number(item.saleDetailDTOList[i].stockLogList1[m].productCount);
|
|
} else {
|
|
item.saleDetailDTOList[i].stockLogList1[m].name = this.sliceMsg(item.saleDetailDTOList[i].stockLogList1[m].attributeList);
|
|
newSaleDetailDTOList.push(item.saleDetailDTOList[i].stockLogList1[m]);
|
|
attrMap.set(item.saleDetailDTOList[i].stockLogList1[m].attributeList, num);
|
|
num++;
|
|
}
|
|
}
|
|
obj.attrId = item.saleDetailDTOList[i].attrId;
|
|
obj.saleDetailQueryDTO = newSaleDetailDTOList;
|
|
obj.num = 0;
|
|
obj.buyCount = item.saleDetailDTOList[i].buyCount;
|
|
obj.customerCategoryRule = item.saleDetailDTOList[i].customerCategoryRule != null ? JSON.parse(item.saleDetailDTOList[i].customerCategoryRule) : null;
|
|
obj.discount = item.saleDetailDTOList[i].discount;
|
|
obj.id = item.saleDetailDTOList[i].productId;
|
|
obj.price = item.saleDetailDTOList[i].price;
|
|
obj.lsprice = item.saleDetailDTOList[i].price;
|
|
obj.categoryId = item.saleDetailDTOList[i].categoryId;
|
|
obj.zPrice = item.saleDetailDTOList[i].discountAmount;
|
|
obj.unitPrice = this.getUnitPrice(item, item.saleDetailDTOList[i]);
|
|
obj.discountAmount = item.saleDetailDTOList[i].discountAmount;
|
|
obj.productName = item.saleDetailDTOList[i].productName;
|
|
if (item.saleDetailDTOList[i].productPicture != null && item.saleDetailDTOList[i].productPicture != '') {
|
|
obj.productPicture = item.saleDetailDTOList[i].productPicture + '?time=' + new Date().getTime();
|
|
} else {
|
|
obj.productPicture = "";
|
|
}
|
|
obj.productSn = item.saleDetailDTOList[i].productSn;
|
|
obj.wholesalePrice = item.saleDetailDTOList[i].wholesalePrice;
|
|
obj.returnPrice = item.saleDetailDTOList[i].returnPrice;
|
|
obj.saleId = item.id;
|
|
obj.remark = item.remark;
|
|
obj.xsyId = item.createBy;
|
|
obj.createByName = item.createByName;
|
|
dataList.push(obj);
|
|
}
|
|
} else {
|
|
var _obj = {};
|
|
_obj.num = 0;
|
|
_obj.price = 0;
|
|
_obj.saleId = item.id;
|
|
_obj.remark = item.remark;
|
|
_obj.xsyId = item.createBy;
|
|
_obj.createByName = item.createByName;
|
|
dataList.push(_obj);
|
|
}
|
|
setTimeout(function (res11) {
|
|
_this12.tui.request("/app/debt/selectByUserId", "post", {
|
|
shopId: uni.getStorageSync('shopId'),
|
|
userId: item.userId
|
|
}, false, true).then(function (res) {
|
|
if (res.code == 200) {
|
|
_this12.returnList = new Map();
|
|
res.result.name = res.result.userName;
|
|
res.result.id = res.result.userId;
|
|
res.result.noEarn = res.result.amountOwed;
|
|
uni.setStorageSync('khName', JSON.stringify(res.result));
|
|
uni.setStorageSync('carList1', JSON.stringify(dataList));
|
|
uni.setStorageSync('discountAll', item.discount != null ? item.discount : 10);
|
|
uni.setStorageSync('hangOrder', true);
|
|
var windowWidth = '1';
|
|
if (uni.getStorageSync('shopName').indexOf('杰娜世家') != -1) {
|
|
windowWidth = '0';
|
|
}
|
|
if (windowWidth == '1') {
|
|
uni.switchTab({
|
|
url: '/pages/inventory/goodsList1'
|
|
});
|
|
} else {
|
|
uni.navigateTo({
|
|
url: '/package2/inventory/goodsList1HENG'
|
|
});
|
|
}
|
|
}
|
|
});
|
|
}, 500);
|
|
},
|
|
//点击切换折叠状态
|
|
clickCollapse: function clickCollapse(item, index) {
|
|
item.isCollapse = !item.isCollapse;
|
|
this.getReturnOrders(item.id, index);
|
|
},
|
|
//退款接口
|
|
getReturnOrders: function getReturnOrders(id, index) {
|
|
var _this13 = this;
|
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee6() {
|
|
var that;
|
|
return _regenerator.default.wrap(function _callee6$(_context6) {
|
|
while (1) {
|
|
switch (_context6.prev = _context6.next) {
|
|
case 0:
|
|
that = _this13;
|
|
_this13.regList[index].returnList = [];
|
|
_context6.next = 4;
|
|
return _this13.tui.request("/app/return/list", "post", {
|
|
remark: 3,
|
|
saleId: id
|
|
}, false, false).then(function (res1) {
|
|
if (res1.code == 200 && res1.result != null && res1.result != undefined) {
|
|
if (res1.result != '') {
|
|
_this13.inventoryList = res1.result;
|
|
_this13.inventoryList.forEach(function (item) {
|
|
_this13.tui.request("/app/return/get/" + item.id, "GET", null, false, false).then(function (res) {
|
|
if (res.code == 200 && res.result != null && res.result != undefined) {
|
|
_this13.regList[index].returnList.push(res.result.saleDetailDTOList);
|
|
}
|
|
}).catch(function (res) {});
|
|
});
|
|
}
|
|
} else {
|
|
_this13.tui.toast(res.message);
|
|
}
|
|
});
|
|
case 4:
|
|
case "end":
|
|
return _context6.stop();
|
|
}
|
|
}
|
|
}, _callee6);
|
|
}))();
|
|
},
|
|
//查看大图
|
|
largeImg: function largeImg(img) {
|
|
this.bigImg = img;
|
|
this.$refs.imgPopup.open();
|
|
},
|
|
//选择是零售价还是批发价
|
|
checkPay: function checkPay(price) {
|
|
this.purchasePrice = price;
|
|
this.$refs.payDialog.close();
|
|
this.temporaryChange();
|
|
},
|
|
//编辑挂单信息
|
|
setDetail: function setDetail(e) {
|
|
var _this14 = this;
|
|
this.tui.request("/app/sale/updateOrder", "POST", {
|
|
saleName: e.detail ? '' : e,
|
|
id: this.list.id,
|
|
remark: this.voiceText
|
|
}, false, false).then(function (res) {
|
|
if (res.code == 200) {
|
|
_this14.value = '';
|
|
_this14.voiceText = '';
|
|
_this14.tui.toast("编辑成功");
|
|
_this14.getRegList();
|
|
_this14.$refs.popup.close();
|
|
} else {
|
|
_this14.tui.toast(res.message);
|
|
}
|
|
}).catch(function (res) {
|
|
_this14.tui.toast(res);
|
|
});
|
|
},
|
|
//新增挂单弹窗
|
|
inputDialogToggle: function inputDialogToggle(type, list) {
|
|
this.value = '';
|
|
this.$refs.payDialog.open();
|
|
},
|
|
//通过商品id查询商品详细信息
|
|
getById: function getById(id) {
|
|
var _this15 = this;
|
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee7() {
|
|
return _regenerator.default.wrap(function _callee7$(_context7) {
|
|
while (1) {
|
|
switch (_context7.prev = _context7.next) {
|
|
case 0:
|
|
_this15.temporaryList = [];
|
|
_context7.next = 3;
|
|
return _this15.tui.request("/app/product/getById/" + id, "POST", {}, false, true).then(function (res) {
|
|
if (res.code == 200) {
|
|
if (res.result.delFlag == 0 || res.result.purchasePrice == null || res.result.inStorageStatus == 0) {
|
|
_this15.tui.toast("请将商品上架或入库后再操作!");
|
|
} else {
|
|
_this15.goodsDetail = res.result;
|
|
_this15.purchasePrice = _this15.goodsDetail.wholesalePrice;
|
|
_this15.tui.request("/app/productAttribute/selectAttributeAndValueByCategoryId", "POST", {
|
|
categoryId: _this15.goodsDetail.attrId
|
|
}, false, true).then(function (res1) {
|
|
if (res1.code == 200) {
|
|
_this15.goodsList = [];
|
|
_this15.$refs.shopPopup.open('bottom');
|
|
if (typeof res1.result.attributeAndValue == 'string') {
|
|
var newObj = JSON.parse(res1.result.attributeAndValue);
|
|
var newArr = [];
|
|
for (var val in newObj) {
|
|
var valueObj = [];
|
|
for (var i = 0; i < newObj[val].length; i++) {
|
|
valueObj.push({
|
|
value: newObj[val][i],
|
|
isChecked: false
|
|
});
|
|
_this15.dataObj.set(newObj[val][i], val);
|
|
}
|
|
newArr.push({
|
|
name: val,
|
|
value: valueObj
|
|
});
|
|
}
|
|
_this15.goodsDetail.attributeList = newArr;
|
|
_this15.goodsDetail.attributeList.forEach(function (item, index) {
|
|
var specs1 = {
|
|
specs: []
|
|
};
|
|
_this15.goodsList.push(specs1);
|
|
});
|
|
}
|
|
_this15.getKCList(res1.result.stock);
|
|
} else {
|
|
_this15.tui.toast(res.message);
|
|
}
|
|
}).catch(function (res) {});
|
|
}
|
|
} else {
|
|
_this15.tui.toast(res.message);
|
|
}
|
|
}).catch(function (res) {});
|
|
case 3:
|
|
case "end":
|
|
return _context7.stop();
|
|
}
|
|
}
|
|
}, _callee7);
|
|
}))();
|
|
},
|
|
//库存商品详情
|
|
getKCList: function getKCList(list) {
|
|
var _this16 = this;
|
|
this.yanseList = new Map();
|
|
this.chimaList = new Map();
|
|
this.pecsList = list;
|
|
var _loop2 = function _loop2(i) {
|
|
var attributeList = JSON.parse(list[i].attributeList);
|
|
Object.keys(attributeList).forEach(function (key) {
|
|
if (key == '颜色') {
|
|
if (_this16.yanseList.has(attributeList[key]) != true) {
|
|
_this16.yanseList.set(attributeList[key], attributeList[key]);
|
|
}
|
|
} else {
|
|
if (_this16.chimaList.has(attributeList[key]) != true) {
|
|
_this16.chimaList.set(attributeList[key], attributeList[key]);
|
|
}
|
|
}
|
|
});
|
|
};
|
|
for (var i = 0; i < list.length; i++) {
|
|
_loop2(i);
|
|
}
|
|
for (var _i3 = 0; _i3 < this.goodsDetail.attributeList[0].value.length; _i3++) {
|
|
//颜色
|
|
if (this.yanseList.has(this.goodsDetail.attributeList[0].value[_i3].value) == true) {
|
|
this.goodsDetail.attributeList[0].value[_i3].isKucun = true;
|
|
}
|
|
}
|
|
for (var _i4 = 0; _i4 < this.goodsDetail.attributeList[1].value.length; _i4++) {
|
|
//尺码
|
|
if (this.chimaList.has(this.goodsDetail.attributeList[1].value[_i4].value) == true) {
|
|
this.goodsDetail.attributeList[1].value[_i4].isKucun = true;
|
|
}
|
|
}
|
|
},
|
|
//保存已选
|
|
saveCheck: function saveCheck() {
|
|
this.pageOldTemList = this.temporaryList;
|
|
for (var i = 0; i < this.goodsDetail.attributeList.length; i++) {
|
|
this.goodsList[i].specs = [];
|
|
for (var m = 0; m < this.goodsDetail.attributeList[i].value.length; m++) {
|
|
this.goodsDetail.attributeList[i].value[m].isChecked = false;
|
|
}
|
|
}
|
|
},
|
|
combination: function combination(arr) {
|
|
var result = [[]];
|
|
arr.map(function (x) {
|
|
var res = [];
|
|
result.map(function (y) {
|
|
x.specs.map(function (z) {
|
|
res.push([].concat((0, _toConsumableArray2.default)(y), [z]));
|
|
});
|
|
});
|
|
result = res;
|
|
});
|
|
return result;
|
|
},
|
|
obtainPrice: function obtainPrice(e, type, num) {
|
|
this.linshiPrice = e.target.value;
|
|
if (type == 'zongjishu') {
|
|
this.allChangeNum = '';
|
|
} else if (type == 'danjishu') {
|
|
this.temporaryList[num].productCount = '';
|
|
this.$forceUpdate();
|
|
}
|
|
},
|
|
numChange: function numChange(e, index) {
|
|
if (this.linshiPrice == e.target.value) {
|
|
this.temporaryList[index].productCount = Number(e.target.value);
|
|
} else {
|
|
if (e.detail.value == '') {
|
|
this.temporaryList[index].productCount = Number(this.linshiPrice);
|
|
} else if (e.detail.value == 0) {
|
|
this.temporaryList[index].productCount = 0;
|
|
} else {
|
|
this.temporaryList[index].productCount = Number(e.detail.value);
|
|
}
|
|
this.$forceUpdate();
|
|
}
|
|
this.temporaryChange();
|
|
},
|
|
yuyinChange: function yuyinChange() {
|
|
this.isVoice = false;
|
|
},
|
|
oneMinusNum: function oneMinusNum(index, index1) {
|
|
var _this17 = this;
|
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee8() {
|
|
var that;
|
|
return _regenerator.default.wrap(function _callee8$(_context8) {
|
|
while (1) {
|
|
switch (_context8.prev = _context8.next) {
|
|
case 0:
|
|
that = _this17;
|
|
_this17.carList.get(index).productCount = 0;
|
|
_this17.carList.get(index).returnCount = 0;
|
|
_this17.carList.get(index).stockLogList.get(index1).productCount--;
|
|
_context8.next = 6;
|
|
return _this17.carList.get(index).stockLogList.forEach(function (value, key) {
|
|
if (value.productCount < 0) {
|
|
that.carList.get(index).returnCount = that.carList.get(index).returnCount + Math.abs(value.productCount);
|
|
} else {
|
|
that.carList.get(index).productCount = that.carList.get(index).productCount + value.productCount;
|
|
}
|
|
});
|
|
case 6:
|
|
_context8.next = 8;
|
|
return _this17.$nextTick(function () {
|
|
// if (that.discountType != 0) { //单品折扣
|
|
that.carList.get(index).price = that.carList.get(index).productCount * that.carList.get(index).discountAmount;
|
|
// }
|
|
});
|
|
case 8:
|
|
_this17.$forceUpdate();
|
|
_this17.getAllPrice();
|
|
case 10:
|
|
case "end":
|
|
return _context8.stop();
|
|
}
|
|
}
|
|
}, _callee8);
|
|
}))();
|
|
},
|
|
onePlusNum: function onePlusNum(index, index1) {
|
|
var that = this;
|
|
this.carList.get(index).productCount = 0;
|
|
this.carList.get(index).returnCount = 0;
|
|
this.carList.get(index).stockLogList.get(index1).productCount++;
|
|
this.carList.get(index).stockLogList.forEach(function (value, key) {
|
|
if (value.productCount < 0) {
|
|
that.carList.get(index).returnCount = that.carList.get(index).returnCount + Math.abs(value.productCount);
|
|
} else {
|
|
that.carList.get(index).productCount = that.carList.get(index).productCount + value.productCount;
|
|
}
|
|
});
|
|
this.$nextTick(function () {
|
|
// if (that.discountType != 0) { //单品折扣
|
|
that.carList.get(index).price = that.carList.get(index).productCount * that.carList.get(index).discountAmount;
|
|
// }
|
|
});
|
|
|
|
this.getAllPrice();
|
|
},
|
|
allChange: function allChange(e) {
|
|
if (this.linshiPrice == e.target.value) {
|
|
this.allChangeNum = e.target.value;
|
|
} else {
|
|
if (e.target.value == '') {
|
|
this.allChangeNum = this.linshiPrice;
|
|
} else {
|
|
this.allChangeNum = e.target.value;
|
|
}
|
|
}
|
|
//监听到输入框改变,给所有的都赋值
|
|
if (this.isPlusAndMinus == false) {
|
|
for (var i = 0; i < this.temporaryList.length; i++) {
|
|
if (this.evalue.length == 0) {
|
|
this.temporaryList[i].productCount = Number(this.allChangeNum);
|
|
} else {
|
|
for (var j = 0; j < this.evalue.length; j++) {
|
|
if (this.evalue[j] == this.temporaryList[i].name) {
|
|
this.temporaryList[i].productCount = Number(this.allChangeNum);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
this.isPlusAndMinus == false;
|
|
this.temporaryChange();
|
|
},
|
|
plusNum: function plusNum() {
|
|
this.isPlusAndMinus == true;
|
|
//监听到点击+的操作,给所有的都+1
|
|
for (var i = 0; i < this.temporaryList.length; i++) {
|
|
if (this.evalue.length == 0) {
|
|
if (this.temporaryList[i].productCount == undefined) {
|
|
this.temporaryList[i].productCount = 1;
|
|
} else {
|
|
this.temporaryList[i].productCount++;
|
|
}
|
|
} else {
|
|
for (var j = 0; j < this.evalue.length; j++) {
|
|
if (this.evalue[j] == this.temporaryList[i].name) {
|
|
if (this.temporaryList[i].productCount == undefined) {
|
|
this.temporaryList[i].productCount = 1;
|
|
} else {
|
|
this.temporaryList[i].productCount++;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
this.temporaryChange();
|
|
},
|
|
minusNum: function minusNum() {
|
|
this.isPlusAndMinus == true;
|
|
//监听到点击-的操作,给所有的都-1
|
|
for (var i = 0; i < this.temporaryList.length; i++) {
|
|
if (this.evalue.length == 0) {
|
|
this.temporaryList[i].productCount--;
|
|
} else {
|
|
for (var j = 0; j < this.evalue.length; j++) {
|
|
if (this.evalue[j] == this.temporaryList[i].name) {
|
|
this.temporaryList[i].productCount--;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
this.temporaryChange();
|
|
},
|
|
//清空语音输入的文字
|
|
clearText: function clearText() {
|
|
this.voiceText = '';
|
|
},
|
|
//删除整条商品
|
|
delGoods: function delGoods(item, productId) {
|
|
var that = this;
|
|
this.hangId = item.id;
|
|
uni.showModal({
|
|
title: "提示",
|
|
content: "确定删除此条商品吗?",
|
|
success: function success(res) {
|
|
if (res.confirm) {
|
|
for (var i = 0; i < item.saleDetailDTOList.length; i++) {
|
|
if (item.saleDetailDTOList[i].productId == productId) {
|
|
item.saleDetailDTOList.splice(item.saleDetailDTOList[i], 1);
|
|
}
|
|
}
|
|
that.carList = item.saleDetailDTOList;
|
|
that.setSaleDetail();
|
|
}
|
|
}
|
|
});
|
|
},
|
|
//选商品的时候能删除规格
|
|
delCarData: function delCarData(index) {
|
|
this.temporaryList.splice(index, 1);
|
|
this.temporaryChange();
|
|
},
|
|
//删除商品下的单条规格
|
|
delGoodsPrecs: function delGoodsPrecs(item, index, index1) {
|
|
var that = this;
|
|
this.hangId = item.id;
|
|
uni.showModal({
|
|
title: "提示",
|
|
content: "确定删除此条规格吗?",
|
|
success: function success(res) {
|
|
if (res.confirm) {
|
|
item.saleDetailDTOList[index].stockLogList1.splice(index1, 1);
|
|
that.carList = item.saleDetailDTOList;
|
|
that.setSaleDetail();
|
|
}
|
|
}
|
|
});
|
|
}
|
|
}
|
|
};
|
|
exports.default = _default;
|
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"], __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/wx.js */ 1)["default"]))
|
|
|
|
/***/ }),
|
|
|
|
/***/ 619:
|
|
/*!************************************************************************************************!*\
|
|
!*** C:/文档/distribution-uni/package1/AI/AIHangOrderList.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_AIHangOrderList_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!./AIHangOrderList.vue?vue&type=style&index=0&lang=scss& */ 620);
|
|
/* 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_AIHangOrderList_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_AIHangOrderList_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_AIHangOrderList_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_AIHangOrderList_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_AIHangOrderList_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
|
|
/***/ }),
|
|
|
|
/***/ 620:
|
|
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
!*** ./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:/文档/distribution-uni/package1/AI/AIHangOrderList.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; }
|
|
|
|
|
|
/***/ })
|
|
|
|
},[[613,"common/runtime","common/vendor"]]]);
|
|
//# sourceMappingURL=../../../.sourcemap/mp-weixin/package1/AI/AIHangOrderList.js.map
|