| | |
| | | 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) { |
| | |
| | | // |
| | | // |
| | | // |
| | | // |
| | | var _default = { |
| | | data: function data() { |
| | | return { |
| | |
| | | // 总金额 |
| | | 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: { |
| | |
| | | memberName: item.name, |
| | | workTypeName: item.gzName, |
| | | worktypeId: item.gzId, |
| | | fee: _this2.cyclePrice |
| | | fee: item.fee |
| | | }; |
| | | }); |
| | | this.$u.api.applyChangeCreate({ |