(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["pagesRefuel/orderDetail/index"],{ /***/ 375: /*!*****************************************************************************************************!*\ !*** D:/oil/newOil/oil-station/gasStation-uni/main.js?{"page":"pagesRefuel%2ForderDetail%2Findex"} ***! \*****************************************************************************************************/ /*! 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 _index = _interopRequireDefault(__webpack_require__(/*! ./pagesRefuel/orderDetail/index.vue */ 376)); // @ts-ignore wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__; createPage(_index.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"])) /***/ }), /***/ 376: /*!**********************************************************************************!*\ !*** D:/oil/newOil/oil-station/gasStation-uni/pagesRefuel/orderDetail/index.vue ***! \**********************************************************************************/ /*! no static exports found */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _index_vue_vue_type_template_id_29603b22_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./index.vue?vue&type=template&id=29603b22&scoped=true& */ 377); /* harmony import */ var _index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./index.vue?vue&type=script&lang=js& */ 379); /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _index_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 _index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); /* harmony import */ var _index_vue_vue_type_style_index_0_id_29603b22_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./index.vue?vue&type=style&index=0&id=29603b22&scoped=true&lang=scss& */ 381); /* harmony import */ var _1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 32); var renderjs /* normalize component */ var component = Object(_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])( _index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], _index_vue_vue_type_template_id_29603b22_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"], _index_vue_vue_type_template_id_29603b22_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], false, null, "29603b22", null, false, _index_vue_vue_type_template_id_29603b22_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"], renderjs ) component.options.__file = "pagesRefuel/orderDetail/index.vue" /* harmony default export */ __webpack_exports__["default"] = (component.exports); /***/ }), /***/ 377: /*!*****************************************************************************************************************************!*\ !*** D:/oil/newOil/oil-station/gasStation-uni/pagesRefuel/orderDetail/index.vue?vue&type=template&id=29603b22&scoped=true& ***! \*****************************************************************************************************************************/ /*! exports provided: render, staticRenderFns, recyclableRender, components */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_template_id_29603b22_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--17-0!../../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=template&id=29603b22&scoped=true& */ 378); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_template_id_29603b22_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_template_id_29603b22_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_template_id_29603b22_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_template_id_29603b22_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; }); /***/ }), /***/ 378: /*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./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!D:/oil/newOil/oil-station/gasStation-uni/pagesRefuel/orderDetail/index.vue?vue&type=template&id=29603b22&scoped=true& ***! \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns, recyclableRender, components */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; }); var components try { components = { uniIcons: function () { return Promise.all(/*! import() | node-modules/@dcloudio/uni-ui/lib/uni-icons/uni-icons */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/@dcloudio/uni-ui/lib/uni-icons/uni-icons")]).then(__webpack_require__.bind(null, /*! @dcloudio/uni-ui/lib/uni-icons/uni-icons.vue */ 537)) }, uCheckboxGroup: function () { return Promise.all(/*! import() | uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group.vue */ 719)) }, uCheckbox: function () { return Promise.all(/*! import() | uni_modules/uview-ui/components/u-checkbox/u-checkbox */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uview-ui/components/u-checkbox/u-checkbox")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uview-ui/components/u-checkbox/u-checkbox.vue */ 727)) }, } } 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 recyclableRender = false var staticRenderFns = [] render._withStripped = true /***/ }), /***/ 379: /*!***********************************************************************************************************!*\ !*** D:/oil/newOil/oil-station/gasStation-uni/pagesRefuel/orderDetail/index.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 _1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--13-1!../../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=script&lang=js& */ 380); /* harmony import */ var _1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_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 _1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); /* harmony default export */ __webpack_exports__["default"] = (_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); /***/ }), /***/ 380: /*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./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!D:/oil/newOil/oil-station/gasStation-uni/pagesRefuel/orderDetail/index.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 */ 55)); var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 57)); var _request = _interopRequireDefault(__webpack_require__(/*! ../../utils/request */ 167)); // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // var _default = { data: function data() { return { // 小程序类型 微信 WECHAT 支付宝 ALIPAY appltType: uni.getStorageSync("appltType"), // 判断是否有登录token AppToken: uni.getStorageSync("App-Token"), // 是否登录 ifLogin: false, gradeDis: "", title: '', value: true, orderNo: "", // 油品订单信息 oilOrder: {}, // 员工列表信息 staff: {}, // 店铺信息 store: {}, oilPrice: 0, // 油品名称 oilName: "", oilNameId: "", // 油品类型 oilType: "", // 油品id oilId: "", // 用户信息 user: { cardBalance: 0 }, // 储值卡升数 refuelBalance: 0, // 会员等级信息 userGrade: {}, balanceRedece: 0, oilCardRedece: 0, gradeRedece: 0, fullRedece: 0, couponRedece: 0, // 消费储值卡后的金额(未扣除优惠金额前的金额) deductAmount: 0, // 囤油卡信息 refuelMoney: [], refuelMoneyAfter: [], // 会员等级优惠信息 gradeDiscount: [], // 优惠券优惠信息 couponDiscount: [], // 满减优惠信息 fullReduceDiscount: [], // 支付金额 payAmount: 0, // 调起支付所需的数据 orderInfo: {}, // 是否使用囤油卡 isOilStorageCard: false, // 是否使用储值卡 isStoreValueCard: false, // 是否存在可使用的等级优惠 isGradePreferential: false, // 是否存在可使用的满减或折扣优惠 isFullPreferential: false, // 是否存在可使用的优惠券 isCoupons: false, transferDTO: { type: 0, amount: 0, oilId: "", mtUserLevel: "", storeId: uni.getStorageSync("storeId") }, fixingLevel: {}, isUseChildCard: false, cardsList: [], query: { storeId: uni.getStorageSync("storeId"), couponType: '', useStatus: 0, pageNo: 1, pageSize: 10 }, checkBalance: false, checkOilCard: false, checkFull: false, checkCoupon: false, checkGrade: false, preferentialData: { activeFavorableAmount: "", activeId: "", activeInfo: "", cardFavorableAmount: "", cardFavorableId: "", cardFavorableInfo: "", memberFavorableAmount: "", type: "" }, levelAmount: 0, activeAmount: 0, // 是否为固定等级会员 isFixingLevel: false }; }, onLoad: function onLoad(e) { this.orderNo = e.orderNo; // this.orderNo = "2345202401261502301206e6" }, onShow: function onShow() { this.getOilOrder(); }, components: {}, methods: { // 选择囤油卡 changeOilCard: function changeOilCard(val) { this.checkOilCard = val; if (val) { this.chooseRefuelMoney(); this.fullRedece = 0; this.gradeRedece = 0; this.couponRedece = 0; this.preferentialData = { activeFavorableAmount: "", activeId: "", activeInfo: "", cardFavorableAmount: "", cardFavorableId: "", cardFavorableInfo: "", memberFavorableAmount: "", type: "" }; } else { this.oilCardRedece = 0; if (!this.isFixingLevel) { this.getPaymentPreferential(this.user.gradeId); } } }, // 支付接口 payment: function payment() { if (this.isUseChildCard) { if (this.balanceRedece > 0) { this.isUseChildCard = true; } else { this.isUseChildCard = false; } } var map = { orderNo: this.orderNo, payAmount: this.payAmount, // payAmount : "0.01", discountAmount: (this.fullRedece * 100 + this.gradeRedece * 100 + this.couponRedece * 100) / 100, oilCardAmount: JSON.stringify(this.refuelMoneyAfter), oilCardLiters: this.oilCardRedece, balanceAmount: this.balanceRedece, isOilStorageCard: this.isOilStorageCard, tankId: uni.getStorageSync("tankId"), // tankId : 6, isUseChildCard: this.isUseChildCard, activeId: this.preferentialData.activeId, cardFavorableId: this.preferentialData.cardFavorableId, recordId: this.preferentialData.recordId, type: this.preferentialData.type, balanceAmountSale: this.balanceRedece, oilCardAmountSale: this.oilCardRedece, ifLogin: this.ifLogin, levelAmount: this.levelAmount, activeAmount: this.activeAmount }; var _this = this; (0, _request.default)({ url: "business/oilOrder/appletPay", method: 'post', data: map }).then(function (res) { var payProvider = "wxpay"; if (_this.appltType == "WECHAT") { payProvider = "wxpay"; } else { payProvider = "alipay"; } if (res.data.error) { (0, _request.default)({ url: "/business/allOrderInfo/orderStatus", method: 'post', data: { "orderNo": _this.orderNo, "status": "payFail" } }).then(function (ress) {}); uni.showToast({ title: res.data.error, icon: "none" }); // _this.goBack() return; } if (res.data.code == "error") { (0, _request.default)({ url: "/business/allOrderInfo/orderStatus", method: 'post', data: { "orderNo": _this.orderNo, "status": "payFail" } }).then(function (ress) {}); uni.showToast({ // title:res.data.msg, title: "支付失败,请联系商家", icon: "none" }); // _this.goBack() return; } if (res.data.success == "ok") { // _this.preferentialData.storeId = _this.oilOrder.storeId // _this.preferentialData.orderAmount = _this.oilOrder.orderAmount // _this.preferentialData.oilId = _this.oilOrder.oils // _this.preferentialData.mtUserLevel = _this.user.gradeId // request({ // url: "business/marketingActivity/cardFavorableRecord/updateCardAndActiveById", // method: 'post', // data: _this.preferentialData, // }).then((res)=>{}) // uni.reLaunch({ // url: '/pagesRefuel/orderSuccess/index' // }) uni.redirectTo({ url: '/pagesRefuel/orderSuccess/index?orderNo=' + _this.orderNo }); return; } if (res.data.resultMsg == "商户订单号重复") { uni.showToast({ title: "商户订单号重复,请重新选择订单信息进行支付!", icon: "none" }); } if (res.data.data.reservedPayInfo) { _this.orderInfo = JSON.parse(res.data.data.reservedPayInfo); uni.requestPayment({ // 微信支付provider: 'wxpay' 支付宝支付 'alipay' provider: payProvider, // 时间戳 timeStamp: _this.orderInfo.timeStamp, // 随机字符串 nonceStr: _this.orderInfo.nonceStr, // 固定值 package: _this.orderInfo.package, // 解密方式 signType: 'MD5', // 支付签名 paySign: _this.orderInfo.paySign, success: function success(res) { console.log('success'); // 支付成功后调用修改使用后的优惠券情况 // _this.preferentialData.storeId = _this.oilOrder.storeId // _this.preferentialData.orderAmount = _this.oilOrder.orderAmount // _this.preferentialData.oilId = _this.oilOrder.oils // _this.preferentialData.mtUserLevel = _this.user.gradeId // request({ // url: "business/marketingActivity/cardFavorableRecord/updateCardAndActiveById", // method: 'post', // data: _this.preferentialData, // }).then((res)=>{ // console.log(res); // }) // uni.reLaunch({ // }) uni.redirectTo({ url: '/pagesRefuel/orderSuccess/index?orderNo=' + _this.orderNo }); }, fail: function fail(err) { (0, _request.default)({ url: "/business/allOrderInfo/orderStatus", method: 'post', data: { "orderNo": res.data.data.orderNo, "status": "payFail" } }).then(function (res) { uni.showToast({ title: "支付失败!", icon: "error" }); }); console.log('fail:', err); } }); } if (_this.appltType == "ALIPAY") { my.tradePay({ tradeNO: res.data.data.reservedTransactionId }, function (resp) { if (resp.resultCode == '9000') { console.log("支付成功"); // 支付成功后调用修改使用后的优惠券情况 // _this.preferentialData.storeId = _this.oilOrder.storeId // _this.preferentialData.orderAmount = _this.oilOrder.orderAmount // _this.preferentialData.oilId = _this.oilOrder.oils // _this.preferentialData.mtUserLevel = _this.user.gradeId // request({ // url: "business/marketingActivity/cardFavorableRecord/updateCardAndActiveById", // method: 'post', // data: _this.preferentialData, // }).then((res)=>{}) // uni.reLaunch({ // url: '/pagesRefuel/orderSuccess/index' // }) uni.redirectTo({ url: '/pagesRefuel/orderSuccess/index?orderNo=' + _this.orderNo }); } else { (0, _request.default)({ url: "/business/allOrderInfo/orderStatus", method: 'post', data: { "orderNo": res.data.data.orderNo, "status": "payFail" } }).then(function (res) { uni.showToast({ title: "支付失败!", icon: "error" }); }); console.log('支付失败,' + resp.resultCode); } }); } }); }, // 查看是否有可使用的囤油卡 chooseRefuelMoney: function chooseRefuelMoney() { console.log("oilCard"); var falg = false; for (var i = 0; i < this.refuelMoney.length; i++) { if (this.refuelMoney[i].oilType == this.oilNameId) { if (this.refuelMoney[i].refuelMoney > 0) { falg = true; } this.refuelBalance = this.refuelMoney[i].refuelMoney; if (this.refuelMoney[i].refuelMoney > 0) { this.isOilStorageCard = true; } if (this.refuelMoney[i].refuelMoney >= this.oilOrder.oilNum) { this.oilCardRedece = this.oilOrder.oilNum; this.refuelMoneyAfter[i].refuelMoney = this.refuelMoney[i].refuelMoney - this.oilOrder.oilNum; this.payAmount = 0; this.checkOilCard = true; } else { this.oilCardRedece = this.refuelMoney[i].refuelMoney; this.refuelMoneyAfter[i].refuelMoney = 0; if (falg) { this.checkOilCard = true; this.chooseCardBalance(1); } } } } if (falg == false) { // this.chooseCardBalance(0) // this.chooseGrade(this.user.id,this.user.gradeId) } if (this.oilCardRedece == 0) { if (!this.isFixingLevel) { this.chooseCardBalance(0); this.getPaymentPreferential(this.user.gradeId); } else { this.chooseCardBalance(0); } } }, // 查看是否有可使用的储值卡金额 chooseCardBalance: function chooseCardBalance(val) { console.log("balance"); if (this.user.cardBalance > 0) { this.isStoreValueCard = true; if (val == 0) { // 没有使用囤油卡 if (this.user.cardBalance >= this.oilOrder.orderAmount - this.fullRedece - this.couponRedece - this.gradeRedece) { this.balanceRedece = (this.oilOrder.orderAmount - this.fullRedece - this.couponRedece - this.gradeRedece).toFixed(2); } else { this.balanceRedece = this.user.cardBalance; this.deductAmount = (this.oilOrder.orderAmount - this.fullRedece - this.couponRedece - this.gradeRedece - this.balanceRedece).toFixed(2); this.payAmount = (this.oilOrder.orderAmount - this.fullRedece - this.couponRedece - this.gradeRedece - this.balanceRedece).toFixed(2); console.log(this.oilOrder.orderAmount, this.fullRedece, this.couponRedece, this.gradeRedece, this.balanceRedece, 111); } } else { // 使用囤油卡 // 扣除囤油卡金额后需要支付的金额 var residueAmount = 0; if (this.oilCardRedece > 0) { residueAmount = ((this.oilOrder.oilNum - this.oilCardRedece) * this.oilPrice).toFixed(2); } else { residueAmount = this.oilOrder.orderAmount; } if (this.user.cardBalance >= residueAmount) { this.balanceRedece = residueAmount; } else { this.balanceRedece = this.user.cardBalance; this.payAmount = ((residueAmount * 100).toFixed(0) - (this.balanceRedece * 100).toFixed(0)) / 100; } } } else { this.deductAmount = (this.oilOrder.orderAmount - this.fullRedece - this.couponRedece - this.gradeRedece).toFixed(2); this.payAmount = (this.oilOrder.orderAmount - this.fullRedece - this.couponRedece - this.gradeRedece).toFixed(2); console.log(this.oilOrder.orderAmount, this.fullRedece, this.couponRedece, this.gradeRedece, this.balanceRedece, 222); } }, // 查看是否有可使用的会员等级优惠 chooseGrade: function chooseGrade(userId, gradeId) { console.log("userGrade"); var that = this; that.isFixingLevel = false; (0, _request.default)({ url: "business/userManager/userGrade/isUse", method: 'post', data: { userId: userId, gradeId: gradeId, storeId: that.oilOrder.storeId } }).then(function (res) { if (res.data) { if (res.data.fixingLevel) { if (res.data.fixingLevel.discountType == "自定义优惠") { if (that.oilType == "汽油") { // 将数组按照金额从小到大排序 var gasolineRule = JSON.parse(res.data.fixingLevel.gasolineRule).sort(function (a, b) { return a.gasolineRule1 - b.gasolineRule1; }); if (res.data.fixingLevel.gasolineDiscount == "满减优惠") { if (gasolineRule.length > 1) { for (var i = 1; i < gasolineRule.length; i++) { if (that.oilOrder.orderAmount >= gasolineRule[gasolineRule.length - 1].gasolineRule1) { that.gradeRedece = gasolineRule[gasolineRule.length - 1].gasolineRule2; that.isGradePreferential = true; break; } if (that.oilOrder.orderAmount >= gasolineRule[i - 1].gasolineRule1 && that.oilOrder.orderAmount < gasolineRule[i].gasolineRule1) { that.gradeRedece = gasolineRule[i - 1].gasolineRule2; that.isGradePreferential = true; } } } else { if (that.oilOrder.orderAmount >= gasolineRule[gasolineRule.length - 1].gasolineRule1) { that.gradeRedece = gasolineRule[gasolineRule.length - 1].gasolineRule2; that.isGradePreferential = true; } } } if (res.data.fixingLevel.gasolineDiscount == "每升优惠") { if (gasolineRule.length > 1) { for (var _i = 1; _i < gasolineRule.length; _i++) { if (that.oilOrder.orderAmount >= gasolineRule[gasolineRule.length - 1].gasolineRule1) { // 计算升数 和 优惠金额 that.gradeRedece = (that.oilOrder.orderAmount / that.oilPrice * gasolineRule[gasolineRule.length - 1].gasolineRule3).toFixed(2); that.isGradePreferential = true; break; } if (that.oilOrder.orderAmount >= gasolineRule[_i - 1].gasolineRule1 && that.oilOrder.orderAmount < gasolineRule[_i].gasolineRule1) { that.gradeRedece = (that.oilOrder.orderAmount / that.oilPrice * gasolineRule[_i - 1].gasolineRule3).toFixed(2); that.isGradePreferential = true; } } } else { if (that.oilOrder.orderAmount >= gasolineRule[gasolineRule.length - 1].gasolineRule1) { that.gradeRedece = (that.oilOrder.orderAmount / that.oilPrice * gasolineRule[gasolineRule.length - 1].gasolineRule3).toFixed(2); that.isGradePreferential = true; } } } } if (that.oilType == "柴油") { // 将数组按照金额从小到大排序 var dieselRule = JSON.parse(res.data.fixingLevel.dieselRule).sort(function (a, b) { return a.dieselRule1 - b.dieselRule1; }); if (res.data.fixingLevel.dieselDiscount == "满减优惠") { if (dieselRule.length > 1) { for (var _i2 = 1; _i2 < dieselRule.length; _i2++) { if (that.oilOrder.orderAmount >= dieselRule[dieselRule.length - 1].dieselRule1) { that.gradeRedece = dieselRule[dieselRule.length - 1].dieselRule2; that.isGradePreferential = true; break; } if (that.oilOrder.orderAmount >= dieselRule[_i2 - 1].dieselRule1 && that.oilOrder.orderAmount < dieselRule[_i2].dieselRule1) { that.gradeRedece = dieselRule[_i2 - 1].dieselRule2; that.isGradePreferential = true; } } } else { if (that.oilOrder.orderAmount >= dieselRule[dieselRule.length - 1].dieselRule1) { that.gradeRedece = dieselRule[dieselRule.length - 1].dieselRule2; that.isGradePreferential = true; } } } if (res.data.fixingLevel.dieselDiscount == "每升优惠") { if (dieselRule.length > 1) { for (var _i3 = 1; _i3 < dieselRule.length; _i3++) { if (that.oilOrder.orderAmount >= dieselRule[dieselRule.length - 1].dieselRule1) { // 计算升数 和 优惠金额 that.gradeRedece = (that.oilOrder.orderAmount / that.oilPrice * dieselRule[dieselRule.length - 1].dieselRule3).toFixed(2); that.isGradePreferential = true; break; } if (that.oilOrder.orderAmount >= dieselRule[_i3 - 1].dieselRule1 && that.oilOrder.orderAmount < dieselRule[_i3].dieselRule1) { that.gradeRedece = (that.oilOrder.orderAmount / that.oilPrice * dieselRule[_i3 - 1].dieselRule3).toFixed(2); that.isGradePreferential = true; } } } else { if (that.oilOrder.orderAmount >= dieselRule[dieselRule.length - 1].dieselRule1) { that.gradeRedece = (that.oilOrder.orderAmount / that.oilPrice * dieselRule[dieselRule.length - 1].dieselRule3).toFixed(2); that.isGradePreferential = true; } } } } if (that.oilType == "天然气") { // 将数组按照金额从小到大排序 var naturalGasRule = JSON.parse(res.data.fixingLevel.naturalGasRule).sort(function (a, b) { return a.naturalGasRule1 - b.naturalGasRule1; }); if (res.data.fixingLevel.naturalGasDiscount == "满减优惠") { if (naturalGasRule.length > 1) { for (var _i4 = 1; _i4 < naturalGasRule.length; _i4++) { if (that.oilOrder.orderAmount >= naturalGasRule[naturalGasRule.length - 1].naturalGasRule1) { that.gradeRedece = naturalGasRule[naturalGasRule.length - 1].naturalGasRule2; that.isGradePreferential = true; break; } if (that.oilOrder.orderAmount >= naturalGasRule[_i4 - 1].naturalGasRule1 && that.oilOrder.orderAmount < naturalGasRule[_i4].naturalGasRule1) { that.gradeRedece = naturalGasRule[_i4 - 1].naturalGasRule2; that.isGradePreferential = true; } } } else { if (that.oilOrder.orderAmount >= naturalGasRule[naturalGasRule.length - 1].naturalGasRule1) { that.gradeRedece = naturalGasRule[naturalGasRule.length - 1].naturalGasRule2; that.isGradePreferential = true; } } } if (res.data.fixingLevel.naturalGasDiscount == "每升优惠") { if (naturalGasRule.length > 1) { for (var _i5 = 1; _i5 < naturalGasRule.length; _i5++) { if (that.oilOrder.orderAmount >= naturalGasRule[naturalGasRule.length - 1].naturalGasRule1) { // 计算升数 和 优惠金额 that.gradeRedece = (that.oilOrder.orderAmount / that.oilPrice * naturalGasRule[naturalGasRule.length - 1].naturalGasRule3).toFixed(2); that.isGradePreferential = true; break; } if (that.oilOrder.orderAmount >= naturalGasRule[_i5 - 1].naturalGasRule1 && that.oilOrder.orderAmount < naturalGasRule[_i5].naturalGasRule1) { that.gradeRedece = (that.oilOrder.orderAmount / that.oilPrice * naturalGasRule[_i5 - 1].naturalGasRule3).toFixed(2); that.isGradePreferential = true; } } } else { if (that.oilOrder.orderAmount >= naturalGasRule[naturalGasRule.length - 1].naturalGasRule1) { that.gradeRedece = (that.oilOrder.orderAmount / that.oilPrice * naturalGasRule[naturalGasRule.length - 1].naturalGasRule3).toFixed(2); that.isGradePreferential = true; } } } } } that.isFixingLevel = true; // if (res.data.fixingLevel.storeValue=="no" && that.balanceRedece>0){ // that.gradeRedece = 0 // } } } }); }, // 查看是否有可使用的优惠活动 chooseFullOrCoupon: function chooseFullOrCoupon() { console.log("full"); this.transferDTO.amount = this.deductAmount; this.transferDTO.mtUserLevel = this.userGrade.id; this.transferDTO.oilId = this.oilId; var _this = this; (0, _request.default)({ url: "business/marketingActivity/activeExchange/test", method: 'post', data: _this.transferDTO }).then(function (res) { if (res.data.amount > 0) { _this.payAmount = res.data.amount - _this.gradeRedece; _this.fullRedece = res.data.favorableAmount; _this.isFullPreferential = true; } }); }, // 查看是否有可使用的优惠券 chooseCoupons: function chooseCoupons() { var _this2 = this; console.log("coupons"); (0, _request.default)({ url: 'business/marketingActivity/cardFavorable/applet', method: 'get', params: this.query }).then(function (res) { if (res.data.records) { console.log(res.data.records); _this2.cardsList = res.data.records; if (_this2.cardsList.length > 0) { _this2.couponRedece = _this2.cardsList[0].couponAmount; } } }); }, // 计算用户应付金额 countPayMent: function countPayMent() { this.payAmount = this.deductAmount; // console.log("111",this.deductAmount, this.gradeRedece, this.fullRedece, this.couponRedece); }, // 根据店铺id查询用户信息 getUser: function getUser(id) { var _this3 = this; return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() { var _this; return _regenerator.default.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: _this = _this3; (0, _request.default)({ url: "business/userManager/user/storeUser", method: 'post', data: { storeId: _this.oilOrder.storeId, userId: id } }).then(function (res) { if (res.data.isUseChild == 'yes') { _this.isUseChildCard = true; } else { _this.isUseChildCard = false; } _this.user = res.data.userVo; _this.user = res.data.userVo; _this.chooseGrade(_this.user.id, _this.user.gradeId); if (res.data.userVo.refuelMoney && res.data.userVo.refuelMoney != 'null') { _this.refuelMoney = JSON.parse(res.data.userVo.refuelMoney); _this.refuelMoneyAfter = JSON.parse(res.data.userVo.refuelMoney); _this.chooseRefuelMoney(); } else { if (!_this3.isFixingLevel) { _this.chooseCardBalance(0); console.log(_this3.balanceRedece, 154); _this.getPaymentPreferential(_this3.user.gradeId); } else { _this.chooseCardBalance(0); } } console.log("afterGrade"); // _this.chooseGrade(res.data.userVo.id,res.data.userVo.gradeId) }); case 2: case "end": return _context.stop(); } } }, _callee); }))(); }, getPaymentPreferential: function getPaymentPreferential(gradeId) { var _this4 = this; var type = 0; if (this.balanceRedece == 0) { type = 2; } else { type = 0; } var map = { //支付类型 0:储值卡 1:囤油卡 type: type, //支付金额 amount: this.oilOrder.orderAmount, //可用油品Id oilId: this.oilOrder.oils, //店铺id storeId: this.oilOrder.storeId, //会员等级 mtUserLevel: gradeId, //用户id userId: this.oilOrder.userId }; (0, _request.default)({ url: "business/marketingActivity/activeExchange/getPaymentActive", method: 'get', params: map }).then(function (res) { _this4.preferentialData = res.data; if (res.data.memberFavorableAmount) { _this4.gradeRedece = res.data.memberFavorableAmount; _this4.levelAmount = res.data.memberFavorableAmount; } if (res.data.cardFavorableAmount) { _this4.couponRedece = res.data.cardFavorableAmount; } if (res.data.activeFavorableAmount) { _this4.fullRedece = res.data.activeFavorableAmount; _this4.activeAmount = res.data.activeFavorableAmount; } console.log(_this4.gradeRedece, _this4.couponRedece, _this4.fullRedece, res.data.memberFavorableAmount, "2231"); _this4.chooseCardBalance(0); // this.payAmount = (this.payAmount - this.fullRedece - this.couponRedece - this.gradeRedece).toFixed(2) }); }, // 获取油品订单 getOilOrder: function getOilOrder() { var _this = this; (0, _request.default)({ // url: "business/oilOrder/orderNo", url: "business/oilOrder/oilOrderNo", method: 'post', data: { orderNo: _this.orderNo } }).then(function (res) { if (res.data) { // console.log(res); _this.oilOrder = res.data; // _this.getStaffList(res.data.staffId) // _this.getStore(res.data.storeId) _this.getOilNumber(res.data.storeId); // _this.chooseCoupons() // 判断是否登录 if (_this.AppToken) { _this.getUser(res.data.userId); _this.ifLogin = true; } else { _this.ifLogin = false; _this.payAmount = _this.oilOrder.orderAmount; } } }); }, // 获取门店信息 getStore: function getStore(id) { var _this = this; (0, _request.default)({ url: "business/storeInformation/store/queryStoreById", method: 'post', data: { "storeId": id } }).then(function (res) { _this.store = res.data; }); }, // 根据员工id获取员工信息 getStaffList: function getStaffList(staffId) { var _this = this; (0, _request.default)({ url: "business/member/staff/" + staffId, method: 'get' }).then(function (res) { _this.staff = res.data; }); }, // 获取当前店铺油号信息 getOilNumber: function getOilNumber(storeId) { var _this = this; (0, _request.default)({ url: "business/petrolStationManagement/oilNumber/getOilNumberName/" + storeId, method: 'get' }).then(function (res) { res.data.forEach(function (item) { if (item.oilName == _this.oilOrder.oils) { _this.oilPrice = item.oilPrice; _this.oilName = item.oilNames; _this.oilNameId = item.oilName; _this.oilType = item.oilType; _this.oilId = item.oilId; } }); }); }, // 返回 goBack: function goBack() { uni.navigateBack(); } } }; exports.default = _default; /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"])) /***/ }), /***/ 381: /*!********************************************************************************************************************************************!*\ !*** D:/oil/newOil/oil-station/gasStation-uni/pagesRefuel/orderDetail/index.vue?vue&type=style&index=0&id=29603b22&scoped=true&lang=scss& ***! \********************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_style_index_0_id_29603b22_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!../../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--8-oneOf-1-3!../../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!../../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=style&index=0&id=29603b22&scoped=true&lang=scss& */ 382); /* harmony import */ var _1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_style_index_0_id_29603b22_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_style_index_0_id_29603b22_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__); /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_style_index_0_id_29603b22_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_style_index_0_id_29603b22_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); /* harmony default export */ __webpack_exports__["default"] = (_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_1954_2020_07_22033532_1595360132222_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_style_index_0_id_29603b22_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default.a); /***/ }), /***/ 382: /*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./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!D:/oil/newOil/oil-station/gasStation-uni/pagesRefuel/orderDetail/index.vue?vue&type=style&index=0&id=29603b22&scoped=true&lang=scss& ***! \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { // extracted by mini-css-extract-plugin if(false) { var cssReload; } /***/ }) },[[375,"common/runtime","common/vendor"]]]); //# sourceMappingURL=../../../.sourcemap/mp-weixin/pagesRefuel/orderDetail/index.js.map