|  |  | 
 |  |  |     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)) | 
 |  |  |     }, | 
 |  |  |     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)) | 
 |  |  |     }, | 
 |  |  |     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)) | 
 |  |  |     }, | 
 |  |  |   } | 
 |  |  | } catch (e) { | 
 |  |  |   if ( | 
 |  |  | 
 |  |  |   ) | 
 |  |  |   var g0 = _vm.add.length | 
 |  |  |   var g1 = _vm.del.length | 
 |  |  |   if (!_vm._isMounted) { | 
 |  |  |     _vm.e0 = function ($event) { | 
 |  |  |       _vm.show = true | 
 |  |  |     } | 
 |  |  |     _vm.e1 = function ($event) { | 
 |  |  |       _vm.show = false | 
 |  |  |     } | 
 |  |  |   } | 
 |  |  |   _vm.$mp.data = Object.assign( | 
 |  |  |     {}, | 
 |  |  |     { | 
 |  |  | 
 |  |  | // | 
 |  |  | // | 
 |  |  | // | 
 |  |  | // | 
 |  |  | // | 
 |  |  | // | 
 |  |  | // | 
 |  |  | // | 
 |  |  | // | 
 |  |  | // | 
 |  |  | // | 
 |  |  | // | 
 |  |  | // | 
 |  |  | // | 
 |  |  | // | 
 |  |  | // | 
 |  |  | // | 
 |  |  | // | 
 |  |  | // | 
 |  |  | var _default = { | 
 |  |  |   data: function data() { | 
 |  |  |     return { | 
 |  |  |       id: null, | 
 |  |  |       show: false, | 
 |  |  |       codeId: null, | 
 |  |  |       fangan: {}, | 
 |  |  |       code: null, | 
 |  |  |       startDate: null, | 
 |  |  |       cyclePrice: null, | 
 |  |  | 
 |  |  |     this.cyclePrice = options.cyclePrice; | 
 |  |  |     this.getDetails(); | 
 |  |  |     uni.$on('add', function (res) { | 
 |  |  |       if (JSON.stringify(_this.add).indexOf(res.model.idCard) !== -1) { | 
 |  |  |         _this.$refs.uToast.show({ | 
 |  |  |           type: 'default', | 
 |  |  |           message: "[".concat(res.model.name, "]\u4EBA\u5458\u8EAB\u4EFD\u8BC1\u91CD\u590D") | 
 |  |  |         }); | 
 |  |  |         return; | 
 |  |  |       } | 
 |  |  |       _this.add.unshift(res.model); | 
 |  |  |     }); | 
 |  |  |     uni.$on('del', function (res) { | 
 |  |  | 
 |  |  |   computed: { | 
 |  |  |     // 总金额 | 
 |  |  |     totalPrice: function totalPrice() { | 
 |  |  |       return (this.cyclePrice * (this.add.length + this.del.length)).toFixed(2); | 
 |  |  |       // return (this.cyclePrice * (this.add.length + this.del.length)).toFixed(2) | 
 |  |  |       return (this.cyclePrice * this.add.length - this.cyclePrice * this.del.length).toFixed(2); | 
 |  |  |     } | 
 |  |  |   }, | 
 |  |  |   methods: { | 
 |  |  | 
 |  |  |       }); | 
 |  |  |       var delDetailList = this.del.map(function (item) { | 
 |  |  |         return { | 
 |  |  |           memberId: item.id, | 
 |  |  |           duId: item.pqId, | 
 |  |  |           duName: item.pqName, | 
 |  |  |           idcardNo: item.idCard, | 
 |  |  | 
 |  |  |       } | 
 |  |  |     }, | 
 |  |  |     getDetails: function getDetails() { | 
 |  |  |       var _this3 = this; | 
 |  |  |       this.$u.api.insuranceApplyById(this.codeId).then(function (res) { | 
 |  |  |         _this3.info = res.data; | 
 |  |  |       var that = this; | 
 |  |  |       that.$u.api.insuranceApplyById(that.codeId).then(function (res) { | 
 |  |  |         that.info = res.data; | 
 |  |  |         that.$u.api.solutionsById(res.data.newVersionSolutionId).then(function (data) { | 
 |  |  |           that.fangan = data.data; | 
 |  |  |         }); | 
 |  |  |       }); | 
 |  |  |     }, | 
 |  |  |     jump: function jump() { |