MrShi
2025-04-11 3a45da15c947c2d478a44a51bd0f926647b1b841
wx/pages/addition_subtraction/addition_subtraction.vue
@@ -50,6 +50,7 @@
                     <view class="top_a_tips" v-else>加保</view>
                  </view>
                  <view class="top_b">身份证号:{{item.idCard}}</view>
                  <view class="top_b" v-if="type ===0">备注:{{item.remark||''}}</view>
               </view>
               <view class="center"></view>
               <view class="bottom">
@@ -156,7 +157,12 @@
         // 总金额
         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(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: {
@@ -192,7 +198,7 @@
                  memberName: item.name,
                  workTypeName: item.gzName,
                  worktypeId: item.gzId,
                  fee: this.cyclePrice
                  fee: item.fee
               }
            })
            this.$u.api.applyChangeCreate({