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.
1052 lines
63 KiB
1052 lines
63 KiB
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["priceAdjustmentTask/addTask/addTask"],{ |
|
|
|
/***/ 373: |
|
/*!*******************************************************************************************************!*\ |
|
!*** C:/Users/lenovo/Desktop/星油小程序/wx_oms/main.js?{"page":"priceAdjustmentTask%2FaddTask%2FaddTask"} ***! |
|
\*******************************************************************************************************/ |
|
/*! no static exports found */ |
|
/***/ (function(module, exports, __webpack_require__) { |
|
|
|
"use strict"; |
|
/* WEBPACK VAR INJECTION */(function(createPage) {__webpack_require__(/*! uni-pages */ 5); |
|
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 3)); |
|
var _addTask = _interopRequireDefault(__webpack_require__(/*! ./priceAdjustmentTask/addTask/addTask.vue */ 374));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__; |
|
createPage(_addTask.default); |
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["createPage"])) |
|
|
|
/***/ }), |
|
|
|
/***/ 374: |
|
/*!************************************************************************************!*\ |
|
!*** C:/Users/lenovo/Desktop/星油小程序/wx_oms/priceAdjustmentTask/addTask/addTask.vue ***! |
|
\************************************************************************************/ |
|
/*! no static exports found */ |
|
/***/ (function(module, __webpack_exports__, __webpack_require__) { |
|
|
|
"use strict"; |
|
__webpack_require__.r(__webpack_exports__); |
|
/* harmony import */ var _addTask_vue_vue_type_template_id_118697ea___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./addTask.vue?vue&type=template&id=118697ea& */ 375); |
|
/* harmony import */ var _addTask_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./addTask.vue?vue&type=script&lang=js& */ 377); |
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _addTask_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _addTask_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
|
/* harmony import */ var _addTask_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./addTask.vue?vue&type=style&index=0&lang=scss& */ 379); |
|
/* harmony import */ var _D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 11); |
|
|
|
var renderjs |
|
|
|
|
|
|
|
|
|
|
|
/* normalize component */ |
|
|
|
var component = Object(_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])( |
|
_addTask_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], |
|
_addTask_vue_vue_type_template_id_118697ea___WEBPACK_IMPORTED_MODULE_0__["render"], |
|
_addTask_vue_vue_type_template_id_118697ea___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], |
|
false, |
|
null, |
|
null, |
|
null, |
|
false, |
|
_addTask_vue_vue_type_template_id_118697ea___WEBPACK_IMPORTED_MODULE_0__["components"], |
|
renderjs |
|
) |
|
|
|
component.options.__file = "priceAdjustmentTask/addTask/addTask.vue" |
|
/* harmony default export */ __webpack_exports__["default"] = (component.exports); |
|
|
|
/***/ }), |
|
|
|
/***/ 375: |
|
/*!*******************************************************************************************************************!*\ |
|
!*** C:/Users/lenovo/Desktop/星油小程序/wx_oms/priceAdjustmentTask/addTask/addTask.vue?vue&type=template&id=118697ea& ***! |
|
\*******************************************************************************************************************/ |
|
/*! exports provided: render, staticRenderFns, recyclableRender, components */ |
|
/***/ (function(module, __webpack_exports__, __webpack_require__) { |
|
|
|
"use strict"; |
|
__webpack_require__.r(__webpack_exports__); |
|
/* harmony import */ var _D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_addTask_vue_vue_type_template_id_118697ea___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./addTask.vue?vue&type=template&id=118697ea& */ 376); |
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_addTask_vue_vue_type_template_id_118697ea___WEBPACK_IMPORTED_MODULE_0__["render"]; }); |
|
|
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_addTask_vue_vue_type_template_id_118697ea___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); |
|
|
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_addTask_vue_vue_type_template_id_118697ea___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); |
|
|
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_addTask_vue_vue_type_template_id_118697ea___WEBPACK_IMPORTED_MODULE_0__["components"]; }); |
|
|
|
|
|
|
|
/***/ }), |
|
|
|
/***/ 376: |
|
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
|
!*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!C:/Users/lenovo/Desktop/星油小程序/wx_oms/priceAdjustmentTask/addTask/addTask.vue?vue&type=template&id=118697ea& ***! |
|
\*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
|
/*! 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 = { |
|
uniList: function() { |
|
return __webpack_require__.e(/*! import() | uni_modules/uni-list/components/uni-list/uni-list */ "uni_modules/uni-list/components/uni-list/uni-list").then(__webpack_require__.bind(null, /*! @/uni_modules/uni-list/components/uni-list/uni-list.vue */ 510)) |
|
}, |
|
uniListItem: function() { |
|
return __webpack_require__.e(/*! import() | uni_modules/uni-list/components/uni-list-item/uni-list-item */ "uni_modules/uni-list/components/uni-list-item/uni-list-item").then(__webpack_require__.bind(null, /*! @/uni_modules/uni-list/components/uni-list-item/uni-list-item.vue */ 517)) |
|
}, |
|
uRadioGroup: function() { |
|
return Promise.all(/*! import() | uview-ui/components/u-radio-group/u-radio-group */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uview-ui/components/u-radio-group/u-radio-group")]).then(__webpack_require__.bind(null, /*! @/uview-ui/components/u-radio-group/u-radio-group.vue */ 524)) |
|
}, |
|
uRadio: function() { |
|
return __webpack_require__.e(/*! import() | uview-ui/components/u-radio/u-radio */ "uview-ui/components/u-radio/u-radio").then(__webpack_require__.bind(null, /*! @/uview-ui/components/u-radio/u-radio.vue */ 532)) |
|
}, |
|
uniDatetimePicker: function() { |
|
return Promise.all(/*! import() | uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker.vue */ 562)) |
|
}, |
|
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 */ 395)) |
|
} |
|
} |
|
} 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 g0 = _vm.aboutEnterprise.oilProductCode |
|
? Number( |
|
_vm.aboutEnterprise.oilSiteOilsPrices[_vm.aboutEnterprise.oloIndex] |
|
.marketPrice |
|
).toFixed(2) |
|
: null |
|
var g1 = _vm.aboutEnterprise.oilProductCode |
|
? Number( |
|
_vm.aboutEnterprise.oilSiteOilsPrices[_vm.aboutEnterprise.oloIndex] |
|
.sitePrice |
|
).toFixed(2) |
|
: null |
|
var g2 = _vm.aboutEnterprise.oilProductCode |
|
? Number( |
|
_vm.aboutEnterprise.oilSiteOilsPrices[_vm.aboutEnterprise.oloIndex] |
|
.personalPrice |
|
).toFixed(2) |
|
: null |
|
var g3 = _vm.aboutEnterprise.oilProductCode |
|
? Number( |
|
_vm.aboutEnterprise.oilSiteOilsPrices[_vm.aboutEnterprise.oloIndex] |
|
.enterprisePrice |
|
).toFixed(2) |
|
: null |
|
var g4 = _vm.aboutEnterprise.oilProductCode |
|
? Number( |
|
_vm.aboutEnterprise.oilSiteOilsPrices[_vm.aboutEnterprise.oloIndex] |
|
.floorPrice || 0 |
|
).toFixed(4) |
|
: null |
|
var g5 = _vm.aboutEnterprise.oilProductCode |
|
? Number( |
|
_vm.aboutEnterprise.oilSiteOilsPrices[_vm.aboutEnterprise.oloIndex] |
|
.settlementPrice |
|
).toFixed(2) |
|
: null |
|
|
|
var f0 = _vm._f("state")(_vm.aboutEnterprise.effectiveMode) |
|
|
|
var l0 = _vm.__map(_vm.priceData, function(item, index) { |
|
var $orig = _vm.__get_orig(item) |
|
|
|
var g6 = Number(_vm.aboutEnterprise[item.price]).toFixed( |
|
item.lable == "底价" ? 4 : 2 |
|
) |
|
var m0 = _vm.iconFn(item) |
|
var m1 = _vm.icontype(item) |
|
var g7 = Number(_vm.aboutEnterprise[item.oldePrice] || 0).toFixed( |
|
item.lable == "底价" ? 4 : 2 |
|
) |
|
return { |
|
$orig: $orig, |
|
g6: g6, |
|
m0: m0, |
|
m1: m1, |
|
g7: g7 |
|
} |
|
}) |
|
|
|
if (!_vm._isMounted) { |
|
_vm.e0 = function($event) { |
|
_vm.show = !_vm.show |
|
} |
|
|
|
_vm.e1 = function($event) { |
|
_vm.isShow.collapse = !_vm.isShow.collapse |
|
} |
|
} |
|
|
|
_vm.$mp.data = Object.assign( |
|
{}, |
|
{ |
|
$root: { |
|
g0: g0, |
|
g1: g1, |
|
g2: g2, |
|
g3: g3, |
|
g4: g4, |
|
g5: g5, |
|
f0: f0, |
|
l0: l0 |
|
} |
|
} |
|
) |
|
} |
|
var recyclableRender = false |
|
var staticRenderFns = [] |
|
render._withStripped = true |
|
|
|
|
|
|
|
/***/ }), |
|
|
|
/***/ 377: |
|
/*!*************************************************************************************************************!*\ |
|
!*** C:/Users/lenovo/Desktop/星油小程序/wx_oms/priceAdjustmentTask/addTask/addTask.vue?vue&type=script&lang=js& ***! |
|
\*************************************************************************************************************/ |
|
/*! no static exports found */ |
|
/***/ (function(module, __webpack_exports__, __webpack_require__) { |
|
|
|
"use strict"; |
|
__webpack_require__.r(__webpack_exports__); |
|
/* harmony import */ var _D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_addTask_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./addTask.vue?vue&type=script&lang=js& */ 378); |
|
/* harmony import */ var _D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_addTask_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_addTask_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); |
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_addTask_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_addTask_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
|
/* harmony default export */ __webpack_exports__["default"] = (_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_addTask_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); |
|
|
|
/***/ }), |
|
|
|
/***/ 378: |
|
/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
|
!*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!C:/Users/lenovo/Desktop/星油小程序/wx_oms/priceAdjustmentTask/addTask/addTask.vue?vue&type=script&lang=js& ***! |
|
\********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
|
/*! no static exports found */ |
|
/***/ (function(module, exports, __webpack_require__) { |
|
|
|
"use strict"; |
|
/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var _tool = _interopRequireDefault(__webpack_require__(/*! @/utils/tool */ 228)); |
|
var _addDirver = _interopRequireDefault(__webpack_require__(/*! @/api/addDirver */ 246)); |
|
var _priceAdjustment = _interopRequireDefault(__webpack_require__(/*! @/api/priceAdjustment */ 352)); |
|
var _priceAdjustmentTask = _interopRequireDefault(__webpack_require__(/*! @/api/priceAdjustmentTask */ 370));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} // |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
// |
|
/* |
|
* 奕 2022/1/25 |
|
*/var _default = { data: function data() {return { immediate: null, time: null, timing: 0, priceData: [{ lable: '发改委价格', price: 'marketPrice', oldePrice: 'oldMarketPrice' }, { lable: '油站价格', price: 'sitePrice', oldePrice: 'oldSitePrice' }, { lable: '个人价', price: 'newPersonalPrice', oldePrice: 'personalPrice' }, { lable: '企业价', price: 'newEnterprisePrice', oldePrice: 'enterprisePrice' }, { lable: '底价', price: 'newFloorPrice', oldePrice: 'floorPrice' }, { lable: '结算价', price: 'newSettlementPrice', oldePrice: 'settlementPrice' }], details: null, modifyShow: { img: false, footer: true }, butten: { colse: '返回', confirm: '确定', coloseBg: '#bbbbbb', coloseColor: '#FFFFFF', confirmBg: '#bbbbbb', confirmColor: '' }, params: { year: true, month: true, day: true, hour: true, minute: true, second: false }, selector: [1, 2, 3], shows: { img: false, footer: false }, show: false, disabled: false, start: '', spareAboutEnterprise: ['siteName', 'siteId', 'oilProductCode', 'effectiveMode', 'oloIndex', 'subEntryTime', 'applyStatus', 'marketPrice', 'sitePrice', 'oldMarketPrice', 'oldSitePrice', 'siteOilsPriceId', 'createSource', 'newEnterprisePrice', //修改后企业价格 |
|
'newPersonalPrice', //修改后个人价格 |
|
'newSettlementPrice', //修改后结算价格 |
|
'newFloorPrice' //修改后底价 |
|
], aboutEnterprise: { siteName: '', siteId: '', oilProductCode: '', effectiveMode: 0, oloIndex: '', subEntryTime: '', applyStatus: 0, marketPrice: '', sitePrice: '', oldMarketPrice: '', oldSitePrice: '', siteOilsPriceId: '', createSource: 'OMS-MINIAPP', newEnterprisePrice: '', //修改后企业价格 |
|
newPersonalPrice: '', //修改后个人价格 |
|
newSettlementPrice: '', //修改后结算价格 |
|
newFloorPrice: '', //修改后底价 |
|
floorRemark: '', oldfloorRemark: '' }, isShow: { oliType: false, examine: false, collapse: false }, radiolist1: [{ name: '立即', value: 0 }, { name: '预约', value: 1 }] };}, onLoad: function onLoad() {var that = this;uni.$on('serviceStation', function (e) {console.log('%c 油站参数更新↓', 'font-size:50px;color:red');that.aboutEnterprise = Object.assign(that.aboutEnterprise, e);that.aboutEnterprise.siteId = that.aboutEnterprise.id;that.clearFn();uni.removeStorage({ key: 'bufferData', success: function success() {} });that.immediate = null;});var start = new Date();start.setMinutes(start.getMinutes() + 35);this.start = "".concat(start.getFullYear(), "-").concat(start.getMonth() + 1, "-").concat(start.getDate(), " ").concat(start.getHours(), ":").concat(start.getMinutes(), ":00");console.log(this.start, '---');}, created: function created() {}, watch: { 'isShow.oliType': { handler: function handler(n, o) {if (n) {this.disabled = true;} else {this.disabled = false;}} } }, filters: { state: function state(e) {switch (Number(e)) {case 0:return '即时';case 1:return '预约';default:return '---';}}, typeText: function typeText(e) {switch (Number(e)) {case 0:return '等待执行';case 1:return '执行成功';case -1:return '执行失败';default:return '---';}}, applyStatus: function applyStatus(e) {/* |
|
-3:执行失败 |
|
-2:已撤回 |
|
-1:审核失败 |
|
0:待审核 |
|
1:审核通过 |
|
2:等待执行 |
|
3:执行成功 |
|
*/switch (Number(e)) {case 1:return '审核通过';case 2:return '等待执行';case 3:return '执行成功';case 0:return '等待审核';case -1:return '审核失败';case -2:return '已撤回';case -3:return '执行失败';case -4:return '已撤销';}} }, onShow: function onShow() {}, onUnload: function onUnload() {uni.removeStorage({ key: 'bufferData', success: function success() {} });}, methods: { icontype: function icontype(item) {'use strict';return Number(this.aboutEnterprise[item.price]) > Number(this.aboutEnterprise[item.oldePrice]) ? 'icona-shangzhang1' : Number(this.aboutEnterprise[item.price]) < Number(this.aboutEnterprise[item.oldePrice]) ? 'icona-xiadie2' : 'iconchiping';}, iconFn: function iconFn(item) {'use strict';return Number(this.aboutEnterprise[item.price]) > Number(this.aboutEnterprise[item.oldePrice]) ? '#ff5555' : Number(this.aboutEnterprise[item.price]) < Number(this.aboutEnterprise[item.oldePrice]) ? '#2CE308' : '#f9d06f';}, detailseCloseFn: function detailseCloseFn() {this.isShow.examine = false;}, detailseConfirmFn: function detailseConfirmFn() {var _this = this;if (this.timing !== 0) return;this.aboutEnterprise.createSource = 'OMS-MINIAPP';_priceAdjustmentTask.default.newOilPriceAdjustApply(this.aboutEnterprise).then(function (res) {if (res.code !== 20000) return;_this.isShow.examine = false;setTimeout(function () {uni.navigateBack();}, 500);console.log(res);});console.log('确定');}, clearFn: function clearFn() {var _this2 = this;var keysArray = Object.keys(this.aboutEnterprise);var clearArray = ['oldMarketPrice', 'oloIndex', 'oilProductCode', 'oldSitePrice', 'siteOilsPriceId', 'marketPrice', 'sitePrice', 'newEnterprisePrice', 'newPersonalPrice', 'newSettlementPrice', 'newFloorPrice'];keysArray.forEach(function (item, index) {if (clearArray.includes(item)) {_this2.aboutEnterprise[item] = '';}});}, datetimeChange: function datetimeChange(e) {var _this3 = this;console.log(e);var seleDate = String(e).replace(/-/g, "/");var startDate = String(this.start).replace(/-/g, "/");if (Date.parse(new Date(seleDate)) < Date.parse(new Date(startDate))) {setTimeout(function () {_this3.aboutEnterprise.subEntryTime = _this3.start;}, 0);}}, //后端要的乱七八糟的字段和值 逼事太多 直接合对象凑字段了 |
|
olioss: function olioss(e, index) {// this.aboutEnterprise.oilProductCode = e.oilProductCode; |
|
// this.aboutEnterprise.oloIndex = index; |
|
this.immediate = index;uni.setStorageSync('bufferData', { oloIndex: index });}, closeFn: function closeFn() {this.isShow.oliType = false;if (this.aboutEnterprise.oilProductCode || this.aboutEnterprise.oloIndex) {this.immediate = this.aboutEnterprise.oloIndex;return;};this.aboutEnterprise.oilProductCode = '';this.aboutEnterprise.oloIndex = '';this.immediate = null;uni.removeStorage({ key: 'bufferData', success: function success() {} });}, confirmFn: function confirmFn() { |
|
// newEnterprisePrice:'',//修改后企业价格 |
|
// newPersonalPrice:'',//修改后个人价格 |
|
// newSettlementPrice:'',//修改后结算价格 |
|
// newFloorPrice:''//修改后底价 |
|
var that = this; |
|
var bufferData = uni.getStorageSync('bufferData'); |
|
|
|
that.aboutEnterprise.oloIndex = |
|
bufferData.oloIndex; |
|
if (!that.aboutEnterprise.oloIndex && that.aboutEnterprise.oloIndex !== 0) { |
|
uni.showToast({ |
|
title: '请选择油品', |
|
icon: 'none' }); |
|
|
|
return; |
|
} |
|
|
|
this.aboutEnterprise.oilProductCode = this.aboutEnterprise.oilSiteOilsPrices[this.aboutEnterprise.oloIndex]. |
|
oilProductCode; |
|
this.immediate = that.aboutEnterprise.oloIndex; |
|
if (!this.aboutEnterprise.oilSiteOilsPrices[this.aboutEnterprise.oloIndex].floorPrice && this.aboutEnterprise.oilSiteOilsPrices[this.aboutEnterprise.oloIndex].floorPrice !== 0) { |
|
this.aboutEnterprise.oilSiteOilsPrices[this.aboutEnterprise.oloIndex].floorPrice = 0.0000; |
|
} |
|
this.aboutEnterprise.oldMarketPrice = JSON.parse(JSON.stringify(Number(this.aboutEnterprise. |
|
oilSiteOilsPrices[this.aboutEnterprise.oloIndex].marketPrice))).toFixed(2); |
|
this.aboutEnterprise.oldSitePrice = JSON.parse(JSON.stringify(Number(this.aboutEnterprise. |
|
oilSiteOilsPrices[this.aboutEnterprise.oloIndex].sitePrice))).toFixed(2); |
|
this.aboutEnterprise.newPersonalPrice = JSON.parse(JSON.stringify(Number(this.aboutEnterprise. |
|
oilSiteOilsPrices[this.aboutEnterprise.oloIndex].personalPrice))).toFixed(2); |
|
this.aboutEnterprise.newEnterprisePrice = JSON.parse(JSON.stringify(Number(this.aboutEnterprise. |
|
oilSiteOilsPrices[this.aboutEnterprise.oloIndex].enterprisePrice))).toFixed(2); |
|
this.aboutEnterprise.newFloorPrice = JSON.parse(JSON.stringify(Number(this.aboutEnterprise. |
|
oilSiteOilsPrices[this.aboutEnterprise.oloIndex].floorPrice || 0))).toFixed(4); |
|
this.aboutEnterprise.newSettlementPrice = JSON.parse(JSON.stringify(Number(this.aboutEnterprise. |
|
oilSiteOilsPrices[this.aboutEnterprise.oloIndex].settlementPrice))).toFixed(2); |
|
this.aboutEnterprise.oldfloorRemark = this.aboutEnterprise.oilSiteOilsPrices[this.aboutEnterprise.oloIndex]. |
|
floorRemark || '暂无说明'; |
|
|
|
this.aboutEnterprise = Object.assign(this.aboutEnterprise, this.aboutEnterprise.oilSiteOilsPrices[this. |
|
aboutEnterprise.oloIndex]); |
|
// this.aboutEnterprise.floorRemark = '' |
|
this.aboutEnterprise.siteOilsPriceId = this.aboutEnterprise.id; |
|
this.isShow.oliType = false; |
|
}, |
|
seleoli: function seleoli() { |
|
if (!this.aboutEnterprise.oilSiteOilsPrices || this.aboutEnterprise.oilSiteOilsPrices.length == 0) { |
|
uni.showToast({ |
|
title: '请选择则正确油站', |
|
icon: 'none' }); |
|
|
|
return; |
|
} |
|
console.log(this.immediate, '*9***'); |
|
this.isShow.oliType = true; |
|
// this.disabled = true |
|
}, |
|
dateConfirm: function dateConfirm(e) { |
|
this.aboutEnterprise.subEntryTime = "".concat(e.year, "-").concat(e.month, "-").concat(e.day, " ").concat(e.hour, ":").concat(e.minute, ":00"); |
|
console.log(e); |
|
}, |
|
inputFn: function inputFn(e) { |
|
console.log(this.aboutEnterprise[e]); |
|
if (this.aboutEnterprise[e].indexOf('.') != -1) { |
|
if (e == 'newFloorPrice') { |
|
if (this.aboutEnterprise[e].split('.')[1].length > 4) { |
|
uni.showToast({ |
|
title: '最多保留小数点后4位', |
|
icon: 'none' }); |
|
|
|
this.$nextTick(function () { |
|
this.aboutEnterprise[e] = Number(this.aboutEnterprise[e]).toFixed(4); |
|
}); |
|
} |
|
} else { |
|
if (this.aboutEnterprise[e].split('.')[1].length > 2) { |
|
uni.showToast({ |
|
title: '最多保留小数点后两位', |
|
icon: 'none' }); |
|
|
|
this.$nextTick(function () { |
|
this.aboutEnterprise[e] = Number(this.aboutEnterprise[e]).toFixed(2); |
|
}); |
|
|
|
} |
|
} |
|
} |
|
}, |
|
postFn: function postFn() {var _this4 = this; |
|
var checkPage = { |
|
newPersonalPrice: { |
|
tacitly: '', |
|
custom: /^([1-9]\d*)(\.\d{1,6})?$|^0\.\d{1,6}?$/, |
|
WrongText: '个人价不能为空或零' }, |
|
|
|
newEnterprisePrice: { |
|
tacitly: '', |
|
custom: /^([1-9]\d*)(\.\d{1,6})?$|^0\.\d{1,6}?$/, |
|
WrongText: '企业价不能为空或零' }, |
|
|
|
newFloorPrice: { |
|
tacitly: '', |
|
custom: /^([1-9]\d*)(\.\d{1,6})?$|^0\.\d{1,6}?$/, |
|
WrongText: '底价不能为空或零' }, |
|
|
|
newSettlementPrice: { |
|
tacitly: '', |
|
custom: /^([1-9]\d*)(\.\d{1,6})?$|^0\.\d{1,6}?$/, |
|
WrongText: '结算价不能为空或零' }, |
|
|
|
siteName: { |
|
tacitly: '', |
|
WrongText: '请选择油站' }, |
|
|
|
oilProductCode: { |
|
tacitly: '', |
|
WrongText: '请选择油号' }, |
|
|
|
marketPrice: { |
|
tacitly: '', |
|
custom: /^([1-9]\d*)(\.\d{1,6})?$|^0\.\d{1,6}?$/, |
|
WrongText: '发改委价格不能为空或零' }, |
|
|
|
sitePrice: { |
|
tacitly: '', |
|
custom: /^([1-9]\d*)(\.\d{1,6})?$|^0\.\d{1,6}?$/, |
|
WrongText: '油站价格不能为空或零' } }; |
|
|
|
|
|
if (this.aboutEnterprise.effectiveMode == 1) { |
|
checkPage['subEntryTime'] = { |
|
tacitly: '', |
|
WrongText: '请选择时间' }; |
|
|
|
} |
|
var check = _tool.default.checkFn(this.aboutEnterprise, [], checkPage); |
|
if (!check.result) { |
|
uni.showToast({ |
|
title: check.WrongText, |
|
icon: 'none' }); |
|
|
|
return; |
|
} |
|
|
|
if ( |
|
this.aboutEnterprise.oilSiteOilsPrices[this.aboutEnterprise.oloIndex].marketPrice == this. |
|
aboutEnterprise.marketPrice && |
|
this.aboutEnterprise.oilSiteOilsPrices[this.aboutEnterprise.oloIndex].sitePrice == this.aboutEnterprise. |
|
sitePrice && |
|
this.aboutEnterprise.newPersonalPrice == this.aboutEnterprise.oilSiteOilsPrices[this.aboutEnterprise. |
|
oloIndex].personalPrice && |
|
this.aboutEnterprise.newEnterprisePrice == this.aboutEnterprise.oilSiteOilsPrices[this.aboutEnterprise. |
|
oloIndex].enterprisePrice && |
|
this.aboutEnterprise.newFloorPrice == this.aboutEnterprise.oilSiteOilsPrices[this.aboutEnterprise. |
|
oloIndex].floorPrice && |
|
this.aboutEnterprise.newSettlementPrice == this.aboutEnterprise.oilSiteOilsPrices[this.aboutEnterprise. |
|
oloIndex].settlementPrice) |
|
{ |
|
uni.showToast({ |
|
title: '请变动价格后提交', |
|
icon: 'none' }); |
|
|
|
return; |
|
} |
|
if (this.time) { |
|
clearInterval(this.time); |
|
} |
|
this.timing = 5; |
|
this.isShow.examine = true; |
|
this.butten.confirm = '确定\n' + this.timing + 's'; |
|
this.butten.confirmBg = '#bbbbbb'; |
|
this.time = setInterval(function () { |
|
_this4.timing -= 1; |
|
_this4.butten.confirm = '确定\n' + _this4.timing + 's'; |
|
if (_this4.timing == 0) { |
|
_this4.butten.confirm = "\u786E\u5B9A"; |
|
_this4.butten.confirmBg = ''; |
|
clearInterval(_this4.time); |
|
}; |
|
}, 1000); |
|
}, |
|
|
|
jump: function jump(e) { |
|
uni.navigateTo({ |
|
url: '/driverManagement/serviceStation/serviceStation' }); |
|
|
|
}, |
|
open: function open() { |
|
this.show = !this.show; |
|
}, |
|
change: function change() { |
|
this.aboutEnterprise.shareCompanyQuota = this.switchOpen ? 1 : 0; |
|
console.log(this.switchOpen); |
|
}, |
|
radioChange: function radioChange(e) { |
|
if (e) { |
|
this.aboutEnterprise.subEntryTime = this.start; |
|
} else { |
|
this.aboutEnterprise.subEntryTime = ''; |
|
} |
|
console.log(e); |
|
}, |
|
groupChange: function groupChange() {} } };exports.default = _default; |
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"])) |
|
|
|
/***/ }), |
|
|
|
/***/ 379: |
|
/*!**********************************************************************************************************************!*\ |
|
!*** C:/Users/lenovo/Desktop/星油小程序/wx_oms/priceAdjustmentTask/addTask/addTask.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 _D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_addTask_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/@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!./addTask.vue?vue&type=style&index=0&lang=scss& */ 380); |
|
/* harmony import */ var _D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_addTask_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_addTask_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__); |
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_addTask_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_addTask_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
|
/* harmony default export */ __webpack_exports__["default"] = (_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_hbuliderx_HBuilderX_3_3_11_20220209_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_addTask_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default.a); |
|
|
|
/***/ }), |
|
|
|
/***/ 380: |
|
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
|
!*** ./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:/Users/lenovo/Desktop/星油小程序/wx_oms/priceAdjustmentTask/addTask/addTask.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; } |
|
|
|
|
|
/***/ }) |
|
|
|
},[[373,"common/runtime","common/vendor"]]]); |
|
//# sourceMappingURL=../../../.sourcemap/mp-weixin/priceAdjustmentTask/addTask/addTask.js.map
|