(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["pages/app_admin/components/order-menu"],{

/***/ 2882:
/*!*************************************************************************************!*\
  !*** E:/src/siweidingzhi_mail/shop4.3.57/pages/app_admin/components/order-menu.vue ***!
  \*************************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _order_menu_vue_vue_type_template_id_5a62b750_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./order-menu.vue?vue&type=template&id=5a62b750&scoped=true& */ 2883);
/* harmony import */ var _order_menu_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./order-menu.vue?vue&type=script&lang=js& */ 2885);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _order_menu_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 _order_menu_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
/* harmony import */ var _order_menu_vue_vue_type_style_index_0_id_5a62b750_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./order-menu.vue?vue&type=style&index=0&id=5a62b750&scoped=true&lang=scss& */ 2887);
/* harmony import */ var _C_develop_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 */ 10);

var renderjs





/* normalize component */

var component = Object(_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])(
  _order_menu_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
  _order_menu_vue_vue_type_template_id_5a62b750_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
  _order_menu_vue_vue_type_template_id_5a62b750_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
  false,
  null,
  "5a62b750",
  null,
  false,
  _order_menu_vue_vue_type_template_id_5a62b750_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"],
  renderjs
)

component.options.__file = "pages/app_admin/components/order-menu.vue"
/* harmony default export */ __webpack_exports__["default"] = (component.exports);

/***/ }),

/***/ 2883:
/*!********************************************************************************************************************************!*\
  !*** E:/src/siweidingzhi_mail/shop4.3.57/pages/app_admin/components/order-menu.vue?vue&type=template&id=5a62b750&scoped=true& ***!
  \********************************************************************************************************************************/
/*! exports provided: render, staticRenderFns, recyclableRender, components */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_order_menu_vue_vue_type_template_id_5a62b750_scoped_true___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!./order-menu.vue?vue&type=template&id=5a62b750&scoped=true& */ 2884);
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_order_menu_vue_vue_type_template_id_5a62b750_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; });

/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_order_menu_vue_vue_type_template_id_5a62b750_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });

/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_order_menu_vue_vue_type_template_id_5a62b750_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; });

/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_order_menu_vue_vue_type_template_id_5a62b750_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; });



/***/ }),

/***/ 2884:
/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./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!E:/src/siweidingzhi_mail/shop4.3.57/pages/app_admin/components/order-menu.vue?vue&type=template&id=5a62b750&scoped=true& ***!
  \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! exports provided: render, staticRenderFns, recyclableRender, components */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; });
var components
var render = function() {
  var _vm = this
  var _h = _vm.$createElement
  var _c = _vm._self._c || _h
  if (!_vm._isMounted) {
    _vm.e0 = function($event) {
      _vm.noAddress = false
    }

    _vm.e1 = function($event) {
      _vm.showRemark = !_vm.showRemark
    }
  }
}
var recyclableRender = false
var staticRenderFns = []
render._withStripped = true



/***/ }),

/***/ 2885:
/*!**************************************************************************************************************!*\
  !*** E:/src/siweidingzhi_mail/shop4.3.57/pages/app_admin/components/order-menu.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 _C_develop_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_order_menu_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!./order-menu.vue?vue&type=script&lang=js& */ 2886);
/* harmony import */ var _C_develop_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_order_menu_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_order_menu_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _C_develop_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_order_menu_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 _C_develop_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_order_menu_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
 /* harmony default export */ __webpack_exports__["default"] = (_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_order_menu_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); 

/***/ }),

/***/ 2886:
/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./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!E:/src/siweidingzhi_mail/shop4.3.57/pages/app_admin/components/order-menu.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 _default2 =
{
  name: "order-menu",
  props: {
    item: {
      type: Object },

    address: {
      type: Array },

    mobile: {
      type: String },

    hiddenRemark: {
      type: Boolean,
      default: function _default() {
        return false;
      } },

    status: {
      type: String } },


  data: function data() {
    return {
      detail: {},
      isRefund: false,
      noRefund: false,
      changePrice: false,
      cancelOrder: false,
      callPhone: false,
      notRefund: false,
      isReason: false,
      openAddress: false,
      noAddress: false,
      beRemark: false,
      confirmOrder: false,
      refundOnly: false,
      cityRefund: false,
      beToSend: false,
      price: 0,
      express: 0,
      total: 0,
      refund_price: 0,
      addressId: '0',
      remark: '',
      about: '' };

  },
  methods: {
    // 取消
    cancel: function cancel() {
      if (this.item.showMobile) {
        this.item.showMobile = false;
        this.$emit('change', this.item);
      } else {
        this.about = '';
        this.isRefund = false;
        this.beToSend = false;
        this.noRefund = false;
        this.changePrice = false;
        this.cancelOrder = false;
        this.custom = false;
        this.refundOnly = false;
        this.cityRefund = false;
        this.notRefund = false;
        this.openAddress = false;
        this.isReason = false;
        this.confirmOrder = false;
        this.addressId = 0;
        this.beRemark = false;
        this.confirmOrder = false;
        this.remark = null;
      }
    },
    // 去售后订单查看
    toRefundOrder: function toRefundOrder(e) {
      this.$emit('to', e);
    },
    // 备注
    makeRemark: function makeRemark(data) {
      this.beRemark = true;
      this.detail = data;
      data.seller_remark ? this.remark = data.seller_remark : null;
    },
    // 提交备注
    toRemark: function toRemark() {
      var that = this;
      that.$request({
        url: that.$api.app_admin.sellerRemark,
        method: 'post',
        data: {
          order_id: that.detail.id,
          seller_remark: that.remark } }).

      then(function (response) {
        if (response.code === 0) {
          that.detail.seller_remark = that.remark;
          that.cancel();
          that.$emit('update', that.detail);
        } else {
          uni.showToast({
            title: response.msg,
            icon: 'none',
            duration: 1000 });

        }
      });
    },
    // 设置退货地址
    toRefundAdd: function toRefundAdd() {
      this.noAddress = false;
      uni.navigateTo({
        url: "/pages/address/address?manual_btn_bg=admin&is_hide_default_btn=1&is_refund_address=1" });

    },
    // 改地址
    toChangeAddress: function toChangeAddress(item) {
      this.beToSend = false;
      var order_no = item.order_no ? item.order_no : this.detail.order_no;
      uni.navigateTo({
        url: '/pages/app_admin/change-add/change-add?order_no=' + order_no });

    },
    // 查看物流
    toExpressInfo: function toExpressInfo(item) {
      if (item.detail.length === 1 && item.detailExpress[0].express_no) {
        uni.navigateTo({
          url: '/pages/app_admin/express/express?id=' + item.id + '&express=' + item.detailExpress[0].express + '&express_no=' + item.detailExpress[0].express_no + '&customer_name=' + item.detailExpress[0].customer_name });

      } else {
        uni.navigateTo({
          url: '/pages/order/express-list/express-list?order_id=' + item.id });

      }
    },
    // 拨打电话
    call: function call() {
      uni.makePhoneCall({
        phoneNumber: this.item.mobile });

      this.$emit('change', '');
    },
    // 确认收货提示
    toConfirm: function toConfirm(e) {
      this.detail = e;
      this.confirmOrder = !this.confirmOrder;
    },
    // 确认收货
    beOrderConfirm: function beOrderConfirm() {
      var that = this;
      that.$request({
        url: that.$api.app_admin.confirm,
        data: {
          order_id: that.detail.id },

        method: 'post' }).
      then(function (response) {
        that.$hideLoading();
        if (response.code === 0) {
          uni.showToast({
            title: response.msg,
            duration: 1000,
            type: 'success',
            mask: false });

          that.cancel();
          setTimeout(function (v) {
            that.$emit('update', 0);
          }, 1000);
        } else {
          uni.showToast({
            title: response.msg,
            icon: 'none',
            duration: 1000 });

        }
      }).catch(function () {
        that.$hideLoading();
      });
    },
    // 同意取消订单
    toAgreeCancel: function toAgreeCancel(e) {
      this.detail = e;
      this.isReason = !this.isReason;
      this.noRefund = false;
    },
    // 取消订单提示
    toCancelorder: function toCancelorder(e) {
      this.detail = e;
      this.cancelOrder = !this.cancelOrder;
    },
    // 取消订单
    cancelSubmit: function cancelSubmit() {
      var that = this;
      uni.showLoading({
        title: '加载中...' });

      that.$request({
        url: that.$api.app_admin.cancel,
        data: {
          status: that.noRefund ? 2 : 1,
          remark: that.about,
          order_id: that.detail.id },

        method: 'post' }).
      then(function (response) {
        uni.hideLoading();
        if (response.code === 0) {
          uni.showToast({
            title: that.noRefund ? '拒绝成功' : '取消成功',
            duration: 1000,
            type: 'success',
            mask: false });

          that.cancel();
          setTimeout(function (v) {
            that.$emit('update', 0);
          }, 1000);
        } else {
          uni.showToast({
            title: response.msg,
            icon: 'none',
            duration: 1000 });

        }
      }).catch(function (response) {
        uni.hideLoading();
        uni.showToast({
          title: response,
          icon: 'none',
          duration: 1000 });

      });
    },
    // 修改价格
    toChange: function toChange(e) {
      this.detail = e;
      this.changePrice = !this.changePrice;
      this.price = e.total_goods_price;
      this.express = e.express_price;
      this.total = '￥' + e.total_pay_price;
    },
    // 价格输入验证
    priceInput: function priceInput(e) {
      if (e.detail.value > -0.01) {
        this.total = '￥' + (+e.detail.value + +this.express).toFixed(2);
      } else {
        this.total = '数据有误';
      }
    },
    // 邮费输入验证
    expressInput: function expressInput(e) {
      if (e.detail.value > -0.01) {
        this.total = '￥' + (+e.detail.value + +this.price).toFixed(2);
      } else {
        this.total = '数据有误';
      }
    },
    // 确认修改价格
    submitChange: function submitChange() {
      var that = this;
      uni.showLoading({
        title: '加载中...' });

      if (this.price > -0.01 && this.express > -0.01) {
        this.$request({
          url: this.$api.app_admin.update_price,
          data: {
            order_id: this.detail.id,
            total_price: this.price ? this.price : 0,
            express_price: this.express ? this.express : 0 },

          method: 'post' }).
        then(function (response) {
          uni.hideLoading();
          if (response.code === 0) {
            uni.showToast({
              title: response.msg,
              duration: 1000,
              type: 'success',
              mask: false });

            that.changePrice = false;
            that.$emit('update', 0);
          } else {
            uni.showToast({
              title: response.msg,
              icon: 'none',
              duration: 1000 });

          }
        }).catch(function (response) {
          uni.hideLoading();
          uni.showToast({
            title: response,
            icon: 'none',
            duration: 1000 });

        });
      } else {
        if (!that.price || typeof that.price != 'number') {
          uni.showToast({
            title: '商品总价必须大于等于0',
            icon: 'none',
            duration: 1000 });

        } else if (!that.express || typeof that.express != 'number') {
          uni.showToast({
            title: '运费必须大于等于0',
            icon: 'none',
            duration: 1000 });

        }
      }
    },
    // 发货
    toSend: function toSend(e) {
      var that = this;
      that.detail = e;
      if (that.detail.status_cn) {
        uni.navigateTo({
          url: '/pages/app_admin/send/send?order_refund_id=' + that.detail.id + '&id=' + that.detail.order_id + '&send_type=' + that.detail.send_type });

      } else {
        if (that.detail.send_type == 1 && !that.detail.address) {
          this.beToSend = true;
        } else {
          uni.navigateTo({
            url: '/pages/app_admin/send/send?id=' + that.detail.id + '&send_type=' + that.detail.send_type });

        }
      }
    },
    // 查看物流
    toExpress: function toExpress(e, is_send) {
      var id = e.id;
      var order_refund_id = e.refund;
      if (id > 0) {
        uni.navigateTo({
          url: '/pages/app_admin/send/send?id=' + id + '&is_send=' + is_send });

      } else if (order_refund_id) {
        uni.navigateTo({
          url: '/pages/app_admin/send/send?order_refund_id=' + order_refund_id + '&is_send=' + is_send });

      }
    },
    // 售后操作


    // 选择退款地址
    chooseAddress: function chooseAddress(e) {
      if (this.addressId == e) {
        this.addressId = '';
      } else {
        this.addressId = e;
      }
    },
    // 售后处理
    decline: function decline(type) {
      var that = this;
      var para = {
        order_refund_id: that.detail.id,
        type: that.detail.type,
        is_agree: type != 0 ? 1 : 0,
        refund_price: that.detail.refund_price,
        merchant_remark: that.about };

      if (type == 1) {
        if (that.addressId < 1) {
          uni.showToast({
            title: '请选择地址',
            icon: 'none',
            duration: 1000 });

          return false;
        } else {
          para.address_id = that.addressId;
        }
      }
      if (type == 4) {
        para.refund = 1;
      }
      if (that.cancelRefund) {
        type = 2;
        para.is_agree = 2;
      }
      uni.showLoading({
        title: '处理中...' });

      that.$request({
        url: that.$api.app_admin.refund_handle,
        data: para,
        method: 'post' }).
      then(function (response) {
        uni.hideLoading();
        if (response.code === 0) {
          uni.showModal({
            title: '提示',
            content: response.msg,
            showCancel: false,
            success: function success(res) {
              if (res.confirm) {
                that.cancel();
                setTimeout(function (v) {
                  that.$emit('update', 0);
                }, 1000);
              }
            } });

        } else {
          uni.showToast({
            title: response.msg,
            icon: 'none',
            duration: 1000 });

        }
      }).catch(function (response) {
        uni.hideLoading();
        uni.showToast({
          title: response,
          icon: 'none',
          duration: 1000 });

      });
    },
    // 同意售后
    agree: function agree() {
      var that = this;
      uni.showLoading({
        title: '处理中...' });

      if (that.detail.refund_price > 0) {
        that.$request({
          url: that.$api.app_admin.refund_handle,
          data: {
            order_refund_id: that.detail.id,
            type: that.detail.type,
            is_agree: 1,
            refund_price: that.refund_price,
            merchant_remark: that.about },

          method: 'post' }).
        then(function (response) {
          uni.hideLoading();
          if (response.code === 0) {
            uni.showModal({
              title: '提示',
              content: response.msg,
              showCancel: false,
              success: function success(res) {
                if (res.confirm) {
                  that.cancel();
                  setTimeout(function (v) {
                    that.$emit('update', 0);
                  }, 1000);
                }
              } });

          } else {
            uni.showToast({
              title: response.msg,
              icon: 'none',
              duration: 1000 });

          }
        }).catch(function (response) {
          uni.hideLoading();
          uni.showToast({
            title: response,
            icon: 'none',
            duration: 1000 });

        });
      } else {
        uni.showToast({
          title: '退款金额需大于零',
          icon: 'none',
          duration: 1000 });

      }
    },
    // 拒绝售后
    beNotRefund: function beNotRefund(e) {
      this.detail = e;
      this.isReason = !this.isReason;
      this.noRefund = !this.noRefund;
    },
    // 售后操作
    refundHandle: function refundHandle(type, detail, cancel) {
      if (cancel == 1) {
        this.cancelRefund = true;
      }
      if (type == 1) {
        if (detail.type == 3) {
          this.refundOnly = true;
          this.detail = detail;
        } else if (detail.order.send_type != 0) {
          this.cityRefund = true;
          this.detail = detail;
        } else {
          if (this.address.length == 0) {
            this.noAddress = true;
          } else {
            this.detail = detail;
            this.openAddress = true;
          }
        }
      } else if (type == 2) {
        this.detail = detail;
        this.notRefund = true;
      }
    },
    // 退款提示
    toRefund: function toRefund(e) {
      this.detail = e;
      this.refund_price = e.refund_price;
      this.isRefund = !this.isRefund;
    },
    // 查看图片
    look: function look(e) {
      uni.previewImage({
        current: e, // 当前显示图片的http链接
        urls: [e] // 需要预览的图片http链接列表
      });
    },
    // 查看售后理由
    lookAbout: function lookAbout(e) {
      this.detail = e;
      this.isReason = true;
    },
    // 售后确认收货
    beConfirm: function beConfirm() {
      var that = this;
      that.$request({
        url: that.$api.app_admin.shou_huo,
        data: {
          refund_order_id: that.detail.id },

        method: 'post' }).
      then(function (response) {
        that.$hideLoading();
        if (response.code === 0) {
          that.cancel();
          that.page = 1;
          uni.showLoading({
            title: '加载中...' });

          that.$emit('update', 0);
        } else {
          uni.showToast({
            title: response.msg,
            icon: 'none',
            duration: 1000 });

        }
      }).catch(function () {
        that.$hideLoading();
      });
    } } };exports.default = _default2;
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"]))

/***/ }),

/***/ 2887:
/*!***********************************************************************************************************************************************!*\
  !*** E:/src/siweidingzhi_mail/shop4.3.57/pages/app_admin/components/order-menu.vue?vue&type=style&index=0&id=5a62b750&scoped=true&lang=scss& ***!
  \***********************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _C_develop_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_order_menu_vue_vue_type_style_index_0_id_5a62b750_scoped_true_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/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!./order-menu.vue?vue&type=style&index=0&id=5a62b750&scoped=true&lang=scss& */ 2888);
/* harmony import */ var _C_develop_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_order_menu_vue_vue_type_style_index_0_id_5a62b750_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_order_menu_vue_vue_type_style_index_0_id_5a62b750_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _C_develop_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_order_menu_vue_vue_type_style_index_0_id_5a62b750_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _C_develop_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_order_menu_vue_vue_type_style_index_0_id_5a62b750_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
 /* harmony default export */ __webpack_exports__["default"] = (_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_order_menu_vue_vue_type_style_index_0_id_5a62b750_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default.a); 

/***/ }),

/***/ 2888:
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./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/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!E:/src/siweidingzhi_mail/shop4.3.57/pages/app_admin/components/order-menu.vue?vue&type=style&index=0&id=5a62b750&scoped=true&lang=scss& ***!
  \*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

// extracted by mini-css-extract-plugin
    if(false) { var cssReload; }
  

/***/ })

}]);
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/app_admin/components/order-menu.js.map
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'pages/app_admin/components/order-menu-create-component',
    {
        'pages/app_admin/components/order-menu-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('1')['createComponent'](__webpack_require__(2882))
        })
    },
    [['pages/app_admin/components/order-menu-create-component']]
]);
