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.

505 lines
38 KiB

6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
  1. (global["webpackJsonp"] = global["webpackJsonp"] || []).push([["pages/refund/refund2"],{
  2. /***/ 160:
  3. /*!***************************************************************************!*\
  4. !*** G:/web//zhonglmini/main.js?{"page":"pages%2Frefund%2Frefund2"} ***!
  5. \***************************************************************************/
  6. /*! no static exports found */
  7. /***/ (function(module, exports, __webpack_require__) {
  8. "use strict";
  9. /* WEBPACK VAR INJECTION */(function(wx, createPage) {
  10. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  11. __webpack_require__(/*! uni-pages */ 26);
  12. var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 25));
  13. var _refund = _interopRequireDefault(__webpack_require__(/*! ./pages/refund/refund2.vue */ 161));
  14. // @ts-ignore
  15. wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;
  16. createPage(_refund.default);
  17. /* 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"]))
  18. /***/ }),
  19. /***/ 161:
  20. /*!********************************************************!*\
  21. !*** G:/web//zhonglmini/pages/refund/refund2.vue ***!
  22. \********************************************************/
  23. /*! no static exports found */
  24. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  25. "use strict";
  26. __webpack_require__.r(__webpack_exports__);
  27. /* harmony import */ var _refund2_vue_vue_type_template_id_79452948___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./refund2.vue?vue&type=template&id=79452948& */ 162);
  28. /* harmony import */ var _refund2_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./refund2.vue?vue&type=script&lang=js& */ 164);
  29. /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _refund2_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 _refund2_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
  30. /* harmony import */ var _refund2_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./refund2.vue?vue&type=style&index=0&lang=scss& */ 166);
  31. /* harmony import */ var _F_HBuilder_X_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 */ 32);
  32. var renderjs
  33. /* normalize component */
  34. var component = Object(_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])(
  35. _refund2_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
  36. _refund2_vue_vue_type_template_id_79452948___WEBPACK_IMPORTED_MODULE_0__["render"],
  37. _refund2_vue_vue_type_template_id_79452948___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
  38. false,
  39. null,
  40. null,
  41. null,
  42. false,
  43. _refund2_vue_vue_type_template_id_79452948___WEBPACK_IMPORTED_MODULE_0__["components"],
  44. renderjs
  45. )
  46. component.options.__file = "pages/refund/refund2.vue"
  47. /* harmony default export */ __webpack_exports__["default"] = (component.exports);
  48. /***/ }),
  49. /***/ 162:
  50. /*!***************************************************************************************!*\
  51. !*** G:/web//zhonglmini/pages/refund/refund2.vue?vue&type=template&id=79452948& ***!
  52. \***************************************************************************************/
  53. /*! exports provided: render, staticRenderFns, recyclableRender, components */
  54. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  55. "use strict";
  56. __webpack_require__.r(__webpack_exports__);
  57. /* harmony import */ var _F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_refund2_vue_vue_type_template_id_79452948___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--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!./refund2.vue?vue&type=template&id=79452948& */ 163);
  58. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_refund2_vue_vue_type_template_id_79452948___WEBPACK_IMPORTED_MODULE_0__["render"]; });
  59. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_refund2_vue_vue_type_template_id_79452948___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
  60. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_refund2_vue_vue_type_template_id_79452948___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; });
  61. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_refund2_vue_vue_type_template_id_79452948___WEBPACK_IMPORTED_MODULE_0__["components"]; });
  62. /***/ }),
  63. /***/ 163:
  64. /*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  65. !*** ./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!G:/web//zhonglmini/pages/refund/refund2.vue?vue&type=template&id=79452948& ***!
  66. \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
  67. /*! exports provided: render, staticRenderFns, recyclableRender, components */
  68. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  69. "use strict";
  70. __webpack_require__.r(__webpack_exports__);
  71. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
  72. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
  73. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; });
  74. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; });
  75. var components
  76. var render = function () {
  77. var _vm = this
  78. var _h = _vm.$createElement
  79. var _c = _vm._self._c || _h
  80. var l0 = _vm.__map(_vm.buylist, function (row, index) {
  81. var $orig = _vm.__get_orig(row)
  82. var f0 = _vm._f("toFixeds")(row.price * row.dinghl)
  83. return {
  84. $orig: $orig,
  85. f0: f0,
  86. }
  87. })
  88. var f1 = _vm._f("toFixeds")(_vm.goodsPrice)
  89. _vm.$mp.data = Object.assign(
  90. {},
  91. {
  92. $root: {
  93. l0: l0,
  94. f1: f1,
  95. },
  96. }
  97. )
  98. }
  99. var recyclableRender = false
  100. var staticRenderFns = []
  101. render._withStripped = true
  102. /***/ }),
  103. /***/ 164:
  104. /*!*********************************************************************************!*\
  105. !*** G:/web//zhonglmini/pages/refund/refund2.vue?vue&type=script&lang=js& ***!
  106. \*********************************************************************************/
  107. /*! no static exports found */
  108. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  109. "use strict";
  110. __webpack_require__.r(__webpack_exports__);
  111. /* harmony import */ var _F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_refund2_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--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!./refund2.vue?vue&type=script&lang=js& */ 165);
  112. /* harmony import */ var _F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_refund2_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_refund2_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__);
  113. /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_refund2_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 _F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_refund2_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
  114. /* harmony default export */ __webpack_exports__["default"] = (_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_refund2_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a);
  115. /***/ }),
  116. /***/ 165:
  117. /*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  118. !*** ./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!G:/web//zhonglmini/pages/refund/refund2.vue?vue&type=script&lang=js& ***!
  119. \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
  120. /*! no static exports found */
  121. /***/ (function(module, exports, __webpack_require__) {
  122. "use strict";
  123. /* WEBPACK VAR INJECTION */(function(uni) {
  124. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  125. Object.defineProperty(exports, "__esModule", {
  126. value: true
  127. });
  128. exports.default = void 0;
  129. var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 44));
  130. var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 46));
  131. //
  132. //
  133. //
  134. //
  135. //
  136. //
  137. //
  138. //
  139. //
  140. //
  141. //
  142. //
  143. //
  144. //
  145. //
  146. //
  147. //
  148. //
  149. //
  150. //
  151. //
  152. //
  153. //
  154. //
  155. //
  156. //
  157. //
  158. //
  159. //
  160. //
  161. //
  162. //
  163. //
  164. //
  165. //
  166. //
  167. //
  168. //
  169. //
  170. //
  171. //
  172. //
  173. //
  174. //
  175. //
  176. //
  177. //
  178. //
  179. //
  180. //
  181. //
  182. //
  183. //
  184. //
  185. //
  186. //
  187. //
  188. //
  189. //
  190. //
  191. //
  192. //
  193. //
  194. //
  195. //
  196. //
  197. //
  198. //
  199. //
  200. //
  201. //
  202. //
  203. //
  204. //
  205. //
  206. //
  207. //
  208. //
  209. //
  210. //
  211. //
  212. //
  213. //
  214. var _default = {
  215. data: function data() {
  216. return {
  217. buylist: [],
  218. //订单列表
  219. goodsPrice: 0,
  220. //商品合计价格
  221. note: '',
  222. //备注
  223. cpids: '',
  224. dhid: 0,
  225. sqmoney: 0,
  226. index: 0,
  227. isAllselected: false,
  228. selectedList: [],
  229. gids: '',
  230. tktype: 0,
  231. tuiksls: '' //退款产品的数量
  232. };
  233. },
  234. onLoad: function onLoad(option) {
  235. //option为object类型,会序列化上个页面传递的参数
  236. this.dhid = parseInt(option.dhid);
  237. this.tktype = option.tktype;
  238. //this.dhid = 32882;
  239. this.index = parseInt(option.index); //当前订单状态
  240. //this.goodsPrice=option.allmoney;
  241. //this.orderdetail(this.dhid)
  242. },
  243. onShow: function onShow() {
  244. //页面显示时,加载订单信息
  245. this.orderdetail(this.dhid);
  246. },
  247. onHide: function onHide() {},
  248. filters: {
  249. toFixeds: function toFixeds(x) {
  250. return parseFloat(x).toFixed(2);
  251. }
  252. },
  253. methods: {
  254. //修改退款数量
  255. inputchange: function inputchange(even, id, index, tuiksl, dj) {
  256. var inputnum = parseFloat(even.detail.value);
  257. if (inputnum > this.buylist[index].dinghl) {
  258. inputnum = this.buylist[index].dinghl;
  259. } else if (inputnum > 0) {
  260. inputnum = inputnum;
  261. } else {
  262. inputnum = '';
  263. }
  264. this.buylist[index].tuiksl = inputnum;
  265. this.sum();
  266. },
  267. orderdetail: function orderdetail(id) {
  268. var _this = this;
  269. return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
  270. var redata, len, allmoney, i;
  271. return _regenerator.default.wrap(function _callee$(_context) {
  272. while (1) {
  273. switch (_context.prev = _context.next) {
  274. case 0:
  275. _context.next = 2;
  276. return _this.$api.orderdetail({
  277. action: 'orderdetail',
  278. dhid: id
  279. });
  280. case 2:
  281. redata = _context.sent;
  282. if (redata.code == 1) {
  283. _this.buylist = redata.data;
  284. len = redata.data.length;
  285. allmoney = 0;
  286. for (i = 0; i < len; i++) {
  287. _this.buylist[i].selected = false;
  288. allmoney = Number(allmoney) + Number(_this.buylist[i].je);
  289. }
  290. _this.goodsPrice = allmoney;
  291. } else {
  292. uni.showToast({
  293. title: '暂无数据',
  294. icon: 'none'
  295. });
  296. }
  297. case 4:
  298. case "end":
  299. return _context.stop();
  300. }
  301. }
  302. }, _callee);
  303. }))();
  304. },
  305. sqtuik: function sqtuik(dhid) {
  306. var _this2 = this;
  307. return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() {
  308. var userinfo, reinfo;
  309. return _regenerator.default.wrap(function _callee2$(_context2) {
  310. while (1) {
  311. switch (_context2.prev = _context2.next) {
  312. case 0:
  313. userinfo = uni.getStorageSync('userinfo');
  314. _context2.next = 3;
  315. return _this2.$api.sqtuik({
  316. action: 'sqtuih',
  317. uid: userinfo.uid,
  318. aid: userinfo.aid,
  319. dhid: dhid,
  320. bz: _this2.note,
  321. sqmoney: _this2.sqmoney,
  322. gids: _this2.gids,
  323. isAllselected: _this2.isAllselected,
  324. tktype: _this2.tktype,
  325. tuiksls: _this2.tuiksls
  326. });
  327. case 3:
  328. reinfo = _context2.sent;
  329. if (reinfo.code == 1) {
  330. uni.showToast({
  331. title: reinfo.msg,
  332. icon: 'none'
  333. });
  334. uni.redirectTo({
  335. url: "/pages/orderlist/orderlist?state=" + _this2.index
  336. });
  337. } else {
  338. uni.showToast({
  339. title: reinfo.msg,
  340. icon: 'none'
  341. });
  342. }
  343. uni.hideLoading();
  344. case 6:
  345. case "end":
  346. return _context2.stop();
  347. }
  348. }
  349. }, _callee2);
  350. }))();
  351. },
  352. tosq: function tosq() {
  353. var t = this;
  354. // console.log(Number((parseFloat(this.sqmoney*100)/100).toFixed(2))+'---'+Number((parseFloat(this.goodsPrice*100)/100).toFixed(2)))
  355. //this.sqmoney=parseInt(this.sqmoney).toFixed(2)
  356. if (Number((parseFloat(this.sqmoney * 100) / 100).toFixed(2)) > Number((parseFloat(this.goodsPrice * 100) / 100).toFixed(2))) {
  357. uni.showToast({
  358. title: '申请金额:' + Number((parseFloat(this.sqmoney * 100) / 100).toFixed(2)) + ',最多申请' + Number((parseFloat(this.goodsPrice * 100) / 100).toFixed(2)) + '元',
  359. icon: 'none'
  360. });
  361. return false;
  362. } else if (this.sqmoney <= 0) {
  363. uni.showToast({
  364. title: '请填申请金额',
  365. icon: 'none'
  366. });
  367. return false;
  368. } else if (this.gids == '') {
  369. uni.showToast({
  370. title: '请选择商品',
  371. icon: 'none'
  372. });
  373. return false;
  374. } else if (this.tuiksls == '') {
  375. uni.showToast({
  376. title: '请选择退货数量',
  377. icon: 'none'
  378. });
  379. return false;
  380. }
  381. uni.showModal({
  382. title: '温馨提示',
  383. content: '是否申请退货' + t.sqmoney + '元?',
  384. success: function success(res) {
  385. if (res.confirm) {
  386. uni.showLoading({
  387. title: '正在申请...'
  388. });
  389. t.sqtuik(t.dhid);
  390. } else if (res.cancel) {
  391. console.log(t.gids, '用户点击取消');
  392. }
  393. }
  394. });
  395. },
  396. // 选中商品
  397. selected: function selected(index) {
  398. this.buylist[index].selected = this.buylist[index].selected ? false : true;
  399. var i = this.selectedList.indexOf(this.buylist[index].id);
  400. i > -1 ? this.selectedList.splice(i, 1) : this.selectedList.push(this.buylist[index].id);
  401. this.isAllselected = this.selectedList.length == this.buylist.length;
  402. this.sum();
  403. },
  404. //全选
  405. allSelect: function allSelect() {
  406. var len = this.buylist.length;
  407. var arr = [];
  408. for (var i = 0; i < len; i++) {
  409. this.buylist[i].selected = this.isAllselected ? false : true;
  410. arr.push(this.buylist[i].id);
  411. }
  412. this.selectedList = this.isAllselected ? [] : arr;
  413. this.isAllselected = this.isAllselected || this.buylist.length == 0 ? false : true;
  414. this.sum();
  415. },
  416. // 合计
  417. sum: function sum() {
  418. this.sqmoney = 0;
  419. var len = this.buylist.length;
  420. var gids = '';
  421. var cpsl = '';
  422. for (var i = 0; i < len; i++) {
  423. var tuiksl = this.buylist[i].tuiksl == '' ? 0 : this.buylist[i].tuiksl;
  424. tuiksl = tuiksl == NaN ? 0 : tuiksl;
  425. if (this.buylist[i].selected && tuiksl > 0) {
  426. this.sqmoney = parseFloat(this.sqmoney * 100) / 100 + parseFloat(this.buylist[i].price * tuiksl * 100) / 100;
  427. gids += ',' + this.buylist[i].id;
  428. cpsl += ',' + tuiksl;
  429. }
  430. }
  431. this.sqmoney = parseFloat(this.sqmoney).toFixed(2);
  432. this.gids = gids.substr(1);
  433. this.tuiksls = cpsl.substr(1);
  434. }
  435. }
  436. };
  437. exports.default = _default;
  438. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  439. /***/ }),
  440. /***/ 166:
  441. /*!******************************************************************************************!*\
  442. !*** G:/web//zhonglmini/pages/refund/refund2.vue?vue&type=style&index=0&lang=scss& ***!
  443. \******************************************************************************************/
  444. /*! no static exports found */
  445. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  446. "use strict";
  447. __webpack_require__.r(__webpack_exports__);
  448. /* harmony import */ var _F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_refund2_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!./refund2.vue?vue&type=style&index=0&lang=scss& */ 167);
  449. /* harmony import */ var _F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_refund2_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_refund2_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
  450. /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_refund2_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_refund2_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
  451. /* harmony default export */ __webpack_exports__["default"] = (_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilder_X_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_refund2_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default.a);
  452. /***/ }),
  453. /***/ 167:
  454. /*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  455. !*** ./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!G:/web//zhonglmini/pages/refund/refund2.vue?vue&type=style&index=0&lang=scss& ***!
  456. \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
  457. /*! no static exports found */
  458. /***/ (function(module, exports, __webpack_require__) {
  459. // extracted by mini-css-extract-plugin
  460. if(false) { var cssReload; }
  461. /***/ })
  462. },[[160,"common/runtime","common/vendor"]]]);
  463. //# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/refund/refund2.js.map