k94314517
2025-05-29 058a40c60af7d3823845d8f4ab24b0abb48576d1
wx/unpackage/dist/dev/mp-weixin/pages/addition_subtraction/addition_subtraction.js
@@ -103,16 +103,16 @@
try {
  components = {
    uTabs: function () {
      return Promise.all(/*! import() | node-modules/uview-ui/components/u-tabs/u-tabs */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u-tabs/u-tabs")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u-tabs/u-tabs.vue */ 431))
      return Promise.all(/*! import() | node-modules/uview-ui/components/u-tabs/u-tabs */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u-tabs/u-tabs")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u-tabs/u-tabs.vue */ 441))
    },
    uButton: function () {
      return Promise.all(/*! import() | node-modules/uview-ui/components/u-button/u-button */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u-button/u-button")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u-button/u-button.vue */ 406))
      return Promise.all(/*! import() | node-modules/uview-ui/components/u-button/u-button */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u-button/u-button")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u-button/u-button.vue */ 416))
    },
    uToast: function () {
      return __webpack_require__.e(/*! import() | node-modules/uview-ui/components/u-toast/u-toast */ "node-modules/uview-ui/components/u-toast/u-toast").then(__webpack_require__.bind(null, /*! uview-ui/components/u-toast/u-toast.vue */ 485))
      return __webpack_require__.e(/*! import() | node-modules/uview-ui/components/u-toast/u-toast */ "node-modules/uview-ui/components/u-toast/u-toast").then(__webpack_require__.bind(null, /*! uview-ui/components/u-toast/u-toast.vue */ 495))
    },
    uPopup: function () {
      return Promise.all(/*! import() | node-modules/uview-ui/components/u-popup/u-popup */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u-popup/u-popup")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u-popup/u-popup.vue */ 492))
      return Promise.all(/*! import() | node-modules/uview-ui/components/u-popup/u-popup */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u-popup/u-popup")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u-popup/u-popup.vue */ 502))
    },
  }
} catch (e) {
@@ -325,6 +325,7 @@
//
//
//
//
var _default = {
  data: function data() {
    return {
@@ -373,7 +374,12 @@
    // 总金额
    totalPrice: function totalPrice() {
      // return (this.cyclePrice * (this.add.length + this.del.length)).toFixed(2)
      return (this.cyclePrice * this.add.length - this.cyclePrice * this.del.length).toFixed(2);
      var totalReductPrice = 0;
      this.del.forEach(function (item) {
        totalReductPrice = totalReductPrice + item.fee;
      });
      // return ((this.cyclePrice * this.add.length) - (this.cyclePrice * this.del.length)).toFixed(2)
      return (this.cyclePrice * this.add.length + totalReductPrice).toFixed(2);
    }
  },
  methods: {
@@ -410,7 +416,7 @@
          memberName: item.name,
          workTypeName: item.gzName,
          worktypeId: item.gzId,
          fee: _this2.cyclePrice
          fee: item.fee
        };
      });
      this.$u.api.applyChangeCreate({